From 2dd5df7cb1b2d6016cf7be8b870cfb26cb0b7fd7 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 20 Feb 2003 12:52:14 +0000 Subject: [PATCH] * config/h8300/h8300.md (*iorsi3_w): New. From-SVN: r63161 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.md | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48b76d72d5a..d3871f87b9d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-02-20 Kazu Hirata + + * config/h8300/h8300.md (*iorsi3_w): New. + 2003-02-20 Josef Zlomek * combine.c (distribute_notes): Kill REG_EXEC_COUNT. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 1ab5f320007..cd824e532be 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2821,6 +2821,16 @@ "operands[3] = gen_rtx_REG (HImode, REGNO (operands[0])); operands[4] = gen_rtx_REG (HImode, REGNO (operands[2]));") +(define_insn "*iorsi3_w" + [(set (match_operand:SI 0 "register_operand" "=r,&r") + (ior:SI (and:SI (match_operand:SI 1 "register_operand" "0,0") + (const_int -256)) + (zero_extend:SI (match_operand:QI 2 "general_operand_src" "r,g>"))))] + "TARGET_H8300H || TARGET_H8300S" + "mov.b\\t%X2,%w0" + [(set_attr "length" "2,8") + (set_attr "cc" "clobber,clobber")]) + (define_insn "*iorsi3_ashift_31" [(set (match_operand:SI 0 "register_operand" "=&r") (ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "r") -- 2.30.2