diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2015-01-17 22:08:39 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-01-17 22:08:39 +0100 |
commit | 779fc8fbe8f989cef166a514dbc32a097616587d (patch) | |
tree | 7a74d0fee247640030946ea82a2e9d8b60c300bb | |
parent | ffafb4f0392d2c52f1de8ae738dfa29f7afbdc3b (diff) | |
download | gcc-779fc8fbe8f989cef166a514dbc32a097616587d.zip gcc-779fc8fbe8f989cef166a514dbc32a097616587d.tar.gz gcc-779fc8fbe8f989cef166a514dbc32a097616587d.tar.bz2 |
rs6000.md (probe_stack): Delete.
* config/rs6000/rs6000.md (probe_stack): Delete.
(probe_stack_address): New.
From-SVN: r219806
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e28484..bee8ee2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org> + * config/rs6000/rs6000.md (probe_stack): Delete. + (probe_stack_address): New. + +2015-01-17 Segher Boessenkool <segher@kernel.crashing.org> + * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT to test for 32-bit ABIs, not !TARGET_POWERPC64. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index a451af5..a557190 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -11671,11 +11671,13 @@ "" "") -(define_expand "probe_stack" - [(set (match_operand 0 "memory_operand" "=m") - (unspec [(const_int 0)] UNSPEC_PROBE_STACK))] +(define_expand "probe_stack_address" + [(use (match_operand 0 "address_operand"))] "" { + operands[0] = gen_rtx_MEM (Pmode, operands[0]); + MEM_VOLATILE_P (operands[0]) = 1; + if (TARGET_64BIT) emit_insn (gen_probe_stack_di (operands[0])); else |