From c6ee9150da2bf77d08746e8ea254d8defb6978a7 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 22 Oct 1997 00:41:31 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/mn10300/mn10300.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9341ae04345..aeac9b9abc0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -5,6 +5,9 @@ Tue Oct 21 18:34:01 1997 Geoffrey KEATING 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 c835043c3f6..c9e7d336d2f 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)"