diff options
author | tege <tege@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-07-30 19:03:29 +0000 |
---|---|---|
committer | tege <tege@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-07-30 19:03:29 +0000 |
commit | 035936b8d0f847d905085398e6b9661467638ddf (patch) | |
tree | 6a5d8c3afda23f1a173537a4357bdaf6aa0b882b /gcc/config/i960/i960.md | |
parent | 0bfeb9614ffd756603d7375b1924536c46de4633 (diff) | |
download | ppe42-gcc-035936b8d0f847d905085398e6b9661467638ddf.tar.gz ppe42-gcc-035936b8d0f847d905085398e6b9661467638ddf.zip |
(eq reg (const_int 0)): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12575 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i960/i960.md')
-rw-r--r-- | gcc/config/i960/i960.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i960/i960.md b/gcc/config/i960/i960.md index 1891a3ec118..f6ca00e3850 100644 --- a/gcc/config/i960/i960.md +++ b/gcc/config/i960/i960.md @@ -352,6 +352,13 @@ (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)]))] "" "test%C1 %0" |