Commit 042575e9 by Denis Chertykov Committed by Denis Chertykov

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
parent b1a0b75d
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> 2000-05-05 Bruce Korb <bkorb@gnu.org>
* fixinc/genfixes: Improve the matching for make target names * fixinc/genfixes: Improve the matching for make target names
......
...@@ -2042,7 +2042,7 @@ out_shift_with_cnt (template,insn,operands,len) ...@@ -2042,7 +2042,7 @@ out_shift_with_cnt (template,insn,operands,len)
if (len) if (len)
++*len; ++*len;
else else
strcat (str, "ldi %3,lo8(%2)"); strcat (str, "ldi %3,lo8((%2)-1)");
second_label = 0; second_label = 0;
} }
else if (GET_CODE (operands[2]) == MEM) else if (GET_CODE (operands[2]) == MEM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment