Commit 1ba1e2a8 by Richard Stallman

(emit_block_move): When trying movstrMM, cvt size to mode MM.

From-SVN: r1975
parent 0e9414fd
...@@ -1199,10 +1199,11 @@ emit_block_move (x, y, size, align) ...@@ -1199,10 +1199,11 @@ emit_block_move (x, y, size, align)
|| (*insn_operand_predicate[(int) code][3]) (opalign, || (*insn_operand_predicate[(int) code][3]) (opalign,
VOIDmode))) VOIDmode)))
{ {
rtx op2 = size; rtx op2;
rtx last = get_last_insn (); rtx last = get_last_insn ();
rtx pat; rtx pat;
op2 = convert_to_mode (mode, size, 1);
if (insn_operand_predicate[(int) code][2] != 0 if (insn_operand_predicate[(int) code][2] != 0
&& ! (*insn_operand_predicate[(int) code][2]) (op2, mode)) && ! (*insn_operand_predicate[(int) code][2]) (op2, mode))
op2 = copy_to_mode_reg (mode, op2); op2 = copy_to_mode_reg (mode, op2);
......
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