summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-09 05:39:47 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-09 05:39:47 +0000
commit0e9aebc95d29a43c225faf781eddec87dad3a049 (patch)
tree04d8c04bfa7404fe494b02facc3db892fcac130e /gcc
parentad52b9b7edd93fef93bc1f3163978a55e4eda546 (diff)
downloadgcc-0e9aebc95d29a43c225faf781eddec87dad3a049.tar.gz
* config/i386/i386.md (*fp_jcc_7_387): Use 'const0_operand' instead
of 'const_double_operand' in operand 2 constraints. Update enable condition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index adeed7feb9f..5028522caf1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2005-04-09 Uros Bizjak <uros@kss-loka.si>
+ * config/i386/i386.md (*fp_jcc_7_387): Use 'const0_operand' instead
+ of 'const_double_operand' in operand 2 constraints. Update enable
+ condition.
+
+2005-04-09 Uros Bizjak <uros@kss-loka.si>
+
* builtins.def (BUILT_IN_LFLOOR, BUILT_IN_LFLOORF, BUILT_IN_LFLOORL)
(BUILT_IN_LLFLOOR, BUILT_IN_LLFLOORF, BUILT_IN_LLFLOORL): New.
* optabs.h (enum optab_index): Add new OTI_lfloor.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 179546924d6..1abc191966c 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -12904,7 +12904,7 @@
[(set (pc)
(if_then_else (match_operator 0 "comparison_operator"
[(match_operand 1 "register_operand" "f")
- (match_operand 2 "const_double_operand" "C")])
+ (match_operand 2 "const0_operand" "X")])
(label_ref (match_operand 3 "" ""))
(pc)))
(clobber (reg:CCFP FPSR_REG))
@@ -12912,7 +12912,7 @@
(clobber (match_scratch:HI 4 "=a"))]
"TARGET_80387
&& FLOAT_MODE_P (GET_MODE (operands[1]))
- && operands[2] == CONST0_RTX (GET_MODE (operands[1]))
+ && GET_MODE (operands[1]) == GET_MODE (operands[2])
&& !ix86_use_fcomi_compare (GET_CODE (operands[0]))
&& SELECT_CC_MODE (GET_CODE (operands[0]),
operands[1], operands[2]) == CCFPmode