i386.c (ix86_expand_fp_movcc): Remove TARGET_IEEE_FP special case for sse.
authorRichard Henderson <rth@redhat.com>
Tue, 18 Jan 2005 09:44:13 +0000 (01:44 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 18 Jan 2005 09:44:13 +0000 (01:44 -0800)
        * config/i386/i386.c (ix86_expand_fp_movcc): Remove TARGET_IEEE_FP
        special case for sse.
        * config/i386/predicates.md (sse_comparison_operator): Likewise.

From-SVN: r93824

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/predicates.md

index 10a4f6a6f28b165079dfcfdb2fb9577b900dbf9f..ce0259ce972256c88bb10bea09084aad26dc7901 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-18  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_fp_movcc): Remove TARGET_IEEE_FP
+       special case for sse.
+       * config/i386/predicates.md (sse_comparison_operator): Likewise.
+
 2005-01-18  Dorit Naishlos  <dorit@il.ibm.com>
 
        * tree-inline.c (estimate_num_insns_1): Added cases for
index 5f00e4a20eca6f4d61fe3640c2c19631ba53810b..c3aff8e305ef41d9de1d9f79694bc65c96b1db38 100644 (file)
@@ -9764,12 +9764,11 @@ ix86_expand_fp_movcc (rtx operands[])
       if (cmode != mode)
        return 0;
 
-      /* Massage condition to satisfy sse_comparison_operator.  In case we
-        are in non-ieee mode, try to canonicalize the destination operand
-        to be first in the comparison - this helps reload to avoid extra
-        moves.  */
+      /* Massage condition to satisfy sse_comparison_operator.  Try
+        to canonicalize the destination operand to be first in the
+        comparison - this helps reload to avoid extra moves.  */
       if (!sse_comparison_operator (operands[1], VOIDmode)
-         || ((COMMUTATIVE_P (operands[1]) || !TARGET_IEEE_FP)
+         || (COMMUTATIVE_P (operands[1])
              && rtx_equal_p (operands[0], cmp_op1)))
        {
          tmp = cmp_op0;
index 73352b995b9291669b7e578559c8acb9e9472ed3..6e94afcd1fa5f59a4ade5eff009d6b8c0f11e269 100644 (file)
 ;; predicate.
 
 (define_special_predicate "sse_comparison_operator"
-  (ior (match_code "eq,lt,le,unordered,ne,unge,ungt,ordered")
-       (and (match_code "uneq,unlt,unle,ltgt,ge,gt")
-           (match_test "!TARGET_IEEE_FP"))))
+  (match_code "eq,lt,le,unordered,ne,unge,ungt,ordered"))
 
 ;; Return 1 if OP is a valid comparison operator in valid mode.
 (define_predicate "ix86_comparison_operator"