提交 b1d6d51d 编写于 作者: A Andreas Färber 提交者: malc

TCG: Revert ppc64 tcg_out_movi32 change

3b6dac34 apparently broke the ppc64 TCG target
compilation in the code path without guest base.

Reverting this line fixes the build.
Signed-off-by: NAndreas 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: Nmalc <av1474@comtv.ru>
上级 e9119cd8
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册