diff options
author | Anton Blanchard | 2019-05-07 02:48:03 +0200 |
---|---|---|
committer | David Gibson | 2019-05-29 03:39:44 +0200 |
commit | cf4e9363f7fd889d8d804c8f78e8927782c2aa48 (patch) | |
tree | 9160e045cbfa75ed299202be9ff7c67cc3b8a1ef /target/ppc/translate | |
parent | target/ppc: Add ibm,purr and ibm,spurr device-tree properties (diff) | |
download | qemu-cf4e9363f7fd889d8d804c8f78e8927782c2aa48.tar.gz qemu-cf4e9363f7fd889d8d804c8f78e8927782c2aa48.tar.xz qemu-cf4e9363f7fd889d8d804c8f78e8927782c2aa48.zip |
target/ppc: Fix xvxsigdp
Fix a typo in xvxsigdp where we put both results into the lower
doubleword.
Fixes: dd977e4f45cb ("target/ppc: Optimize x[sv]xsigdp using deposit_i64()")
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Message-Id: <20190507004811.29968-1-anton@ozlabs.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/translate')
-rw-r--r-- | target/ppc/translate/vsx-impl.inc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/translate/vsx-impl.inc.c b/target/ppc/translate/vsx-impl.inc.c index 11d9b75d01..4d8ca7cf32 100644 --- a/target/ppc/translate/vsx-impl.inc.c +++ b/target/ppc/translate/vsx-impl.inc.c @@ -1820,7 +1820,7 @@ static void gen_xvxsigdp(DisasContext *ctx) tcg_gen_movi_i64(t0, 0x0010000000000000); tcg_gen_movcond_i64(TCG_COND_EQ, t0, exp, zr, zr, t0); tcg_gen_movcond_i64(TCG_COND_EQ, t0, exp, nan, zr, t0); - tcg_gen_deposit_i64(xth, t0, xbl, 0, 52); + tcg_gen_deposit_i64(xtl, t0, xbl, 0, 52); set_cpu_vsrl(xT(ctx->opcode), xtl); tcg_temp_free_i64(t0); |