|
From: | Paolo Bonzini |
Subject: | Re: [PATCH] target/i386: fix operand order for PDEP and PEXT |
Date: | Tue, 24 Nov 2020 20:44:33 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
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 maxI 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
[Prev in Thread] | Current Thread | [Next in Thread] |