hotspot/test/compiler/intrinsics/mathexact/sanity/IncrementExactIntTest.java
changeset 40059 c2304140ed64
parent 39438 206a712f8f16
child 40631 ed82623d7831
equal deleted inserted replaced
40058:b4441f6cfe79 40059:c2304140ed64
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @library /testlibrary /test/lib /
    26  * @library /testlibrary /test/lib /
    27  * @modules java.base/jdk.internal.misc
    27  * @modules java.base/jdk.internal.misc
    28  *          java.management
    28  *          java.management
    29  * @build IncrementExactIntTest
    29  *
       
    30  * @build compiler.intrinsics.mathexact.sanity.IncrementExactIntTest
    30  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    31  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    31  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    32  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    33  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    33  *                   -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
    34  *                   -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
    34  *                   -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
    35  *                   -XX:CompileCommand=compileonly,compiler.intrinsics.mathexact.sanity.MathIntrinsic*::execMathMethod
    35  *                   -XX:LogFile=hs_neg.log -XX:-UseMathExactIntrinsics IncrementExactIntTest
    36  *                   -XX:LogFile=hs_neg.log -XX:-UseMathExactIntrinsics
       
    37  *                   compiler.intrinsics.mathexact.sanity.IncrementExactIntTest
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    38  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    37  *                   -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
    39  *                   -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
    38  *                   -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
    40  *                   -XX:CompileCommand=compileonly,compiler.intrinsics.mathexact.sanity.MathIntrinsic*::execMathMethod
    39  *                   -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics IncrementExactIntTest
    41  *                   -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics
       
    42  *                   compiler.intrinsics.mathexact.sanity.IncrementExactIntTest
    40  * @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
    43  * @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
    41  */
    44  */
       
    45 
       
    46 package compiler.intrinsics.mathexact.sanity;
    42 
    47 
    43 public class IncrementExactIntTest {
    48 public class IncrementExactIntTest {
    44 
    49 
    45     public static void main(String[] args) throws Exception {
    50     public static void main(String[] args) throws Exception {
    46         new IntrinsicBase.IntTest(MathIntrinsic.IntIntrinsic.Increment).test();
    51         new IntrinsicBase.IntTest(MathIntrinsic.IntIntrinsic.Increment).test();