Mercurial > hg > truffle
annotate src/cpu/x86/vm/register_definitions_x86.cpp @ 15531:a71192a503fe
Fix stamp of LoweredAtomicReadAndWriteNode.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 06 May 2014 11:34:13 +0200 |
parents | 4ca6dc0799b6 |
children | 89152779163c |
rev | line source |
---|---|
0 | 1 /* |
14909 | 2 * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. |
0 | 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 * | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
427
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
427
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:
427
diff
changeset
|
21 * questions. |
0 | 22 * |
23 */ | |
24 | |
1972 | 25 #include "precompiled.hpp" |
26 #include "asm/assembler.hpp" | |
27 #include "asm/register.hpp" | |
28 #include "register_x86.hpp" | |
12962
5ccbab1c69f3
8026251: New type profiling points: parameters to methods
roland
parents:
4759
diff
changeset
|
29 #ifdef TARGET_ARCH_x86 |
5ccbab1c69f3
8026251: New type profiling points: parameters to methods
roland
parents:
4759
diff
changeset
|
30 # include "interp_masm_x86.hpp" |
1972 | 31 #endif |
0 | 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 | |
4759 | 53 REGISTER_DEFINITION(XMMRegister, xnoreg); |
0 | 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); | |
71 | |
72 REGISTER_DEFINITION(Register, c_rarg0); | |
73 REGISTER_DEFINITION(Register, c_rarg1); | |
74 REGISTER_DEFINITION(Register, c_rarg2); | |
75 REGISTER_DEFINITION(Register, c_rarg3); | |
76 | |
77 REGISTER_DEFINITION(XMMRegister, c_farg0); | |
78 REGISTER_DEFINITION(XMMRegister, c_farg1); | |
79 REGISTER_DEFINITION(XMMRegister, c_farg2); | |
80 REGISTER_DEFINITION(XMMRegister, c_farg3); | |
81 | |
82 // Non windows OS's have a few more argument registers | |
83 #ifndef _WIN64 | |
84 REGISTER_DEFINITION(Register, c_rarg4); | |
85 REGISTER_DEFINITION(Register, c_rarg5); | |
86 | |
87 REGISTER_DEFINITION(XMMRegister, c_farg4); | |
88 REGISTER_DEFINITION(XMMRegister, c_farg5); | |
89 REGISTER_DEFINITION(XMMRegister, c_farg6); | |
90 REGISTER_DEFINITION(XMMRegister, c_farg7); | |
91 #endif /* _WIN64 */ | |
92 | |
93 REGISTER_DEFINITION(Register, j_rarg0); | |
94 REGISTER_DEFINITION(Register, j_rarg1); | |
95 REGISTER_DEFINITION(Register, j_rarg2); | |
96 REGISTER_DEFINITION(Register, j_rarg3); | |
97 REGISTER_DEFINITION(Register, j_rarg4); | |
98 REGISTER_DEFINITION(Register, j_rarg5); | |
99 | |
100 REGISTER_DEFINITION(XMMRegister, j_farg0); | |
101 REGISTER_DEFINITION(XMMRegister, j_farg1); | |
102 REGISTER_DEFINITION(XMMRegister, j_farg2); | |
103 REGISTER_DEFINITION(XMMRegister, j_farg3); | |
104 REGISTER_DEFINITION(XMMRegister, j_farg4); | |
105 REGISTER_DEFINITION(XMMRegister, j_farg5); | |
106 REGISTER_DEFINITION(XMMRegister, j_farg6); | |
107 REGISTER_DEFINITION(XMMRegister, j_farg7); | |
108 | |
109 REGISTER_DEFINITION(Register, rscratch1); | |
110 REGISTER_DEFINITION(Register, rscratch2); | |
111 | |
113
ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
0
diff
changeset
|
112 REGISTER_DEFINITION(Register, r12_heapbase); |
0 | 113 REGISTER_DEFINITION(Register, r15_thread); |
114 #endif // AMD64 | |
115 | |
4759 | 116 REGISTER_DEFINITION(MMXRegister, mnoreg ); |
0 | 117 REGISTER_DEFINITION(MMXRegister, mmx0 ); |
118 REGISTER_DEFINITION(MMXRegister, mmx1 ); | |
119 REGISTER_DEFINITION(MMXRegister, mmx2 ); | |
120 REGISTER_DEFINITION(MMXRegister, mmx3 ); | |
121 REGISTER_DEFINITION(MMXRegister, mmx4 ); | |
122 REGISTER_DEFINITION(MMXRegister, mmx5 ); | |
123 REGISTER_DEFINITION(MMXRegister, mmx6 ); | |
124 REGISTER_DEFINITION(MMXRegister, mmx7 ); | |
1564 | 125 |
126 // JSR 292 | |
127 REGISTER_DEFINITION(Register, rbp_mh_SP_save); |