aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnil Paranjpe <anilp1@kpitcummins.com>2004-06-08 16:43:46 +0000
committerJeff Law <law@gcc.gnu.org>2004-06-08 10:43:46 -0600
commit3d5c8546d460a98243615f7d8065f60ee1f1c10c (patch)
tree5b604af70dd8995f04461931ecf005e562a8a789
parent7187798577a9a9035d1d492d1686217ff5ca30d7 (diff)
downloadgcc-3d5c8546d460a98243615f7d8065f60ee1f1c10c.zip
gcc-3d5c8546d460a98243615f7d8065f60ee1f1c10c.tar.gz
gcc-3d5c8546d460a98243615f7d8065f60ee1f1c10c.tar.bz2
h8300.md (extendqisi2_h8300): Add constraints.
* h8300.md (extendqisi2_h8300): Add constraints. (ldm_h8300s_4_normal): Fix typo. From-SVN: r82769
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f8964f..c242cb1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-08 Anil Paranjpe <anilp1@kpitcummins.com>
+
+ * h8300.md (extendqisi2_h8300): Add constraints.
+ (ldm_h8300s_4_normal): Fix typo.
+
2004-06-08 Richard Henderson <rth@redhat.com>
* 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 b653cc9..9f5167a 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"
"@