From 779fc8fbe8f989cef166a514dbc32a097616587d Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Sat, 17 Jan 2015 22:08:39 +0100 Subject: [PATCH] rs6000.md (probe_stack): Delete. * config/rs6000/rs6000.md (probe_stack): Delete. (probe_stack_address): New. From-SVN: r219806 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.md | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e28484a5f8..bee8ee2f0dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-17 Segher Boessenkool + + * config/rs6000/rs6000.md (probe_stack): Delete. + (probe_stack_address): New. + 2015-01-17 Segher Boessenkool * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index a451af50295..a55719039e3 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 -- 2.30.2