diff options
author | ciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-12 20:43:54 +0000 |
---|---|---|
committer | ciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-12 20:43:54 +0000 |
commit | 7b3dc0013f059dd55b39924461ece6ee71a6d814 (patch) | |
tree | 22d8c88bc4a12004cfe16027cc82ac15d83f1f0f | |
parent | 37aa00d74e629293170f2c3b8a031b1d1397c509 (diff) | |
download | gcc-7b3dc0013f059dd55b39924461ece6ee71a6d814.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_1-branch@55426 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.md | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12db766216a..f97d765d8a3 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 1e6cb7765b9..da17dd6db4f 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"))] "" "#") |