h8300.md (*iorhi_shift_8): Change the name to *iorhi_ashift_8.
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)
* config/h8300/h8300.md (*iorhi_shift_8): Change the name to
*iorhi_ashift_8.
(*iorhi_lshiftrt_8): New.

From-SVN: r60553

gcc/ChangeLog
gcc/config/h8300/h8300.md

index e709f9f2d6f2365ec42bd131e4e67b5cbe4682ca..3dfa74d0ae5c46b857f9209a2d31c899bc1a154d 100644 (file)
@@ -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.
index 19c95fa4d9752de08208a81549056f9a775c57aa..fd41ad3281764efd2a2e53ac61e201aaf50d3e79 100644 (file)
   [(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))
   [(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"))