diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 12 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e709f9f..3dfa74d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-12-27 Kazu Hirata <kazu@cs.umass.edu> + + * config/h8300/h8300.md (*iorhi_shift_8): Change the name to + *iorhi_ashift_8. + (*iorhi_lshiftrt_8): New. + 2002-12-27 Joseph S. Myers <jsm@polyomino.org.uk> * doc/include/texinfo.tex: Update to version 2002-12-26.16. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 19c95fa..fd41ad3 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2407,7 +2407,7 @@ [(set_attr "cc" "clobber") (set_attr "length" "2")]) -(define_insn "*iorhi_shift_8" +(define_insn "*iorhi_ashift_8" [(set (match_operand:HI 0 "register_operand" "=r") (ior:HI (ashift:HI (match_operand:HI 1 "register_operand" "r") (const_int 8)) @@ -2417,6 +2417,16 @@ [(set_attr "cc" "clobber") (set_attr "length" "2")]) +(define_insn "*iorhi_lshiftrt_8" + [(set (match_operand:HI 0 "register_operand" "=r") + (ior:HI (lshiftrt:HI (match_operand:HI 1 "register_operand" "r") + (const_int 8)) + (match_operand:HI 2 "register_operand" "0")))] + "" + "or.b\t%t1,%s0" + [(set_attr "cc" "clobber") + (set_attr "length" "2")]) + (define_insn "" [(set (match_operand:SI 0 "register_operand" "=r") (ior:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "0")) |