s390-protos.h (s390_function_prologue, [...]): Remove.
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 26 Aug 2002 18:18:19 +0000 (18:18 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 26 Aug 2002 18:18:19 +0000 (18:18 +0000)
commitc3cc6b78a1487e9c05be9770f811b79706318867
tree9c119df126330ad4a35fad49d9f309abceb20145
parent3f66218653d7905c186e050208545d9f8d0b020f
s390-protos.h (s390_function_prologue, [...]): Remove.

* config/s390/s390-protos.h (s390_function_prologue,
s390_function_epilogue): Remove.
config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.

config/s390/s390.c (s390_machine_dependent_recorg): New function.
config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.

config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
assume BASE_REGISTER and RETURN_REGNUM need to be saved.
(s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
function is not a leaf function.  Use save_gprs and restore_gprs.
(s390_emit_epilogue): Likewise.
(save_gprs, restore_gprs): New functions.
(struct s390_frame): Remove return_reg_saved_p member.
(save_fprs_p): Remove.
(s390_optimize_prolog): New function.
(s390_legitimate_reload_constant): Remove now unnecessary check.

(s390_function_count): Remove.
(s390_output_symbolic_const): Replace s390_function_count by
current_function_funcdef_no.
(s390_output_constant_pool): Likewise.

(legitimize_pic_address): Use regs_ever_live to track PIC register
instead of current_function_uses_pic_offset_table.
(s390_emit_prologue): Likewise.
config/s390/s390.md ("call", "call_value"): Likewise.

From-SVN: r56584
gcc/ChangeLog
gcc/config/s390/s390-protos.h
gcc/config/s390/s390.c
gcc/config/s390/s390.h
gcc/config/s390/s390.md