comparison test/compiler/intrinsics/mathexact/sanity/SubtractExactIntTest.java @ 20426:17d3ee6e9d3c

8056091: Move compiler/intrinsics/mathexact/sanity/Verifier to compiler/testlibrary and extend its functionality Reviewed-by: kvn, iignatyev
author fzhinkin
date Mon, 08 Sep 2014 20:32:10 +0400
parents 085b304a1cc5
children
comparison
equal deleted inserted replaced
20425:b6978881f5af 20426:17d3ee6e9d3c
1 /* 1 /*
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @library /testlibrary /testlibrary/whitebox /compiler/whitebox 26 * @library /testlibrary /testlibrary/whitebox /compiler/whitebox
27 * /compiler/testlibrary
27 * @build SubtractExactIntTest 28 * @build SubtractExactIntTest
28 * @run main ClassFileInstaller sun.hotspot.WhiteBox 29 * @run main ClassFileInstaller sun.hotspot.WhiteBox
29 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 30 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
30 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation 31 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
31 * -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod 32 * -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
32 * -XX:LogFile=hs_neg.log -XX:-UseMathExactIntrinsics SubtractExactIntTest 33 * -XX:LogFile=hs_neg.log -XX:-UseMathExactIntrinsics SubtractExactIntTest
33 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 34 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
34 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation 35 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
35 * -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod 36 * -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
36 * -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics SubtractExactIntTest 37 * -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics SubtractExactIntTest
37 * @run main Verifier hs_neg.log hs.log 38 * @run main intrinsics.Verifier hs_neg.log hs.log
38 39
39 */ 40 */
40 41
41 public class SubtractExactIntTest { 42 public class SubtractExactIntTest {
42 43