< prev index next >

test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java

Print this page
rev 8431 : 8081790: aarch64: SHA tests fail
Summary: Fix SHA tests in JTReg so they recognize aarch64
Reviewed-by: duke
Contributed-by: alexander.alexeev@caviumnetworks.com


  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA256Intrinsics option processing on supported CPU,
  28  * @library /testlibrary /../../test/lib /compiler/testlibrary testcases
  29  * @modules java.base/sun.misc
  30  *          java.management
  31  * @build TestUseSHA256IntrinsicsOptionOnSupportedCPU
  32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI
  36  *                   TestUseSHA256IntrinsicsOptionOnSupportedCPU
  37  */
  38 public class TestUseSHA256IntrinsicsOptionOnSupportedCPU {
  39     public static void main(String args[]) throws Throwable {
  40         new SHAOptionsBase(new GenericTestCaseForSupportedSparcCPU(
  41                 SHAOptionsBase.USE_SHA256_INTRINSICS_OPTION)).test();
  42     }
  43 }


  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA256Intrinsics option processing on supported CPU,
  28  * @library /testlibrary /../../test/lib /compiler/testlibrary testcases
  29  * @modules java.base/sun.misc
  30  *          java.management
  31  * @build TestUseSHA256IntrinsicsOptionOnSupportedCPU
  32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI
  36  *                   TestUseSHA256IntrinsicsOptionOnSupportedCPU
  37  */
  38 public class TestUseSHA256IntrinsicsOptionOnSupportedCPU {
  39     public static void main(String args[]) throws Throwable {
  40         new SHAOptionsBase(new GenericTestCaseForSupportedCPU(
  41                 SHAOptionsBase.USE_SHA256_INTRINSICS_OPTION)).test();
  42     }
  43 }
< prev index next >