mpn_get_d broken on MIPS64 ?

Matthias Bauer bauerm at pestilenz.org
Wed Feb 10 21:38:58 CET 2010


Hi,
gmp-4.3.1's and gmp-4.3.2's
 make check

fail on MIPS64 machines on OpenBSD 4.7:

mpn_get_d wrong on denorm                                                                             
  n=1                                                                                                 
  exp   -1023                                                                                         
  sign  0                                                                                             
  got   =[00 08 00 00 00 00 00 00] 1.1125369292536006915e-308                                         
  want  =[01 70 00 00 20 00 00 00] 9.3326372975691180435e-302                                         
Abort trap (core dumped)                                                                              
FAIL: t-get_d 

All other tests pass.

I tried on Loongson 2F and MIPS IP32 (SGI O2) CPUs.
config.guess on Loongson 2F says

mips64el-unknown-openbsd4.7

Output of gcc -v is attached

Best regards,

Matthias
-------------- next part --------------
Reading specs from /usr/lib/gcc-lib/mips64el-unknown-openbsd4.7/3.3.5/specs
Configured with: 
Thread model: single
gcc version 3.3.5 (propolice)


More information about the gmp-bugs mailing list