1 /*
2 * Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
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 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
125 REGISTER_DEFINITION( Register, Otos_l1);
126 REGISTER_DEFINITION( Register, Otos_l2);
127 REGISTER_DEFINITION(FloatRegister, Ftos_f);
128 REGISTER_DEFINITION(FloatRegister, Ftos_d);
129 REGISTER_DEFINITION(FloatRegister, Ftos_d1);
130 REGISTER_DEFINITION(FloatRegister, Ftos_d2);
131
132
133 REGISTER_DEFINITION(Register, G2_thread);
134 REGISTER_DEFINITION(Register, G6_heapbase);
135 REGISTER_DEFINITION(Register, G5_method);
136 REGISTER_DEFINITION(Register, G5_megamorphic_method);
137 REGISTER_DEFINITION(Register, G5_inline_cache_reg);
138 REGISTER_DEFINITION(Register, Gargs);
139 REGISTER_DEFINITION(Register, L7_thread_cache);
140 REGISTER_DEFINITION(Register, Gframe_size);
141 REGISTER_DEFINITION(Register, G1_scratch);
142 REGISTER_DEFINITION(Register, G3_scratch);
143 REGISTER_DEFINITION(Register, G4_scratch);
144 REGISTER_DEFINITION(Register, Gtemp);
145 REGISTER_DEFINITION(Register, G5_method_type);
146 REGISTER_DEFINITION(Register, G3_method_handle);
147 REGISTER_DEFINITION(Register, Lentry_args);
148
149 #ifdef CC_INTERP
150 REGISTER_DEFINITION(Register, Lstate);
151 REGISTER_DEFINITION(Register, L1_scratch);
152 REGISTER_DEFINITION(Register, Lmirror);
153 REGISTER_DEFINITION(Register, L2_scratch);
154 REGISTER_DEFINITION(Register, L3_scratch);
155 REGISTER_DEFINITION(Register, L4_scratch);
156 REGISTER_DEFINITION(Register, Lscratch);
157 REGISTER_DEFINITION(Register, Lscratch2);
158 REGISTER_DEFINITION(Register, L7_scratch);
159 REGISTER_DEFINITION(Register, I5_savedSP);
160 #else // CC_INTERP
161 REGISTER_DEFINITION(Register, Lesp);
162 REGISTER_DEFINITION(Register, Lbcp);
163 REGISTER_DEFINITION(Register, Lmonitors);
164 REGISTER_DEFINITION(Register, Lbyte_code);
165 REGISTER_DEFINITION(Register, Llast_SP);
166 REGISTER_DEFINITION(Register, Lscratch);
167 REGISTER_DEFINITION(Register, Lscratch2);
|
1 /*
2 * Copyright 2002-2010 Sun Microsystems, Inc. All Rights Reserved.
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 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
125 REGISTER_DEFINITION( Register, Otos_l1);
126 REGISTER_DEFINITION( Register, Otos_l2);
127 REGISTER_DEFINITION(FloatRegister, Ftos_f);
128 REGISTER_DEFINITION(FloatRegister, Ftos_d);
129 REGISTER_DEFINITION(FloatRegister, Ftos_d1);
130 REGISTER_DEFINITION(FloatRegister, Ftos_d2);
131
132
133 REGISTER_DEFINITION(Register, G2_thread);
134 REGISTER_DEFINITION(Register, G6_heapbase);
135 REGISTER_DEFINITION(Register, G5_method);
136 REGISTER_DEFINITION(Register, G5_megamorphic_method);
137 REGISTER_DEFINITION(Register, G5_inline_cache_reg);
138 REGISTER_DEFINITION(Register, Gargs);
139 REGISTER_DEFINITION(Register, L7_thread_cache);
140 REGISTER_DEFINITION(Register, Gframe_size);
141 REGISTER_DEFINITION(Register, G1_scratch);
142 REGISTER_DEFINITION(Register, G3_scratch);
143 REGISTER_DEFINITION(Register, G4_scratch);
144 REGISTER_DEFINITION(Register, Gtemp);
145 REGISTER_DEFINITION(Register, Lentry_args);
146
147 // JSR 292
148 REGISTER_DEFINITION(Register, G5_method_type);
149 REGISTER_DEFINITION(Register, G3_method_handle);
150 REGISTER_DEFINITION(Register, L7_mh_SP_save);
151
152 #ifdef CC_INTERP
153 REGISTER_DEFINITION(Register, Lstate);
154 REGISTER_DEFINITION(Register, L1_scratch);
155 REGISTER_DEFINITION(Register, Lmirror);
156 REGISTER_DEFINITION(Register, L2_scratch);
157 REGISTER_DEFINITION(Register, L3_scratch);
158 REGISTER_DEFINITION(Register, L4_scratch);
159 REGISTER_DEFINITION(Register, Lscratch);
160 REGISTER_DEFINITION(Register, Lscratch2);
161 REGISTER_DEFINITION(Register, L7_scratch);
162 REGISTER_DEFINITION(Register, I5_savedSP);
163 #else // CC_INTERP
164 REGISTER_DEFINITION(Register, Lesp);
165 REGISTER_DEFINITION(Register, Lbcp);
166 REGISTER_DEFINITION(Register, Lmonitors);
167 REGISTER_DEFINITION(Register, Lbyte_code);
168 REGISTER_DEFINITION(Register, Llast_SP);
169 REGISTER_DEFINITION(Register, Lscratch);
170 REGISTER_DEFINITION(Register, Lscratch2);
|