[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/16] accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN
From: |
Richard Henderson |
Subject: |
[PULL 02/16] accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN |
Date: |
Tue, 20 Jun 2023 10:25:57 +0200 |
Otherwise we hit the default assert not reached.
Handle it as MO_ATOM_NONE, because of size and misalignment.
We already handle this correctly in do_ld16_beN.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
accel/tcg/cputlb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/accel/tcg/cputlb.c b/accel/tcg/cputlb.c
index 5e2ca47243..14ce97c33b 100644
--- a/accel/tcg/cputlb.c
+++ b/accel/tcg/cputlb.c
@@ -2727,6 +2727,7 @@ static uint64_t do_st16_leN(CPUArchState *env,
MMULookupPageData *p,
* and so neither is atomic.
*/
case MO_ATOM_IFALIGN:
+ case MO_ATOM_WITHIN16:
case MO_ATOM_NONE:
stq_le_p(p->haddr, int128_getlo(val_le));
return store_bytes_leN(p->haddr + 8, p->size - 8,
--
2.34.1
- [PULL 00/16] tcg patch queue, Richard Henderson, 2023/06/20
- [PULL 01/16] host/include/x86_64: Use __m128i for "x" constraints, Richard Henderson, 2023/06/20
- [PULL 03/16] tcg/ppc: Define _CALL_AIX for clang on ppc64(be), Richard Henderson, 2023/06/20
- [PULL 06/16] target/m68k: Check for USER_ONLY definition instead of SOFTMMU one, Richard Henderson, 2023/06/20
- [PULL 08/16] hw/core/cpu: Check for USER_ONLY definition instead of SOFTMMU one, Richard Henderson, 2023/06/20
- [PULL 13/16] plugins: Remove unused 'exec/helper-proto.h' header, Richard Henderson, 2023/06/20
- [PULL 02/16] accel/tcg: Handle MO_ATOM_WITHIN16 in do_st16_leN,
Richard Henderson <=
- [PULL 04/16] target/i386: Simplify i386_tr_init_disas_context(), Richard Henderson, 2023/06/20
- [PULL 05/16] target/tricore: Remove pointless CONFIG_SOFTMMU guard, Richard Henderson, 2023/06/20
- [PULL 07/16] target/ppc: Check for USER_ONLY definition instead of SOFTMMU one, Richard Henderson, 2023/06/20
- [PULL 10/16] meson: Alias CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY, Richard Henderson, 2023/06/20
- [PULL 09/16] accel/tcg: Check for USER_ONLY definition instead of SOFTMMU one, Richard Henderson, 2023/06/20
- [PULL 11/16] meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY, Richard Henderson, 2023/06/20
- [PULL 12/16] meson: Replace softmmu_ss -> system_ss, Richard Henderson, 2023/06/20
- [PULL 16/16] cputlb: Restrict SavedIOTLB to system emulation, Richard Henderson, 2023/06/20
- [PULL 14/16] accel/tcg/cpu-exec: Use generic 'helper-proto-common.h' header, Richard Henderson, 2023/06/20
- [PULL 15/16] exec/cpu-defs: Check for SOFTMMU instead of !USER_ONLY, Richard Henderson, 2023/06/20