< prev index next >

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

Print this page




  18  *
  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 UseSHA256Intrinsics option processing on supported CPU,
  28  * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary testcases
  29  * @build TestUseSHA256IntrinsicsOptionOnSupportedCPU
  30  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  31  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  33  *                   -XX:+WhiteBoxAPI
  34  *                   TestUseSHA256IntrinsicsOptionOnSupportedCPU
  35  */
  36 public class TestUseSHA256IntrinsicsOptionOnSupportedCPU {
  37     public static void main(String args[]) throws Throwable {
  38         new SHAOptionsBase(new GenericTestCaseForSupportedSparcCPU(
  39                 SHAOptionsBase.USE_SHA256_INTRINSICS_OPTION)).test();



  40     }
  41 }


  18  *
  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 UseSHA256Intrinsics option processing on supported CPU,
  28  * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary testcases
  29  * @build TestUseSHA256IntrinsicsOptionOnSupportedCPU
  30  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  31  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  33  *                   -XX:+WhiteBoxAPI
  34  *                   TestUseSHA256IntrinsicsOptionOnSupportedCPU
  35  */
  36 public class TestUseSHA256IntrinsicsOptionOnSupportedCPU {
  37     public static void main(String args[]) throws Throwable {
  38         new SHAOptionsBase(
  39                 new GenericTestCaseForSupportedSparcCPU(
  40                         SHAOptionsBase.USE_SHA256_INTRINSICS_OPTION),
  41                 new GenericTestCaseForSupportedAArch64CPU(
  42                         SHAOptionsBase.USE_SHA256_INTRINSICS_OPTION)).test();
  43     }
  44 }
< prev index next >