]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (*fp_jcc_7_387): Use 'const0_operand' instead of 'const_double_operand' in...
authorUros Bizjak <uros@kss-loka.si>
Sat, 9 Apr 2005 05:39:47 +0000 (07:39 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 9 Apr 2005 05:39:47 +0000 (07:39 +0200)
* config/i386/i386.md (*fp_jcc_7_387): Use 'const0_operand' instead
of 'const_double_operand' in operand 2 constraints.  Update enable
condition.

From-SVN: r97887

gcc/ChangeLog
gcc/config/i386/i386.md

index adeed7feb9f75769c9d80472e9189f0745ce5dfc..5028522caf1a0cbb01138fb0b3af5eb2082d1eef 100644 (file)
@@ -1,3 +1,9 @@
+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)
index 179546924d6a0af7a5c7c105b67aef66c8361330..1abc191966cd0f5be216432241cac8728776d5a0 100644 (file)
   [(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))
    (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