< prev index next >

test/compiler/c2/FloatingPointFoldingTest.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 24,36 **** /** * @test * @bug 8073670 * @summary Test that causes C2 to fold two NaNs with different values into a single NaN. ! * @run main/othervm -XX:-TieredCompilation -Xcomp -XX:CompileCommand=compileonly,FloatingPointFoldingTest.test_double_inf -XX:CompileCommand=compileonly,FloatingPointFoldingTest.test_double_zero -XX:CompileCommand=compileonly,FloatingPointFoldingTest.test_double_nan -XX:CompileCommand=compileonly,FloatingPointFoldingTest.test_float_inf -XX:CompileCommand=compileonly,FloatingPointFoldingTest.test_float_zero -XX:CompileCommand=compileonly,FloatingPointFoldingTest.test_float_nan FloatingPointFoldingTest */ public class FloatingPointFoldingTest { // Double values. public static final long MINUS_INF_LONGBITS = 0xfff0000000000000L; public static final double DOUBLE_MINUS_INF = Double.longBitsToDouble(MINUS_INF_LONGBITS); --- 24,46 ---- /** * @test * @bug 8073670 * @summary Test that causes C2 to fold two NaNs with different values into a single NaN. ! * ! * @run main/othervm -XX:-TieredCompilation -Xcomp ! * -XX:CompileCommand=compileonly,compiler.c2.FloatingPointFoldingTest::test_double_inf ! * -XX:CompileCommand=compileonly,compiler.c2.FloatingPointFoldingTest::test_double_zero ! * -XX:CompileCommand=compileonly,compiler.c2.FloatingPointFoldingTest::test_double_nan ! * -XX:CompileCommand=compileonly,compiler.c2.FloatingPointFoldingTest::test_float_inf ! * -XX:CompileCommand=compileonly,compiler.c2.FloatingPointFoldingTest::test_float_zero ! * -XX:CompileCommand=compileonly,compiler.c2.FloatingPointFoldingTest::test_float_nan ! * compiler.c2.FloatingPointFoldingTest */ + package compiler.c2; + public class FloatingPointFoldingTest { // Double values. public static final long MINUS_INF_LONGBITS = 0xfff0000000000000L; public static final double DOUBLE_MINUS_INF = Double.longBitsToDouble(MINUS_INF_LONGBITS);
< prev index next >