[Bug target/17390] missing floating point compare optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 18 04:57:00 GMT 2006



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-01-18 04:57 -------
Hmm, I get (but that looks like different branch predictions):
_testf:
        fldl    4(%esp)
        ftst
        fnstsw  %ax
        testb   $64, %ah
        jne     L10
        ftst
        fnstsw  %ax
        fstp    %st(0)
        testb   $69, %ah
        jne     L5
        fld1
        ret
        .align 2,0x90
L10:
        fstp    %st(0)
        fldz
        ret
L5:
        flds    LC2
        ret


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17390



More information about the Gcc-bugs mailing list