author | kvn |
Thu, 07 Jan 2016 14:29:05 -0800 | |
changeset 35537 | bed5e2dc57a1 |
parent 30624 | 2e1803c8a26d |
child 40071 | 53e12df44b7b |
child 40010 | e32d5e545789 |
permissions | -rw-r--r-- |
1 | 1 |
/* |
22234
da823d78ad65
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
mikael
parents:
21095
diff
changeset
|
2 |
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. |
1 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
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 |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1546
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1546
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1546
diff
changeset
|
21 |
* questions. |
1 | 22 |
* |
23 |
*/ |
|
24 |
||
7397 | 25 |
#include "precompiled.hpp" |
26 |
#include "asm/assembler.hpp" |
|
27 |
#include "asm/register.hpp" |
|
28 |
#include "register_x86.hpp" |
|
21095
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
11427
diff
changeset
|
29 |
#ifdef TARGET_ARCH_x86 |
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
11427
diff
changeset
|
30 |
# include "interp_masm_x86.hpp" |
7397 | 31 |
#endif |
1 | 32 |
|
33 |
REGISTER_DEFINITION(Register, noreg); |
|
34 |
REGISTER_DEFINITION(Register, rax); |
|
35 |
REGISTER_DEFINITION(Register, rcx); |
|
36 |
REGISTER_DEFINITION(Register, rdx); |
|
37 |
REGISTER_DEFINITION(Register, rbx); |
|
38 |
REGISTER_DEFINITION(Register, rsp); |
|
39 |
REGISTER_DEFINITION(Register, rbp); |
|
40 |
REGISTER_DEFINITION(Register, rsi); |
|
41 |
REGISTER_DEFINITION(Register, rdi); |
|
42 |
#ifdef AMD64 |
|
43 |
REGISTER_DEFINITION(Register, r8); |
|
44 |
REGISTER_DEFINITION(Register, r9); |
|
45 |
REGISTER_DEFINITION(Register, r10); |
|
46 |
REGISTER_DEFINITION(Register, r11); |
|
47 |
REGISTER_DEFINITION(Register, r12); |
|
48 |
REGISTER_DEFINITION(Register, r13); |
|
49 |
REGISTER_DEFINITION(Register, r14); |
|
50 |
REGISTER_DEFINITION(Register, r15); |
|
51 |
#endif // AMD64 |
|
52 |
||
11427 | 53 |
REGISTER_DEFINITION(XMMRegister, xnoreg); |
1 | 54 |
REGISTER_DEFINITION(XMMRegister, xmm0 ); |
55 |
REGISTER_DEFINITION(XMMRegister, xmm1 ); |
|
56 |
REGISTER_DEFINITION(XMMRegister, xmm2 ); |
|
57 |
REGISTER_DEFINITION(XMMRegister, xmm3 ); |
|
58 |
REGISTER_DEFINITION(XMMRegister, xmm4 ); |
|
59 |
REGISTER_DEFINITION(XMMRegister, xmm5 ); |
|
60 |
REGISTER_DEFINITION(XMMRegister, xmm6 ); |
|
61 |
REGISTER_DEFINITION(XMMRegister, xmm7 ); |
|
62 |
#ifdef AMD64 |
|
63 |
REGISTER_DEFINITION(XMMRegister, xmm8); |
|
64 |
REGISTER_DEFINITION(XMMRegister, xmm9); |
|
65 |
REGISTER_DEFINITION(XMMRegister, xmm10); |
|
66 |
REGISTER_DEFINITION(XMMRegister, xmm11); |
|
67 |
REGISTER_DEFINITION(XMMRegister, xmm12); |
|
68 |
REGISTER_DEFINITION(XMMRegister, xmm13); |
|
69 |
REGISTER_DEFINITION(XMMRegister, xmm14); |
|
70 |
REGISTER_DEFINITION(XMMRegister, xmm15); |
|
30624 | 71 |
REGISTER_DEFINITION(XMMRegister, xmm16); |
72 |
REGISTER_DEFINITION(XMMRegister, xmm17); |
|
73 |
REGISTER_DEFINITION(XMMRegister, xmm18); |
|
74 |
REGISTER_DEFINITION(XMMRegister, xmm19); |
|
75 |
REGISTER_DEFINITION(XMMRegister, xmm20); |
|
76 |
REGISTER_DEFINITION(XMMRegister, xmm21); |
|
77 |
REGISTER_DEFINITION(XMMRegister, xmm22); |
|
78 |
REGISTER_DEFINITION(XMMRegister, xmm23); |
|
79 |
REGISTER_DEFINITION(XMMRegister, xmm24); |
|
80 |
REGISTER_DEFINITION(XMMRegister, xmm25); |
|
81 |
REGISTER_DEFINITION(XMMRegister, xmm26); |
|
82 |
REGISTER_DEFINITION(XMMRegister, xmm27); |
|
83 |
REGISTER_DEFINITION(XMMRegister, xmm28); |
|
84 |
REGISTER_DEFINITION(XMMRegister, xmm29); |
|
85 |
REGISTER_DEFINITION(XMMRegister, xmm30); |
|
86 |
REGISTER_DEFINITION(XMMRegister, xmm31); |
|
1 | 87 |
|
88 |
REGISTER_DEFINITION(Register, c_rarg0); |
|
89 |
REGISTER_DEFINITION(Register, c_rarg1); |
|
90 |
REGISTER_DEFINITION(Register, c_rarg2); |
|
91 |
REGISTER_DEFINITION(Register, c_rarg3); |
|
92 |
||
93 |
REGISTER_DEFINITION(XMMRegister, c_farg0); |
|
94 |
REGISTER_DEFINITION(XMMRegister, c_farg1); |
|
95 |
REGISTER_DEFINITION(XMMRegister, c_farg2); |
|
96 |
REGISTER_DEFINITION(XMMRegister, c_farg3); |
|
97 |
||
98 |
// Non windows OS's have a few more argument registers |
|
99 |
#ifndef _WIN64 |
|
100 |
REGISTER_DEFINITION(Register, c_rarg4); |
|
101 |
REGISTER_DEFINITION(Register, c_rarg5); |
|
102 |
||
103 |
REGISTER_DEFINITION(XMMRegister, c_farg4); |
|
104 |
REGISTER_DEFINITION(XMMRegister, c_farg5); |
|
105 |
REGISTER_DEFINITION(XMMRegister, c_farg6); |
|
106 |
REGISTER_DEFINITION(XMMRegister, c_farg7); |
|
107 |
#endif /* _WIN64 */ |
|
108 |
||
109 |
REGISTER_DEFINITION(Register, j_rarg0); |
|
110 |
REGISTER_DEFINITION(Register, j_rarg1); |
|
111 |
REGISTER_DEFINITION(Register, j_rarg2); |
|
112 |
REGISTER_DEFINITION(Register, j_rarg3); |
|
113 |
REGISTER_DEFINITION(Register, j_rarg4); |
|
114 |
REGISTER_DEFINITION(Register, j_rarg5); |
|
115 |
||
116 |
REGISTER_DEFINITION(XMMRegister, j_farg0); |
|
117 |
REGISTER_DEFINITION(XMMRegister, j_farg1); |
|
118 |
REGISTER_DEFINITION(XMMRegister, j_farg2); |
|
119 |
REGISTER_DEFINITION(XMMRegister, j_farg3); |
|
120 |
REGISTER_DEFINITION(XMMRegister, j_farg4); |
|
121 |
REGISTER_DEFINITION(XMMRegister, j_farg5); |
|
122 |
REGISTER_DEFINITION(XMMRegister, j_farg6); |
|
123 |
REGISTER_DEFINITION(XMMRegister, j_farg7); |
|
124 |
||
125 |
REGISTER_DEFINITION(Register, rscratch1); |
|
126 |
REGISTER_DEFINITION(Register, rscratch2); |
|
127 |
||
360
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
1
diff
changeset
|
128 |
REGISTER_DEFINITION(Register, r12_heapbase); |
1 | 129 |
REGISTER_DEFINITION(Register, r15_thread); |
130 |
#endif // AMD64 |
|
131 |
||
11427 | 132 |
REGISTER_DEFINITION(MMXRegister, mnoreg ); |
1 | 133 |
REGISTER_DEFINITION(MMXRegister, mmx0 ); |
134 |
REGISTER_DEFINITION(MMXRegister, mmx1 ); |
|
135 |
REGISTER_DEFINITION(MMXRegister, mmx2 ); |
|
136 |
REGISTER_DEFINITION(MMXRegister, mmx3 ); |
|
137 |
REGISTER_DEFINITION(MMXRegister, mmx4 ); |
|
138 |
REGISTER_DEFINITION(MMXRegister, mmx5 ); |
|
139 |
REGISTER_DEFINITION(MMXRegister, mmx6 ); |
|
140 |
REGISTER_DEFINITION(MMXRegister, mmx7 ); |
|
5687 | 141 |
|
30624 | 142 |
REGISTER_DEFINITION(KRegister, knoreg); |
143 |
REGISTER_DEFINITION(KRegister, k0); |
|
144 |
REGISTER_DEFINITION(KRegister, k1); |
|
145 |
REGISTER_DEFINITION(KRegister, k2); |
|
146 |
REGISTER_DEFINITION(KRegister, k3); |
|
147 |
REGISTER_DEFINITION(KRegister, k4); |
|
148 |
REGISTER_DEFINITION(KRegister, k5); |
|
149 |
REGISTER_DEFINITION(KRegister, k6); |
|
150 |
REGISTER_DEFINITION(KRegister, k7); |
|
151 |
||
5687 | 152 |
// JSR 292 |
153 |
REGISTER_DEFINITION(Register, rbp_mh_SP_save); |