* expr.c (emit_push_insn): Add code to use movstrti if present.

From-SVN: r17589
This commit is contained in:
Hans-Peter Nilsson 1998-02-02 01:23:13 +01:00 committed by Jeff Law
parent 7a6df7f924
commit db771a3c53
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
* expr.c (emit_push_insn): Add code to use movstrti if present.
* expr.c (emit_push_insn): Use same max-move-amount for movstrhi
and movstrqi as in emit_block_move ().

View File

@ -2651,6 +2651,18 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
}
}
#endif
#ifdef HAVE_movstrti
if (HAVE_movstrti)
{
rtx pat = gen_movstrti (gen_rtx (MEM, BLKmode, temp),
xinner, size, GEN_INT (align));
if (pat != 0)
{
emit_insn (pat);
goto ret;
}
}
#endif
#ifndef ACCUMULATE_OUTGOING_ARGS
/* If the source is referenced relative to the stack pointer,