Commit 2d490e3e by Jeffrey A Law Committed by Jeff Law

mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate for first argument.

        * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
        for first argument.

From-SVN: r17274
parent 6e26218f
Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
* mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
for first argument.
Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com> Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Set and subsitute host_exeext. Use it when creating * configure.in: Set and subsitute host_exeext. Use it when creating
......
;; GCC machine description for Matsushita MN10200 ;; GCC machine description for Matsushita MN10200
;; Copyright (C) 1997 Free Software Foundation, Inc. ;; Copyright (C) 1997, 1998 Free Software Foundation, Inc.
;; Contributed by Jeff Law (law@cygnus.com). ;; Contributed by Jeff Law (law@cygnus.com).
...@@ -306,13 +306,13 @@ ...@@ -306,13 +306,13 @@
;; Go ahead and define tsthi and tstpsi so we can eliminate redundant tst insns ;; Go ahead and define tsthi and tstpsi so we can eliminate redundant tst insns
;; when we start trying to optimize this port. ;; when we start trying to optimize this port.
(define_insn "tsthi" (define_insn "tsthi"
[(set (cc0) (match_operand:HI 0 "general_operand" "da"))] [(set (cc0) (match_operand:HI 0 "nonimmediate_operand" "da"))]
"" ""
"* return output_tst (operands[0], insn);" "* return output_tst (operands[0], insn);"
[(set_attr "cc" "set_znv")]) [(set_attr "cc" "set_znv")])
(define_insn "tstpsi" (define_insn "tstpsi"
[(set (cc0) (match_operand:PSI 0 "general_operand" "da"))] [(set (cc0) (match_operand:PSI 0 "nonimmediate_operand" "da"))]
"" ""
"* return output_tst (operands[0], insn);" "* return output_tst (operands[0], insn);"
[(set_attr "cc" "set_znv")]) [(set_attr "cc" "set_znv")])
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
(define_insn "cmphi" (define_insn "cmphi"
[(set (cc0) [(set (cc0)
(compare:HI (match_operand:HI 0 "general_operand" "da") (compare:HI (match_operand:HI 0 "nonimmediate_operand" "da")
(match_operand:HI 1 "general_operand" "dai")))] (match_operand:HI 1 "general_operand" "dai")))]
"" ""
"cmp %1,%0" "cmp %1,%0"
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
(define_insn "cmppsi" (define_insn "cmppsi"
[(set (cc0) [(set (cc0)
(compare:PSI (match_operand:PSI 0 "general_operand" "da") (compare:PSI (match_operand:PSI 0 "nonimmediate_operand" "da")
(match_operand:PSI 1 "general_operand" "dai")))] (match_operand:PSI 1 "general_operand" "dai")))]
"" ""
"cmp %1,%0" "cmp %1,%0"
......
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