diff options
author | Richard Henderson <rth@redhat.com> | 2005-01-18 01:44:13 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-01-18 01:44:13 -0800 |
commit | 9f61886eaf5d9cdaaac90ee147e078908d117fdc (patch) | |
tree | e04f5027c6bcae9cf6d542af67efe90a00a63412 /gcc | |
parent | 16630a2c80c507bd2df089aa0b762ccd10178cfc (diff) | |
download | gcc-9f61886eaf5d9cdaaac90ee147e078908d117fdc.zip gcc-9f61886eaf5d9cdaaac90ee147e078908d117fdc.tar.gz gcc-9f61886eaf5d9cdaaac90ee147e078908d117fdc.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 9 | ||||
-rw-r--r-- | gcc/config/i386/predicates.md | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10a4f6a..ce0259c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 5f00e4a..c3aff8e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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; diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index 73352b9..6e94afc 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -759,9 +759,7 @@ ;; 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" |