alpha.md (stack_probe_internal): Rename from "probe_stack".
authorUros Bizjak <ubizjak@gmail.com>
Wed, 11 Apr 2018 15:06:12 +0000 (17:06 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 11 Apr 2018 15:06:12 +0000 (17:06 +0200)
* config/alpha/alpha.md (stack_probe_internal): Rename
from "probe_stack".  Update all callers.

From-SVN: r259323

gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.md

index 39230d7..24a2455 100644 (file)
@@ -1,3 +1,8 @@
+2018-04-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.md (stack_probe_internal): Rename
+       from "probe_stack".  Update all callers.
+
 2018-04-11  Alexander Monakov  <amonakov@ispras.ru>
 
        PR rtl-optimization/84566
index a039f04..26d89f3 100644 (file)
@@ -7771,13 +7771,13 @@ alpha_expand_prologue (void)
          int probed;
 
          for (probed = 4096; probed < probed_size; probed += 8192)
-           emit_insn (gen_probe_stack (GEN_INT (-probed)));
+           emit_insn (gen_stack_probe_internal (GEN_INT (-probed)));
 
          /* We only have to do this probe if we aren't saving registers or
             if we are probing beyond the frame because of -fstack-check.  */
          if ((sa_size == 0 && probed_size > probed - 4096)
              || flag_stack_check || flag_stack_clash_protection)
-           emit_insn (gen_probe_stack (GEN_INT (-probed_size)));
+           emit_insn (gen_stack_probe_internal (GEN_INT (-probed_size)));
        }
 
       if (frame_size != 0)
index 5d82e5a..ced4ccf 100644 (file)
 
 \f
 ;; Subroutine of stack space allocation.  Perform a stack probe.
-(define_expand "probe_stack"
+(define_expand "stack_probe_internal"
   [(set (match_dup 1) (match_operand:DI 0 "const_int_operand"))]
   ""
 {
 
          int probed = 4096;
 
-         emit_insn (gen_probe_stack (GEN_INT (- probed)));
+         emit_insn (gen_stack_probe_internal (GEN_INT (- probed)));
          while (probed + 8192 < INTVAL (operands[1]))
-           emit_insn (gen_probe_stack (GEN_INT (- (probed += 8192))));
+           emit_insn (gen_stack_probe_internal
+                      (GEN_INT (- (probed += 8192))));
 
          if (probed + 4096 < INTVAL (operands[1]))
-           emit_insn (gen_probe_stack (GEN_INT (- INTVAL(operands[1]))));
+           emit_insn (gen_stack_probe_internal
+                      (GEN_INT (- INTVAL(operands[1]))));
        }
 
       operands[1] = GEN_INT (- INTVAL (operands[1]));