8273806: compiler/cpuflags/TestSSE4Disabled.java should test for CPU feature explicitly

Reviewed-by: thartmann
This commit is contained in:
Aleksey Shipilev 2021-09-16 08:23:55 +00:00
parent 99cfc160af
commit 09ecb11927

View File

@ -24,7 +24,7 @@
/* /*
* @test TestSSE4Disabled * @test TestSSE4Disabled
* @bug 8158214 * @bug 8158214
* @requires (vm.simpleArch == "x64") * @requires vm.cpu.features ~= ".*sse4.*"
* @summary Test correct execution without SSE 4. * @summary Test correct execution without SSE 4.
* *
* @run main/othervm -Xcomp -XX:UseSSE=3 compiler.cpuflags.TestSSE4Disabled * @run main/othervm -Xcomp -XX:UseSSE=3 compiler.cpuflags.TestSSE4Disabled