TCG: Revert ppc64 tcg_out_movi32 change
PATCH 1/1 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 <[email protected]>
Cc malc <[email protected]>
Cc Aurelien Jarno <[email protected]>
Cc Richard Henderson <[email protected]>
--- tcg/ppc64/tcg-target.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tcg/ppc64/tcg-target.c +1 -1
@@ -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 );
Signature · 1 line
1.7.0.4
Quoted 2 lines · Andreas F?rber
3b6dac34161bc0a342336072643c2f6d17e0ec45apparently broke the ppc64 TCG target compilation in the code path without guest base.
Thanks. Applied.
Quoted 25 lines
Reverting this line fixes the build.
Signed-off-by Andreas F?rber <[email protected]>Cc malc <[email protected]>Cc Aurelien Jarno <[email protected]>Cc Richard Henderson <[email protected]>--- tcg/ppc64/tcg-target.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)tcg/ppc64/tcg-target.c +1
-1@@ -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 );
Signature · 1 line
mailto:[email protected]