From: info@mobile-stream.com
To: qemu-trivial@nongnu.org
Subject: [Qemu-trivial] fix evsrwu and others for powerpcspe
Date: Tue, 26 Dec 2017 14:29:13 +0300 [thread overview]
Message-ID: <1954640316.20171226142913@mobile-stream.com> (raw)
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)]); \
next reply other threads:[~2017-12-26 13:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-26 11:29 info [this message]
2018-02-10 7:25 ` [Qemu-trivial] fix evsrwu and others for powerpcspe 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1954640316.20171226142913@mobile-stream.com \
--to=info@mobile-stream.com \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.