aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-01-01 09:51:30 +0000
committerJeff Law <law@gcc.gnu.org>1998-01-01 02:51:30 -0700
commit2d490e3e4eb692d34cc226d90eb9d7cb1b54eafd (patch)
treea322466ba44151e565809d82b0bd29d22059860d /gcc
parent6e26218fc9338c4bb8f5fd8592f9d8c83c1bf800 (diff)
downloadgcc-2d490e3e4eb692d34cc226d90eb9d7cb1b54eafd.zip
gcc-2d490e3e4eb692d34cc226d90eb9d7cb1b54eafd.tar.gz
gcc-2d490e3e4eb692d34cc226d90eb9d7cb1b54eafd.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mn10200/mn10200.md10
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b058f7d..c6e3acd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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>
* configure.in: Set and subsitute host_exeext. Use it when creating
diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md
index a47332a..90f7f80 100644
--- a/gcc/config/mn10200/mn10200.md
+++ b/gcc/config/mn10200/mn10200.md
@@ -1,5 +1,5 @@
;; 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).
@@ -306,13 +306,13 @@
;; Go ahead and define tsthi and tstpsi so we can eliminate redundant tst insns
;; when we start trying to optimize this port.
(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);"
[(set_attr "cc" "set_znv")])
(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);"
[(set_attr "cc" "set_znv")])
@@ -331,7 +331,7 @@
(define_insn "cmphi"
[(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")))]
""
"cmp %1,%0"
@@ -339,7 +339,7 @@
(define_insn "cmppsi"
[(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")))]
""
"cmp %1,%0"