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