OSDN Git Service

PR optimization/12345
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Sep 2003 07:14:39 +0000 (07:14 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Sep 2003 07:14:39 +0000 (07:14 +0000)
commit614c1fd706c3b4b237759beb6983e24eb52f6a23
treed9bb6788e6323d712f0199315f1b13c2a591f53f
parent5a3d4fbb02ef88fd054364575bd0c78af7ba5a86
PR optimization/12345
* config/mips/mips-protos.h (mips_restore_gp): Remove.
(mips_gp_save_slot): Declare.
* config/mips/mips.c (mips_restore_gp): Remove in favor of...
(mips_gp_save_slot): ...this new function.
* config/mips/mips.md (exception_receiver): Use mips_gp_save_slot
and mips_output_move to generate the output template.
(call_internal): Force splitting if TARGET_SPLIT_CALLS.  Don't emit
a gp load after a noreturn call.  Load the gp using a move rather
than an exception_receiver pattern.
(call_value_internal, call_value_multiple_internal): Likewise.
(call_split, call_value_split, call_value_multiple_split): Clobber $28.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71935 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.md