[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 17/23] meson: remove dead optimization option
From: |
Paolo Bonzini |
Subject: |
[PULL 17/23] meson: remove dead optimization option |
Date: |
Sat, 22 Jun 2024 08:15:51 +0200 |
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 13 -------------
meson_options.txt | 2 --
scripts/meson-buildoptions.sh | 3 ---
3 files changed, 18 deletions(-)
diff --git a/meson.build b/meson.build
index 6e694ecd9fe..54e6b09f4fb 100644
--- a/meson.build
+++ b/meson.build
@@ -2874,18 +2874,6 @@ config_host_data.set('CONFIG_AVX2_OPT',
get_option('avx2') \
int main(int argc, char *argv[]) { return bar(argv[argc - 1]); }
'''), error_message: 'AVX2 not available').allowed())
-config_host_data.set('CONFIG_AVX512F_OPT', get_option('avx512f') \
- .require(have_cpuid_h, error_message: 'cpuid.h not available, cannot enable
AVX512F') \
- .require(cc.links('''
- #include <cpuid.h>
- #include <immintrin.h>
- static int __attribute__((target("avx512f"))) bar(void *a) {
- __m512i x = *(__m512i *)a;
- return _mm512_test_epi64_mask(x, x);
- }
- int main(int argc, char *argv[]) { return bar(argv[argc - 1]); }
- '''), error_message: 'AVX512F not available').allowed())
-
config_host_data.set('CONFIG_AVX512BW_OPT', get_option('avx512bw') \
.require(have_cpuid_h, error_message: 'cpuid.h not available, cannot enable
AVX512BW') \
.require(cc.links('''
@@ -4283,7 +4271,6 @@ summary_info += {'mutex debugging':
get_option('debug_mutex')}
summary_info += {'memory allocator': get_option('malloc')}
summary_info += {'avx2 optimization': config_host_data.get('CONFIG_AVX2_OPT')}
summary_info += {'avx512bw optimization':
config_host_data.get('CONFIG_AVX512BW_OPT')}
-summary_info += {'avx512f optimization':
config_host_data.get('CONFIG_AVX512F_OPT')}
summary_info += {'gcov': get_option('b_coverage')}
summary_info += {'thread sanitizer': get_option('tsan')}
summary_info += {'CFI support': get_option('cfi')}
diff --git a/meson_options.txt b/meson_options.txt
index 6065ed2d352..0269fa0f16e 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -119,8 +119,6 @@ option('membarrier', type: 'feature', value: 'disabled',
option('avx2', type: 'feature', value: 'auto',
description: 'AVX2 optimizations')
-option('avx512f', type: 'feature', value: 'disabled',
- description: 'AVX512F optimizations')
option('avx512bw', type: 'feature', value: 'auto',
description: 'AVX512BW optimizations')
option('keyring', type: 'feature', value: 'auto',
diff --git a/scripts/meson-buildoptions.sh b/scripts/meson-buildoptions.sh
index 62842d47e88..cfadb5ea86a 100644
--- a/scripts/meson-buildoptions.sh
+++ b/scripts/meson-buildoptions.sh
@@ -95,7 +95,6 @@ meson_options_help() {
printf "%s\n" ' auth-pam PAM access control'
printf "%s\n" ' avx2 AVX2 optimizations'
printf "%s\n" ' avx512bw AVX512BW optimizations'
- printf "%s\n" ' avx512f AVX512F optimizations'
printf "%s\n" ' blkio libblkio block device driver'
printf "%s\n" ' bochs bochs image format support'
printf "%s\n" ' bpf eBPF support'
@@ -240,8 +239,6 @@ _meson_option_parse() {
--disable-avx2) printf "%s" -Davx2=disabled ;;
--enable-avx512bw) printf "%s" -Davx512bw=enabled ;;
--disable-avx512bw) printf "%s" -Davx512bw=disabled ;;
- --enable-avx512f) printf "%s" -Davx512f=enabled ;;
- --disable-avx512f) printf "%s" -Davx512f=disabled ;;
--enable-gcov) printf "%s" -Db_coverage=true ;;
--disable-gcov) printf "%s" -Db_coverage=false ;;
--enable-lto) printf "%s" -Db_lto=true ;;
--
2.45.2
- [PULL 03/23] target/i386: use cpu_cc_dst for CC_OP_POPCNT, (continued)
- [PULL 03/23] target/i386: use cpu_cc_dst for CC_OP_POPCNT, Paolo Bonzini, 2024/06/22
- [PULL 06/23] target/i386: try not to force EFLAGS computation for CC_OP_ADOX/ADCX, Paolo Bonzini, 2024/06/22
- [PULL 05/23] target/i386: convert bit test instructions to new decoder, Paolo Bonzini, 2024/06/22
- [PULL 08/23] target/i386: convert CMPXCHG8B/CMPXCHG16B to new decoder, Paolo Bonzini, 2024/06/22
- [PULL 07/23] target/i386: decode address before going back to translate.c, Paolo Bonzini, 2024/06/22
- [PULL 09/23] target/i386: do not check PREFIX_LOCK in old-style decoder, Paolo Bonzini, 2024/06/22
- [PULL 10/23] target/i386: list instructions still in translate.c, Paolo Bonzini, 2024/06/22
- [PULL 11/23] target/i386: assert that cc_op* and pc_save are preserved, Paolo Bonzini, 2024/06/22
- [PULL 14/23] Revert "host/i386: assume presence of SSSE3", Paolo Bonzini, 2024/06/22
- [PULL 16/23] meson: allow configuring the x86-64 baseline, Paolo Bonzini, 2024/06/22
- [PULL 17/23] meson: remove dead optimization option,
Paolo Bonzini <=
- [PULL 18/23] block: make assertion more generic, Paolo Bonzini, 2024/06/22
- [PULL 12/23] target/i386: remove gen_ext_tl, Paolo Bonzini, 2024/06/22
- [PULL 19/23] block: do not check bdrv_file_open, Paolo Bonzini, 2024/06/22
- [PULL 21/23] block: rename former bdrv_file_open callbacks, Paolo Bonzini, 2024/06/22
- [PULL 15/23] Revert "host/i386: assume presence of SSE2", Paolo Bonzini, 2024/06/22
- [PULL 13/23] Revert "host/i386: assume presence of POPCNT", Paolo Bonzini, 2024/06/22
- [PULL 20/23] block: remove separate bdrv_file_open callback, Paolo Bonzini, 2024/06/22
- [PULL 22/23] exec: avoid using C++ keywords in function parameters, Paolo Bonzini, 2024/06/22
- [PULL 23/23] exec: don't use void* in pointer arithmetic in headers, Paolo Bonzini, 2024/06/22