This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17990] [3.4/4.0 Regression] sse used for negate without -mfpmath=sse


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]