[Bug target/17990] [3.4/4.0 Regression] sse used for negate without -mfpmath=sse
uros at kss-loka dot si
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 08:01:00 GMT 2004
------- Additional Comments From uros at kss-loka dot si 2004-12-15 08:01 -------
Just FYI: first testcase from comment #29 shows the problem with missing i386
addressing mode. First leal is not needed as array can be addressed directly
with flds. A PR 18643 is opened for this bug.
.L2:
leal 0(,%edx,4), %eax
flds hphase(%eax)
fsin
flds hmag(%eax)
fchs
leal 1(%edx), %eax
cmpl $128, %eax
movl %eax, %edx
fmulp %st, %st(1)
fmul %st(1), %st
fstps (%ecx)
jne .L2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17990
More information about the Gcc-bugs
mailing list