Commit 7a6df7f9 by Hans-Peter Nilsson Committed by Jeff Law

expr.c (emit_push_insn): Use same max-move-amount for movstrhi and movstrqi as…

expr.c (emit_push_insn): Use same max-move-amount for movstrhi and movstrqi as in emit_block_move ().

	* expr.c (emit_push_insn): Use same max-move-amount for movstrhi
	and movstrqi as in emit_block_move ().

From-SVN: r17588
parent 8c01d9b6
Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
* expr.c (emit_push_insn): Use same max-move-amount for movstrhi
and movstrqi as in emit_block_move ().
Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl> Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
* config/m68k/x-next: Remove /NextDeveloper/Headers from * config/m68k/x-next: Remove /NextDeveloper/Headers from
......
...@@ -2600,8 +2600,8 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra, ...@@ -2600,8 +2600,8 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
#ifdef HAVE_movstrqi #ifdef HAVE_movstrqi
if (HAVE_movstrqi if (HAVE_movstrqi
&& GET_CODE (size) == CONST_INT && GET_CODE (size) == CONST_INT
&& ((unsigned) INTVAL (size) && ((unsigned HOST_WIDE_INT) INTVAL (size)
< (1 << (GET_MODE_BITSIZE (QImode) - 1)))) <= GET_MODE_MASK (QImode)))
{ {
rtx pat = gen_movstrqi (gen_rtx_MEM (BLKmode, temp), rtx pat = gen_movstrqi (gen_rtx_MEM (BLKmode, temp),
xinner, size, GEN_INT (align)); xinner, size, GEN_INT (align));
...@@ -2615,8 +2615,8 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra, ...@@ -2615,8 +2615,8 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
#ifdef HAVE_movstrhi #ifdef HAVE_movstrhi
if (HAVE_movstrhi if (HAVE_movstrhi
&& GET_CODE (size) == CONST_INT && GET_CODE (size) == CONST_INT
&& ((unsigned) INTVAL (size) && ((unsigned HOST_WIDE_INT) INTVAL (size)
< (1 << (GET_MODE_BITSIZE (HImode) - 1)))) <= GET_MODE_MASK (HImode)))
{ {
rtx pat = gen_movstrhi (gen_rtx_MEM (BLKmode, temp), rtx pat = gen_movstrhi (gen_rtx_MEM (BLKmode, temp),
xinner, size, GEN_INT (align)); xinner, size, GEN_INT (align));
......
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