This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17990] [3.4/4.0 Regression] sse used for negate without -mfpmath=sse
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 08:01:16 -0000
- Subject: [Bug target/17990] [3.4/4.0 Regression] sse used for negate without -mfpmath=sse
- References: <20041014032810.17990.shadow@serverart.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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