Commit 54cddd21 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

target-ppc: fix altivec instructions

Altivec instructions are not working anymore in PowerPC emulation,
following commit d15f74fb

, which inverted two registers in the call
to helper. Fix that.
Reviewed-by: default avatarPeter Maydell <>
Reviewed-by: default avatarAndreas Färber <>
Acked-by: default avatarBlue Swirl <>
Signed-off-by: default avatarAurelien Jarno <>
parent 13ef70f6
......@@ -6530,7 +6530,7 @@ static void glue(gen_, name)(DisasContext *ctx) \
ra = gen_avr_ptr(rA(ctx->opcode)); \
rb = gen_avr_ptr(rB(ctx->opcode)); \
rd = gen_avr_ptr(rD(ctx->opcode)); \
gen_helper_##name(rd, cpu_env, ra, rb); \
gen_helper_##name(cpu_env, rd, ra, rb); \
tcg_temp_free_ptr(ra); \
tcg_temp_free_ptr(rb); \
tcg_temp_free_ptr(rd); \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment