Commit d5ad88c0 by Tristan Gingold Committed by Tristan Gingold

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
parent 4150f926
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> 2010-09-28 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (*avx_<umaxmin:code><mode>3): * config/i386/sse.md (*avx_<umaxmin:code><mode>3):
...@@ -6588,15 +6588,17 @@ ...@@ -6588,15 +6588,17 @@
emit_insn (gen_subdi3 (want, stack_pointer_rtx, emit_insn (gen_subdi3 (want, stack_pointer_rtx,
force_reg (Pmode, operands[1]))); force_reg (Pmode, operands[1])));
emit_insn (gen_adddi3 (tmp, stack_pointer_rtx, GEN_INT (-4096)));
if (!CONST_INT_P (operands[1])) if (!CONST_INT_P (operands[1]))
{ {
rtx limit = GEN_INT (4096);
out_label = gen_label_rtx (); out_label = gen_label_rtx ();
test = gen_rtx_GEU (VOIDmode, want, tmp); test = gen_rtx_LTU (VOIDmode, operands[1], limit);
emit_jump_insn (gen_cbranchdi4 (test, want, tmp, out_label)); 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); emit_label (loop_label);
memref = gen_rtx_MEM (DImode, tmp); memref = gen_rtx_MEM (DImode, tmp);
MEM_VOLATILE_P (memref) = 1; MEM_VOLATILE_P (memref) = 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