[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 04/11] qemu/atomic: Add aligned_{int64,uint64}_t types
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 04/11] qemu/atomic: Add aligned_{int64,uint64}_t types |
Date: |
Sat, 17 Jul 2021 12:07:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/17/21 3:41 AM, Richard Henderson wrote:
> Use it to avoid some clang-12 -Watomic-alignment errors,
> forcing some structures to be aligned and as a pointer when
> we have ensured that the address is aligned.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> accel/tcg/atomic_template.h | 4 ++--
> include/qemu/atomic.h | 14 +++++++++++++-
> include/qemu/stats64.h | 2 +-
> softmmu/timers-state.h | 2 +-
> linux-user/hppa/cpu_loop.c | 2 +-
> util/qsp.c | 4 ++--
> 6 files changed, 20 insertions(+), 8 deletions(-)
Nice.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v2 00/11] Atomic cleanup + clang-12 build fix, Richard Henderson, 2021/07/16
- [PATCH v2 01/11] qemu/atomic: Use macros for CONFIG_ATOMIC64, Richard Henderson, 2021/07/16
- [PATCH v2 02/11] qemu/atomic: Simplify typeof_strip_qual, Richard Henderson, 2021/07/16
- [PATCH v2 03/11] qemu/atomic: Remove pre-C11 atomic fallbacks, Richard Henderson, 2021/07/16
- [PATCH v2 05/11] tcg: Rename helper_atomic_*_mmu and provide for user-only, Richard Henderson, 2021/07/16
- [PATCH v2 07/11] accel/tcg: Fold EXTRA_ARGS into atomic_template.h, Richard Henderson, 2021/07/16
- [PATCH v2 04/11] qemu/atomic: Add aligned_{int64,uint64}_t types, Richard Henderson, 2021/07/16
- Re: [PATCH v2 04/11] qemu/atomic: Add aligned_{int64,uint64}_t types,
Philippe Mathieu-Daudé <=
- [PATCH v2 06/11] accel/tcg: Standardize atomic helpers on softmmu api, Richard Henderson, 2021/07/16
- [PATCH v2 09/11] accel/tcg: Expand ATOMIC_MMU_LOOKUP_*, Richard Henderson, 2021/07/16
- [PATCH v2 10/11] trace: Fold mem-internal.h into mem.h, Richard Henderson, 2021/07/16
- [PATCH v2 08/11] accel/tcg: Remove ATOMIC_MMU_DECLS, Richard Henderson, 2021/07/16
- [PATCH v2 11/11] accel/tcg: Push trace info building into atomic_common.c.inc, Richard Henderson, 2021/07/16