]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/rs6000/rs6000-protos.h
rs6000-protos.h (output_probe_stack_range): Update prototype for new argument.
authorJeff Law <law@redhat.com>
Mon, 25 Sep 2017 23:13:55 +0000 (17:13 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 25 Sep 2017 23:13:55 +0000 (17:13 -0600)
commitaf2c8a9603dae9d74d0b5eee3a9cc9a41e68d836
tree09dac86157aa5206987a67e6861d1169ed81e416
parentd80d5c38f921543c375c9e8aeabec2e07dba8a9f
rs6000-protos.h (output_probe_stack_range): Update prototype for new argument.

* config/rs6000/rs6000-protos.h (output_probe_stack_range): Update
prototype for new argument.
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack_1): New function,
mostly extracted from rs6000_emit_allocate_stack.
(rs6000_emit_probe_stack_range_stack_clash): New function.
(rs6000_emit_allocate_stack): Call
rs6000_emit_probe_stack_range_stack_clash as needed.
(rs6000_emit_probe_stack_range): Add additional argument
to call to gen_probe_stack_range{si,di}.
(output_probe_stack_range): New.
(output_probe_stack_range_1): Renamed from output_probe_stack_range.
(output_probe_stack_range_stack_clash): New.
(rs6000_emit_prologue): Emit notes into dump file as requested.
* rs6000.md (allocate_stack): Handle -fstack-clash-protection.
(probe_stack_range<P:mode>): Operand 0 is now early-clobbered.
Add additional operand and pass it to output_probe_stack_range.

* lib/target-supports.exp
(check_effective_target_supports_stack_clash_protection): Enable for
rs6000 and powerpc targets.

From-SVN: r253179
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp