Commit 515342a8 by Andrew Haley Committed by Andrew Haley

stormy16.md (zero_extendqihi2): New.

2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>

        * config/stormy16/stormy16.md (zero_extendqihi2): New.

From-SVN: r49679
parent e6b9638b
2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
* config/stormy16/stormy16.md (zero_extendqihi2): New.
2002-02-11 Alexandre Oliva <aoliva@redhat.com>
* regrename.c (regrename_optimize): Don't accept a
......
......@@ -224,6 +224,18 @@
""
"cbw %0")
(define_insn "zero_extendqihi2"
[(set (match_operand:HI 0 "register_operand" "=e,r")
(zero_extend:HI (match_operand:QI 1 "nonimmediate_operand" "m,0")))]
""
"@
mov.b %0, %1
shl %0,#8\n\tshr %0,#8"
[(set_attr "psw_operand" "nop,0")
(set_attr_alternative "length"
[(const_int 2)
(const_int 4)])])
;; ::::::::::::::::::::
;; ::
......
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