rs6000.c (rs6000_emit_prologue): Use frame_reg_rtx for SPE saves.

* config/rs6000/rs6000.c (rs6000_emit_prologue): Use frame_reg_rtx
	for SPE saves.

From-SVN: r130774
This commit is contained in:
Nathan Sidwell 2007-12-11 12:28:55 +00:00 committed by Nathan Sidwell
parent b3cb08bd27
commit 30895f307b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-12-11 Nathan Sidwell <nathan@codesourcery.com>
* config/rs6000/rs6000.c (rs6000_emit_prologue): Use frame_reg_rtx
for SPE saves.
2007-12-11 Kai Tietz <kai.tietz@onevision.com>
* config/i386/cygming.h (DWARF2_UNWIND_INFO): Handle 64-bit

View File

@ -15694,7 +15694,7 @@ rs6000_emit_prologue (void)
if (spe_regs_addressable_via_sp)
{
spe_save_area_ptr = sp_reg_rtx;
spe_save_area_ptr = frame_reg_rtx;
spe_offset = info->spe_gp_save_offset + sp_offset;
}
else
@ -15715,7 +15715,7 @@ rs6000_emit_prologue (void)
}
spe_save_area_ptr = gen_rtx_REG (Pmode, 11);
emit_insn (gen_addsi3 (spe_save_area_ptr, sp_reg_rtx,
emit_insn (gen_addsi3 (spe_save_area_ptr, frame_reg_rtx,
GEN_INT (info->spe_gp_save_offset + sp_offset)));
spe_offset = 0;