[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 19/43] tcg: Expand MO_SIZE to 3 bits
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
Re: [PATCH for-6.2 19/43] tcg: Expand MO_SIZE to 3 bits |
|
Date: |
Thu, 29 Jul 2021 08:23:55 +0200 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/29/21 2:46 AM, Richard Henderson wrote:
> We have lacked expressive support for memory sizes larger
> than 64-bits for a while. Fixing that requires adjustment
> to several points where we used this for array indexing,
> and two places that develop -Wswitch warnings after the change.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/exec/memop.h | 14 +++++++++-----
> target/arm/translate-a64.c | 2 +-
> tcg/tcg-op.c | 13 ++++++++-----
> target/s390x/tcg/translate_vx.c.inc | 2 +-
> tcg/aarch64/tcg-target.c.inc | 4 ++--
> tcg/arm/tcg-target.c.inc | 4 ++--
> tcg/i386/tcg-target.c.inc | 4 ++--
> tcg/mips/tcg-target.c.inc | 4 ++--
> tcg/ppc/tcg-target.c.inc | 8 ++++----
> tcg/riscv/tcg-target.c.inc | 4 ++--
> tcg/s390/tcg-target.c.inc | 4 ++--
> tcg/sparc/tcg-target.c.inc | 16 ++++++++--------
> 12 files changed, 43 insertions(+), 36 deletions(-)
Nice cleanup.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH for-6.2 17/43] accel/tcg: Report unaligned atomics for user-only, (continued)
- [PATCH for-6.2 17/43] accel/tcg: Report unaligned atomics for user-only, Richard Henderson, 2021/07/28
- [PATCH for-6.2 18/43] accel/tcg: Drop signness in tracing in cputlb.c, Richard Henderson, 2021/07/28
- [PATCH for-6.2 11/43] target/sh4: Set fault address in superh_cpu_do_unaligned_access, Richard Henderson, 2021/07/28
- [PATCH for-6.2 13/43] target/sparc: Remove DEBUG_UNALIGNED, Richard Henderson, 2021/07/28
- [PATCH for-6.2 14/43] target/sparc: Set fault address in sparc_cpu_do_unaligned_access, Richard Henderson, 2021/07/28
- [PATCH for-6.2 19/43] tcg: Expand MO_SIZE to 3 bits, Richard Henderson, 2021/07/28
- Re: [PATCH for-6.2 19/43] tcg: Expand MO_SIZE to 3 bits,
Philippe Mathieu-Daudé <=
- [PATCH for-6.2 15/43] target/sparc: Implement do_unaligned_access for user-only, Richard Henderson, 2021/07/28
- [PATCH for-6.2 21/43] tcg: Split out MemOpIdx to exec/memopidx.h, Richard Henderson, 2021/07/28
- [PATCH for-6.2 24/43] accel/tcg: Pass MemOpIdx to atomic_trace_*_post, Richard Henderson, 2021/07/28
- [PATCH for-6.2 25/43] plugins: Reorg arguments to qemu_plugin_vcpu_mem_cb, Richard Henderson, 2021/07/28
- [PATCH for-6.2 20/43] tcg: Rename TCGMemOpIdx to MemOpIdx, Richard Henderson, 2021/07/28