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

From-SVN: r1975
This commit is contained in:
Richard Stallman 1992-08-27 22:54:40 +00:00
parent 0e9414fd5c
commit 1ba1e2a808

View File

@ -1199,10 +1199,11 @@ emit_block_move (x, y, size, align)
|| (*insn_operand_predicate[(int) code][3]) (opalign,
VOIDmode)))
{
rtx op2 = size;
rtx op2;
rtx last = get_last_insn ();
rtx pat;
op2 = convert_to_mode (mode, size, 1);
if (insn_operand_predicate[(int) code][2] != 0
&& ! (*insn_operand_predicate[(int) code][2]) (op2, mode))
op2 = copy_to_mode_reg (mode, op2);