avr.md ("*movsf","*movsi"): Pass NULL to output_movsisf instead of which_alternative.

* config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
	output_movsisf instead of which_alternative.

	* config/avr/avr.c (output_reload_inhi): Check for NULL ponter.

From-SVN: r36048
This commit is contained in:
Denis Chertykov 2000-08-29 20:23:07 +00:00 committed by Denis Chertykov
parent 6bec29c9e3
commit 612105a61a
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
output_movsisf instead of which_alternative.
* config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
* config/avr/avr-protos.h: (avr_output_ascii) Removed.

View File

@ -4545,6 +4545,10 @@ output_reload_inhi (insn, operands, len)
rtx *operands;
int *len;
{
int tmp;
if (!len)
len = &tmp;
if (GET_CODE (operands[1]) == CONST_INT)
{
int val = INTVAL (operands[1]);

View File

@ -269,7 +269,7 @@
(match_operand:SI 1 "general_operand" "r,L,Qm,rL,i,i"))]
"(register_operand (operands[0],SImode)
|| register_operand (operands[1],SImode) || const0_rtx == operands[1])"
"* return output_movsisf (insn, operands, which_alternative);"
"* return output_movsisf (insn, operands, NULL);"
[(set_attr "length" "4,4,8,8,4,10")
(set_attr "cc" "none,set_zn,clobber,clobber,clobber,clobber")])
@ -295,7 +295,7 @@
(match_operand:SF 1 "general_operand" "r,G,Qm,r,F,F"))]
"register_operand (operands[0], SFmode)
|| register_operand (operands[1], SFmode)"
"* return output_movsisf (insn, operands, which_alternative);"
"* return output_movsisf (insn, operands, NULL);"
[(set_attr "length" "4,4,8,8,4,10")
(set_attr "cc" "none,set_zn,clobber,clobber,clobber,clobber")])