[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 08/38] target/ppc: Fix xvxsigdp
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 08/38] target/ppc: Fix xvxsigdp |
Date: |
Tue, 21 May 2019 16:28:54 +1000 |
From: Anton Blanchard <address@hidden>
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 <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
target/ppc/translate/vsx-impl.inc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.21.0
- [Qemu-ppc] [PULL 00/38] ppc-for-4.1 queue 20190521, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 05/38] hw/ppc/40p: Move the MC146818 RTC to the board where it belongs, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 03/38] configure: Use quotes around uses of $CPU_CFLAGS, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 08/38] target/ppc: Fix xvxsigdp,
David Gibson <=
- [Qemu-ppc] [PULL 13/38] spapr/xive: EQ page should be naturally aligned, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 01/38] target/ppc/kvm: Fix trace typo, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 04/38] hw/ppc/prep: use TYPE_MC146818_RTC instead of a hardcoded string, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 06/38] hw/ppc/40p: use 1900 as a base year, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 11/38] target/ppc: Fix vsum2sws, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 02/38] configure: Distinguish ppc64 and ppc64le hosts, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 10/38] target/ppc: Fix vslv and vsrv, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 19/38] spapr/xive: Sanity checks of OV5 during CAS, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 09/38] target/ppc: Fix xxbrq, xxbrw, David Gibson, 2019/05/21
- [Qemu-ppc] [PULL 18/38] target/ppc: Fix xvabs[sd]p, xvnabs[sd]p, xvneg[sd]p, xvcpsgn[sd]p, David Gibson, 2019/05/21