History

My first initial commit with all of mine experimental changes.

Dmitry Kabak (userdima committed 13 years ago

Commit d37b88d1 parent 3f5b46618352 files · +2598093 −-8690Browse files

Showing the changes to java/tools/j2d/javaisa.h (1 of 18352 files). Show all

Unified · Split

java/tools/j2d/javaisa.h+221−0
@@ -0,0 +1,221 @@
1/*
2 * Java VM instruction set
3 */
4
5enum {
6 Jnop = 0,
7 Jaconst_null = 1,
8 Jiconst_m1 = 2,
9 Jiconst_0 = 3,
10 Jiconst_1 = 4,
11 Jiconst_2 = 5,
12 Jiconst_3 = 6,
13 Jiconst_4 = 7,
14 Jiconst_5 = 8,
15 Jlconst_0 = 9,
16 Jlconst_1 = 10,
17 Jfconst_0 = 11,
18 Jfconst_1 = 12,
19 Jfconst_2 = 13,
20 Jdconst_0 = 14,
21 Jdconst_1 = 15,
22 Jbipush = 16,
23 Jsipush = 17,
24 Jldc = 18,
25 Jldc_w = 19,
26 Jldc2_w = 20,
27 Jiload = 21,
28 Jlload = 22,
29 Jfload = 23,
30 Jdload = 24,
31 Jaload = 25,
32 Jiload_0 = 26,
33 Jiload_1 = 27,
34 Jiload_2 = 28,
35 Jiload_3 = 29,
36 Jlload_0 = 30,
37 Jlload_1 = 31,
38 Jlload_2 = 32,
39 Jlload_3 = 33,
40 Jfload_0 = 34,
41 Jfload_1 = 35,
42 Jfload_2 = 36,
43 Jfload_3 = 37,
44 Jdload_0 = 38,
45 Jdload_1 = 39,
46 Jdload_2 = 40,
47 Jdload_3 = 41,
48 Jaload_0 = 42,
49 Jaload_1 = 43,
50 Jaload_2 = 44,
51 Jaload_3 = 45,
52 Jiaload = 46,
53 Jlaload = 47,
54 Jfaload = 48,
55 Jdaload = 49,
56 Jaaload = 50,
57 Jbaload = 51,
58 Jcaload = 52,
59 Jsaload = 53,
60 Jistore = 54,
61 Jlstore = 55,
62 Jfstore = 56,
63 Jdstore = 57,
64 Jastore = 58,
65 Jistore_0 = 59,
66 Jistore_1 = 60,
67 Jistore_2 = 61,
68 Jistore_3 = 62,
69 Jlstore_0 = 63,
70 Jlstore_1 = 64,
71 Jlstore_2 = 65,
72 Jlstore_3 = 66,
73 Jfstore_0 = 67,
74 Jfstore_1 = 68,
75 Jfstore_2 = 69,
76 Jfstore_3 = 70,
77 Jdstore_0 = 71,
78 Jdstore_1 = 72,
79 Jdstore_2 = 73,
80 Jdstore_3 = 74,
81 Jastore_0 = 75,
82 Jastore_1 = 76,
83 Jastore_2 = 77,
84 Jastore_3 = 78,
85 Jiastore = 79,
86 Jlastore = 80,
87 Jfastore = 81,
88 Jdastore = 82,
89 Jaastore = 83,
90 Jbastore = 84,
91 Jcastore = 85,
92 Jsastore = 86,
93 Jpop = 87,
94 Jpop2 = 88,
95 Jdup = 89,
96 Jdup_x1 = 90,
97 Jdup_x2 = 91,
98 Jdup2 = 92,
99 Jdup2_x1 = 93,
100 Jdup2_x2 = 94,
101 Jswap = 95,
102 Jiadd = 96,
103 Jladd = 97,
104 Jfadd = 98,
105 Jdadd = 99,
106 Jisub = 100,
107 Jlsub = 101,
108 Jfsub = 102,
109 Jdsub = 103,
110 Jimul = 104,
111 Jlmul = 105,
112 Jfmul = 106,
113 Jdmul = 107,
114 Jidiv = 108,
115 Jldiv = 109,
116 Jfdiv = 110,
117 Jddiv = 111,
118 Jirem = 112,
119 Jlrem = 113,
120 Jfrem = 114,
121 Jdrem = 115,
122 Jineg = 116,
123 Jlneg = 117,
124 Jfneg = 118,
125 Jdneg = 119,
126 Jishl = 120,
127 Jlshl = 121,
128 Jishr = 122,
129 Jlshr = 123,
130 Jiushr = 124,
131 Jlushr = 125,
132 Jiand = 126,
133 Jland = 127,
134 Jior = 128,
135 Jlor = 129,
136 Jixor = 130,
137 Jlxor = 131,
138 Jiinc = 132,
139 Ji2l = 133,
140 Ji2f = 134,
141 Ji2d = 135,
142 Jl2i = 136,
143 Jl2f = 137,
144 Jl2d = 138,
145 Jf2i = 139,
146 Jf2l = 140,
147 Jf2d = 141,
148 Jd2i = 142,
149 Jd2l = 143,
150 Jd2f = 144,
151 Ji2b = 145,
152 Ji2c = 146,
153 Ji2s = 147,
154 Jlcmp = 148,
155 Jfcmpl = 149,
156 Jfcmpg = 150,
157 Jdcmpl = 151,
158 Jdcmpg = 152,
159 Jifeq = 153,
160 Jifne = 154,
161 Jiflt = 155,
162 Jifge = 156,
163 Jifgt = 157,
164 Jifle = 158,
165 Jif_icmpeq = 159,
166 Jif_icmpne = 160,
167 Jif_icmplt = 161,
168 Jif_icmpge = 162,
169 Jif_icmpgt = 163,
170 Jif_icmple = 164,
171 Jif_acmpeq = 165,
172 Jif_acmpne = 166,
173 Jgoto = 167,
174 Jjsr = 168,
175 Jret = 169,
176 Jtableswitch = 170,
177 Jlookupswitch = 171,
178 Jireturn = 172,
179 Jlreturn = 173,
180 Jfreturn = 174,
181 Jdreturn = 175,
182 Jareturn = 176,
183 Jreturn = 177,
184 Jgetstatic = 178,
185 Jputstatic = 179,
186 Jgetfield = 180,
187 Jputfield = 181,
188 Jinvokevirtual = 182,
189 Jinvokespecial = 183,
190 Jinvokestatic = 184,
191 Jinvokeinterface = 185,
192 Jxxxunusedxxx = 186,
193 Jnew = 187,
194 Jnewarray = 188,
195 Janewarray = 189,
196 Jarraylength = 190,
197 Jathrow = 191,
198 Jcheckcast = 192,
199 Jinstanceof = 193,
200 Jmonitorenter = 194,
201 Jmonitorexit = 195,
202 Jwide = 196,
203 Jmultianewarray = 197,
204 Jifnull = 198,
205 Jifnonnull = 199,
206 Jgoto_w = 200,
207 Jjsr_w = 201,
208
209 MAXJAVA = Jjsr_w+1,
210
211 /* newarray element types (Java VM Specification page 320) */
212
213 T_BOOLEAN = 4,
214 T_CHAR = 5,
215 T_FLOAT = 6,
216 T_DOUBLE = 7,
217 T_BYTE = 8,
218 T_SHORT = 9,
219 T_INT = 10,
220 T_LONG = 11
221};