alpha.md: Change the initial condition of the probing loop.

2010-09-28  Tristan Gingold  <gingold@adacore.com>

	* config/alpha/alpha.md: Change the initial condition of the
	probing loop.

From-SVN: r164677
This commit is contained in:
Tristan Gingold 2010-09-28 07:50:02 +00:00 committed by Tristan Gingold
parent 4150f926c6
commit d5ad88c0d2
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-09-28 Tristan Gingold <gingold@adacore.com>
* config/alpha/alpha.md: Change the initial condition of the
probing loop.
2010-09-28 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (*avx_<umaxmin:code><mode>3):

View File

@ -6588,15 +6588,17 @@
emit_insn (gen_subdi3 (want, stack_pointer_rtx,
force_reg (Pmode, operands[1])));
emit_insn (gen_adddi3 (tmp, stack_pointer_rtx, GEN_INT (-4096)));
if (!CONST_INT_P (operands[1]))
{
rtx limit = GEN_INT (4096);
out_label = gen_label_rtx ();
test = gen_rtx_GEU (VOIDmode, want, tmp);
emit_jump_insn (gen_cbranchdi4 (test, want, tmp, out_label));
test = gen_rtx_LTU (VOIDmode, operands[1], limit);
emit_jump_insn
(gen_cbranchdi4 (test, operands[1], limit, out_label));
}
emit_insn (gen_adddi3 (tmp, stack_pointer_rtx, GEN_INT (-4096)));
emit_label (loop_label);
memref = gen_rtx_MEM (DImode, tmp);
MEM_VOLATILE_P (memref) = 1;