]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
m68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.
authorStephane Carrez <stcarrez@nerim.fr>
Fri, 12 Jul 2002 20:43:54 +0000 (22:43 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Fri, 12 Jul 2002 20:43:54 +0000 (22:43 +0200)
* config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
the scratch register.
("*movhi2_push"): Accept Z_REG because a split pattern can make use
of it, forbid reload to use it.

From-SVN: r55426

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.md

index 12db766216a025079f85905d8600e9f21d93539d..f97d765d8a357d405849ee3d338b23a42a0d1ed8 100644 (file)
@@ -1,3 +1,10 @@
+2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
+       the scratch register.
+       ("*movhi2_push"): Accept Z_REG because a split pattern can make use
+       of it, forbid reload to use it.
+
 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
 
        * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
index 1e6cb7765b9d1b78a2fb87fb227631551ac5d9f9..da17dd6db4f0d09851b51c0d8404b4839c2ae8af 100644 (file)
 ;;--------------------------------------------------------------------
 
 (define_insn "*movhi2_push"
-  [(set (match_operand:HI 0 "push_operand" "=<,<")
-       (match_operand:HI 1 "general_operand" "xy,?d"))]
+  [(set (match_operand:HI 0 "push_operand" "=<,<,<")
+       (match_operand:HI 1 "general_operand" "xy,?d,!z"))]
   "TARGET_M6811 && !TARGET_M6812"
   "*
 {
   [(set (match_operand:DI 0 "nonimmediate_operand" "=m,m,!u,!u")
        (zero_extend:DI 
            (match_operand:SI 1 "nonimmediate_operand" "m,Du,m,Du")))
-   (clobber (match_scratch:HI 2 "=d,d,&dB,d"))]
+   (clobber (match_scratch:HI 2 "=d,d,d,d"))]
   ""
   "#")