[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 09/38] target/ppc: Fix xxbrq, xxbrw
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 09/38] target/ppc: Fix xxbrq, xxbrw |
Date: |
Wed, 22 May 2019 14:45:31 +1000 |
From: Anton Blanchard <address@hidden>
Fix a typo in xxbrq and xxbrw where we put both results into the lower
doubleword.
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>
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 4d8ca7cf32..d29f60e2f9 100644
--- a/target/ppc/translate/vsx-impl.inc.c
+++ b/target/ppc/translate/vsx-impl.inc.c
@@ -1192,7 +1192,7 @@ static void gen_xxbrq(DisasContext *ctx)
tcg_gen_bswap64_i64(xtl, xbh);
set_cpu_vsrl(xT(ctx->opcode), xtl);
tcg_gen_mov_i64(xth, t0);
- set_cpu_vsrl(xT(ctx->opcode), xth);
+ set_cpu_vsrh(xT(ctx->opcode), xth);
tcg_temp_free_i64(t0);
tcg_temp_free_i64(xth);
@@ -1220,7 +1220,7 @@ static void gen_xxbrw(DisasContext *ctx)
get_cpu_vsrl(xbl, xB(ctx->opcode));
gen_bswap32x4(xth, xtl, xbh, xbl);
- set_cpu_vsrl(xT(ctx->opcode), xth);
+ set_cpu_vsrh(xT(ctx->opcode), xth);
set_cpu_vsrl(xT(ctx->opcode), xtl);
tcg_temp_free_i64(xth);
--
2.21.0
- [Qemu-ppc] [PULL 03/38] configure: Use quotes around uses of $CPU_CFLAGS, (continued)
- [Qemu-ppc] [PULL 03/38] configure: Use quotes around uses of $CPU_CFLAGS, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 04/38] hw/ppc/prep: use TYPE_MC146818_RTC instead of a hardcoded string, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 05/38] hw/ppc/40p: Move the MC146818 RTC to the board where it belongs, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 01/38] target/ppc/kvm: Fix trace typo, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 06/38] hw/ppc/40p: use 1900 as a base year, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 07/38] target/ppc: Add ibm, purr and ibm, spurr device-tree properties, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 02/38] configure: Distinguish ppc64 and ppc64le hosts, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 11/38] target/ppc: Fix vsum2sws, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 15/38] spapr/xive: print out the EQ page address in the monitor, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 10/38] target/ppc: Fix vslv and vsrv, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 09/38] target/ppc: Fix xxbrq, xxbrw,
David Gibson <=
- [Qemu-ppc] [PULL 08/38] target/ppc: Fix xvxsigdp, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 33/38] spapr: check for the activation of the KVM IRQ device, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 16/38] Fix typo on "info pic" monitor cmd output for xive, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 21/38] spapr: Add forgotten capability to migration stream, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 17/38] target/ppc: Optimise VSX_LOAD_SCALAR_DS and VSX_VECTOR_LOAD_STORE, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 14/38] spapr/xive: fix EQ page addresses above 64GB, David Gibson, 2019/05/22
- [Qemu-ppc] [PULL 28/38] spapr/xive: introduce a VM state change handler, David Gibson, 2019/05/22