rs6000.c (rs6000_emit_epilogue): Use addsi3_carry or adddi3_carry when restoring frame_reg_rtx from r0 after restvr.
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Use addsi3_carry or adddi3_carry when restoring frame_reg_rtx from r0 after restvr. From-SVN: r220665
This commit is contained in:
parent
d6d77e665b
commit
8ae6ac51d4
@ -1,3 +1,8 @@
|
||||
2015-02-13 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Use addsi3_carry
|
||||
or adddi3_carry when restoring frame_reg_rtx from r0 after restvr.
|
||||
|
||||
2015-02-12 David Howells <dhowells@redhat.com>
|
||||
|
||||
* tree-sra.c (dump_dereferences_table): Avoid -Wformat-security
|
||||
|
@ -24977,7 +24977,12 @@ rs6000_emit_epilogue (int sibcall)
|
||||
rtx offset = GEN_INT (end_save + ptr_off);
|
||||
|
||||
frame_off = -end_save;
|
||||
emit_insn (gen_add3_insn (frame_reg_rtx, ptr_reg, offset));
|
||||
if (TARGET_32BIT)
|
||||
emit_insn (gen_addsi3_carry (frame_reg_rtx,
|
||||
ptr_reg, offset));
|
||||
else
|
||||
emit_insn (gen_adddi3_carry (frame_reg_rtx,
|
||||
ptr_reg, offset));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user