diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2014-02-07 14:52:26 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-02-07 14:52:26 +0000 |
commit | 177bc204a2f3a13c9fad9c8f88eb3449c8752552 (patch) | |
tree | 66c6a4c444bca952b3f996e781e0e593bbc8db05 /gcc/config/s390/s390-protos.h | |
parent | 0621cf3c78ee4e26cdb44bdfcb40677028280d5d (diff) | |
download | gcc-177bc204a2f3a13c9fad9c8f88eb3449c8752552.zip gcc-177bc204a2f3a13c9fad9c8f88eb3449c8752552.tar.gz gcc-177bc204a2f3a13c9fad9c8f88eb3449c8752552.tar.bz2 |
gcc/
* config/s390/s390-protos.h (s390_can_use_simple_return_insn)
(s390_can_use_return_insn): Declare.
* config/s390/s390.h (EPILOGUE_USES): Define.
* config/s390/s390.c (s390_mainpool_start): Allow two main_pool
instructions.
(s390_chunkify_start): Handle return JUMP_LABELs.
(s390_early_mach): Emit a main_pool instruction on the entry edge.
(s300_set_up_by_prologue, s390_can_use_simple_return_insn)
(s390_can_use_return_insn): New functions.
(s390_fix_long_loop_prediction): Handle conditional returns.
(TARGET_SET_UP_BY_PROLOGUE): Define.
* config/s390/s390.md (ANY_RETURN): New code iterator.
(*creturn, *csimple_return, return, simple_return): New patterns.
From-SVN: r207605
Diffstat (limited to 'gcc/config/s390/s390-protos.h')
-rw-r--r-- | gcc/config/s390/s390-protos.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/s390/s390-protos.h b/gcc/config/s390/s390-protos.h index 72f8bb7..9bd08fa 100644 --- a/gcc/config/s390/s390-protos.h +++ b/gcc/config/s390/s390-protos.h @@ -36,6 +36,8 @@ extern bool s390_check_symref_alignment (rtx addr, HOST_WIDE_INT alignment); extern HOST_WIDE_INT s390_initial_elimination_offset (int, int); extern void s390_emit_prologue (void); extern void s390_emit_epilogue (bool); +extern bool s390_can_use_simple_return_insn (void); +extern bool s390_can_use_return_insn (void); extern void s390_function_profiler (FILE *, int); extern void s390_set_has_landing_pad_p (bool); extern bool s390_hard_regno_mode_ok (unsigned int, enum machine_mode); |