[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 18/38] target/ppc: Fix xvabs[sd]p, xvnabs[sd]p, xvneg
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 18/38] target/ppc: Fix xvabs[sd]p, xvnabs[sd]p, xvneg[sd]p, xvcpsgn[sd]p |
Date: |
Tue, 21 May 2019 16:29:04 +1000 |
From: Anton Blanchard <address@hidden>
We were using set_cpu_vsr*() when we should have used get_cpu_vsr*().
Fixes: 8b3b2d75c7c0 ("introduce get_cpu_vsr{l,h}() and set_cpu_vsr{l,h}()
helpers for VSR register access")
Signed-off-by: Anton Blanchard <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Mark Cave-Ayland <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
target/ppc/translate/vsx-impl.inc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/ppc/translate/vsx-impl.inc.c
b/target/ppc/translate/vsx-impl.inc.c
index c39829cf33..199d22da97 100644
--- a/target/ppc/translate/vsx-impl.inc.c
+++ b/target/ppc/translate/vsx-impl.inc.c
@@ -906,8 +906,8 @@ static void glue(gen_, name)(DisasContext *ctx)
\
xbh = tcg_temp_new_i64(); \
xbl = tcg_temp_new_i64(); \
sgm = tcg_temp_new_i64(); \
- set_cpu_vsrh(xB(ctx->opcode), xbh); \
- set_cpu_vsrl(xB(ctx->opcode), xbl); \
+ get_cpu_vsrh(xbh, xB(ctx->opcode)); \
+ get_cpu_vsrl(xbl, xB(ctx->opcode)); \
tcg_gen_movi_i64(sgm, sgn_mask); \
switch (op) { \
case OP_ABS: { \
--
2.21.0
- [Qemu-devel] [PULL 10/38] target/ppc: Fix vslv and vsrv, (continued)
- [Qemu-devel] [PULL 10/38] target/ppc: Fix vslv and vsrv, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 12/38] target/ppc: Fix xxspltib, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 04/38] hw/ppc/prep: use TYPE_MC146818_RTC instead of a hardcoded string, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 06/38] hw/ppc/40p: use 1900 as a base year, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 09/38] target/ppc: Fix xxbrq, xxbrw, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 11/38] target/ppc: Fix vsum2sws, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 19/38] spapr/xive: Sanity checks of OV5 during CAS, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 02/38] configure: Distinguish ppc64 and ppc64le hosts, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 15/38] spapr/xive: print out the EQ page address in the monitor, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 20/38] target/ppc: Set PSSCR_EC on cpu halt to prevent spurious wakeup, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 18/38] target/ppc: Fix xvabs[sd]p, xvnabs[sd]p, xvneg[sd]p, xvcpsgn[sd]p,
David Gibson <=
- [Qemu-devel] [PULL 14/38] spapr/xive: fix EQ page addresses above 64GB, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 17/38] target/ppc: Optimise VSX_LOAD_SCALAR_DS and VSX_VECTOR_LOAD_STORE, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 08/38] target/ppc: Fix xvxsigdp, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 29/38] spapr/xive: introduce a VM state change handler, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 27/38] spapr/xive: add hcall support when under KVM, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 24/38] spapr: Print out extra hints when CAS negotiation of interrupt mode fails, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 16/38] Fix typo on "info pic" monitor cmd output for xive, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 22/38] target/ppc: Use vector variable shifts for VSL, VSR, VSRA, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 21/38] spapr: Add forgotten capability to migration stream, David Gibson, 2019/05/21
- [Qemu-devel] [PULL 30/38] spapr/xive: add migration support for KVM, David Gibson, 2019/05/21