jkmcnk / sx-gcc

The GNU Compiler Collection port to NEC SX CPU architecture.
GNU General Public License v2.0
0 stars 2 forks source link

The "gcc.c-torture/execute/ieee/mul-subnormal-single-1.c" test fails #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The test fails even with the optimizations disabled (i.e. "-O0" switch is
used).

The failure is caused by the fact that the "fmp@" SX instruction for
multiplying floating points returns a result that is a little different as
gcc expects.

Original issue reported on code.google.com by nou...@gmail.com on 8 Jan 2009 at 2:58

GoogleCodeExporter commented 8 years ago
This issue is resolved if we use the "__mulsf3" of the "soft-fp" library 
instead of
SX hardware instructions.

Original comment by nou...@gmail.com on 8 Jan 2009 at 3:00