avr.c (out_shift_with_cnt): Bugfix for shift by constant count.

* config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
	constant count.

From-SVN: r33719
This commit is contained in:
Denis Chertykov 2000-05-06 03:06:46 +00:00 committed by Denis Chertykov
parent b1a0b75db5
commit 042575e947
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
constant count.
2000-05-05 Bruce Korb <bkorb@gnu.org>
* fixinc/genfixes: Improve the matching for make target names

View File

@ -2042,7 +2042,7 @@ out_shift_with_cnt (template,insn,operands,len)
if (len)
++*len;
else
strcat (str, "ldi %3,lo8(%2)");
strcat (str, "ldi %3,lo8((%2)-1)");
second_label = 0;
}
else if (GET_CODE (operands[2]) == MEM)