[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/28] meson: Fix detect atomic128 support with optimization
|
From: |
Richard Henderson |
|
Subject: |
[PULL 12/28] meson: Fix detect atomic128 support with optimization |
|
Date: |
Tue, 23 May 2023 16:57:48 -0700 |
Silly typo: sizeof(16) != 16.
Fixes: e61f1efeb730 ("meson: Detect atomic128 support with optimization")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index c516b911d9..ef181ff2df 100644
--- a/meson.build
+++ b/meson.build
@@ -2557,7 +2557,7 @@ if has_int128
# __alignof(unsigned __int128) for the host.
atomic_test_128 = '''
int main(int ac, char **av) {
- unsigned __int128 *p = __builtin_assume_aligned(av[ac - 1], sizeof(16));
+ unsigned __int128 *p = __builtin_assume_aligned(av[ac - 1], 16);
p[1] = __atomic_load_n(&p[0], __ATOMIC_RELAXED);
__atomic_store_n(&p[2], p[3], __ATOMIC_RELAXED);
__atomic_compare_exchange_n(&p[4], &p[5], p[6], 0, __ATOMIC_RELAXED,
__ATOMIC_RELAXED);
--
2.34.1
- [PULL 06/28] migration/xbzrle: Shuffle function order, (continued)
- [PULL 06/28] migration/xbzrle: Shuffle function order, Richard Henderson, 2023/05/23
- [PULL 08/28] migration: Build migration_files once, Richard Henderson, 2023/05/23
- [PULL 07/28] migration/xbzrle: Use i386 host/cpuinfo.h, Richard Henderson, 2023/05/23
- [PULL 10/28] include/host: Split out atomic128-cas.h, Richard Henderson, 2023/05/23
- [PULL 09/28] util: Add cpuinfo-aarch64.c, Richard Henderson, 2023/05/23
- [PULL 11/28] include/host: Split out atomic128-ldst.h, Richard Henderson, 2023/05/23
- [PULL 21/28] accel/tcg: Eliminate #if on HAVE_ATOMIC128 and HAVE_CMPXCHG128, Richard Henderson, 2023/05/23
- [PULL 17/28] target/s390x: Use cpu_{ld,st}*_mmu in do_csst, Richard Henderson, 2023/05/23
- [PULL 16/28] accel/tcg: Unify cpu_{ld,st}*_{be,le}_mmu, Richard Henderson, 2023/05/23
- [PULL 20/28] accel/tcg: Remove prot argument to atomic_mmu_lookup, Richard Henderson, 2023/05/23
- [PULL 12/28] meson: Fix detect atomic128 support with optimization,
Richard Henderson <=
- [PULL 13/28] include/qemu: Move CONFIG_ATOMIC128_OPT handling to atomic128.h, Richard Henderson, 2023/05/23
- [PULL 14/28] target/ppc: Use tcg_gen_qemu_{ld, st}_i128 for LQARX, LQ, STQ, Richard Henderson, 2023/05/23
- [PULL 18/28] target/s390x: Always use cpu_atomic_cmpxchgl_be_mmu in do_csst, Richard Henderson, 2023/05/23
- [PULL 27/28] tcg: Remove DEBUG_DISAS, Richard Henderson, 2023/05/23
- [PULL 19/28] accel/tcg: Remove cpu_atomic_{ld,st}o_*_mmu, Richard Henderson, 2023/05/23
- [PULL 24/28] tcg: Split out tcg/debug-assert.h, Richard Henderson, 2023/05/23
- [PULL 15/28] target/s390x: Use tcg_gen_qemu_{ld, st}_i128 for LPQ, STPQ, Richard Henderson, 2023/05/23
- [PULL 22/28] qemu/atomic128: Split atomic16_read, Richard Henderson, 2023/05/23
- [PULL 25/28] qemu/atomic128: Improve cmpxchg fallback for atomic16_set, Richard Henderson, 2023/05/23
- [PULL 23/28] accel/tcg: Correctly use atomic128.h in ldst_atomicity.c.inc, Richard Henderson, 2023/05/23