pa.md (muldi3): Force subregs to registers in 64-bit expander.

* pa.md (muldi3): Force subregs to registers in 64-bit expander.

From-SVN: r122294
This commit is contained in:
John David Anglin 2007-02-24 19:16:45 +00:00 committed by John David Anglin
parent a1d3118773
commit 1e6e2c303b
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-02-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.md (muldi3): Force subregs to registers in 64-bit expander.
2007-02-24 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (decide_is_function_needed): Honor

View File

@ -5771,10 +5771,10 @@
GEN_INT (32)));
emit_move_insn (op2shifted, gen_rtx_LSHIFTRT (DImode, operands[2],
GEN_INT (32)));
op1r = gen_rtx_SUBREG (SImode, operands[1], 4);
op2r = gen_rtx_SUBREG (SImode, operands[2], 4);
op1l = gen_rtx_SUBREG (SImode, op1shifted, 4);
op2l = gen_rtx_SUBREG (SImode, op2shifted, 4);
op1r = force_reg (SImode, gen_rtx_SUBREG (SImode, operands[1], 4));
op2r = force_reg (SImode, gen_rtx_SUBREG (SImode, operands[2], 4));
op1l = force_reg (SImode, gen_rtx_SUBREG (SImode, op1shifted, 4));
op2l = force_reg (SImode, gen_rtx_SUBREG (SImode, op2shifted, 4));
/* Emit multiplies for the cross products. */
emit_insn (gen_umulsidi3 (cross_product1, op2r, op1l));