stormy16.md (zero_extendqihi2): New.
2002-02-11 Andrew Haley <aph@cambridge.redhat.com> * config/stormy16/stormy16.md (zero_extendqihi2): New. From-SVN: r49679
This commit is contained in:
parent
e6b9638bff
commit
515342a8f0
@ -1,3 +1,7 @@
|
||||
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)])])
|
||||
|
||||
|
||||
;; ::::::::::::::::::::
|
||||
;; ::
|
||||
|
Loading…
Reference in New Issue
Block a user