All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] fix evsrwu and others for powerpcspe
@ 2017-12-26 11:29 info
  2018-02-10  7:25   ` [Qemu-devel] " Michael Tokarev
  0 siblings, 1 reply; 7+ messages in thread
From: info @ 2017-12-26 11:29 UTC (permalink / raw)
  To: qemu-trivial

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)]);                       \



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-10 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-26 11:29 [Qemu-trivial] fix evsrwu and others for powerpcspe info
2018-02-10  7:25 ` Michael Tokarev
2018-02-10  7:25   ` [Qemu-devel] " Michael Tokarev
2018-02-10  7:44   ` [Qemu-trivial] " Thomas Huth
2018-02-10  7:44     ` Thomas Huth
2018-02-10 17:19   ` [Qemu-trivial] " Richard Henderson
2018-02-10 17:19     ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.