diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-10-22 00:41:31 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-10-21 18:41:31 -0600 |
commit | c6ee9150da2bf77d08746e8ea254d8defb6978a7 (patch) | |
tree | 7b4e25f01c9bb2b6453c70963a3b61e4e7aa69da /gcc | |
parent | 1a986152424c940b4390d191cff96141ad49fabb (diff) | |
download | gcc-c6ee9150da2bf77d08746e8ea254d8defb6978a7.zip gcc-c6ee9150da2bf77d08746e8ea254d8defb6978a7.tar.gz gcc-c6ee9150da2bf77d08746e8ea254d8defb6978a7.tar.bz2 |
mn10300.md (movqi, movhi): Avoid using address registers as destinations unless absolutely necessary.
* mn10300.md (movqi, movhi): Avoid using address registers as
destinations unless absolutely necessary.
From-SVN: r16141
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.md | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9341ae0..aeac9b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,6 +5,9 @@ Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au> Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com) + * mn10300.md (movqi, movhi): Avoid using address registers as + destinations unless absolutely necessary. + * mn10200.c (expand_prologue): Fix typo. * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index c835043..c9e7d33 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -57,7 +57,7 @@ }") (define_insn "" - [(set (match_operand:QI 0 "general_operand" "=d,a,d,a,d,a,d,a,d,m") + [(set (match_operand:QI 0 "general_operand" "=d,*a,d,*a,d,*a,d,*a,d,m") (match_operand:QI 1 "general_operand" "0,0,I,I,a,d,di,ia,m,d"))] "register_operand (operands[0], QImode) || register_operand (operands[1], QImode)" @@ -112,7 +112,7 @@ }") (define_insn "" - [(set (match_operand:HI 0 "general_operand" "=d,a,d,a,d,a,d,a,d,m") + [(set (match_operand:HI 0 "general_operand" "=d,*a,d,*a,d,*a,d,*a,d,m") (match_operand:HI 1 "general_operand" "0,0,I,I,a,d,di,ia,m,d"))] "register_operand (operands[0], HImode) || register_operand (operands[1], HImode)" |