[Bug target/20776] FE_DOWNWARD testcase results differ in -m32 and -m64. OK or bug?
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 22:37:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-05 22:37 -------
-m64 makes use of fcfid while 32bit PPC uses the following construct:
xoris r3,r3,0x8000
lis r0,0x4330
stw r3,-4(r1)
lis r2,ha16(LC0)
stw r0,-8(r1)
lfd f0,-8(r1)
lfs f1,lo16(LC0)(r2)
fsub f1,f0,f1
blr
so there is subtraction which causes the difference.
But I don't know if this is gcc problem or just an user not expecting -0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20776
More information about the Gcc-bugs
mailing list