Commit 6ce986b9 by Bernd Schmidt Committed by Bernd Schmidt

bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg instead of R2.

	* config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg
	instead of R2.

From-SVN: r122376
parent d711ed87
...@@ -43,6 +43,9 @@ ...@@ -43,6 +43,9 @@
* config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3, * config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3,
lshifthi3): Fix output template to use half reg for operand 2. lshifthi3): Fix output template to use half reg for operand 2.
* config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg
instead of R2.
2007-02-27 Andreas Schwab <schwab@suse.de> 2007-02-27 Andreas Schwab <schwab@suse.de>
* Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi. * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi.
......
...@@ -4556,7 +4556,7 @@ bfin_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED, ...@@ -4556,7 +4556,7 @@ bfin_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED,
if (vcall_offset) if (vcall_offset)
{ {
rtx p2tmp = gen_rtx_REG (Pmode, REG_P2); rtx p2tmp = gen_rtx_REG (Pmode, REG_P2);
rtx tmp = gen_rtx_REG (Pmode, REG_R2); rtx tmp = gen_rtx_REG (Pmode, REG_R3);
xops[1] = tmp; xops[1] = tmp;
xops[2] = p2tmp; xops[2] = p2tmp;
......
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