mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-24 00:18:36 -07:00
tests/tcg: enable -fwrapv for test-i386-bmi
We allow things like:
tests/tcg/i386/test-i386-bmi2.c:124:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
assert(result == (mask & ~(-1 << 30)));
in the main code, so allow it for the test.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-17-alex.bennee@linaro.org>
This commit is contained in:
parent
77f005f954
commit
874c712dc1
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ run-test-i386-sse-exceptions: QEMU_OPTS += -cpu max
|
|||
test-i386-pcmpistri: CFLAGS += -msse4.2
|
||||
run-test-i386-pcmpistri: QEMU_OPTS += -cpu max
|
||||
|
||||
test-i386-bmi2: CFLAGS=-O2
|
||||
test-i386-bmi2: CFLAGS=-O2 -fwrapv
|
||||
run-test-i386-bmi2: QEMU_OPTS += -cpu max
|
||||
|
||||
test-i386-adcox: CFLAGS=-O2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue