(emit_unop_insn): Don't do -fforce-mem for SIGN_EXTEND.

From-SVN: r10872
This commit is contained in:
Richard Kenner 1995-12-27 15:25:01 -05:00
parent d902f80a15
commit 8e1e2862ad

View File

@ -2374,7 +2374,9 @@ emit_unop_insn (icode, target, op0, code)
op0 = protect_from_queue (op0, 0);
if (flag_force_mem)
/* Sign extension from memory is often done specially on RISC
machines, so forcing into a register here can pessimize code. */
if (flag_force_mem && code != SIGN_EXTEND)
op0 = force_not_mem (op0);
/* Now, if insn does not accept our operands, put them into pseudos. */