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/17390] missing floating point compare optimization



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


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