aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-07-12 22:41:43 +0200
committerStephane Carrez <ciceron@gcc.gnu.org>2002-07-12 22:41:43 +0200
commitf7a454e94369ab23d5a70aa188f3d0b5597c7956 (patch)
tree06dab44c865f9ad80541a6b73c2271302430e9d9 /gcc
parentdc7b1dda60ba8c8aa03da26f5555d07074cdce3f (diff)
downloadgcc-f7a454e94369ab23d5a70aa188f3d0b5597c7956.zip
gcc-f7a454e94369ab23d5a70aa188f3d0b5597c7956.tar.gz
gcc-f7a454e94369ab23d5a70aa188f3d0b5597c7956.tar.bz2
m68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.
* 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: r55425
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/m68hc11/m68hc11.md6
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f49a39c..26c7007 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md
index 1e6cb77..da17dd6 100644
--- a/gcc/config/m68hc11/m68hc11.md
+++ b/gcc/config/m68hc11/m68hc11.md
@@ -790,8 +790,8 @@
;;--------------------------------------------------------------------
(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"
"*
{
@@ -1228,7 +1228,7 @@
[(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"))]
""
"#")