Skip to content

Commit b3f1ce8

Browse files
committed
meson: remove dead optimization option
Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent ef7d1ad commit b3f1ce8

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

meson.build

-13
Original file line numberDiff line numberDiff line change
@@ -2874,18 +2874,6 @@ config_host_data.set('CONFIG_AVX2_OPT', get_option('avx2') \
28742874
int main(int argc, char *argv[]) { return bar(argv[argc - 1]); }
28752875
'''), error_message: 'AVX2 not available').allowed())
28762876

2877-
config_host_data.set('CONFIG_AVX512F_OPT', get_option('avx512f') \
2878-
.require(have_cpuid_h, error_message: 'cpuid.h not available, cannot enable AVX512F') \
2879-
.require(cc.links('''
2880-
#include <cpuid.h>
2881-
#include <immintrin.h>
2882-
static int __attribute__((target("avx512f"))) bar(void *a) {
2883-
__m512i x = *(__m512i *)a;
2884-
return _mm512_test_epi64_mask(x, x);
2885-
}
2886-
int main(int argc, char *argv[]) { return bar(argv[argc - 1]); }
2887-
'''), error_message: 'AVX512F not available').allowed())
2888-
28892877
config_host_data.set('CONFIG_AVX512BW_OPT', get_option('avx512bw') \
28902878
.require(have_cpuid_h, error_message: 'cpuid.h not available, cannot enable AVX512BW') \
28912879
.require(cc.links('''
@@ -4283,7 +4271,6 @@ summary_info += {'mutex debugging': get_option('debug_mutex')}
42834271
summary_info += {'memory allocator': get_option('malloc')}
42844272
summary_info += {'avx2 optimization': config_host_data.get('CONFIG_AVX2_OPT')}
42854273
summary_info += {'avx512bw optimization': config_host_data.get('CONFIG_AVX512BW_OPT')}
4286-
summary_info += {'avx512f optimization': config_host_data.get('CONFIG_AVX512F_OPT')}
42874274
summary_info += {'gcov': get_option('b_coverage')}
42884275
summary_info += {'thread sanitizer': get_option('tsan')}
42894276
summary_info += {'CFI support': get_option('cfi')}

meson_options.txt

-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ option('membarrier', type: 'feature', value: 'disabled',
119119

120120
option('avx2', type: 'feature', value: 'auto',
121121
description: 'AVX2 optimizations')
122-
option('avx512f', type: 'feature', value: 'disabled',
123-
description: 'AVX512F optimizations')
124122
option('avx512bw', type: 'feature', value: 'auto',
125123
description: 'AVX512BW optimizations')
126124
option('keyring', type: 'feature', value: 'auto',

scripts/meson-buildoptions.sh

-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ meson_options_help() {
9595
printf "%s\n" ' auth-pam PAM access control'
9696
printf "%s\n" ' avx2 AVX2 optimizations'
9797
printf "%s\n" ' avx512bw AVX512BW optimizations'
98-
printf "%s\n" ' avx512f AVX512F optimizations'
9998
printf "%s\n" ' blkio libblkio block device driver'
10099
printf "%s\n" ' bochs bochs image format support'
101100
printf "%s\n" ' bpf eBPF support'
@@ -240,8 +239,6 @@ _meson_option_parse() {
240239
--disable-avx2) printf "%s" -Davx2=disabled ;;
241240
--enable-avx512bw) printf "%s" -Davx512bw=enabled ;;
242241
--disable-avx512bw) printf "%s" -Davx512bw=disabled ;;
243-
--enable-avx512f) printf "%s" -Davx512f=enabled ;;
244-
--disable-avx512f) printf "%s" -Davx512f=disabled ;;
245242
--enable-gcov) printf "%s" -Db_coverage=true ;;
246243
--disable-gcov) printf "%s" -Db_coverage=false ;;
247244
--enable-lto) printf "%s" -Db_lto=true ;;

0 commit comments

Comments
 (0)