This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17390] missing floating point compare optimization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2006 04:57:19 -0000
- Subject: [Bug target/17390] missing floating point compare optimization
- References: <bug-17390-1649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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