Commit 9bc6d2c2 by John Wehle Committed by Jeff Law

i386.md (cmpsi_1, [...]): Remove code which set CC_REVERSED since reload should…

i386.md (cmpsi_1, [...]): Remove code which set CC_REVERSED since reload should ensure that the operands...

        * i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
        which set CC_REVERSED since reload should ensure that
        the operands are already the correct type.

From-SVN: r20434
parent 112a70c2
Fri Jun 12 00:30:32 1998 John Wehle (john@feith.com)
* i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
which set CC_REVERSED since reload should ensure that
the operands are already the correct type.
Thu Jun 11 17:14:15 1998 Jim Wilson <wilson@cygnus.com> Thu Jun 11 17:14:15 1998 Jim Wilson <wilson@cygnus.com>
* except.c (expand_builtin_eh_stub): Call emit_move_insn rather than * except.c (expand_builtin_eh_stub): Call emit_move_insn rather than
......
...@@ -328,15 +328,7 @@ ...@@ -328,15 +328,7 @@
(compare (match_operand:SI 0 "nonimmediate_operand" "mr,r") (compare (match_operand:SI 0 "nonimmediate_operand" "mr,r")
(match_operand:SI 1 "general_operand" "ri,mr")))] (match_operand:SI 1 "general_operand" "ri,mr")))]
"GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM" "GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM"
"* "* return AS2 (cmp%L0,%1,%0);")
{
if (CONSTANT_P (operands[0]) || GET_CODE (operands[1]) == MEM)
{
cc_status.flags |= CC_REVERSED;
return AS2 (cmp%L0,%0,%1);
}
return AS2 (cmp%L0,%1,%0);
}")
(define_expand "cmpsi" (define_expand "cmpsi"
[(set (cc0) [(set (cc0)
...@@ -359,15 +351,7 @@ ...@@ -359,15 +351,7 @@
(compare (match_operand:HI 0 "nonimmediate_operand" "mr,r") (compare (match_operand:HI 0 "nonimmediate_operand" "mr,r")
(match_operand:HI 1 "general_operand" "ri,mr")))] (match_operand:HI 1 "general_operand" "ri,mr")))]
"GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM" "GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM"
"* "* return AS2 (cmp%W0,%1,%0);")
{
if (CONSTANT_P (operands[0]) || GET_CODE (operands[1]) == MEM)
{
cc_status.flags |= CC_REVERSED;
return AS2 (cmp%W0,%0,%1);
}
return AS2 (cmp%W0,%1,%0);
}")
(define_expand "cmphi" (define_expand "cmphi"
[(set (cc0) [(set (cc0)
...@@ -390,15 +374,7 @@ ...@@ -390,15 +374,7 @@
(compare (match_operand:QI 0 "nonimmediate_operand" "q,mq") (compare (match_operand:QI 0 "nonimmediate_operand" "q,mq")
(match_operand:QI 1 "general_operand" "qm,nq")))] (match_operand:QI 1 "general_operand" "qm,nq")))]
"GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM" "GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM"
"* "* return AS2 (cmp%B0,%1,%0);")
{
if (CONSTANT_P (operands[0]) || GET_CODE (operands[1]) == MEM)
{
cc_status.flags |= CC_REVERSED;
return AS2 (cmp%B0,%0,%1);
}
return AS2 (cmp%B0,%1,%0);
}")
(define_expand "cmpqi" (define_expand "cmpqi"
[(set (cc0) [(set (cc0)
......
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