rs6000.md (probe_stack): Delete.
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 17 Jan 2015 21:08:39 +0000 (22:08 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 17 Jan 2015 21:08:39 +0000 (22:08 +0100)
* config/rs6000/rs6000.md (probe_stack): Delete.
(probe_stack_address): New.

From-SVN: r219806

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 1e28484a5f8cf1b315dc9ae75cf4c8039ecca87e..bee8ee2f0dcaa6bb515ea3656cfeb38345e98e4b 100644 (file)
@@ -1,3 +1,8 @@
+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
index a451af5029543a1b2781f7256dbfd149cf513fb9..a55719039e3a8d28bf67d968797acbc726488a9a 100644 (file)
   ""
   "")
 
-(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