< prev index next >

test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java

Print this page

22  */
23 
24 /**
25  * @test
26  * @bug 8035968
27  * @summary Verify UseSHA256Intrinsics option processing on unsupported CPU.
28  * @library /test/lib /
29  * @requires vm.flagless
30  *
31  * @build sun.hotspot.WhiteBox
32  * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
33  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
34  *                   -XX:+WhiteBoxAPI
35  *                   compiler.intrinsics.sha.cli.TestUseSHA256IntrinsicsOptionOnUnsupportedCPU
36  */
37 
38 package compiler.intrinsics.sha.cli;
39 
40 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForOtherCPU;
41 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedAArch64CPU;

42 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedX86CPU;
43 import compiler.intrinsics.sha.cli.testcases.UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU;
44 
45 public class TestUseSHA256IntrinsicsOptionOnUnsupportedCPU {
46     public static void main(String args[]) throws Throwable {
47         new DigestOptionsBase(
48                 new GenericTestCaseForUnsupportedX86CPU(
49                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),
50                 new GenericTestCaseForUnsupportedAArch64CPU(
51                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),


52                 new UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU(
53                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),
54                 new GenericTestCaseForOtherCPU(
55                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION)).test();
56     }
57 }

22  */
23 
24 /**
25  * @test
26  * @bug 8035968
27  * @summary Verify UseSHA256Intrinsics option processing on unsupported CPU.
28  * @library /test/lib /
29  * @requires vm.flagless
30  *
31  * @build sun.hotspot.WhiteBox
32  * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
33  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
34  *                   -XX:+WhiteBoxAPI
35  *                   compiler.intrinsics.sha.cli.TestUseSHA256IntrinsicsOptionOnUnsupportedCPU
36  */
37 
38 package compiler.intrinsics.sha.cli;
39 
40 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForOtherCPU;
41 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedAArch64CPU;
42 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedRiscv64CPU;
43 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedX86CPU;
44 import compiler.intrinsics.sha.cli.testcases.UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU;
45 
46 public class TestUseSHA256IntrinsicsOptionOnUnsupportedCPU {
47     public static void main(String args[]) throws Throwable {
48         new DigestOptionsBase(
49                 new GenericTestCaseForUnsupportedX86CPU(
50                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),
51                 new GenericTestCaseForUnsupportedAArch64CPU(
52                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),
53                 new GenericTestCaseForUnsupportedRiscv64CPU(
54                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),
55                 new UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU(
56                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION),
57                 new GenericTestCaseForOtherCPU(
58                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION)).test();
59     }
60 }
< prev index next >