OSDN Git Service

* config/h8300/h8300.md (*iorhi_shift_8): Change the name to
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)
*iorhi_ashift_8.
(*iorhi_lshiftrt_8): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60553 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e709f9f..3dfa74d 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 19c95fa..fd41ad3 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"))