[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] fix evsrwu and others for powerpcspe
From: |
info |
Subject: |
[Qemu-trivial] fix evsrwu and others for powerpcspe |
Date: |
Tue, 26 Dec 2017 14:29:13 +0300 |
GEN_SPEOP_ARITH2 declares non-local temporaries then calls
gen_op_evsrwu/evsrws/evslw which generates branch insn.
--- target/ppc/translate/spe-impl.inc.c.orig
+++ target/ppc/translate/spe-impl.inc.c
@@ -158,8 +158,8 @@
gen_exception(ctx, POWERPC_EXCP_SPEU); \
return; \
} \
- t0 = tcg_temp_new_i32(); \
- t1 = tcg_temp_new_i32(); \
+ t0 = tcg_temp_local_new_i32();
\
+ t1 = tcg_temp_local_new_i32();
\
\
tcg_gen_trunc_tl_i32(t0, cpu_gpr[rA(ctx->opcode)]); \
tcg_gen_trunc_tl_i32(t1, cpu_gpr[rB(ctx->opcode)]); \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-trivial] fix evsrwu and others for powerpcspe,
info <=