author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 46461 | hotspot/src/cpu/sparc/vm/register_definitions_sparc.cpp@7155d5ff2d07 |
child 49625 | 94ef8da94ce9 |
permissions | -rw-r--r-- |
1 | 1 |
/* |
40107
e59cd9dd42a5
7008747: Header files with conditional behaviour can not be precompiled
dholmes
parents:
35214
diff
changeset
|
2 |
* Copyright (c) 2002, 2016, 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:
2534
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
2534
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:
2534
diff
changeset
|
21 |
* questions. |
1 | 22 |
* |
23 |
*/ |
|
24 |
||
25 |
// make sure the defines don't screw up the declarations later on in this file |
|
26 |
#define DONT_USE_REGISTER_DEFINES |
|
27 |
||
40107
e59cd9dd42a5
7008747: Header files with conditional behaviour can not be precompiled
dholmes
parents:
35214
diff
changeset
|
28 |
// Note: precompiled headers can not be used in this file because of the above |
e59cd9dd42a5
7008747: Header files with conditional behaviour can not be precompiled
dholmes
parents:
35214
diff
changeset
|
29 |
// definition |
e59cd9dd42a5
7008747: Header files with conditional behaviour can not be precompiled
dholmes
parents:
35214
diff
changeset
|
30 |
|
7397 | 31 |
#include "asm/assembler.hpp" |
32 |
#include "asm/register.hpp" |
|
33 |
#include "interp_masm_sparc.hpp" |
|
34 |
#include "register_sparc.hpp" |
|
1 | 35 |
|
36 |
REGISTER_DEFINITION(Register, noreg); |
|
37 |
||
38 |
REGISTER_DEFINITION(Register, G0); |
|
39 |
REGISTER_DEFINITION(Register, G1); |
|
40 |
REGISTER_DEFINITION(Register, G2); |
|
41 |
REGISTER_DEFINITION(Register, G3); |
|
42 |
REGISTER_DEFINITION(Register, G4); |
|
43 |
REGISTER_DEFINITION(Register, G5); |
|
44 |
REGISTER_DEFINITION(Register, G6); |
|
45 |
REGISTER_DEFINITION(Register, G7); |
|
46 |
||
47 |
REGISTER_DEFINITION(Register, O0); |
|
48 |
REGISTER_DEFINITION(Register, O1); |
|
49 |
REGISTER_DEFINITION(Register, O2); |
|
50 |
REGISTER_DEFINITION(Register, O3); |
|
51 |
REGISTER_DEFINITION(Register, O4); |
|
52 |
REGISTER_DEFINITION(Register, O5); |
|
53 |
REGISTER_DEFINITION(Register, O6); |
|
54 |
REGISTER_DEFINITION(Register, O7); |
|
55 |
||
56 |
REGISTER_DEFINITION(Register, L0); |
|
57 |
REGISTER_DEFINITION(Register, L1); |
|
58 |
REGISTER_DEFINITION(Register, L2); |
|
59 |
REGISTER_DEFINITION(Register, L3); |
|
60 |
REGISTER_DEFINITION(Register, L4); |
|
61 |
REGISTER_DEFINITION(Register, L5); |
|
62 |
REGISTER_DEFINITION(Register, L6); |
|
63 |
REGISTER_DEFINITION(Register, L7); |
|
64 |
||
65 |
REGISTER_DEFINITION(Register, I0); |
|
66 |
REGISTER_DEFINITION(Register, I1); |
|
67 |
REGISTER_DEFINITION(Register, I2); |
|
68 |
REGISTER_DEFINITION(Register, I3); |
|
69 |
REGISTER_DEFINITION(Register, I4); |
|
70 |
REGISTER_DEFINITION(Register, I5); |
|
71 |
REGISTER_DEFINITION(Register, I6); |
|
72 |
REGISTER_DEFINITION(Register, I7); |
|
73 |
||
74 |
REGISTER_DEFINITION(Register, FP); |
|
75 |
REGISTER_DEFINITION(Register, SP); |
|
76 |
||
77 |
REGISTER_DEFINITION(FloatRegister, fnoreg); |
|
78 |
REGISTER_DEFINITION(FloatRegister, F0); |
|
79 |
REGISTER_DEFINITION(FloatRegister, F1); |
|
80 |
REGISTER_DEFINITION(FloatRegister, F2); |
|
81 |
REGISTER_DEFINITION(FloatRegister, F3); |
|
82 |
REGISTER_DEFINITION(FloatRegister, F4); |
|
83 |
REGISTER_DEFINITION(FloatRegister, F5); |
|
84 |
REGISTER_DEFINITION(FloatRegister, F6); |
|
85 |
REGISTER_DEFINITION(FloatRegister, F7); |
|
86 |
REGISTER_DEFINITION(FloatRegister, F8); |
|
87 |
REGISTER_DEFINITION(FloatRegister, F9); |
|
88 |
REGISTER_DEFINITION(FloatRegister, F10); |
|
89 |
REGISTER_DEFINITION(FloatRegister, F11); |
|
90 |
REGISTER_DEFINITION(FloatRegister, F12); |
|
91 |
REGISTER_DEFINITION(FloatRegister, F13); |
|
92 |
REGISTER_DEFINITION(FloatRegister, F14); |
|
93 |
REGISTER_DEFINITION(FloatRegister, F15); |
|
94 |
REGISTER_DEFINITION(FloatRegister, F16); |
|
95 |
REGISTER_DEFINITION(FloatRegister, F17); |
|
96 |
REGISTER_DEFINITION(FloatRegister, F18); |
|
97 |
REGISTER_DEFINITION(FloatRegister, F19); |
|
98 |
REGISTER_DEFINITION(FloatRegister, F20); |
|
99 |
REGISTER_DEFINITION(FloatRegister, F21); |
|
100 |
REGISTER_DEFINITION(FloatRegister, F22); |
|
101 |
REGISTER_DEFINITION(FloatRegister, F23); |
|
102 |
REGISTER_DEFINITION(FloatRegister, F24); |
|
103 |
REGISTER_DEFINITION(FloatRegister, F25); |
|
104 |
REGISTER_DEFINITION(FloatRegister, F26); |
|
105 |
REGISTER_DEFINITION(FloatRegister, F27); |
|
106 |
REGISTER_DEFINITION(FloatRegister, F28); |
|
107 |
REGISTER_DEFINITION(FloatRegister, F29); |
|
108 |
REGISTER_DEFINITION(FloatRegister, F30); |
|
109 |
REGISTER_DEFINITION(FloatRegister, F31); |
|
110 |
REGISTER_DEFINITION(FloatRegister, F32); |
|
111 |
REGISTER_DEFINITION(FloatRegister, F34); |
|
112 |
REGISTER_DEFINITION(FloatRegister, F36); |
|
113 |
REGISTER_DEFINITION(FloatRegister, F38); |
|
114 |
REGISTER_DEFINITION(FloatRegister, F40); |
|
115 |
REGISTER_DEFINITION(FloatRegister, F42); |
|
116 |
REGISTER_DEFINITION(FloatRegister, F44); |
|
117 |
REGISTER_DEFINITION(FloatRegister, F46); |
|
118 |
REGISTER_DEFINITION(FloatRegister, F48); |
|
119 |
REGISTER_DEFINITION(FloatRegister, F50); |
|
120 |
REGISTER_DEFINITION(FloatRegister, F52); |
|
121 |
REGISTER_DEFINITION(FloatRegister, F54); |
|
122 |
REGISTER_DEFINITION(FloatRegister, F56); |
|
123 |
REGISTER_DEFINITION(FloatRegister, F58); |
|
124 |
REGISTER_DEFINITION(FloatRegister, F60); |
|
125 |
REGISTER_DEFINITION(FloatRegister, F62); |
|
126 |
||
127 |
||
128 |
REGISTER_DEFINITION( Register, Otos_i); |
|
129 |
REGISTER_DEFINITION( Register, Otos_l); |
|
130 |
REGISTER_DEFINITION( Register, Otos_l1); |
|
131 |
REGISTER_DEFINITION( Register, Otos_l2); |
|
132 |
REGISTER_DEFINITION(FloatRegister, Ftos_f); |
|
133 |
REGISTER_DEFINITION(FloatRegister, Ftos_d); |
|
134 |
REGISTER_DEFINITION(FloatRegister, Ftos_d1); |
|
135 |
REGISTER_DEFINITION(FloatRegister, Ftos_d2); |
|
136 |
||
137 |
||
138 |
REGISTER_DEFINITION(Register, G2_thread); |
|
360
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
1
diff
changeset
|
139 |
REGISTER_DEFINITION(Register, G6_heapbase); |
1 | 140 |
REGISTER_DEFINITION(Register, G5_method); |
141 |
REGISTER_DEFINITION(Register, G5_megamorphic_method); |
|
142 |
REGISTER_DEFINITION(Register, G5_inline_cache_reg); |
|
143 |
REGISTER_DEFINITION(Register, Gargs); |
|
144 |
REGISTER_DEFINITION(Register, L7_thread_cache); |
|
145 |
REGISTER_DEFINITION(Register, Gframe_size); |
|
146 |
REGISTER_DEFINITION(Register, G1_scratch); |
|
147 |
REGISTER_DEFINITION(Register, G3_scratch); |
|
148 |
REGISTER_DEFINITION(Register, G4_scratch); |
|
149 |
REGISTER_DEFINITION(Register, Gtemp); |
|
5687 | 150 |
REGISTER_DEFINITION(Register, Lentry_args); |
151 |
||
152 |
// JSR 292 |
|
2534 | 153 |
REGISTER_DEFINITION(Register, G5_method_type); |
154 |
REGISTER_DEFINITION(Register, G3_method_handle); |
|
5687 | 155 |
REGISTER_DEFINITION(Register, L7_mh_SP_save); |
1 | 156 |
|
157 |
REGISTER_DEFINITION(Register, Lesp); |
|
158 |
REGISTER_DEFINITION(Register, Lbcp); |
|
159 |
REGISTER_DEFINITION(Register, Lmonitors); |
|
160 |
REGISTER_DEFINITION(Register, Lbyte_code); |
|
161 |
REGISTER_DEFINITION(Register, Llast_SP); |
|
162 |
REGISTER_DEFINITION(Register, Lscratch); |
|
163 |
REGISTER_DEFINITION(Register, Lscratch2); |
|
164 |
REGISTER_DEFINITION(Register, LcpoolCache); |
|
165 |
REGISTER_DEFINITION(Register, I5_savedSP); |
|
166 |
REGISTER_DEFINITION(Register, O5_savedSP); |
|
167 |
REGISTER_DEFINITION(Register, IdispatchAddress); |
|
168 |
REGISTER_DEFINITION(Register, ImethodDataPtr); |
|
169 |
REGISTER_DEFINITION(Register, Lmethod); |
|
170 |
REGISTER_DEFINITION(Register, Llocals); |
|
171 |
REGISTER_DEFINITION(Register, Oexception); |
|
172 |
REGISTER_DEFINITION(Register, Oissuing_pc); |