hotspot/test/compiler/floatingpoint/TestPow2.java
changeset 34185 ee71c590a456
parent 33730 30e064828045
parent 34155 8d9e0cbf93a2
child 38152 80e5da81fb2c
equal deleted inserted replaced
33813:4f376e851453 34185:ee71c590a456
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8063086
    26  * @bug 8063086
    27  * @summary X^2 special case for C2 yields different result than interpreter
    27  * @summary X^2 special case for C2 yields different result than interpreter
    28  * @library /testlibrary /test/lib /compiler/whitebox
    28  * @library /testlibrary /test/lib /compiler/whitebox /
    29  * @modules java.management
    29  * @modules java.management
    30  * @build TestPow2
    30  * @build TestPow2
    31  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    31  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    33  *                   -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestPow2
    33  *                   -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestPow2
    34  *
    34  *
    35  */
    35  */
    36 
    36 
    37 import java.lang.reflect.*;
    37 import java.lang.reflect.*;
    38 import sun.hotspot.WhiteBox;
    38 import sun.hotspot.WhiteBox;
       
    39 import compiler.whitebox.CompilerWhiteBoxTest;
    39 
    40 
    40 public class TestPow2 {
    41 public class TestPow2 {
    41 
    42 
    42     private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
    43     private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
    43 
    44