aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-17 21:08:39 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-17 21:08:39 +0000
commit406d6b7adf9227e806d2f843b87023acd7beded3 (patch)
tree7a74d0fee247640030946ea82a2e9d8b60c300bb /gcc/config/rs6000
parent7dee532e71021a360f168ff967e82fa79ab7987e (diff)
* config/rs6000/rs6000.md (probe_stack): Delete.
(probe_stack_address): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.md8
1 files changed, 5 insertions, 3 deletions
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