diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2007-08-23 16:23:40 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-08-23 16:23:40 +0200 |
commit | 1406ee9086b171a7189fe0c9758727ca5c8c5fe4 (patch) | |
tree | 9f9f17da59f58dce8b45052dae9dfe07e200a1c8 /gcc/config/libgcc-glibc.ver | |
parent | 9f7b7ba4c4087874da78ad591eaf13fa99ee1c31 (diff) | |
download | gcc-1406ee9086b171a7189fe0c9758727ca5c8c5fe4.zip gcc-1406ee9086b171a7189fe0c9758727ca5c8c5fe4.tar.gz gcc-1406ee9086b171a7189fe0c9758727ca5c8c5fe4.tar.bz2 |
re PR target/17390 (missing floating point compare optimization)
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.
From-SVN: r127742
Diffstat (limited to 'gcc/config/libgcc-glibc.ver')
0 files changed, 0 insertions, 0 deletions