mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 00:51:00 +08:00
* expr.c (emit_push_insn): Add code to use movstrti if present.
From-SVN: r17589
This commit is contained in:
parent
7a6df7f924
commit
db771a3c53
@ -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 ().
|
||||
|
||||
|
12
gcc/expr.c
12
gcc/expr.c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user