summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2010-08-14 22:52:56 +0200
committerDoug Goldstein <cardoe@cardoe.com>2011-05-25 19:43:38 -0500
commita353bb5d3ccdd04bcacea7e79659e354b9de79ea (patch)
tree3f3b0122a54d40d116c0919bd0ee7bbda2e9ba1a
parentvirtio-blk: fail unaligned requests (diff)
downloadqemu-kvm-a353bb5d3ccdd04bcacea7e79659e354b9de79ea.tar.gz
qemu-kvm-a353bb5d3ccdd04bcacea7e79659e354b9de79ea.tar.bz2
qemu-kvm-a353bb5d3ccdd04bcacea7e79659e354b9de79ea.zip
TCG: Revert ppc64 tcg_out_movi32 change
3b6dac34161bc0a342336072643c2f6d17e0ec45 apparently broke the ppc64 TCG target compilation in the code path without guest base. Reverting this line fixes the build. Signed-off-by: Andreas F?rber <andreas.faerber@web.de> Cc: malc <av1474@comtv.ru> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: malc <av1474@comtv.ru>
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index 5ba5d053b..ebbee343f 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -746,7 +746,7 @@ static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc)
else tcg_out32 (s, LDX | TAB (data_reg, rbase, r0));
#else
if (bswap) {
- tcg_out_movi32 (s, TCG_TYPE_I64, 0, 4);
+ tcg_out_movi32 (s, 0, 4);
tcg_out32 (s, LWBRX | RT (data_reg) | RB (r0));
tcg_out32 (s, LWBRX | RT ( r1) | RA (r0));
tcg_out_rld (s, RLDIMI, data_reg, r1, 32, 0);