< prev index next >

test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/UseSHASpecificTestCaseForSupportedCPU.java

Print this page
rev 60737 : 8252204: AArch64: Implement SHA3 accelerator/intrinsic
Reviewed-by: duke
Contributed-by: dongbo4@huawei.com

@@ -64,11 +64,13 @@
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA1_INTRINSICS_OPTION, false),
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION, false),
                 CommandLineOptionTest.prepareBooleanFlag(
-                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, false));
+                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, false),
+                CommandLineOptionTest.prepareBooleanFlag(
+                        DigestOptionsBase.USE_SHA3_INTRINSICS_OPTION, false));
     }
 
     @Override
     protected void verifyOptionValues() throws Throwable {
         // Verify that UseSHA is disabled when all UseSHA*Intrinsics are

@@ -81,11 +83,13 @@
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA1_INTRINSICS_OPTION, false),
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION, false),
                 CommandLineOptionTest.prepareBooleanFlag(
-                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, false));
+                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, false),
+                CommandLineOptionTest.prepareBooleanFlag(
+                        DigestOptionsBase.USE_SHA3_INTRINSICS_OPTION, false));
 
         CommandLineOptionTest.verifyOptionValueForSameVM(
                 // Verify that UseSHA is disabled when all UseSHA*Intrinsics are
                 // disabled even if it was explicitly enabled.
                 DigestOptionsBase.USE_SHA_OPTION, "false",

@@ -100,11 +104,13 @@
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA1_INTRINSICS_OPTION, false),
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION, false),
                 CommandLineOptionTest.prepareBooleanFlag(
-                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, false));
+                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, false),
+                CommandLineOptionTest.prepareBooleanFlag(
+                        DigestOptionsBase.USE_SHA3_INTRINSICS_OPTION, false));
 
         // Verify that explicitly disabled UseSHA option remains disabled even
         // if all UseSHA*Intrinsics options were enabled.
         CommandLineOptionTest.verifyOptionValueForSameVM(
                 DigestOptionsBase.USE_SHA_OPTION, "false",

@@ -119,8 +125,10 @@
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA1_INTRINSICS_OPTION, true),
                 CommandLineOptionTest.prepareBooleanFlag(
                         DigestOptionsBase.USE_SHA256_INTRINSICS_OPTION, true),
                 CommandLineOptionTest.prepareBooleanFlag(
-                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, true));
+                        DigestOptionsBase.USE_SHA512_INTRINSICS_OPTION, true),
+                CommandLineOptionTest.prepareBooleanFlag(
+                        DigestOptionsBase.USE_SHA3_INTRINSICS_OPTION, true));
     }
 }
< prev index next >