< prev index next >

test/compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 24,49 **** /** * @test * @bug 8031321 * @summary Verify processing of UseCountTrailingZerosInstruction option * on CPU with TZCNT (BMI1 feature) support. ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc * java.management ! * @build TestUseCountTrailingZerosInstructionOnSupportedCPU ! * BMISupportedCPUTest ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI ! * TestUseCountTrailingZerosInstructionOnSupportedCPU */ ! import sun.hotspot.cpuinfo.CPUInfo; ! import jdk.test.lib.*; ! import jdk.test.lib.cli.*; public class TestUseCountTrailingZerosInstructionOnSupportedCPU extends BMISupportedCPUTest { private static final String DISABLE_BMI = "-XX:-UseBMI1Instructions"; public TestUseCountTrailingZerosInstructionOnSupportedCPU() { --- 24,49 ---- /** * @test * @bug 8031321 * @summary Verify processing of UseCountTrailingZerosInstruction option * on CPU with TZCNT (BMI1 feature) support. ! * @library /testlibrary /test/lib / * @modules java.base/jdk.internal.misc * java.management ! * ! * @build compiler.arguments.TestUseCountTrailingZerosInstructionOnSupportedCPU ! * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI ! * compiler.arguments.TestUseCountTrailingZerosInstructionOnSupportedCPU */ ! package compiler.arguments; + import jdk.test.lib.cli.CommandLineOptionTest; + public class TestUseCountTrailingZerosInstructionOnSupportedCPU extends BMISupportedCPUTest { private static final String DISABLE_BMI = "-XX:-UseBMI1Instructions"; public TestUseCountTrailingZerosInstructionOnSupportedCPU() {
< prev index next >