Skip to contentSkip to conversation

x86emul/test: drop check for AVX512-4FMAPS

PATCH In review Jan Beulich 2 participants 2 messages Apr 8, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86emul/test: drop check for AVX512-4FMAPS

Use of Xeon Phi features was dropped earlier on; this one was overlooked.

Fixes 85191cf32180 ("x86: drop Xeon Phi support")

---
In principle it looks as if we could now drop all of this checking, as gcc5 supports all of the features we check for. AVX512-4FMAPS is an example though where checking helps, as this and other Xeon Phi features were supported by an intermediate range of gcc versions.

tools/tests/x86_emulator/Makefile +1 -1
@@ -105,7 +105,7 @@ TARGET-$(shell echo 'int i;' | $(CC) -x
 endef
 
 ISA := bmi bmi2 tbm sse4.1 sse4.2 sse4a avx avx2 f16c
-ISA += $(addprefix avx512,f bw dq 4fmaps)
+ISA += $(addprefix avx512,f bw dq)
 $(foreach isa,$(ISA),$(eval $(call isa-check-cc,$(isa))))
 
 # Also explicitly check for {evex} pseudo-prefix support, which got introduced
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jan Beulich

Use of Xeon Phi features was dropped earlier on; this one was overlooked.

Fixes 85191cf32180 ("x86: drop Xeon Phi support")
Quoted 5 lines

---
In principle it looks as if we could now drop all of this checking, as gcc5 supports all of the features we check for. AVX512-4FMAPS is an example though where checking helps, as this and other Xeon Phi features were supported by an intermediate range of gcc versions.

Whatever's easiest.  This is just a test harness.

~Andrew