On 24/11/20 18:54, Richard Henderson wrote:
+test-i386-bmi2: CFLAGS += -mbmi2
+run-test-i386-bmi2: QEMU_OPTS += -cpu max
+run-plugin-test-i386-bmi2-%: QEMU_OPTS += -cpu max
I suspect that we still support host operating systems whose compilers do not
support -mbmi2.  This might require a bit in tests/tcg/configure.sh akin to
CROSS_CC_HAS_ARMV8_3.


Actually -mbmi2 should not be needed since (unlike sse or avx) the instructions use normal registers. Only the assembler matters, and at least RHEL7 (binutils 2.27) has them. So I'll just remove the flag, it should be enough.

Paolo


Reply via email to