projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0279a6
)
(eq reg (const_int 0)): New pattern.
author
Torbjorn Granlund
<tege@gnu.org>
Tue, 30 Jul 1996 19:03:29 +0000
(19:03 +0000)
committer
Torbjorn Granlund
<tege@gnu.org>
Tue, 30 Jul 1996 19:03:29 +0000
(19:03 +0000)
From-SVN: r12575
gcc/config/i960/i960.md
patch
|
blob
|
history
diff --git
a/gcc/config/i960/i960.md
b/gcc/config/i960/i960.md
index 1891a3ec1184b163437f2ed2b99a80478ccf99c9..f6ca00e3850a5c370a7b66f73e0937ee1cca2347 100644
(file)
--- a/
gcc/config/i960/i960.md
+++ b/
gcc/config/i960/i960.md
@@
-350,6
+350,13
@@
operands[1] = gen_compare_reg (LEU, i960_compare_op0, i960_compare_op1);
}")
+(define_insn ""
+ [(set (match_operand:SI 0 "general_operand" "=d")
+ (eq:SI (match_operand:SI 1 "register_operand" "d") (const_int 0)))]
+ ""
+ "shro %1,1,%0"
+ [(set_attr "type" "alu2")])
+
(define_insn ""
[(set (match_operand:SI 0 "general_operand" "=d")
(match_operator:SI 1 "comparison_operator" [(reg:CC 36) (const_int 0)]))]