(emit_unop_insn): Don't do -fforce-mem for SIGN_EXTEND.
From-SVN: r10872
This commit is contained in:
parent
d902f80a15
commit
8e1e2862ad
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user