Commit 0d136a30 by Uros Bizjak Committed by Uros Bizjak

alpha.md (stack_probe_internal): Rename from "probe_stack".

	* config/alpha/alpha.md (stack_probe_internal): Rename
	from "probe_stack".  Update all callers.

From-SVN: r259323
parent c391bd50
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
......
......@@ -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)
......
......@@ -4851,7 +4851,7 @@
;; 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"))]
""
{
......@@ -4886,12 +4886,14 @@
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]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment