diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-12-28 04:15:27 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-12-28 04:15:27 +0000 |
commit | 62fbd434b0b16582c108561c7cd70319d5a32b17 (patch) | |
tree | 569d9138ef2a195591c5c535f961645706371ee9 /gcc | |
parent | 3fedb74514f29b08d6554c978e21c87ced4812b1 (diff) | |
download | gcc-62fbd434b0b16582c108561c7cd70319d5a32b17.zip gcc-62fbd434b0b16582c108561c7cd70319d5a32b17.tar.gz gcc-62fbd434b0b16582c108561c7cd70319d5a32b17.tar.bz2 |
h8300.md (*iorhi_shift_8): Change the name to *iorhi_ashift_8.
* config/h8300/h8300.md (*iorhi_shift_8): Change the name to
*iorhi_ashift_8.
(*iorhi_lshiftrt_8): New.
From-SVN: r60553
Diffstat (limited to 'gcc')
-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")) |