diff options
author | Alan Modra <amodra@gcc.gnu.org> | 2009-03-31 12:11:03 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2009-03-31 12:11:03 +1030 |
commit | b597d1b66ac6e4b951a325a024f57cfeda7e2dd3 (patch) | |
tree | faf64b0782cbf7628ed34812098c33b9f0c34fb9 | |
parent | f2e2ecda15d2b8b91e47b712a45cf9de7af00339 (diff) | |
download | gcc-b597d1b66ac6e4b951a325a024f57cfeda7e2dd3.zip gcc-b597d1b66ac6e4b951a325a024f57cfeda7e2dd3.tar.gz gcc-b597d1b66ac6e4b951a325a024f57cfeda7e2dd3.tar.bz2 |
spu.c (spu_expand_prologue): Delete redundant code.
* config/spu/spu.c (spu_expand_prologue): Delete redundant code.
From-SVN: r145327
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/config/spu/spu.c | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7509e62..ad93ab2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,13 @@ +2009-03-31 Alan Modra <amodra@bigpond.net.au> + + * config/spu/spu.c (spu_expand_prologue): Delete redundant code. + 2009-03-30 Jan Hubicka <jh@suse.cz> - * tree-eh.c (make_eh_edges): Set probability 100% to first edge out of RESX. - (tree_remove_unreachable_handlers): Cleanup EH predecestor detection and label - handling. + * tree-eh.c (make_eh_edges): Set probability 100% to first edge + out of RESX. + (tree_remove_unreachable_handlers): Cleanup EH predecestor + detection and label handling. 2009-03-30 Vladimir Makarov <vmakarov@redhat.com> diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 6e0001b..8e16571 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -1878,12 +1878,6 @@ spu_expand_prologue (void) insn = frame_emit_add_imm (sp_reg, sp_reg, -total_size, scratch_reg_0); } - else if (satisfies_constraint_K (GEN_INT (-total_size))) - { - insn = emit_move_insn (scratch_reg_0, sp_reg); - insn = - emit_insn (gen_addsi3 (sp_reg, sp_reg, GEN_INT (-total_size))); - } else { insn = emit_move_insn (scratch_reg_0, sp_reg); |