h8300.md (extendqisi2_h8300): Add constraints.
authorAnil Paranjpe <anilp1@kpitcummins.com>
Tue, 8 Jun 2004 16:43:46 +0000 (16:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 8 Jun 2004 16:43:46 +0000 (10:43 -0600)
        * h8300.md (extendqisi2_h8300): Add constraints.
        (ldm_h8300s_4_normal): Fix typo.

From-SVN: r82769

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

index 1f8964f31b68019be2ebcb08a07799ff6b94cd25..c242cb1e053262f7246bac85b03e50d09597c1e2 100644 (file)
@@ -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
index b653cc9e1d7cdcf0e6d88b99ff8b0df17129e7a6..9f5167ad1be5c1332125edd7edbb9f3849adc010 100644 (file)
        (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")
   "")
 
 (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"
   "@