Commit 9f61886e by Richard Henderson Committed by Richard Henderson

i386.c (ix86_expand_fp_movcc): Remove TARGET_IEEE_FP special case for sse.

        * 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
parent 16630a2c
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> 2005-01-18 Dorit Naishlos <dorit@il.ibm.com>
* tree-inline.c (estimate_num_insns_1): Added cases for * tree-inline.c (estimate_num_insns_1): Added cases for
......
...@@ -9764,12 +9764,11 @@ ix86_expand_fp_movcc (rtx operands[]) ...@@ -9764,12 +9764,11 @@ ix86_expand_fp_movcc (rtx operands[])
if (cmode != mode) if (cmode != mode)
return 0; return 0;
/* Massage condition to satisfy sse_comparison_operator. In case we /* Massage condition to satisfy sse_comparison_operator. Try
are in non-ieee mode, try to canonicalize the destination operand to canonicalize the destination operand to be first in the
to be first in the comparison - this helps reload to avoid extra comparison - this helps reload to avoid extra moves. */
moves. */
if (!sse_comparison_operator (operands[1], VOIDmode) 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))) && rtx_equal_p (operands[0], cmp_op1)))
{ {
tmp = cmp_op0; tmp = cmp_op0;
......
...@@ -759,9 +759,7 @@ ...@@ -759,9 +759,7 @@
;; predicate. ;; predicate.
(define_special_predicate "sse_comparison_operator" (define_special_predicate "sse_comparison_operator"
(ior (match_code "eq,lt,le,unordered,ne,unge,ungt,ordered") (match_code "eq,lt,le,unordered,ne,unge,ungt,ordered"))
(and (match_code "uneq,unlt,unle,ltgt,ge,gt")
(match_test "!TARGET_IEEE_FP"))))
;; Return 1 if OP is a valid comparison operator in valid mode. ;; Return 1 if OP is a valid comparison operator in valid mode.
(define_predicate "ix86_comparison_operator" (define_predicate "ix86_comparison_operator"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment