diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-11-28 11:45:00 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-11-28 11:45:00 +0100 |
commit | 654afa46c90f7552af52fed30bc1a3fa21163f40 (patch) | |
tree | 2ffb5f19e3cb3b24cd5b2dbdd2874cf0f51c4dcc /gcc/expr.cc | |
parent | 37c98fdeac7ae2f9649d49e0cfa2631c84a329da (diff) | |
download | gcc-654afa46c90f7552af52fed30bc1a3fa21163f40.zip gcc-654afa46c90f7552af52fed30bc1a3fa21163f40.tar.gz gcc-654afa46c90f7552af52fed30bc1a3fa21163f40.tar.bz2 |
rs6000: Add PowerPC inline asm redzone clobber support
The following patch on top of the
https://gcc.gnu.org/pipermail/gcc-patches/2024-November/667949.html
patch adds rs6000 part of the support (the only other target I'm aware of
which clearly has red zone as well).
2024-11-28 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/rs6000.h (struct machine_function): Add
asm_redzone_clobber_seen member.
* config/rs6000/rs6000-logue.cc (rs6000_stack_info): Force
info->push_p if cfun->machine->asm_redzone_clobber_seen.
* config/rs6000/rs6000.cc (TARGET_REDZONE_CLOBBER): Redefine.
(rs6000_redzone_clobber): New function.
* gcc.target/powerpc/asm-redzone-1.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions