< prev index next >

test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.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


  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  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 UseSHA1Intrinsics option processing on supported CPU,
  28  * @library /testlibrary /../../test/lib /compiler/testlibrary testcases
  29  * @modules java.base/sun.misc
  30  *          java.management
  31  * @build TestUseSHA1IntrinsicsOptionOnSupportedCPU
  32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI TestUseSHA1IntrinsicsOptionOnSupportedCPU
  36  */
  37 public class TestUseSHA1IntrinsicsOptionOnSupportedCPU {
  38     public static void main(String args[]) throws Throwable {
  39         new SHAOptionsBase(new GenericTestCaseForSupportedSparcCPU(
  40                 SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION)).test();
  41     }
  42 }


  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  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 UseSHA1Intrinsics option processing on supported CPU,
  28  * @library /testlibrary /../../test/lib /compiler/testlibrary testcases
  29  * @modules java.base/sun.misc
  30  *          java.management
  31  * @build TestUseSHA1IntrinsicsOptionOnSupportedCPU
  32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI TestUseSHA1IntrinsicsOptionOnSupportedCPU
  36  */
  37 public class TestUseSHA1IntrinsicsOptionOnSupportedCPU {
  38     public static void main(String args[]) throws Throwable {
  39         new SHAOptionsBase(new GenericTestCaseForSupportedCPU(
  40                 SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION)).test();
  41     }
  42 }
< prev index next >