This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r127742 - in /trunk/gcc: ChangeLog config/i386/...
- From: uros at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 23 Aug 2007 14:23:41 -0000
- Subject: r127742 - in /trunk/gcc: ChangeLog config/i386/...
Author: uros
Date: Thu Aug 23 14:23:40 2007
New Revision: 127742
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127742
Log:
PR target/17390
* config/i386/i386.c (ix86_expand_fp_compare): Expand fp comparison to
fake fcomi i387 instruction for !TARGET_CMOVE.
(ix86_expand_branch): Expand natural sequence with one jump for
all targets, not only TARGET_CMOVE.
* config/i386/i386.md (*cmpfp_0_cc): New define_insn_and_split
pattern to implement fake fcomi sequence. Split instruction after
reload to correct compare sequences.
(*cmpfp_xf_cc): Ditto.
(*cmpfp_<mode>_cc): Ditto.
(*cmpfp_u_cc): Ditto.
(*cmpfp_<mode>_cc): Ditto.
testsuite/ChangeLog:
PR target/17390
* gcc.target/i386/pr17390.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr17390.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.md
trunk/gcc/testsuite/ChangeLog