diff options
author | Jeff Law <jlaw@localhost.localdomain> | 2021-08-23 10:33:35 -0400 |
---|---|---|
committer | Jeff Law <jlaw@localhost.localdomain> | 2021-08-23 10:37:20 -0400 |
commit | fedadb60b6fc6425387faf4d514b4e8b0e24180e (patch) | |
tree | a7790752bbcd3170055d90dee37b2ae7f96fc401 /gcc/config.gcc | |
parent | 89ff4f027b5c92e96a8527920b8ccc3b94aec672 (diff) | |
download | gcc-fedadb60b6fc6425387faf4d514b4e8b0e24180e.zip gcc-fedadb60b6fc6425387faf4d514b4e8b0e24180e.tar.gz gcc-fedadb60b6fc6425387faf4d514b4e8b0e24180e.tar.bz2 |
Add tailcall/sibcall support to the H8
gcc/
* config/h8300/h8300-protos.h (h8300_expand_epilogue): Add new
argument.
* config/h8300/jumpcall.md (call, call_value): Restrict to
!SIBLING_CALL_P cases.
(subcall, sibcall_value): New patterns & expanders.
* config/h8300/proepi.md (epilogue): Pass new argument to
h8300_expand_epilogue.
(sibcall_epilogue): New expander.
* config/h8300/h8300.c (h8300_expand_epilogue): Handle sibcall
epilogues too.
(h8300_ok_for_sibcall_p): New function.
(TARGET_FUNCTION_OK_FOR_SIBCALL): define.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions