author | ntv |
Wed, 13 Apr 2016 10:41:27 +0000 | |
changeset 37341 | 29f3a46ac3cc |
parent 35563 | d5ac28780cda |
child 38152 | 80e5da81fb2c |
permissions | -rw-r--r-- |
31962
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
1 |
/* |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
2 |
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
4 |
* |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
8 |
* |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
13 |
* accompanied this code). |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
14 |
* |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
18 |
* |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
21 |
* questions. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
22 |
*/ |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
23 |
import java.lang.reflect.Executable; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
24 |
import java.util.concurrent.Callable; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
25 |
import java.util.Objects; |
35563
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
26 |
|
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
27 |
import jdk.test.lib.*; |
34155
8d9e0cbf93a2
8138689: use package for /compiler/whitebox common classes
dpochepk
parents:
31962
diff
changeset
|
28 |
import compiler.whitebox.CompilerWhiteBoxTest; |
31962
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
29 |
/* |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
30 |
* @test |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
31 |
* @bug 8130832 |
34185 | 32 |
* @library /testlibrary /test/lib /compiler/whitebox /compiler/testlibrary / |
31962
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
33 |
* @build IntrinsicAvailableTest |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
34 |
* @run main ClassFileInstaller sun.hotspot.WhiteBox |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
35 |
* sun.hotspot.WhiteBox$WhiteBoxPermission |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
36 |
* @run main/othervm -Xbootclasspath/a:. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
37 |
* -XX:+UnlockDiagnosticVMOptions |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
38 |
* -XX:+WhiteBoxAPI |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
39 |
* -XX:+UseCRC32Intrinsics |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
40 |
* IntrinsicAvailableTest |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
41 |
* @run main/othervm -Xbootclasspath/a:. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
42 |
* -XX:+UnlockDiagnosticVMOptions |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
43 |
* -XX:+WhiteBoxAPI |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
44 |
* -XX:-UseCRC32Intrinsics |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
45 |
* IntrinsicAvailableTest |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
46 |
*/ |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
47 |
public class IntrinsicAvailableTest extends CompilerWhiteBoxTest { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
48 |
protected String VMName; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
49 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
50 |
public IntrinsicAvailableTest(IntrinsicAvailableTestTestCase testCase) { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
51 |
super(testCase); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
52 |
VMName = System.getProperty("java.vm.name"); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
53 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
54 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
55 |
public static class IntrinsicAvailableTestTestCase implements TestCase { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
56 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
57 |
public String name() { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
58 |
return "IntrinsicAvailableTestTestCase"; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
59 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
60 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
61 |
public Executable getExecutable() { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
62 |
// Using a single method to test the |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
63 |
// WhiteBox.isIntrinsicAvailable(Executable method, int compLevel) |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
64 |
// call for the compilation level corresponding to both the C1 and C2 |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
65 |
// compiler keeps the current test simple. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
66 |
// |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
67 |
// The tested method is java.util.zip.CRC32.update(int, int) because |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
68 |
// both C1 and C2 define an intrinsic for the method and |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
69 |
// the UseCRC32Intrinsics flag can be used to enable/disable |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
70 |
// intrinsification of the method in both product and fastdebug |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
71 |
// builds. |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
72 |
try { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
73 |
return Class.forName("java.util.zip.CRC32").getDeclaredMethod("update", int.class, int.class); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
74 |
} catch (NoSuchMethodException e) { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
75 |
throw new RuntimeException("Test bug, method unavailable. " + e); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
76 |
} catch (ClassNotFoundException e) { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
77 |
throw new RuntimeException("Test bug, class unavailable. " + e); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
78 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
79 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
80 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
81 |
public Callable<Integer> getCallable() { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
82 |
return null; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
83 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
84 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
85 |
public boolean isOsr() { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
86 |
return false; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
87 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
88 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
89 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
90 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
91 |
protected void checkIntrinsicForCompilationLevel(Executable method, int compLevel) throws Exception { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
92 |
boolean intrinsicEnabled = Boolean.valueOf(getVMOption("UseCRC32Intrinsics")); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
93 |
boolean intrinsicAvailable = WHITE_BOX.isIntrinsicAvailable(method, |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
94 |
compLevel); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
95 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
96 |
String intrinsicEnabledMessage = intrinsicEnabled ? "enabled" : "disabled"; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
97 |
String intrinsicAvailableMessage = intrinsicAvailable ? "available" : "not available"; |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
98 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
99 |
if (intrinsicEnabled == intrinsicAvailable) { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
100 |
System.out.println("Expected result: intrinsic for java.util.zip.CRC32.update() is " + |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
101 |
intrinsicEnabledMessage + " and intrinsic is " + intrinsicAvailableMessage + |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
102 |
" at compilation level " + compLevel); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
103 |
} else { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
104 |
throw new RuntimeException("Unexpected result: intrinsic for java.util.zip.CRC32.update() is " + |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
105 |
intrinsicEnabledMessage + " but intrinsic is " + intrinsicAvailableMessage + |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
106 |
" at compilation level " + compLevel); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
107 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
108 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
109 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
110 |
public void test() throws Exception { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
111 |
Executable intrinsicMethod = testCase.getExecutable(); |
35563
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
112 |
if (Platform.isServer()) { |
31962
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
113 |
if (TIERED_COMPILATION) { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
114 |
checkIntrinsicForCompilationLevel(intrinsicMethod, COMP_LEVEL_SIMPLE); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
115 |
} |
35563
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
116 |
// Dont bother check JVMCI compiler - returns false on all intrinsics. |
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
117 |
if (!Boolean.valueOf(getVMOption("UseJVMCICompiler"))) { |
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
118 |
checkIntrinsicForCompilationLevel(intrinsicMethod, COMP_LEVEL_FULL_OPTIMIZATION); |
d5ac28780cda
8145331: SEGV in DirectivesStack::release(DirectiveSet*)
neliasso
parents:
34185
diff
changeset
|
119 |
} |
31962
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
120 |
} else { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
121 |
checkIntrinsicForCompilationLevel(intrinsicMethod, COMP_LEVEL_SIMPLE); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
122 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
123 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
124 |
|
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
125 |
public static void main(String args[]) throws Exception { |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
126 |
new IntrinsicAvailableTest(new IntrinsicAvailableTestTestCase()).test(); |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
127 |
} |
d05e0a4d1b43
8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
zmajo
parents:
diff
changeset
|
128 |
} |