OSDN Git Service

tcg-ppc64: Use I constraint for mul
authorRichard Henderson <rth@twiddle.net>
Thu, 31 Jan 2013 17:45:11 +0000 (09:45 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 15 Apr 2013 18:09:52 +0000 (20:09 +0200)
commitef809300fcf300a3efef479734e9456dc5b7581c
tree6722702efbe0be35cf41dca04560f1e1d788009c
parent33de9ed2235f8729c36110906c6806b361f96a24
tcg-ppc64: Use I constraint for mul

The mul_i32 pattern was loading non-16-bit constants into a register,
when we can get the middle-end to do that for us.  The mul_i64 pattern
was not considering that MULLI takes 64-bit inputs.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/ppc64/tcg-target.c