From 1f45013893222d0c35b365d4ee93e39bce2a5041 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 10 Jan 2003 15:02:01 +0000 Subject: * config/h8300/h8300.md (*iorsi3_ashift_31): New. From-SVN: r61158 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.md | 10 ++++++++++ 2 files changed, 14 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 799f9ba..ff7ff33 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-01-10 Kazu Hirata + + * config/h8300/h8300.md (*iorsi3_ashift_31): New. + 2003-01-10 Josef Zlomek * jump.c (next_nonnote_insn_in_loop): New function. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 1d1fdac..66c79e7 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2701,6 +2701,16 @@ [(set_attr "cc" "clobber") (set_attr "length" "2")]) +(define_insn "*iorsi3_ashift_31" + [(set (match_operand:SI 0 "register_operand" "=&r") + (ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "r") + (const_int 31)) + (match_operand:SI 2 "register_operand" "0")))] + "TARGET_H8300H || TARGET_H8300S" + "rotxl.l\\t%S0\;bor\\t#0,%w1\;rotxr.l\\t%S0" + [(set_attr "length" "6") + (set_attr "cc" "set_znv")]) + ;; Used to OR the exponent of a float. (define_insn "*iorsi3_shift" -- cgit v1.1