< prev index next >

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

Print this page
rev 59103 : imported patch hotspot


  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA1Intrinsics option processing on unsupported CPU.
  28  * @library /test/lib testcases /
  29  * @modules java.base/jdk.internal.misc
  30  *          java.management
  31  *
  32  * @build sun.hotspot.WhiteBox
  33  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI
  36  *                   compiler.intrinsics.sha.cli.TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
  37  */
  38 
  39 package compiler.intrinsics.sha.cli;
  40 
  41 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForOtherCPU;
  42 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedAArch64CPU;
  43 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedSparcCPU;
  44 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedX86CPU;
  45 import compiler.intrinsics.sha.cli.testcases.UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU;
  46 
  47 public class TestUseSHA1IntrinsicsOptionOnUnsupportedCPU {
  48     public static void main(String args[]) throws Throwable {
  49         new SHAOptionsBase(
  50                 new GenericTestCaseForUnsupportedSparcCPU(
  51                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  52                 new GenericTestCaseForUnsupportedX86CPU(
  53                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  54                 new GenericTestCaseForUnsupportedAArch64CPU(
  55                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  56                 new UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU(
  57                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  58                 new GenericTestCaseForOtherCPU(
  59                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION)).test();
  60     }
  61 }


  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA1Intrinsics option processing on unsupported CPU.
  28  * @library /test/lib testcases /
  29  * @modules java.base/jdk.internal.misc
  30  *          java.management
  31  *
  32  * @build sun.hotspot.WhiteBox
  33  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  34  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  35  *                   -XX:+WhiteBoxAPI
  36  *                   compiler.intrinsics.sha.cli.TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
  37  */
  38 
  39 package compiler.intrinsics.sha.cli;
  40 
  41 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForOtherCPU;
  42 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedAArch64CPU;

  43 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedX86CPU;
  44 import compiler.intrinsics.sha.cli.testcases.UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU;
  45 
  46 public class TestUseSHA1IntrinsicsOptionOnUnsupportedCPU {
  47     public static void main(String args[]) throws Throwable {
  48         new SHAOptionsBase(


  49                 new GenericTestCaseForUnsupportedX86CPU(
  50                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  51                 new GenericTestCaseForUnsupportedAArch64CPU(
  52                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  53                 new UseSHAIntrinsicsSpecificTestCaseForUnsupportedCPU(
  54                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  55                 new GenericTestCaseForOtherCPU(
  56                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION)).test();
  57     }
  58 }
< prev index next >