aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386.md
diff options
context:
space:
mode:
authorClinton Popetz <cpopetz@cygnus.com>2000-06-01 14:41:31 +0000
committerClinton Popetz <cpopetz@cygnus.com>2000-06-01 14:41:31 +0000
commit1346263883838bcea6fb5635a5ef21897451ab14 (patch)
tree5aaf2fd8013b51139458989e081395205c6b8220 /gcc/config/i386/i386.md
parentc7473034d5a672369041b5777110b0d3d923b45a (diff)
* config/i386/i386.c (ix86_use_fcomi_compare): Make global.
* config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare. * config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we will use FCOMI. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@34338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/i386.md')
-rw-r--r--gcc/config/i386/i386.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index cdadf5d0e71..36c9d1fbbcc 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -7153,7 +7153,8 @@
(clobber (match_scratch:HI 4 "=a"))]
"TARGET_80387
&& (GET_MODE (operands[1]) == SFmode || GET_MODE (operands[1]) == DFmode)
- && GET_MODE (operands[1]) == GET_MODE (operands[2])"
+ && GET_MODE (operands[1]) == GET_MODE (operands[2])
+ && !ix86_use_fcomi_compare (GET_CODE (operands[0]))"
"#")
(define_insn "*fp_jcc_4"
@@ -7168,7 +7169,8 @@
(clobber (match_scratch:HI 4 "=a"))]
"TARGET_80387
&& (GET_MODE (operands[1]) == SFmode || GET_MODE (operands[1]) == DFmode)
- && GET_MODE (operands[1]) == GET_MODE (operands[2])"
+ && GET_MODE (operands[1]) == GET_MODE (operands[2])
+ && !ix86_use_fcomi_compare (GET_CODE (operands[0]))"
"#")
(define_insn "*fp_jcc_5"