avr.c (output_reload_insisf): Use 'REG_Z+1' instead of magic '31'.

* config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead
	of magic '31'.

From-SVN: r176041
This commit is contained in:
Georg-Johann Lay 2011-07-08 13:09:07 +00:00 committed by Georg-Johann Lay
parent 0d44736e75
commit 7d8d6d7359
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-08 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead
of magic '31'.
2011-07-08 Bernd Schmidt <bernds@codesourcery.com>
* optabs.c (expand_binop): Use GET_MODE_PRECISION instead of

View File

@ -6239,7 +6239,7 @@ output_reload_insisf (rtx insn ATTRIBUTE_UNUSED,
That's cheaper than loading from constant pool. */
cooked_clobber_p = true;
clobber_reg = gen_rtx_REG (QImode, 31);
clobber_reg = gen_rtx_REG (QImode, REG_Z + 1);
avr_asm_len ("mov __tmp_reg__,%0", &clobber_reg, len, 1);
break;
}