annotate src/share/vm/asm/register.hpp @ 20543:e7d0505c8a30

8059758: Footprint regressions with JDK-8038423 Summary: Changes in JDK-8038423 always initialize (zero out) virtual memory used for auxiliary data structures. This causes a footprint regression for G1 in startup benchmarks. This is because they do not touch that memory at all, so the operating system does not actually commit these pages. The fix is to, if the initialization value of the data structures matches the default value of just committed memory (=0), do not do anything. Reviewed-by: jwilhelm, brutisso
author tschatzl
date Fri, 10 Oct 2014 15:51:58 +0200
parents 166d744df0de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 *
a61af66fc99e Initial load
duke
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 * published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 *
a61af66fc99e Initial load
duke
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 * accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 *
a61af66fc99e Initial load
duke
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 *
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
21 * questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
22 *
a61af66fc99e Initial load
duke
parents:
diff changeset
23 */
a61af66fc99e Initial load
duke
parents:
diff changeset
24
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
25 #ifndef SHARE_VM_ASM_REGISTER_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
26 #define SHARE_VM_ASM_REGISTER_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
27
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
28 #include "utilities/top.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
29
0
a61af66fc99e Initial load
duke
parents:
diff changeset
30 // Use AbstractRegister as shortcut
a61af66fc99e Initial load
duke
parents:
diff changeset
31 class AbstractRegisterImpl;
a61af66fc99e Initial load
duke
parents:
diff changeset
32 typedef AbstractRegisterImpl* AbstractRegister;
a61af66fc99e Initial load
duke
parents:
diff changeset
33
a61af66fc99e Initial load
duke
parents:
diff changeset
34
a61af66fc99e Initial load
duke
parents:
diff changeset
35 // The super class for platform specific registers. Instead of using value objects,
a61af66fc99e Initial load
duke
parents:
diff changeset
36 // registers are implemented as pointers. Subclassing is used so all registers can
a61af66fc99e Initial load
duke
parents:
diff changeset
37 // use the debugging suport below. No virtual functions are used for efficiency.
a61af66fc99e Initial load
duke
parents:
diff changeset
38 // They are canonicalized; i.e., registers are equal if their pointers are equal,
a61af66fc99e Initial load
duke
parents:
diff changeset
39 // and vice versa. A concrete implementation may just map the register onto 'this'.
a61af66fc99e Initial load
duke
parents:
diff changeset
40
a61af66fc99e Initial load
duke
parents:
diff changeset
41 class AbstractRegisterImpl {
a61af66fc99e Initial load
duke
parents:
diff changeset
42 protected:
a61af66fc99e Initial load
duke
parents:
diff changeset
43 int value() const { return (int)(intx)this; }
a61af66fc99e Initial load
duke
parents:
diff changeset
44 };
a61af66fc99e Initial load
duke
parents:
diff changeset
45
a61af66fc99e Initial load
duke
parents:
diff changeset
46
a61af66fc99e Initial load
duke
parents:
diff changeset
47 //
a61af66fc99e Initial load
duke
parents:
diff changeset
48 // Macros for use in defining Register instances. We'd like to be
a61af66fc99e Initial load
duke
parents:
diff changeset
49 // able to simply define const instances of the RegisterImpl* for each
a61af66fc99e Initial load
duke
parents:
diff changeset
50 // of the registers needed on a system in a header file. However many
a61af66fc99e Initial load
duke
parents:
diff changeset
51 // compilers don't handle this very well and end up producing a
a61af66fc99e Initial load
duke
parents:
diff changeset
52 // private definition in every file which includes the header file.
a61af66fc99e Initial load
duke
parents:
diff changeset
53 // Along with the static constructors necessary for initialization it
a61af66fc99e Initial load
duke
parents:
diff changeset
54 // can consume a significant amount of space in the result library.
a61af66fc99e Initial load
duke
parents:
diff changeset
55 //
a61af66fc99e Initial load
duke
parents:
diff changeset
56 // The following macros allow us to declare the instance in a .hpp and
a61af66fc99e Initial load
duke
parents:
diff changeset
57 // produce an enumeration value which has the same number. Then in a
a61af66fc99e Initial load
duke
parents:
diff changeset
58 // .cpp the the register instance can be defined using the enumeration
a61af66fc99e Initial load
duke
parents:
diff changeset
59 // value. This avoids the use of static constructors and multiple
a61af66fc99e Initial load
duke
parents:
diff changeset
60 // definitions per .cpp. In addition #defines for the register can be
a61af66fc99e Initial load
duke
parents:
diff changeset
61 // produced so that the constant registers can be inlined. These
a61af66fc99e Initial load
duke
parents:
diff changeset
62 // macros should not be used inside other macros, because you may get
a61af66fc99e Initial load
duke
parents:
diff changeset
63 // multiple evaluations of the macros which can give bad results.
a61af66fc99e Initial load
duke
parents:
diff changeset
64 //
a61af66fc99e Initial load
duke
parents:
diff changeset
65 // Here are some example uses and expansions. Note that the macro
a61af66fc99e Initial load
duke
parents:
diff changeset
66 // invocation is terminated with a ;.
a61af66fc99e Initial load
duke
parents:
diff changeset
67 //
a61af66fc99e Initial load
duke
parents:
diff changeset
68 // CONSTANT_REGISTER_DECLARATION(Register, G0, 0);
a61af66fc99e Initial load
duke
parents:
diff changeset
69 //
a61af66fc99e Initial load
duke
parents:
diff changeset
70 // extern const Register G0 ;
a61af66fc99e Initial load
duke
parents:
diff changeset
71 // enum { G0_RegisterEnumValue = 0 } ;
a61af66fc99e Initial load
duke
parents:
diff changeset
72 //
a61af66fc99e Initial load
duke
parents:
diff changeset
73 // REGISTER_DECLARATION(Register, Gmethod, G5);
a61af66fc99e Initial load
duke
parents:
diff changeset
74 //
a61af66fc99e Initial load
duke
parents:
diff changeset
75 // extern const Register Gmethod ;
a61af66fc99e Initial load
duke
parents:
diff changeset
76 // enum { Gmethod_RegisterEnumValue = G5_RegisterEnumValue } ;
a61af66fc99e Initial load
duke
parents:
diff changeset
77 //
a61af66fc99e Initial load
duke
parents:
diff changeset
78 // REGISTER_DEFINITION(Register, G0);
a61af66fc99e Initial load
duke
parents:
diff changeset
79 //
a61af66fc99e Initial load
duke
parents:
diff changeset
80 // const Register G0 = ( ( Register ) G0_RegisterEnumValue ) ;
a61af66fc99e Initial load
duke
parents:
diff changeset
81 //
a61af66fc99e Initial load
duke
parents:
diff changeset
82
a61af66fc99e Initial load
duke
parents:
diff changeset
83 #define AS_REGISTER(type,name) ((type)name##_##type##EnumValue)
a61af66fc99e Initial load
duke
parents:
diff changeset
84
a61af66fc99e Initial load
duke
parents:
diff changeset
85 #define CONSTANT_REGISTER_DECLARATION(type, name, value) \
a61af66fc99e Initial load
duke
parents:
diff changeset
86 extern const type name; \
a61af66fc99e Initial load
duke
parents:
diff changeset
87 enum { name##_##type##EnumValue = (value) }
a61af66fc99e Initial load
duke
parents:
diff changeset
88
a61af66fc99e Initial load
duke
parents:
diff changeset
89 #define REGISTER_DECLARATION(type, name, value) \
a61af66fc99e Initial load
duke
parents:
diff changeset
90 extern const type name; \
a61af66fc99e Initial load
duke
parents:
diff changeset
91 enum { name##_##type##EnumValue = value##_##type##EnumValue }
a61af66fc99e Initial load
duke
parents:
diff changeset
92
a61af66fc99e Initial load
duke
parents:
diff changeset
93 #define REGISTER_DEFINITION(type, name) \
a61af66fc99e Initial load
duke
parents:
diff changeset
94 const type name = ((type)name##_##type##EnumValue)
a61af66fc99e Initial load
duke
parents:
diff changeset
95
7204
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
96 #ifdef TARGET_ARCH_x86
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
97 # include "register_x86.hpp"
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
98 #endif
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
99 #ifdef TARGET_ARCH_sparc
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
100 # include "register_sparc.hpp"
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
101 #endif
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
102 #ifdef TARGET_ARCH_zero
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
103 # include "register_zero.hpp"
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
104 #endif
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
105 #ifdef TARGET_ARCH_arm
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
106 # include "register_arm.hpp"
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
107 #endif
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
108 #ifdef TARGET_ARCH_ppc
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
109 # include "register_ppc.hpp"
f0c2369fda5a 8003250: SPARC: move MacroAssembler into separate file
twisti
parents: 6842
diff changeset
110 #endif
0
a61af66fc99e Initial load
duke
parents:
diff changeset
111
a61af66fc99e Initial load
duke
parents:
diff changeset
112
a61af66fc99e Initial load
duke
parents:
diff changeset
113 // Debugging support
a61af66fc99e Initial load
duke
parents:
diff changeset
114
a61af66fc99e Initial load
duke
parents:
diff changeset
115 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
116 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
117 AbstractRegister b
a61af66fc99e Initial load
duke
parents:
diff changeset
118 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
119 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
120 a != b,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
121 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
122 p2i(a), p2i(b))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
123 );
a61af66fc99e Initial load
duke
parents:
diff changeset
124 }
a61af66fc99e Initial load
duke
parents:
diff changeset
125
a61af66fc99e Initial load
duke
parents:
diff changeset
126
a61af66fc99e Initial load
duke
parents:
diff changeset
127 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
128 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
129 AbstractRegister b,
a61af66fc99e Initial load
duke
parents:
diff changeset
130 AbstractRegister c
a61af66fc99e Initial load
duke
parents:
diff changeset
131 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
132 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
133 a != b && a != c
a61af66fc99e Initial load
duke
parents:
diff changeset
134 && b != c,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
135 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
136 ", c=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
137 p2i(a), p2i(b), p2i(c))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
138 );
a61af66fc99e Initial load
duke
parents:
diff changeset
139 }
a61af66fc99e Initial load
duke
parents:
diff changeset
140
a61af66fc99e Initial load
duke
parents:
diff changeset
141
a61af66fc99e Initial load
duke
parents:
diff changeset
142 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
143 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
144 AbstractRegister b,
a61af66fc99e Initial load
duke
parents:
diff changeset
145 AbstractRegister c,
a61af66fc99e Initial load
duke
parents:
diff changeset
146 AbstractRegister d
a61af66fc99e Initial load
duke
parents:
diff changeset
147 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
148 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
149 a != b && a != c && a != d
a61af66fc99e Initial load
duke
parents:
diff changeset
150 && b != c && b != d
a61af66fc99e Initial load
duke
parents:
diff changeset
151 && c != d,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
152 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
153 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
154 p2i(a), p2i(b), p2i(c), p2i(d))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
155 );
a61af66fc99e Initial load
duke
parents:
diff changeset
156 }
a61af66fc99e Initial load
duke
parents:
diff changeset
157
a61af66fc99e Initial load
duke
parents:
diff changeset
158
a61af66fc99e Initial load
duke
parents:
diff changeset
159 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
160 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
161 AbstractRegister b,
a61af66fc99e Initial load
duke
parents:
diff changeset
162 AbstractRegister c,
a61af66fc99e Initial load
duke
parents:
diff changeset
163 AbstractRegister d,
a61af66fc99e Initial load
duke
parents:
diff changeset
164 AbstractRegister e
a61af66fc99e Initial load
duke
parents:
diff changeset
165 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
166 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
167 a != b && a != c && a != d && a != e
a61af66fc99e Initial load
duke
parents:
diff changeset
168 && b != c && b != d && b != e
a61af66fc99e Initial load
duke
parents:
diff changeset
169 && c != d && c != e
a61af66fc99e Initial load
duke
parents:
diff changeset
170 && d != e,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
171 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
172 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
173 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
174 );
a61af66fc99e Initial load
duke
parents:
diff changeset
175 }
a61af66fc99e Initial load
duke
parents:
diff changeset
176
a61af66fc99e Initial load
duke
parents:
diff changeset
177
a61af66fc99e Initial load
duke
parents:
diff changeset
178 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
179 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
180 AbstractRegister b,
a61af66fc99e Initial load
duke
parents:
diff changeset
181 AbstractRegister c,
a61af66fc99e Initial load
duke
parents:
diff changeset
182 AbstractRegister d,
a61af66fc99e Initial load
duke
parents:
diff changeset
183 AbstractRegister e,
a61af66fc99e Initial load
duke
parents:
diff changeset
184 AbstractRegister f
a61af66fc99e Initial load
duke
parents:
diff changeset
185 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
186 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
187 a != b && a != c && a != d && a != e && a != f
a61af66fc99e Initial load
duke
parents:
diff changeset
188 && b != c && b != d && b != e && b != f
a61af66fc99e Initial load
duke
parents:
diff changeset
189 && c != d && c != e && c != f
a61af66fc99e Initial load
duke
parents:
diff changeset
190 && d != e && d != f
a61af66fc99e Initial load
duke
parents:
diff changeset
191 && e != f,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
192 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
193 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
194 ", f=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
195 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
196 );
a61af66fc99e Initial load
duke
parents:
diff changeset
197 }
a61af66fc99e Initial load
duke
parents:
diff changeset
198
a61af66fc99e Initial load
duke
parents:
diff changeset
199
a61af66fc99e Initial load
duke
parents:
diff changeset
200 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
201 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
202 AbstractRegister b,
a61af66fc99e Initial load
duke
parents:
diff changeset
203 AbstractRegister c,
a61af66fc99e Initial load
duke
parents:
diff changeset
204 AbstractRegister d,
a61af66fc99e Initial load
duke
parents:
diff changeset
205 AbstractRegister e,
a61af66fc99e Initial load
duke
parents:
diff changeset
206 AbstractRegister f,
a61af66fc99e Initial load
duke
parents:
diff changeset
207 AbstractRegister g
a61af66fc99e Initial load
duke
parents:
diff changeset
208 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
209 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
210 a != b && a != c && a != d && a != e && a != f && a != g
a61af66fc99e Initial load
duke
parents:
diff changeset
211 && b != c && b != d && b != e && b != f && b != g
a61af66fc99e Initial load
duke
parents:
diff changeset
212 && c != d && c != e && c != f && c != g
a61af66fc99e Initial load
duke
parents:
diff changeset
213 && d != e && d != f && d != g
a61af66fc99e Initial load
duke
parents:
diff changeset
214 && e != f && e != g
a61af66fc99e Initial load
duke
parents:
diff changeset
215 && f != g,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
216 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
217 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
218 ", f=" INTPTR_FORMAT ", g=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
219 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f), p2i(g))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
220 );
a61af66fc99e Initial load
duke
parents:
diff changeset
221 }
a61af66fc99e Initial load
duke
parents:
diff changeset
222
a61af66fc99e Initial load
duke
parents:
diff changeset
223
a61af66fc99e Initial load
duke
parents:
diff changeset
224 inline void assert_different_registers(
a61af66fc99e Initial load
duke
parents:
diff changeset
225 AbstractRegister a,
a61af66fc99e Initial load
duke
parents:
diff changeset
226 AbstractRegister b,
a61af66fc99e Initial load
duke
parents:
diff changeset
227 AbstractRegister c,
a61af66fc99e Initial load
duke
parents:
diff changeset
228 AbstractRegister d,
a61af66fc99e Initial load
duke
parents:
diff changeset
229 AbstractRegister e,
a61af66fc99e Initial load
duke
parents:
diff changeset
230 AbstractRegister f,
a61af66fc99e Initial load
duke
parents:
diff changeset
231 AbstractRegister g,
a61af66fc99e Initial load
duke
parents:
diff changeset
232 AbstractRegister h
a61af66fc99e Initial load
duke
parents:
diff changeset
233 ) {
a61af66fc99e Initial load
duke
parents:
diff changeset
234 assert(
a61af66fc99e Initial load
duke
parents:
diff changeset
235 a != b && a != c && a != d && a != e && a != f && a != g && a != h
a61af66fc99e Initial load
duke
parents:
diff changeset
236 && b != c && b != d && b != e && b != f && b != g && b != h
a61af66fc99e Initial load
duke
parents:
diff changeset
237 && c != d && c != e && c != f && c != g && c != h
a61af66fc99e Initial load
duke
parents:
diff changeset
238 && d != e && d != f && d != g && d != h
a61af66fc99e Initial load
duke
parents:
diff changeset
239 && e != f && e != g && e != h
a61af66fc99e Initial load
duke
parents:
diff changeset
240 && f != g && f != h
a61af66fc99e Initial load
duke
parents:
diff changeset
241 && g != h,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
242 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
243 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
244 ", f=" INTPTR_FORMAT ", g=" INTPTR_FORMAT ", h=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
245 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f), p2i(g), p2i(h))
6266
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
246 );
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
247 }
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
248
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
249
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
250 inline void assert_different_registers(
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
251 AbstractRegister a,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
252 AbstractRegister b,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
253 AbstractRegister c,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
254 AbstractRegister d,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
255 AbstractRegister e,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
256 AbstractRegister f,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
257 AbstractRegister g,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
258 AbstractRegister h,
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
259 AbstractRegister i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
260 ) {
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
261 assert(
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
262 a != b && a != c && a != d && a != e && a != f && a != g && a != h && a != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
263 && b != c && b != d && b != e && b != f && b != g && b != h && b != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
264 && c != d && c != e && c != f && c != g && c != h && c != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
265 && d != e && d != f && d != g && d != h && d != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
266 && e != f && e != g && e != h && e != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
267 && f != g && f != h && f != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
268 && g != h && g != i
1d7922586cf6 7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents: 1972
diff changeset
269 && h != i,
17937
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
270 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
271 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
272 ", f=" INTPTR_FORMAT ", g=" INTPTR_FORMAT ", h=" INTPTR_FORMAT
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
273 ", i=" INTPTR_FORMAT "",
78bbf4d43a14 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 7204
diff changeset
274 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f), p2i(g), p2i(h), p2i(i))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
275 );
a61af66fc99e Initial load
duke
parents:
diff changeset
276 }
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
277
20438
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
278 inline void assert_different_registers(
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
279 AbstractRegister a,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
280 AbstractRegister b,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
281 AbstractRegister c,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
282 AbstractRegister d,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
283 AbstractRegister e,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
284 AbstractRegister f,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
285 AbstractRegister g,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
286 AbstractRegister h,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
287 AbstractRegister i,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
288 AbstractRegister j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
289 ) {
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
290 assert(
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
291 a != b && a != c && a != d && a != e && a != f && a != g && a != h && a != i && a != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
292 && b != c && b != d && b != e && b != f && b != g && b != h && b != i && b != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
293 && c != d && c != e && c != f && c != g && c != h && c != i && c != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
294 && d != e && d != f && d != g && d != h && d != i && d != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
295 && e != f && e != g && e != h && e != i && e != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
296 && f != g && f != h && f != i && f != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
297 && g != h && g != i && g != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
298 && h != i && h != j
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
299 && i != j,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
300 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
301 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
302 ", f=" INTPTR_FORMAT ", g=" INTPTR_FORMAT ", h=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
303 ", i=" INTPTR_FORMAT ", j=" INTPTR_FORMAT "",
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
304 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f), p2i(g), p2i(h), p2i(i), p2i(j))
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
305 );
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
306 }
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
307
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
308 inline void assert_different_registers(
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
309 AbstractRegister a,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
310 AbstractRegister b,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
311 AbstractRegister c,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
312 AbstractRegister d,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
313 AbstractRegister e,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
314 AbstractRegister f,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
315 AbstractRegister g,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
316 AbstractRegister h,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
317 AbstractRegister i,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
318 AbstractRegister j,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
319 AbstractRegister k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
320 ) {
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
321 assert(
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
322 a != b && a != c && a != d && a != e && a != f && a != g && a != h && a != i && a != j && a !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
323 && b != c && b != d && b != e && b != f && b != g && b != h && b != i && b != j && b !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
324 && c != d && c != e && c != f && c != g && c != h && c != i && c != j && c !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
325 && d != e && d != f && d != g && d != h && d != i && d != j && d !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
326 && e != f && e != g && e != h && e != i && e != j && e !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
327 && f != g && f != h && f != i && f != j && f !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
328 && g != h && g != i && g != j && g !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
329 && h != i && h != j && h !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
330 && i != j && i !=k
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
331 && j !=k,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
332 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
333 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
334 ", f=" INTPTR_FORMAT ", g=" INTPTR_FORMAT ", h=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
335 ", i=" INTPTR_FORMAT ", j=" INTPTR_FORMAT ", k=" INTPTR_FORMAT "",
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
336 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f), p2i(g), p2i(h), p2i(i), p2i(j), p2i(k))
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
337 );
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
338 }
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
339
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
340 inline void assert_different_registers(
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
341 AbstractRegister a,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
342 AbstractRegister b,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
343 AbstractRegister c,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
344 AbstractRegister d,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
345 AbstractRegister e,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
346 AbstractRegister f,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
347 AbstractRegister g,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
348 AbstractRegister h,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
349 AbstractRegister i,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
350 AbstractRegister j,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
351 AbstractRegister k,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
352 AbstractRegister l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
353 ) {
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
354 assert(
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
355 a != b && a != c && a != d && a != e && a != f && a != g && a != h && a != i && a != j && a !=k && a !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
356 && b != c && b != d && b != e && b != f && b != g && b != h && b != i && b != j && b !=k && b !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
357 && c != d && c != e && c != f && c != g && c != h && c != i && c != j && c !=k && c !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
358 && d != e && d != f && d != g && d != h && d != i && d != j && d !=k && d !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
359 && e != f && e != g && e != h && e != i && e != j && e !=k && e !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
360 && f != g && f != h && f != i && f != j && f !=k && f !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
361 && g != h && g != i && g != j && g !=k && g !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
362 && h != i && h != j && h !=k && h !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
363 && i != j && i !=k && i !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
364 && j !=k && j !=l
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
365 && k !=l,
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
366 err_msg_res("registers must be different: a=" INTPTR_FORMAT ", b=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
367 ", c=" INTPTR_FORMAT ", d=" INTPTR_FORMAT ", e=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
368 ", f=" INTPTR_FORMAT ", g=" INTPTR_FORMAT ", h=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
369 ", i=" INTPTR_FORMAT ", j=" INTPTR_FORMAT ", k=" INTPTR_FORMAT
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
370 ", l=" INTPTR_FORMAT "",
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
371 p2i(a), p2i(b), p2i(c), p2i(d), p2i(e), p2i(f), p2i(g), p2i(h), p2i(i), p2i(j), p2i(k), p2i(l))
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
372 );
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
373 }
166d744df0de 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
kvn
parents: 17937
diff changeset
374
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
375 #endif // SHARE_VM_ASM_REGISTER_HPP