From 3d5c8546d460a98243615f7d8065f60ee1f1c10c Mon Sep 17 00:00:00 2001 From: Anil Paranjpe Date: Tue, 8 Jun 2004 16:43:46 +0000 Subject: [PATCH] h8300.md (extendqisi2_h8300): Add constraints. * h8300.md (extendqisi2_h8300): Add constraints. (ldm_h8300s_4_normal): Fix typo. From-SVN: r82769 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f8964f31b6..c242cb1e053 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 Anil Paranjpe + + * h8300.md (extendqisi2_h8300): Add constraints. + (ldm_h8300s_4_normal): Fix typo. + 2004-06-08 Richard Henderson * gimple-low.c (struct lower_data): Replace the_return_label and diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index b653cc9e1d7..9f5167ad1be 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2096,7 +2096,7 @@ (match_operand:SI 2 "register_operand" "")) (set (mem:SI (reg:HI SP_REG)) (match_operand:SI 3 "register_operand" ""))] - "TARGET_H8300S && !TARGET_NORMAL_MODE + "TARGET_H8300S && TARGET_NORMAL_MODE && h8300_regs_ok_for_stm (4, operands)" "ldm.l\\t@er7+,%S0-%S3" [(set_attr "cc" "none") @@ -2310,7 +2310,7 @@ "") (define_insn "*extendqisi2_h8300" - [(set (match_operand:SI 0 "register_operand" "") + [(set (match_operand:SI 0 "register_operand" "=r,r") (sign_extend:SI (match_operand:QI 1 "general_operand_src" "0,g>")))] "TARGET_H8300" "@ -- 2.30.2