1 | #line 1 "dfa_x86.cpp" |
2 | // |
3 | // Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. |
4 | // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | // |
6 | // This code is free software; you can redistribute it and/or modify it |
7 | // under the terms of the GNU General Public License version 2 only, as |
8 | // published by the Free Software Foundation. |
9 | // |
10 | // This code is distributed in the hope that it will be useful, but WITHOUT |
11 | // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
12 | // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
13 | // version 2 for more details (a copy is included in the LICENSE file that |
14 | // accompanied this code). |
15 | // |
16 | // You should have received a copy of the GNU General Public License version |
17 | // 2 along with this work; if not, write to the Free Software Foundation, |
18 | // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
19 | // |
20 | // Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 | // or visit www.oracle.com if you need additional information or have any |
22 | // questions. |
23 | // |
24 | // |
25 | |
26 | // Machine Generated File. Do Not Edit! |
27 | |
28 | #include "precompiled.hpp" |
29 | #include "adfiles/ad_x86.hpp" |
30 | #include "oops/compressedOops.hpp" |
31 | #include "opto/cfgnode.hpp" |
32 | #include "opto/intrinsicnode.hpp" |
33 | #include "opto/matcher.hpp" |
34 | #include "opto/narrowptrnode.hpp" |
35 | #include "opto/opcodes.hpp" |
36 | #include "opto/convertnode.hpp" |
37 | |
38 | //------------------------- Source ----------------------------------------- |
39 | |
40 | //------------------------- Attributes ------------------------------------- |
41 | |
42 | // AttributeForm |
43 | static const int op_cost = 0; |
44 | |
45 | // AttributeForm |
46 | static const int ins_cost = 100; |
47 | |
48 | // AttributeForm |
49 | static const int ins_size = 8; |
50 | |
51 | // AttributeForm |
52 | static const int ins_short_branch = 0; |
53 | |
54 | // AttributeForm |
55 | static const int ins_alignment = 1; |
56 | |
57 | //------------------------- Macros ----------------------------------------- |
58 | #define DFA_PRODUCTION(result, rule, cost)\ |
59 | _cost[ (result) ] = cost; _rule[ (result) ] = rule; |
60 | |
61 | #define DFA_PRODUCTION__SET_VALID(result, rule, cost)\ |
62 | DFA_PRODUCTION( (result), (rule), (cost) ); STATE__SET_VALID( (result) ); |
63 | |
64 | //------------------------- DFA -------------------------------------------- |
65 | // DFA is a large switch with case statements for each ideal opcode encountered |
66 | // in any match rule in the ad file. Each case has a series of if's to handle |
67 | // the match or fail decisions. The matches test the cost function of that |
68 | // rule, and prune any cases which are higher cost for the same reduction. |
69 | // In order to generate the DFA we walk the table of ideal opcode/MatchList |
70 | // pairs generated by the ADLC front end to build the contents of the case |
71 | // statements (a series of if statements). |
72 | |
73 | |
74 | void State::_sub_Op_RegN(const Node *n){ |
75 | { |
76 | unsigned int c = 0; |
77 | DFA_PRODUCTION__SET_VALID(RAX_REGN, rax_RegN_rule, c) |
78 | } |
79 | { |
80 | unsigned int c = 0; |
81 | DFA_PRODUCTION__SET_VALID(RREGN, rRegN_rule, c) |
82 | } |
83 | } |
84 | void State::_sub_Op_RegI(const Node *n){ |
85 | { |
86 | unsigned int c = 0; |
87 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, no_rax_rdx_RegI_rule, c) |
88 | } |
89 | { |
90 | unsigned int c = 0; |
91 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, no_rcx_RegI_rule, c) |
92 | } |
93 | { |
94 | unsigned int c = 0; |
95 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rdi_RegI_rule, c) |
96 | DFA_PRODUCTION__SET_VALID(RREGI, rRegI_rule, c) |
97 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
98 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rax_RegI_rule, c) |
99 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rbx_RegI_rule, c) |
100 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rcx_RegI_rule, c) |
101 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rdx_RegI_rule, c) |
102 | } |
103 | { |
104 | unsigned int c = 0; |
105 | } |
106 | { |
107 | unsigned int c = 0; |
108 | } |
109 | { |
110 | unsigned int c = 0; |
111 | } |
112 | { |
113 | unsigned int c = 0; |
114 | } |
115 | { |
116 | unsigned int c = 0; |
117 | } |
118 | } |
119 | void State::_sub_Op_RegP(const Node *n){ |
120 | { |
121 | unsigned int c = 0; |
122 | DFA_PRODUCTION__SET_VALID(R15_REGP, r15_RegP_rule, c) |
123 | DFA_PRODUCTION__SET_VALID(ANY_REGP, any_RegP_rule, c) |
124 | DFA_PRODUCTION__SET_VALID(INDIRECT, indirect_rule, c) |
125 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
126 | DFA_PRODUCTION__SET_VALID(RREGP, rRegP_rule, c) |
127 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
128 | DFA_PRODUCTION__SET_VALID(RAX_REGP, rax_RegP_rule, c) |
129 | DFA_PRODUCTION__SET_VALID(RBX_REGP, rbx_RegP_rule, c) |
130 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, no_rax_RegP_rule, c) |
131 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, no_rbp_RegP_rule, c) |
132 | DFA_PRODUCTION__SET_VALID(RSI_REGP, rsi_RegP_rule, c) |
133 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, no_rax_rbx_RegP_rule, c) |
134 | DFA_PRODUCTION__SET_VALID(RDI_REGP, rdi_RegP_rule, c) |
135 | } |
136 | { |
137 | unsigned int c = 0; |
138 | } |
139 | { |
140 | unsigned int c = 0; |
141 | } |
142 | { |
143 | unsigned int c = 0; |
144 | } |
145 | { |
146 | unsigned int c = 0; |
147 | } |
148 | { |
149 | unsigned int c = 0; |
150 | } |
151 | { |
152 | unsigned int c = 0; |
153 | } |
154 | { |
155 | unsigned int c = 0; |
156 | } |
157 | { |
158 | unsigned int c = 0; |
159 | } |
160 | { |
161 | unsigned int c = 0; |
162 | } |
163 | } |
164 | void State::_sub_Op_RegF(const Node *n){ |
165 | { |
166 | unsigned int c = 0; |
167 | DFA_PRODUCTION__SET_VALID(VLREGF, vlRegF_rule, c) |
168 | DFA_PRODUCTION__SET_VALID(REGF, MoveVL2F_rule, c+100) |
169 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100+100) |
170 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
171 | } |
172 | { |
173 | unsigned int c = 0; |
174 | DFA_PRODUCTION(LEGREGF, legRegF_rule, c) // overwrites higher cost rule |
175 | } |
176 | { |
177 | unsigned int c = 0; |
178 | DFA_PRODUCTION(REGF, regF_rule, c) // overwrites higher cost rule |
179 | DFA_PRODUCTION(STACKSLOTF, storeSSF_rule, c+95) // overwrites higher cost rule |
180 | } |
181 | } |
182 | void State::_sub_Op_RegD(const Node *n){ |
183 | { |
184 | unsigned int c = 0; |
185 | DFA_PRODUCTION__SET_VALID(VLREGD, vlRegD_rule, c) |
186 | DFA_PRODUCTION__SET_VALID(REGD, MoveVL2D_rule, c+100) |
187 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100+100) |
188 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
189 | } |
190 | { |
191 | unsigned int c = 0; |
192 | DFA_PRODUCTION(LEGREGD, legRegD_rule, c) // overwrites higher cost rule |
193 | } |
194 | { |
195 | unsigned int c = 0; |
196 | DFA_PRODUCTION(REGD, regD_rule, c) // overwrites higher cost rule |
197 | DFA_PRODUCTION(STACKSLOTD, storeSSD_rule, c+95) // overwrites higher cost rule |
198 | } |
199 | } |
200 | void State::_sub_Op_RegL(const Node *n){ |
201 | { |
202 | unsigned int c = 0; |
203 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rdx_RegL_rule, c) |
204 | DFA_PRODUCTION__SET_VALID(RREGL, rRegL_rule, c) |
205 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
206 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, no_rax_rdx_RegL_rule, c) |
207 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, no_rax_RegL_rule, c) |
208 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, no_rcx_RegL_rule, c) |
209 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rax_RegL_rule, c) |
210 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rcx_RegL_rule, c) |
211 | } |
212 | { |
213 | unsigned int c = 0; |
214 | } |
215 | { |
216 | unsigned int c = 0; |
217 | } |
218 | { |
219 | unsigned int c = 0; |
220 | } |
221 | { |
222 | unsigned int c = 0; |
223 | } |
224 | { |
225 | unsigned int c = 0; |
226 | } |
227 | { |
228 | unsigned int c = 0; |
229 | } |
230 | } |
231 | void State::_sub_Op_RegFlags(const Node *n){ |
232 | if( |
233 | #line 3630 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
234 | false |
235 | #line 235 "dfa_x86.cpp" |
236 | ) { |
237 | unsigned int c = 0; |
238 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, rFlagsRegUCF_rule, c) |
239 | } |
240 | { |
241 | unsigned int c = 0; |
242 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, rFlagsRegU_rule, c) |
243 | } |
244 | { |
245 | unsigned int c = 0; |
246 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, rFlagsReg_rule, c) |
247 | } |
248 | } |
249 | void State::_sub_Op_VecS(const Node *n){ |
250 | { |
251 | unsigned int c = 0; |
252 | DFA_PRODUCTION__SET_VALID(LEGVECS, legVecS_rule, c) |
253 | DFA_PRODUCTION__SET_VALID(VECS, MoveLeg2VecS_rule, c+100) |
254 | } |
255 | { |
256 | unsigned int c = 0; |
257 | DFA_PRODUCTION(VECS, vecS_rule, c) // overwrites higher cost rule |
258 | } |
259 | } |
260 | void State::_sub_Op_VecD(const Node *n){ |
261 | { |
262 | unsigned int c = 0; |
263 | DFA_PRODUCTION__SET_VALID(LEGVECD, legVecD_rule, c) |
264 | DFA_PRODUCTION__SET_VALID(VECD, MoveLeg2VecD_rule, c+100) |
265 | } |
266 | { |
267 | unsigned int c = 0; |
268 | DFA_PRODUCTION(VECD, vecD_rule, c) // overwrites higher cost rule |
269 | } |
270 | } |
271 | void State::_sub_Op_VecX(const Node *n){ |
272 | { |
273 | unsigned int c = 0; |
274 | DFA_PRODUCTION__SET_VALID(RXMM31, rxmm31_rule, c) |
275 | } |
276 | { |
277 | unsigned int c = 0; |
278 | DFA_PRODUCTION__SET_VALID(RXMM30, rxmm30_rule, c) |
279 | } |
280 | { |
281 | unsigned int c = 0; |
282 | DFA_PRODUCTION__SET_VALID(RXMM29, rxmm29_rule, c) |
283 | } |
284 | { |
285 | unsigned int c = 0; |
286 | DFA_PRODUCTION__SET_VALID(RXMM28, rxmm28_rule, c) |
287 | } |
288 | { |
289 | unsigned int c = 0; |
290 | DFA_PRODUCTION__SET_VALID(RXMM27, rxmm27_rule, c) |
291 | } |
292 | { |
293 | unsigned int c = 0; |
294 | DFA_PRODUCTION__SET_VALID(RXMM26, rxmm26_rule, c) |
295 | } |
296 | { |
297 | unsigned int c = 0; |
298 | DFA_PRODUCTION__SET_VALID(RXMM25, rxmm25_rule, c) |
299 | } |
300 | { |
301 | unsigned int c = 0; |
302 | DFA_PRODUCTION__SET_VALID(RXMM24, rxmm24_rule, c) |
303 | } |
304 | { |
305 | unsigned int c = 0; |
306 | DFA_PRODUCTION__SET_VALID(RXMM23, rxmm23_rule, c) |
307 | } |
308 | { |
309 | unsigned int c = 0; |
310 | DFA_PRODUCTION__SET_VALID(RXMM22, rxmm22_rule, c) |
311 | } |
312 | { |
313 | unsigned int c = 0; |
314 | DFA_PRODUCTION__SET_VALID(RXMM21, rxmm21_rule, c) |
315 | } |
316 | { |
317 | unsigned int c = 0; |
318 | DFA_PRODUCTION__SET_VALID(RXMM20, rxmm20_rule, c) |
319 | } |
320 | { |
321 | unsigned int c = 0; |
322 | DFA_PRODUCTION__SET_VALID(RXMM19, rxmm19_rule, c) |
323 | } |
324 | { |
325 | unsigned int c = 0; |
326 | DFA_PRODUCTION__SET_VALID(RXMM18, rxmm18_rule, c) |
327 | } |
328 | { |
329 | unsigned int c = 0; |
330 | DFA_PRODUCTION__SET_VALID(RXMM17, rxmm17_rule, c) |
331 | } |
332 | { |
333 | unsigned int c = 0; |
334 | DFA_PRODUCTION__SET_VALID(RXMM16, rxmm16_rule, c) |
335 | } |
336 | { |
337 | unsigned int c = 0; |
338 | DFA_PRODUCTION__SET_VALID(RXMM15, rxmm15_rule, c) |
339 | } |
340 | { |
341 | unsigned int c = 0; |
342 | DFA_PRODUCTION__SET_VALID(RXMM14, rxmm14_rule, c) |
343 | } |
344 | { |
345 | unsigned int c = 0; |
346 | DFA_PRODUCTION__SET_VALID(RXMM13, rxmm13_rule, c) |
347 | } |
348 | { |
349 | unsigned int c = 0; |
350 | DFA_PRODUCTION__SET_VALID(RXMM12, rxmm12_rule, c) |
351 | } |
352 | { |
353 | unsigned int c = 0; |
354 | DFA_PRODUCTION__SET_VALID(RXMM11, rxmm11_rule, c) |
355 | } |
356 | { |
357 | unsigned int c = 0; |
358 | DFA_PRODUCTION__SET_VALID(RXMM10, rxmm10_rule, c) |
359 | } |
360 | { |
361 | unsigned int c = 0; |
362 | DFA_PRODUCTION__SET_VALID(RXMM9, rxmm9_rule, c) |
363 | } |
364 | { |
365 | unsigned int c = 0; |
366 | DFA_PRODUCTION__SET_VALID(RXMM8, rxmm8_rule, c) |
367 | } |
368 | { |
369 | unsigned int c = 0; |
370 | DFA_PRODUCTION__SET_VALID(RXMM7, rxmm7_rule, c) |
371 | } |
372 | { |
373 | unsigned int c = 0; |
374 | DFA_PRODUCTION__SET_VALID(RXMM6, rxmm6_rule, c) |
375 | } |
376 | { |
377 | unsigned int c = 0; |
378 | DFA_PRODUCTION__SET_VALID(RXMM5, rxmm5_rule, c) |
379 | } |
380 | { |
381 | unsigned int c = 0; |
382 | DFA_PRODUCTION__SET_VALID(RXMM4, rxmm4_rule, c) |
383 | } |
384 | { |
385 | unsigned int c = 0; |
386 | DFA_PRODUCTION__SET_VALID(RXMM3, rxmm3_rule, c) |
387 | } |
388 | { |
389 | unsigned int c = 0; |
390 | DFA_PRODUCTION__SET_VALID(RXMM2, rxmm2_rule, c) |
391 | } |
392 | { |
393 | unsigned int c = 0; |
394 | DFA_PRODUCTION__SET_VALID(RXMM1, rxmm1_rule, c) |
395 | } |
396 | { |
397 | unsigned int c = 0; |
398 | DFA_PRODUCTION__SET_VALID(RXMM0, rxmm0_rule, c) |
399 | } |
400 | { |
401 | unsigned int c = 0; |
402 | DFA_PRODUCTION__SET_VALID(LEGVECX, legVecX_rule, c) |
403 | DFA_PRODUCTION__SET_VALID(VECX, MoveLeg2VecX_rule, c+100) |
404 | } |
405 | { |
406 | unsigned int c = 0; |
407 | DFA_PRODUCTION(VECX, vecX_rule, c) // overwrites higher cost rule |
408 | } |
409 | } |
410 | void State::_sub_Op_VecY(const Node *n){ |
411 | { |
412 | unsigned int c = 0; |
413 | DFA_PRODUCTION__SET_VALID(LEGVECY, legVecY_rule, c) |
414 | DFA_PRODUCTION__SET_VALID(VECY, MoveLeg2VecY_rule, c+100) |
415 | } |
416 | { |
417 | unsigned int c = 0; |
418 | DFA_PRODUCTION(VECY, vecY_rule, c) // overwrites higher cost rule |
419 | } |
420 | } |
421 | void State::_sub_Op_VecZ(const Node *n){ |
422 | { |
423 | unsigned int c = 0; |
424 | DFA_PRODUCTION__SET_VALID(LEGVECZ, legVecZ_rule, c) |
425 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
426 | } |
427 | { |
428 | unsigned int c = 0; |
429 | DFA_PRODUCTION(VECZ, vecZ_rule, c) // overwrites higher cost rule |
430 | } |
431 | } |
432 | void State::_sub_Op_AbsD(const Node *n){ |
433 | if( STATE__VALID_CHILD(_kids[0], VLREGD) && |
434 | ( |
435 | #line 2718 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
436 | UseAVX > 0 |
437 | #line 437 "dfa_x86.cpp" |
438 | ) ) { |
439 | unsigned int c = _kids[0]->_cost[VLREGD]+150; |
440 | DFA_PRODUCTION__SET_VALID(VLREGD, absD_reg_reg_rule, c) |
441 | DFA_PRODUCTION__SET_VALID(REGD, MoveVL2D_rule, c+100) |
442 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100+100) |
443 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
444 | } |
445 | if( STATE__VALID_CHILD(_kids[0], REGD) && |
446 | ( |
447 | #line 2706 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
448 | (UseSSE>=2) && (UseAVX == 0) |
449 | #line 449 "dfa_x86.cpp" |
450 | ) ) { |
451 | unsigned int c = _kids[0]->_cost[REGD]+150; |
452 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
453 | DFA_PRODUCTION__SET_VALID(REGD, absD_reg_rule, c) |
454 | } |
455 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
456 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
457 | } |
458 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
459 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
460 | } |
461 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
462 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
463 | } |
464 | } |
465 | } |
466 | void State::_sub_Op_AbsF(const Node *n){ |
467 | if( STATE__VALID_CHILD(_kids[0], VLREGF) && |
468 | ( |
469 | #line 2693 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
470 | UseAVX > 0 |
471 | #line 471 "dfa_x86.cpp" |
472 | ) ) { |
473 | unsigned int c = _kids[0]->_cost[VLREGF]+150; |
474 | DFA_PRODUCTION__SET_VALID(VLREGF, absF_reg_reg_rule, c) |
475 | DFA_PRODUCTION__SET_VALID(REGF, MoveVL2F_rule, c+100) |
476 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100+100) |
477 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
478 | } |
479 | if( STATE__VALID_CHILD(_kids[0], REGF) && |
480 | ( |
481 | #line 2682 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
482 | (UseSSE>=1) && (UseAVX == 0) |
483 | #line 483 "dfa_x86.cpp" |
484 | ) ) { |
485 | unsigned int c = _kids[0]->_cost[REGF]+150; |
486 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
487 | DFA_PRODUCTION__SET_VALID(REGF, absF_reg_rule, c) |
488 | } |
489 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
490 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
491 | } |
492 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
493 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
494 | } |
495 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
496 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
497 | } |
498 | } |
499 | } |
500 | void State::_sub_Op_AbsI(const Node *n){ |
501 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
502 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
503 | DFA_PRODUCTION__SET_VALID(RREGI, absI_rReg_rule, c) |
504 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
505 | DFA_PRODUCTION__SET_VALID(RAX_REGI, absI_rReg_rule, c) |
506 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, absI_rReg_rule, c) |
507 | DFA_PRODUCTION__SET_VALID(RBX_REGI, absI_rReg_rule, c) |
508 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, absI_rReg_rule, c) |
509 | DFA_PRODUCTION__SET_VALID(RCX_REGI, absI_rReg_rule, c) |
510 | DFA_PRODUCTION__SET_VALID(RDX_REGI, absI_rReg_rule, c) |
511 | DFA_PRODUCTION__SET_VALID(RDI_REGI, absI_rReg_rule, c) |
512 | } |
513 | } |
514 | void State::_sub_Op_AbsL(const Node *n){ |
515 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
516 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
517 | DFA_PRODUCTION__SET_VALID(RREGL, absL_rReg_rule, c) |
518 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
519 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, absL_rReg_rule, c) |
520 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, absL_rReg_rule, c) |
521 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, absL_rReg_rule, c) |
522 | DFA_PRODUCTION__SET_VALID(RAX_REGL, absL_rReg_rule, c) |
523 | DFA_PRODUCTION__SET_VALID(RCX_REGL, absL_rReg_rule, c) |
524 | DFA_PRODUCTION__SET_VALID(RDX_REGL, absL_rReg_rule, c) |
525 | } |
526 | } |
527 | void State::_sub_Op_AddD(const Node *n){ |
528 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
529 | ( |
530 | #line 2244 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
531 | UseAVX > 0 |
532 | #line 532 "dfa_x86.cpp" |
533 | ) ) { |
534 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
535 | DFA_PRODUCTION__SET_VALID(REGD, addD_reg_imm_rule, c) |
536 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
537 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
538 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
539 | } |
540 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGD) && |
541 | ( |
542 | #line 2232 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
543 | UseAVX > 0 |
544 | #line 544 "dfa_x86.cpp" |
545 | ) ) { |
546 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+_kids[1]->_cost[REGD]+150; |
547 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
548 | DFA_PRODUCTION__SET_VALID(REGD, addD_reg_mem_0_rule, c) |
549 | } |
550 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
551 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
552 | } |
553 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
554 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
555 | } |
556 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
557 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
558 | } |
559 | } |
560 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
561 | ( |
562 | #line 2232 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
563 | UseAVX > 0 |
564 | #line 564 "dfa_x86.cpp" |
565 | ) ) { |
566 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
567 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
568 | DFA_PRODUCTION__SET_VALID(REGD, addD_reg_mem_rule, c) |
569 | } |
570 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
571 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
572 | } |
573 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
574 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
575 | } |
576 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
577 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
578 | } |
579 | } |
580 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
581 | ( |
582 | #line 2220 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
583 | UseAVX > 0 |
584 | #line 584 "dfa_x86.cpp" |
585 | ) ) { |
586 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
587 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
588 | DFA_PRODUCTION__SET_VALID(REGD, addD_reg_reg_rule, c) |
589 | } |
590 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
591 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
592 | } |
593 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
594 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
595 | } |
596 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
597 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
598 | } |
599 | } |
600 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
601 | ( |
602 | #line 2209 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
603 | (UseSSE>=2) && (UseAVX == 0) |
604 | #line 604 "dfa_x86.cpp" |
605 | ) ) { |
606 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
607 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
608 | DFA_PRODUCTION__SET_VALID(REGD, addD_imm_rule, c) |
609 | } |
610 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
611 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
612 | } |
613 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
614 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
615 | } |
616 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
617 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
618 | } |
619 | } |
620 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGD) && |
621 | ( |
622 | #line 2197 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
623 | (UseSSE>=2) && (UseAVX == 0) |
624 | #line 624 "dfa_x86.cpp" |
625 | ) ) { |
626 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+_kids[1]->_cost[REGD]+150; |
627 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
628 | DFA_PRODUCTION__SET_VALID(REGD, addD_mem_0_rule, c) |
629 | } |
630 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
631 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
632 | } |
633 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
634 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
635 | } |
636 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
637 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
638 | } |
639 | } |
640 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
641 | ( |
642 | #line 2197 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
643 | (UseSSE>=2) && (UseAVX == 0) |
644 | #line 644 "dfa_x86.cpp" |
645 | ) ) { |
646 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
647 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
648 | DFA_PRODUCTION__SET_VALID(REGD, addD_mem_rule, c) |
649 | } |
650 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
651 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
652 | } |
653 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
654 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
655 | } |
656 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
657 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
658 | } |
659 | } |
660 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
661 | ( |
662 | #line 2185 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
663 | (UseSSE>=2) && (UseAVX == 0) |
664 | #line 664 "dfa_x86.cpp" |
665 | ) ) { |
666 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
667 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
668 | DFA_PRODUCTION__SET_VALID(REGD, addD_reg_rule, c) |
669 | } |
670 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
671 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
672 | } |
673 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
674 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
675 | } |
676 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
677 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
678 | } |
679 | } |
680 | } |
681 | void State::_sub_Op_AddF(const Node *n){ |
682 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
683 | ( |
684 | #line 2173 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
685 | UseAVX > 0 |
686 | #line 686 "dfa_x86.cpp" |
687 | ) ) { |
688 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
689 | DFA_PRODUCTION__SET_VALID(REGF, addF_reg_imm_rule, c) |
690 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
691 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
692 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
693 | } |
694 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGF) && |
695 | ( |
696 | #line 2161 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
697 | UseAVX > 0 |
698 | #line 698 "dfa_x86.cpp" |
699 | ) ) { |
700 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+_kids[1]->_cost[REGF]+150; |
701 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
702 | DFA_PRODUCTION__SET_VALID(REGF, addF_reg_mem_0_rule, c) |
703 | } |
704 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
705 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
706 | } |
707 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
708 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
709 | } |
710 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
711 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
712 | } |
713 | } |
714 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
715 | ( |
716 | #line 2161 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
717 | UseAVX > 0 |
718 | #line 718 "dfa_x86.cpp" |
719 | ) ) { |
720 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
721 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
722 | DFA_PRODUCTION__SET_VALID(REGF, addF_reg_mem_rule, c) |
723 | } |
724 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
725 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
726 | } |
727 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
728 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
729 | } |
730 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
731 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
732 | } |
733 | } |
734 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
735 | ( |
736 | #line 2149 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
737 | UseAVX > 0 |
738 | #line 738 "dfa_x86.cpp" |
739 | ) ) { |
740 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
741 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
742 | DFA_PRODUCTION__SET_VALID(REGF, addF_reg_reg_rule, c) |
743 | } |
744 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
745 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
746 | } |
747 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
748 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
749 | } |
750 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
751 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
752 | } |
753 | } |
754 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
755 | ( |
756 | #line 2138 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
757 | (UseSSE>=1) && (UseAVX == 0) |
758 | #line 758 "dfa_x86.cpp" |
759 | ) ) { |
760 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
761 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
762 | DFA_PRODUCTION__SET_VALID(REGF, addF_imm_rule, c) |
763 | } |
764 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
765 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
766 | } |
767 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
768 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
769 | } |
770 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
771 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
772 | } |
773 | } |
774 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGF) && |
775 | ( |
776 | #line 2126 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
777 | (UseSSE>=1) && (UseAVX == 0) |
778 | #line 778 "dfa_x86.cpp" |
779 | ) ) { |
780 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+_kids[1]->_cost[REGF]+150; |
781 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
782 | DFA_PRODUCTION__SET_VALID(REGF, addF_mem_0_rule, c) |
783 | } |
784 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
785 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
786 | } |
787 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
788 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
789 | } |
790 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
791 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
792 | } |
793 | } |
794 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
795 | ( |
796 | #line 2126 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
797 | (UseSSE>=1) && (UseAVX == 0) |
798 | #line 798 "dfa_x86.cpp" |
799 | ) ) { |
800 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
801 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
802 | DFA_PRODUCTION__SET_VALID(REGF, addF_mem_rule, c) |
803 | } |
804 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
805 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
806 | } |
807 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
808 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
809 | } |
810 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
811 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
812 | } |
813 | } |
814 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
815 | ( |
816 | #line 2114 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
817 | (UseSSE>=1) && (UseAVX == 0) |
818 | #line 818 "dfa_x86.cpp" |
819 | ) ) { |
820 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
821 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
822 | DFA_PRODUCTION__SET_VALID(REGF, addF_reg_rule, c) |
823 | } |
824 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
825 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
826 | } |
827 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
828 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
829 | } |
830 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
831 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
832 | } |
833 | } |
834 | } |
835 | void State::_sub_Op_AddI(const Node *n){ |
836 | if( STATE__VALID_CHILD(_kids[0], _SUBI_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], _ANDI_RREGI__CMPLTMASK_RREGI_RREGI) && |
837 | /*p*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) && /*q*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
838 | unsigned int c = _kids[0]->_cost[_SUBI_RREGI_RREGI]+_kids[1]->_cost[_ANDI_RREGI__CMPLTMASK_RREGI_RREGI]+300; |
839 | DFA_PRODUCTION__SET_VALID(RREGI, cadd_cmpLTMask_2_rule, c) |
840 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
841 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cadd_cmpLTMask_2_rule, c) |
842 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cadd_cmpLTMask_2_rule, c) |
843 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cadd_cmpLTMask_2_rule, c) |
844 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cadd_cmpLTMask_2_rule, c) |
845 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cadd_cmpLTMask_2_rule, c) |
846 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cadd_cmpLTMask_2_rule, c) |
847 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cadd_cmpLTMask_2_rule, c) |
848 | } |
849 | if( STATE__VALID_CHILD(_kids[0], _ANDI_RREGI__CMPLTMASK_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], _SUBI_RREGI_RREGI) && |
850 | /*p*/(_kids[0]->_kids[1]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*q*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
851 | unsigned int c = _kids[0]->_cost[_ANDI_RREGI__CMPLTMASK_RREGI_RREGI]+_kids[1]->_cost[_SUBI_RREGI_RREGI]+300; |
852 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
853 | DFA_PRODUCTION__SET_VALID(RREGI, cadd_cmpLTMask_0_rule, c) |
854 | } |
855 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
856 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
857 | } |
858 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
859 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cadd_cmpLTMask_0_rule, c) |
860 | } |
861 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
862 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cadd_cmpLTMask_0_rule, c) |
863 | } |
864 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
865 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cadd_cmpLTMask_0_rule, c) |
866 | } |
867 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
868 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cadd_cmpLTMask_0_rule, c) |
869 | } |
870 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
871 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cadd_cmpLTMask_0_rule, c) |
872 | } |
873 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
874 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cadd_cmpLTMask_0_rule, c) |
875 | } |
876 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
877 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cadd_cmpLTMask_0_rule, c) |
878 | } |
879 | } |
880 | if( STATE__VALID_CHILD(_kids[0], _SUBI_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], _ANDI__CMPLTMASK_RREGI_RREGI_RREGI) && |
881 | /*p*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) && /*q*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[0]->_kids[1]->_leaf) ) { |
882 | unsigned int c = _kids[0]->_cost[_SUBI_RREGI_RREGI]+_kids[1]->_cost[_ANDI__CMPLTMASK_RREGI_RREGI_RREGI]+300; |
883 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
884 | DFA_PRODUCTION__SET_VALID(RREGI, cadd_cmpLTMask_1_rule, c) |
885 | } |
886 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
887 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
888 | } |
889 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
890 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cadd_cmpLTMask_1_rule, c) |
891 | } |
892 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
893 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cadd_cmpLTMask_1_rule, c) |
894 | } |
895 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
896 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cadd_cmpLTMask_1_rule, c) |
897 | } |
898 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
899 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cadd_cmpLTMask_1_rule, c) |
900 | } |
901 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
902 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cadd_cmpLTMask_1_rule, c) |
903 | } |
904 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
905 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cadd_cmpLTMask_1_rule, c) |
906 | } |
907 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
908 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cadd_cmpLTMask_1_rule, c) |
909 | } |
910 | } |
911 | if( STATE__VALID_CHILD(_kids[0], _ANDI__CMPLTMASK_RREGI_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], _SUBI_RREGI_RREGI) && |
912 | /*p*/(_kids[0]->_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*q*/(_kids[0]->_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
913 | unsigned int c = _kids[0]->_cost[_ANDI__CMPLTMASK_RREGI_RREGI_RREGI]+_kids[1]->_cost[_SUBI_RREGI_RREGI]+300; |
914 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
915 | DFA_PRODUCTION__SET_VALID(RREGI, cadd_cmpLTMask_rule, c) |
916 | } |
917 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
918 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
919 | } |
920 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
921 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cadd_cmpLTMask_rule, c) |
922 | } |
923 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
924 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cadd_cmpLTMask_rule, c) |
925 | } |
926 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
927 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cadd_cmpLTMask_rule, c) |
928 | } |
929 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
930 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cadd_cmpLTMask_rule, c) |
931 | } |
932 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
933 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cadd_cmpLTMask_rule, c) |
934 | } |
935 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
936 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cadd_cmpLTMask_rule, c) |
937 | } |
938 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
939 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cadd_cmpLTMask_rule, c) |
940 | } |
941 | } |
942 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
943 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_M1]; |
944 | DFA_PRODUCTION__SET_VALID(_ADDI_RREGI_IMMI_M1, _AddI_rRegI_immI_M1_rule, c) |
945 | } |
946 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
947 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_M1]; |
948 | DFA_PRODUCTION__SET_VALID(_ADDI__LOADI_MEMORY__IMMI_M1, _AddI__LoadI_memory__immI_M1_rule, c) |
949 | } |
950 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_M1) && |
951 | ( |
952 | #line 7502 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
953 | UseIncDec |
954 | #line 954 "dfa_x86.cpp" |
955 | ) ) { |
956 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_M1]+100; |
957 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
958 | DFA_PRODUCTION__SET_VALID(RREGI, decI_rReg_rule, c) |
959 | } |
960 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
961 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
962 | } |
963 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
964 | DFA_PRODUCTION__SET_VALID(RAX_REGI, decI_rReg_rule, c) |
965 | } |
966 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
967 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, decI_rReg_rule, c) |
968 | } |
969 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
970 | DFA_PRODUCTION__SET_VALID(RBX_REGI, decI_rReg_rule, c) |
971 | } |
972 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
973 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, decI_rReg_rule, c) |
974 | } |
975 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
976 | DFA_PRODUCTION__SET_VALID(RCX_REGI, decI_rReg_rule, c) |
977 | } |
978 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
979 | DFA_PRODUCTION__SET_VALID(RDX_REGI, decI_rReg_rule, c) |
980 | } |
981 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
982 | DFA_PRODUCTION__SET_VALID(RDI_REGI, decI_rReg_rule, c) |
983 | } |
984 | } |
985 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
986 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI1]; |
987 | DFA_PRODUCTION__SET_VALID(_ADDI__LOADI_MEMORY__IMMI1, _AddI__LoadI_memory__immI1_rule, c) |
988 | } |
989 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI1) && |
990 | ( |
991 | #line 7476 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
992 | UseIncDec |
993 | #line 993 "dfa_x86.cpp" |
994 | ) ) { |
995 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI1]+100; |
996 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
997 | DFA_PRODUCTION__SET_VALID(RREGI, incI_rReg_rule, c) |
998 | } |
999 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
1000 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
1001 | } |
1002 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
1003 | DFA_PRODUCTION__SET_VALID(RAX_REGI, incI_rReg_rule, c) |
1004 | } |
1005 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
1006 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, incI_rReg_rule, c) |
1007 | } |
1008 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
1009 | DFA_PRODUCTION__SET_VALID(RBX_REGI, incI_rReg_rule, c) |
1010 | } |
1011 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
1012 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, incI_rReg_rule, c) |
1013 | } |
1014 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
1015 | DFA_PRODUCTION__SET_VALID(RCX_REGI, incI_rReg_rule, c) |
1016 | } |
1017 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
1018 | DFA_PRODUCTION__SET_VALID(RDX_REGI, incI_rReg_rule, c) |
1019 | } |
1020 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
1021 | DFA_PRODUCTION__SET_VALID(RDI_REGI, incI_rReg_rule, c) |
1022 | } |
1023 | } |
1024 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
1025 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI]; |
1026 | DFA_PRODUCTION__SET_VALID(_ADDI__LOADI_MEMORY__IMMI, _AddI__LoadI_memory__immI_rule, c) |
1027 | } |
1028 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
1029 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]; |
1030 | DFA_PRODUCTION__SET_VALID(_ADDI_RREGI__LOADI_MEMORY_, _AddI_rRegI__LoadI_memory__rule, c) |
1031 | } |
1032 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
1033 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]; |
1034 | DFA_PRODUCTION__SET_VALID(_ADDI__LOADI_MEMORY__RREGI, _AddI__LoadI_memory__rRegI_rule, c) |
1035 | } |
1036 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
1037 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]+125; |
1038 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
1039 | DFA_PRODUCTION__SET_VALID(RREGI, addI_rReg_mem_0_rule, c) |
1040 | } |
1041 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
1042 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
1043 | } |
1044 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
1045 | DFA_PRODUCTION__SET_VALID(RAX_REGI, addI_rReg_mem_0_rule, c) |
1046 | } |
1047 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
1048 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, addI_rReg_mem_0_rule, c) |
1049 | } |
1050 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
1051 | DFA_PRODUCTION__SET_VALID(RBX_REGI, addI_rReg_mem_0_rule, c) |
1052 | } |
1053 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
1054 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, addI_rReg_mem_0_rule, c) |
1055 | } |
1056 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
1057 | DFA_PRODUCTION__SET_VALID(RCX_REGI, addI_rReg_mem_0_rule, c) |
1058 | } |
1059 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
1060 | DFA_PRODUCTION__SET_VALID(RDX_REGI, addI_rReg_mem_0_rule, c) |
1061 | } |
1062 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
1063 | DFA_PRODUCTION__SET_VALID(RDI_REGI, addI_rReg_mem_0_rule, c) |
1064 | } |
1065 | } |
1066 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
1067 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
1068 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
1069 | DFA_PRODUCTION__SET_VALID(RREGI, addI_rReg_mem_rule, c) |
1070 | } |
1071 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
1072 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
1073 | } |
1074 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
1075 | DFA_PRODUCTION__SET_VALID(RAX_REGI, addI_rReg_mem_rule, c) |
1076 | } |
1077 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
1078 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, addI_rReg_mem_rule, c) |
1079 | } |
1080 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
1081 | DFA_PRODUCTION__SET_VALID(RBX_REGI, addI_rReg_mem_rule, c) |
1082 | } |
1083 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
1084 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, addI_rReg_mem_rule, c) |
1085 | } |
1086 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
1087 | DFA_PRODUCTION__SET_VALID(RCX_REGI, addI_rReg_mem_rule, c) |
1088 | } |
1089 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
1090 | DFA_PRODUCTION__SET_VALID(RDX_REGI, addI_rReg_mem_rule, c) |
1091 | } |
1092 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
1093 | DFA_PRODUCTION__SET_VALID(RDI_REGI, addI_rReg_mem_rule, c) |
1094 | } |
1095 | } |
1096 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
1097 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
1098 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
1099 | DFA_PRODUCTION__SET_VALID(RREGI, addI_rReg_imm_rule, c) |
1100 | } |
1101 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
1102 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
1103 | } |
1104 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
1105 | DFA_PRODUCTION__SET_VALID(RAX_REGI, addI_rReg_imm_rule, c) |
1106 | } |
1107 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
1108 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, addI_rReg_imm_rule, c) |
1109 | } |
1110 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
1111 | DFA_PRODUCTION__SET_VALID(RBX_REGI, addI_rReg_imm_rule, c) |
1112 | } |
1113 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
1114 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, addI_rReg_imm_rule, c) |
1115 | } |
1116 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
1117 | DFA_PRODUCTION__SET_VALID(RCX_REGI, addI_rReg_imm_rule, c) |
1118 | } |
1119 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
1120 | DFA_PRODUCTION__SET_VALID(RDX_REGI, addI_rReg_imm_rule, c) |
1121 | } |
1122 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
1123 | DFA_PRODUCTION__SET_VALID(RDI_REGI, addI_rReg_imm_rule, c) |
1124 | } |
1125 | } |
1126 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
1127 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
1128 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
1129 | DFA_PRODUCTION__SET_VALID(RREGI, addI_rReg_rule, c) |
1130 | } |
1131 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
1132 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
1133 | } |
1134 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
1135 | DFA_PRODUCTION__SET_VALID(RAX_REGI, addI_rReg_rule, c) |
1136 | } |
1137 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
1138 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, addI_rReg_rule, c) |
1139 | } |
1140 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
1141 | DFA_PRODUCTION__SET_VALID(RBX_REGI, addI_rReg_rule, c) |
1142 | } |
1143 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
1144 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, addI_rReg_rule, c) |
1145 | } |
1146 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
1147 | DFA_PRODUCTION__SET_VALID(RCX_REGI, addI_rReg_rule, c) |
1148 | } |
1149 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
1150 | DFA_PRODUCTION__SET_VALID(RDX_REGI, addI_rReg_rule, c) |
1151 | } |
1152 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
1153 | DFA_PRODUCTION__SET_VALID(RDI_REGI, addI_rReg_rule, c) |
1154 | } |
1155 | } |
1156 | } |
1157 | void State::_sub_Op_AddL(const Node *n){ |
1158 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_M1) ) { |
1159 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_M1]; |
1160 | DFA_PRODUCTION__SET_VALID(_ADDL_RREGL_IMML_M1, _AddL_rRegL_immL_M1_rule, c) |
1161 | } |
1162 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML_M1) ) { |
1163 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML_M1]; |
1164 | DFA_PRODUCTION__SET_VALID(_ADDL__LOADL_MEMORY__IMML_M1, _AddL__LoadL_memory__immL_M1_rule, c) |
1165 | } |
1166 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_M1) && |
1167 | ( |
1168 | #line 7624 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1169 | UseIncDec |
1170 | #line 1170 "dfa_x86.cpp" |
1171 | ) ) { |
1172 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_M1]+100; |
1173 | DFA_PRODUCTION__SET_VALID(RREGL, decL_rReg_rule, c) |
1174 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
1175 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, decL_rReg_rule, c) |
1176 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, decL_rReg_rule, c) |
1177 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, decL_rReg_rule, c) |
1178 | DFA_PRODUCTION__SET_VALID(RAX_REGL, decL_rReg_rule, c) |
1179 | DFA_PRODUCTION__SET_VALID(RCX_REGL, decL_rReg_rule, c) |
1180 | DFA_PRODUCTION__SET_VALID(RDX_REGL, decL_rReg_rule, c) |
1181 | } |
1182 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML1) ) { |
1183 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML1]; |
1184 | DFA_PRODUCTION__SET_VALID(_ADDL__LOADL_MEMORY__IMML1, _AddL__LoadL_memory__immL1_rule, c) |
1185 | } |
1186 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMML1) && |
1187 | ( |
1188 | #line 7598 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1189 | UseIncDec |
1190 | #line 1190 "dfa_x86.cpp" |
1191 | ) ) { |
1192 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMML1]+100; |
1193 | DFA_PRODUCTION__SET_VALID(RREGI, incL_rReg_rule, c) |
1194 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
1195 | DFA_PRODUCTION__SET_VALID(RAX_REGI, incL_rReg_rule, c) |
1196 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, incL_rReg_rule, c) |
1197 | DFA_PRODUCTION__SET_VALID(RBX_REGI, incL_rReg_rule, c) |
1198 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, incL_rReg_rule, c) |
1199 | DFA_PRODUCTION__SET_VALID(RCX_REGI, incL_rReg_rule, c) |
1200 | DFA_PRODUCTION__SET_VALID(RDX_REGI, incL_rReg_rule, c) |
1201 | DFA_PRODUCTION__SET_VALID(RDI_REGI, incL_rReg_rule, c) |
1202 | } |
1203 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
1204 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML32]; |
1205 | DFA_PRODUCTION__SET_VALID(_ADDL__LOADL_MEMORY__IMML32, _AddL__LoadL_memory__immL32_rule, c) |
1206 | } |
1207 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
1208 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]; |
1209 | DFA_PRODUCTION__SET_VALID(_ADDL_RREGL__LOADL_MEMORY_, _AddL_rRegL__LoadL_memory__rule, c) |
1210 | } |
1211 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
1212 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]; |
1213 | DFA_PRODUCTION__SET_VALID(_ADDL__LOADL_MEMORY__RREGL, _AddL__LoadL_memory__rRegL_rule, c) |
1214 | } |
1215 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
1216 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]+125; |
1217 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
1218 | DFA_PRODUCTION__SET_VALID(RREGL, addL_rReg_mem_0_rule, c) |
1219 | } |
1220 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
1221 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
1222 | } |
1223 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
1224 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, addL_rReg_mem_0_rule, c) |
1225 | } |
1226 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
1227 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, addL_rReg_mem_0_rule, c) |
1228 | } |
1229 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
1230 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, addL_rReg_mem_0_rule, c) |
1231 | } |
1232 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
1233 | DFA_PRODUCTION__SET_VALID(RAX_REGL, addL_rReg_mem_0_rule, c) |
1234 | } |
1235 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
1236 | DFA_PRODUCTION__SET_VALID(RCX_REGL, addL_rReg_mem_0_rule, c) |
1237 | } |
1238 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
1239 | DFA_PRODUCTION__SET_VALID(RDX_REGL, addL_rReg_mem_0_rule, c) |
1240 | } |
1241 | } |
1242 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
1243 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
1244 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
1245 | DFA_PRODUCTION__SET_VALID(RREGL, addL_rReg_mem_rule, c) |
1246 | } |
1247 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
1248 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
1249 | } |
1250 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
1251 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, addL_rReg_mem_rule, c) |
1252 | } |
1253 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
1254 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, addL_rReg_mem_rule, c) |
1255 | } |
1256 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
1257 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, addL_rReg_mem_rule, c) |
1258 | } |
1259 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
1260 | DFA_PRODUCTION__SET_VALID(RAX_REGL, addL_rReg_mem_rule, c) |
1261 | } |
1262 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
1263 | DFA_PRODUCTION__SET_VALID(RCX_REGL, addL_rReg_mem_rule, c) |
1264 | } |
1265 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
1266 | DFA_PRODUCTION__SET_VALID(RDX_REGL, addL_rReg_mem_rule, c) |
1267 | } |
1268 | } |
1269 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
1270 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
1271 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
1272 | DFA_PRODUCTION__SET_VALID(RREGL, addL_rReg_imm_rule, c) |
1273 | } |
1274 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
1275 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
1276 | } |
1277 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
1278 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, addL_rReg_imm_rule, c) |
1279 | } |
1280 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
1281 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, addL_rReg_imm_rule, c) |
1282 | } |
1283 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
1284 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, addL_rReg_imm_rule, c) |
1285 | } |
1286 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
1287 | DFA_PRODUCTION__SET_VALID(RAX_REGL, addL_rReg_imm_rule, c) |
1288 | } |
1289 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
1290 | DFA_PRODUCTION__SET_VALID(RCX_REGL, addL_rReg_imm_rule, c) |
1291 | } |
1292 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
1293 | DFA_PRODUCTION__SET_VALID(RDX_REGL, addL_rReg_imm_rule, c) |
1294 | } |
1295 | } |
1296 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
1297 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
1298 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
1299 | DFA_PRODUCTION__SET_VALID(RREGL, addL_rReg_rule, c) |
1300 | } |
1301 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
1302 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
1303 | } |
1304 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
1305 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, addL_rReg_rule, c) |
1306 | } |
1307 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
1308 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, addL_rReg_rule, c) |
1309 | } |
1310 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
1311 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, addL_rReg_rule, c) |
1312 | } |
1313 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
1314 | DFA_PRODUCTION__SET_VALID(RAX_REGL, addL_rReg_rule, c) |
1315 | } |
1316 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
1317 | DFA_PRODUCTION__SET_VALID(RCX_REGL, addL_rReg_rule, c) |
1318 | } |
1319 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
1320 | DFA_PRODUCTION__SET_VALID(RDX_REGL, addL_rReg_rule, c) |
1321 | } |
1322 | } |
1323 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_RREGL_IMMI2) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
1324 | unsigned int c = _kids[0]->_cost[_LSHIFTL_RREGL_IMMI2]+_kids[1]->_cost[IMML32]; |
1325 | DFA_PRODUCTION__SET_VALID(_ADDL__LSHIFTL_RREGL_IMMI2_IMML32, _AddL__LShiftL_rRegL_immI2_immL32_rule, c) |
1326 | } |
1327 | } |
1328 | void State::_sub_Op_AddP(const Node *n){ |
1329 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0_RREGI) ) { |
1330 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[_SUBI_IMMI0_RREGI]+100; |
1331 | DFA_PRODUCTION__SET_VALID(RREGP, subP_rReg_rule, c) |
1332 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
1333 | DFA_PRODUCTION__SET_VALID(ANY_REGP, subP_rReg_rule, c) |
1334 | DFA_PRODUCTION__SET_VALID(INDIRECT, subP_rReg_rule, c) |
1335 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
1336 | DFA_PRODUCTION__SET_VALID(RAX_REGP, subP_rReg_rule, c) |
1337 | DFA_PRODUCTION__SET_VALID(RBX_REGP, subP_rReg_rule, c) |
1338 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, subP_rReg_rule, c) |
1339 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, subP_rReg_rule, c) |
1340 | DFA_PRODUCTION__SET_VALID(RSI_REGP, subP_rReg_rule, c) |
1341 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, subP_rReg_rule, c) |
1342 | DFA_PRODUCTION__SET_VALID(RDI_REGP, subP_rReg_rule, c) |
1343 | DFA_PRODUCTION__SET_VALID(R15_REGP, subP_rReg_rule, c) |
1344 | } |
1345 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
1346 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[IMML32]+100; |
1347 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
1348 | DFA_PRODUCTION__SET_VALID(RREGP, addP_rReg_imm_rule, c) |
1349 | } |
1350 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
1351 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
1352 | } |
1353 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
1354 | DFA_PRODUCTION__SET_VALID(ANY_REGP, addP_rReg_imm_rule, c) |
1355 | } |
1356 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
1357 | DFA_PRODUCTION__SET_VALID(INDIRECT, addP_rReg_imm_rule, c) |
1358 | } |
1359 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1360 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
1361 | } |
1362 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
1363 | DFA_PRODUCTION__SET_VALID(RAX_REGP, addP_rReg_imm_rule, c) |
1364 | } |
1365 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
1366 | DFA_PRODUCTION__SET_VALID(RBX_REGP, addP_rReg_imm_rule, c) |
1367 | } |
1368 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
1369 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, addP_rReg_imm_rule, c) |
1370 | } |
1371 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
1372 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, addP_rReg_imm_rule, c) |
1373 | } |
1374 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
1375 | DFA_PRODUCTION__SET_VALID(RSI_REGP, addP_rReg_imm_rule, c) |
1376 | } |
1377 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
1378 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, addP_rReg_imm_rule, c) |
1379 | } |
1380 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
1381 | DFA_PRODUCTION__SET_VALID(RDI_REGP, addP_rReg_imm_rule, c) |
1382 | } |
1383 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
1384 | DFA_PRODUCTION__SET_VALID(R15_REGP, addP_rReg_imm_rule, c) |
1385 | } |
1386 | } |
1387 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
1388 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[RREGL]+100; |
1389 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
1390 | DFA_PRODUCTION__SET_VALID(RREGP, addP_rReg_rule, c) |
1391 | } |
1392 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
1393 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
1394 | } |
1395 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
1396 | DFA_PRODUCTION__SET_VALID(ANY_REGP, addP_rReg_rule, c) |
1397 | } |
1398 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
1399 | DFA_PRODUCTION__SET_VALID(INDIRECT, addP_rReg_rule, c) |
1400 | } |
1401 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1402 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
1403 | } |
1404 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
1405 | DFA_PRODUCTION__SET_VALID(RAX_REGP, addP_rReg_rule, c) |
1406 | } |
1407 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
1408 | DFA_PRODUCTION__SET_VALID(RBX_REGP, addP_rReg_rule, c) |
1409 | } |
1410 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
1411 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, addP_rReg_rule, c) |
1412 | } |
1413 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
1414 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, addP_rReg_rule, c) |
1415 | } |
1416 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
1417 | DFA_PRODUCTION__SET_VALID(RSI_REGP, addP_rReg_rule, c) |
1418 | } |
1419 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
1420 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, addP_rReg_rule, c) |
1421 | } |
1422 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
1423 | DFA_PRODUCTION__SET_VALID(RDI_REGP, addP_rReg_rule, c) |
1424 | } |
1425 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
1426 | DFA_PRODUCTION__SET_VALID(R15_REGP, addP_rReg_rule, c) |
1427 | } |
1428 | } |
1429 | if( STATE__VALID_CHILD(_kids[0], _ADDP__DECODEN_RREGN___LSHIFTL__CONVI2L_RREGI__IMMI2) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1430 | |
1431 | #line 4085 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1432 | CompressedOops::shift() == 0 && n->in(2)->in(3)->in(1)->as_Type()->type()->is_long()->_lo >= 0 |
1433 | #line 1433 "dfa_x86.cpp" |
1434 | ) { |
1435 | unsigned int c = _kids[0]->_cost[_ADDP__DECODEN_RREGN___LSHIFTL__CONVI2L_RREGI__IMMI2]+_kids[1]->_cost[IMML32]+10; |
1436 | DFA_PRODUCTION__SET_VALID(INDPOSINDEXSCALEOFFSETNARROW, indPosIndexScaleOffsetNarrow_rule, c) |
1437 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1438 | DFA_PRODUCTION__SET_VALID(MEMORY, indPosIndexScaleOffsetNarrow_rule, c) |
1439 | } |
1440 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1441 | DFA_PRODUCTION__SET_VALID(RREGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1442 | } |
1443 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1444 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1445 | } |
1446 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1447 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1448 | } |
1449 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1450 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPPosIdxScaleOffNarrow_rule, c+110) |
1451 | } |
1452 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1453 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1454 | } |
1455 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1456 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1457 | } |
1458 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1459 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1460 | } |
1461 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1462 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1463 | } |
1464 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1465 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1466 | } |
1467 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1468 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1469 | } |
1470 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1471 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1472 | } |
1473 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1474 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1475 | } |
1476 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1477 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPPosIdxScaleOffNarrow_rule, c+110) |
1478 | } |
1479 | } |
1480 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], _LSHIFTL__CONVI2L_RREGI__IMMI2) ) { |
1481 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[_LSHIFTL__CONVI2L_RREGI__IMMI2]; |
1482 | DFA_PRODUCTION__SET_VALID(_ADDP__DECODEN_RREGN___LSHIFTL__CONVI2L_RREGI__IMMI2, _AddP__DecodeN_rRegN___LShiftL__ConvI2L_rRegI__immI2_rule, c) |
1483 | } |
1484 | if( STATE__VALID_CHILD(_kids[0], _ADDP__DECODEN_RREGN___CONVI2L_RREGI_) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1485 | |
1486 | #line 4068 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1487 | CompressedOops::shift() == 0 && n->in(2)->in(3)->as_Type()->type()->is_long()->_lo >= 0 |
1488 | #line 1488 "dfa_x86.cpp" |
1489 | ) { |
1490 | unsigned int c = _kids[0]->_cost[_ADDP__DECODEN_RREGN___CONVI2L_RREGI_]+_kids[1]->_cost[IMML32]+10; |
1491 | DFA_PRODUCTION__SET_VALID(INDPOSINDEXOFFSETNARROW, indPosIndexOffsetNarrow_rule, c) |
1492 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1493 | DFA_PRODUCTION__SET_VALID(MEMORY, indPosIndexOffsetNarrow_rule, c) |
1494 | } |
1495 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1496 | DFA_PRODUCTION__SET_VALID(RREGP, leaPPosIdxOffNarrow_rule, c+110) |
1497 | } |
1498 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1499 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1500 | } |
1501 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1502 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1503 | } |
1504 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1505 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPPosIdxOffNarrow_rule, c+110) |
1506 | } |
1507 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1508 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1509 | } |
1510 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1511 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1512 | } |
1513 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1514 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1515 | } |
1516 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1517 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1518 | } |
1519 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1520 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1521 | } |
1522 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1523 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1524 | } |
1525 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1526 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1527 | } |
1528 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1529 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1530 | } |
1531 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1532 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPPosIdxOffNarrow_rule, c+110) |
1533 | } |
1534 | } |
1535 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], _CONVI2L_RREGI_) ) { |
1536 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[_CONVI2L_RREGI_]; |
1537 | DFA_PRODUCTION__SET_VALID(_ADDP__DECODEN_RREGN___CONVI2L_RREGI_, _AddP__DecodeN_rRegN___ConvI2L_rRegI__rule, c) |
1538 | } |
1539 | if( STATE__VALID_CHILD(_kids[0], _ADDP__DECODEN_RREGN___LSHIFTL_RREGL_IMMI2) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1540 | |
1541 | #line 4050 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1542 | CompressedOops::shift() == 0 |
1543 | #line 1543 "dfa_x86.cpp" |
1544 | ) { |
1545 | unsigned int c = _kids[0]->_cost[_ADDP__DECODEN_RREGN___LSHIFTL_RREGL_IMMI2]+_kids[1]->_cost[IMML32]+10; |
1546 | DFA_PRODUCTION__SET_VALID(INDINDEXSCALEOFFSETNARROW, indIndexScaleOffsetNarrow_rule, c) |
1547 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1548 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexScaleOffsetNarrow_rule, c) |
1549 | } |
1550 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1551 | DFA_PRODUCTION__SET_VALID(RREGP, leaPIdxScaleOffNarrow_rule, c+110) |
1552 | } |
1553 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1554 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1555 | } |
1556 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1557 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1558 | } |
1559 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1560 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPIdxScaleOffNarrow_rule, c+110) |
1561 | } |
1562 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1563 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1564 | } |
1565 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1566 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1567 | } |
1568 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1569 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1570 | } |
1571 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1572 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1573 | } |
1574 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1575 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1576 | } |
1577 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1578 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1579 | } |
1580 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1581 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1582 | } |
1583 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1584 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1585 | } |
1586 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1587 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPIdxScaleOffNarrow_rule, c+110) |
1588 | } |
1589 | } |
1590 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI2) ) { |
1591 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI2]; |
1592 | DFA_PRODUCTION__SET_VALID(_ADDP__DECODEN_RREGN___LSHIFTL_RREGL_IMMI2, _AddP__DecodeN_rRegN___LShiftL_rRegL_immI2_rule, c) |
1593 | } |
1594 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI2) && |
1595 | |
1596 | #line 4033 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1597 | CompressedOops::shift() == 0 |
1598 | #line 1598 "dfa_x86.cpp" |
1599 | ) { |
1600 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI2]+10; |
1601 | DFA_PRODUCTION__SET_VALID(INDINDEXSCALENARROW, indIndexScaleNarrow_rule, c) |
1602 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1603 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexScaleNarrow_rule, c) |
1604 | } |
1605 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1606 | DFA_PRODUCTION__SET_VALID(RREGP, leaPIdxScaleNarrow_rule, c+110) |
1607 | } |
1608 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1609 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1610 | } |
1611 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1612 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPIdxScaleNarrow_rule, c+110) |
1613 | } |
1614 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1615 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPIdxScaleNarrow_rule, c+110) |
1616 | } |
1617 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1618 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1619 | } |
1620 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1621 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPIdxScaleNarrow_rule, c+110) |
1622 | } |
1623 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1624 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPIdxScaleNarrow_rule, c+110) |
1625 | } |
1626 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1627 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPIdxScaleNarrow_rule, c+110) |
1628 | } |
1629 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1630 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPIdxScaleNarrow_rule, c+110) |
1631 | } |
1632 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1633 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPIdxScaleNarrow_rule, c+110) |
1634 | } |
1635 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1636 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPIdxScaleNarrow_rule, c+110) |
1637 | } |
1638 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1639 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPIdxScaleNarrow_rule, c+110) |
1640 | } |
1641 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1642 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPIdxScaleNarrow_rule, c+110) |
1643 | } |
1644 | } |
1645 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], RREGL) && |
1646 | |
1647 | #line 4016 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1648 | CompressedOops::shift() == 0 |
1649 | #line 1649 "dfa_x86.cpp" |
1650 | ) { |
1651 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[RREGL]+10; |
1652 | DFA_PRODUCTION__SET_VALID(INDINDEXNARROW, indIndexNarrow_rule, c) |
1653 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1654 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexNarrow_rule, c) |
1655 | } |
1656 | } |
1657 | if( STATE__VALID_CHILD(_kids[0], _ADDP__DECODEN_RREGN__RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1658 | |
1659 | #line 3999 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1660 | CompressedOops::shift() == 0 |
1661 | #line 1661 "dfa_x86.cpp" |
1662 | ) { |
1663 | unsigned int c = _kids[0]->_cost[_ADDP__DECODEN_RREGN__RREGL]+_kids[1]->_cost[IMML32]+10; |
1664 | DFA_PRODUCTION__SET_VALID(INDINDEXOFFSETNARROW, indIndexOffsetNarrow_rule, c) |
1665 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1666 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexOffsetNarrow_rule, c) |
1667 | } |
1668 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1669 | DFA_PRODUCTION__SET_VALID(RREGP, leaPIdxOffNarrow_rule, c+110) |
1670 | } |
1671 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1672 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1673 | } |
1674 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1675 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPIdxOffNarrow_rule, c+110) |
1676 | } |
1677 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1678 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPIdxOffNarrow_rule, c+110) |
1679 | } |
1680 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1681 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1682 | } |
1683 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1684 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPIdxOffNarrow_rule, c+110) |
1685 | } |
1686 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1687 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPIdxOffNarrow_rule, c+110) |
1688 | } |
1689 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1690 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPIdxOffNarrow_rule, c+110) |
1691 | } |
1692 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1693 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPIdxOffNarrow_rule, c+110) |
1694 | } |
1695 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1696 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPIdxOffNarrow_rule, c+110) |
1697 | } |
1698 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1699 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPIdxOffNarrow_rule, c+110) |
1700 | } |
1701 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1702 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPIdxOffNarrow_rule, c+110) |
1703 | } |
1704 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1705 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPIdxOffNarrow_rule, c+110) |
1706 | } |
1707 | } |
1708 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
1709 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[RREGL]; |
1710 | DFA_PRODUCTION__SET_VALID(_ADDP__DECODEN_RREGN__RREGL, _AddP__DecodeN_rRegN__rRegL_rule, c) |
1711 | } |
1712 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1713 | |
1714 | #line 3983 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1715 | CompressedOops::shift() == 0 |
1716 | #line 1716 "dfa_x86.cpp" |
1717 | ) { |
1718 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[IMML32]; |
1719 | DFA_PRODUCTION__SET_VALID(INDOFFSET32NARROW, indOffset32Narrow_rule, c) |
1720 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1721 | DFA_PRODUCTION__SET_VALID(MEMORY, indOffset32Narrow_rule, c) |
1722 | } |
1723 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1724 | DFA_PRODUCTION__SET_VALID(RREGP, leaP32Narrow_rule, c+110) |
1725 | } |
1726 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1727 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1728 | } |
1729 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1730 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaP32Narrow_rule, c+110) |
1731 | } |
1732 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1733 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaP32Narrow_rule, c+110) |
1734 | } |
1735 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1736 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1737 | } |
1738 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1739 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaP32Narrow_rule, c+110) |
1740 | } |
1741 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1742 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaP32Narrow_rule, c+110) |
1743 | } |
1744 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1745 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaP32Narrow_rule, c+110) |
1746 | } |
1747 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1748 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaP32Narrow_rule, c+110) |
1749 | } |
1750 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1751 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaP32Narrow_rule, c+110) |
1752 | } |
1753 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1754 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaP32Narrow_rule, c+110) |
1755 | } |
1756 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1757 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaP32Narrow_rule, c+110) |
1758 | } |
1759 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1760 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaP32Narrow_rule, c+110) |
1761 | } |
1762 | } |
1763 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], IMML8) && |
1764 | |
1765 | #line 3967 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1766 | CompressedOops::shift() == 0 |
1767 | #line 1767 "dfa_x86.cpp" |
1768 | ) { |
1769 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[IMML8]; |
1770 | DFA_PRODUCTION__SET_VALID(INDOFFSET8NARROW, indOffset8Narrow_rule, c) |
1771 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1772 | DFA_PRODUCTION__SET_VALID(MEMORY, indOffset8Narrow_rule, c) |
1773 | } |
1774 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1775 | DFA_PRODUCTION__SET_VALID(RREGP, leaP8Narrow_rule, c+110) |
1776 | } |
1777 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1778 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1779 | } |
1780 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1781 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaP8Narrow_rule, c+110) |
1782 | } |
1783 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1784 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaP8Narrow_rule, c+110) |
1785 | } |
1786 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1787 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1788 | } |
1789 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1790 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaP8Narrow_rule, c+110) |
1791 | } |
1792 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1793 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaP8Narrow_rule, c+110) |
1794 | } |
1795 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1796 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaP8Narrow_rule, c+110) |
1797 | } |
1798 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1799 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaP8Narrow_rule, c+110) |
1800 | } |
1801 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1802 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaP8Narrow_rule, c+110) |
1803 | } |
1804 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1805 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaP8Narrow_rule, c+110) |
1806 | } |
1807 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1808 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaP8Narrow_rule, c+110) |
1809 | } |
1810 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1811 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaP8Narrow_rule, c+110) |
1812 | } |
1813 | } |
1814 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1815 | |
1816 | #line 3934 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1817 | UseCompressedOops && (CompressedOops::shift() == Address::times_8) |
1818 | #line 1818 "dfa_x86.cpp" |
1819 | ) { |
1820 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]+_kids[1]->_cost[IMML32]+10; |
1821 | DFA_PRODUCTION__SET_VALID(INDCOMPRESSEDOOPOFFSET, indCompressedOopOffset_rule, c) |
1822 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1823 | DFA_PRODUCTION__SET_VALID(MEMORY, indCompressedOopOffset_rule, c) |
1824 | } |
1825 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1826 | DFA_PRODUCTION__SET_VALID(RREGP, leaPCompressedOopOffset_rule, c+110) |
1827 | } |
1828 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1829 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1830 | } |
1831 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1832 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPCompressedOopOffset_rule, c+110) |
1833 | } |
1834 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1835 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPCompressedOopOffset_rule, c+110) |
1836 | } |
1837 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1838 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1839 | } |
1840 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1841 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPCompressedOopOffset_rule, c+110) |
1842 | } |
1843 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1844 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPCompressedOopOffset_rule, c+110) |
1845 | } |
1846 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1847 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPCompressedOopOffset_rule, c+110) |
1848 | } |
1849 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1850 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPCompressedOopOffset_rule, c+110) |
1851 | } |
1852 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1853 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPCompressedOopOffset_rule, c+110) |
1854 | } |
1855 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1856 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPCompressedOopOffset_rule, c+110) |
1857 | } |
1858 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1859 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPCompressedOopOffset_rule, c+110) |
1860 | } |
1861 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1862 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPCompressedOopOffset_rule, c+110) |
1863 | } |
1864 | } |
1865 | if( STATE__VALID_CHILD(_kids[0], _ADDP_ANY_REGP__LSHIFTL__CONVI2L_RREGI__IMMI2) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1866 | |
1867 | #line 3917 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1868 | n->in(2)->in(3)->in(1)->as_Type()->type()->is_long()->_lo >= 0 |
1869 | #line 1869 "dfa_x86.cpp" |
1870 | ) { |
1871 | unsigned int c = _kids[0]->_cost[_ADDP_ANY_REGP__LSHIFTL__CONVI2L_RREGI__IMMI2]+_kids[1]->_cost[IMML32]+10; |
1872 | DFA_PRODUCTION__SET_VALID(INDPOSINDEXSCALEOFFSET, indPosIndexScaleOffset_rule, c) |
1873 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1874 | DFA_PRODUCTION__SET_VALID(MEMORY, indPosIndexScaleOffset_rule, c) |
1875 | } |
1876 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1877 | DFA_PRODUCTION__SET_VALID(RREGP, leaPPosIdxScaleOff_rule, c+110) |
1878 | } |
1879 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1880 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1881 | } |
1882 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1883 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPPosIdxScaleOff_rule, c+110) |
1884 | } |
1885 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1886 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPPosIdxScaleOff_rule, c+110) |
1887 | } |
1888 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1889 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1890 | } |
1891 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1892 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPPosIdxScaleOff_rule, c+110) |
1893 | } |
1894 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1895 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPPosIdxScaleOff_rule, c+110) |
1896 | } |
1897 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1898 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPPosIdxScaleOff_rule, c+110) |
1899 | } |
1900 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1901 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPPosIdxScaleOff_rule, c+110) |
1902 | } |
1903 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1904 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPPosIdxScaleOff_rule, c+110) |
1905 | } |
1906 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1907 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPPosIdxScaleOff_rule, c+110) |
1908 | } |
1909 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1910 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPPosIdxScaleOff_rule, c+110) |
1911 | } |
1912 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1913 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPPosIdxScaleOff_rule, c+110) |
1914 | } |
1915 | } |
1916 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], _LSHIFTL__CONVI2L_RREGI__IMMI2) ) { |
1917 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[_LSHIFTL__CONVI2L_RREGI__IMMI2]; |
1918 | DFA_PRODUCTION__SET_VALID(_ADDP_ANY_REGP__LSHIFTL__CONVI2L_RREGI__IMMI2, _AddP_any_RegP__LShiftL__ConvI2L_rRegI__immI2_rule, c) |
1919 | } |
1920 | if( STATE__VALID_CHILD(_kids[0], _ADDP_ANY_REGP__CONVI2L_RREGI_) && STATE__VALID_CHILD(_kids[1], IMML32) && |
1921 | |
1922 | #line 3900 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
1923 | n->in(2)->in(3)->as_Type()->type()->is_long()->_lo >= 0 |
1924 | #line 1924 "dfa_x86.cpp" |
1925 | ) { |
1926 | unsigned int c = _kids[0]->_cost[_ADDP_ANY_REGP__CONVI2L_RREGI_]+_kids[1]->_cost[IMML32]+10; |
1927 | DFA_PRODUCTION__SET_VALID(INDPOSINDEXOFFSET, indPosIndexOffset_rule, c) |
1928 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1929 | DFA_PRODUCTION__SET_VALID(MEMORY, indPosIndexOffset_rule, c) |
1930 | } |
1931 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1932 | DFA_PRODUCTION__SET_VALID(RREGP, leaPPosIdxOff_rule, c+110) |
1933 | } |
1934 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1935 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1936 | } |
1937 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1938 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPPosIdxOff_rule, c+110) |
1939 | } |
1940 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1941 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPPosIdxOff_rule, c+110) |
1942 | } |
1943 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1944 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1945 | } |
1946 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1947 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPPosIdxOff_rule, c+110) |
1948 | } |
1949 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
1950 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPPosIdxOff_rule, c+110) |
1951 | } |
1952 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
1953 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPPosIdxOff_rule, c+110) |
1954 | } |
1955 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
1956 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPPosIdxOff_rule, c+110) |
1957 | } |
1958 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
1959 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPPosIdxOff_rule, c+110) |
1960 | } |
1961 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
1962 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPPosIdxOff_rule, c+110) |
1963 | } |
1964 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
1965 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPPosIdxOff_rule, c+110) |
1966 | } |
1967 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
1968 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPPosIdxOff_rule, c+110) |
1969 | } |
1970 | } |
1971 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], _CONVI2L_RREGI_) ) { |
1972 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[_CONVI2L_RREGI_]; |
1973 | DFA_PRODUCTION__SET_VALID(_ADDP_ANY_REGP__CONVI2L_RREGI_, _AddP_any_RegP__ConvI2L_rRegI__rule, c) |
1974 | } |
1975 | if( STATE__VALID_CHILD(_kids[0], _ADDP_ANY_REGP__LSHIFTL_RREGL_IMMI2) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
1976 | unsigned int c = _kids[0]->_cost[_ADDP_ANY_REGP__LSHIFTL_RREGL_IMMI2]+_kids[1]->_cost[IMML32]+10; |
1977 | DFA_PRODUCTION__SET_VALID(INDINDEXSCALEOFFSET, indIndexScaleOffset_rule, c) |
1978 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
1979 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexScaleOffset_rule, c) |
1980 | } |
1981 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
1982 | DFA_PRODUCTION__SET_VALID(RREGP, leaPIdxScaleOff_rule, c+110) |
1983 | } |
1984 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
1985 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
1986 | } |
1987 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
1988 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPIdxScaleOff_rule, c+110) |
1989 | } |
1990 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
1991 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPIdxScaleOff_rule, c+110) |
1992 | } |
1993 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
1994 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
1995 | } |
1996 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
1997 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPIdxScaleOff_rule, c+110) |
1998 | } |
1999 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
2000 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPIdxScaleOff_rule, c+110) |
2001 | } |
2002 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
2003 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPIdxScaleOff_rule, c+110) |
2004 | } |
2005 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
2006 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPIdxScaleOff_rule, c+110) |
2007 | } |
2008 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
2009 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPIdxScaleOff_rule, c+110) |
2010 | } |
2011 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
2012 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPIdxScaleOff_rule, c+110) |
2013 | } |
2014 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
2015 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPIdxScaleOff_rule, c+110) |
2016 | } |
2017 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
2018 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPIdxScaleOff_rule, c+110) |
2019 | } |
2020 | } |
2021 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI2) ) { |
2022 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI2]; |
2023 | DFA_PRODUCTION__SET_VALID(_ADDP_ANY_REGP__LSHIFTL_RREGL_IMMI2, _AddP_any_RegP__LShiftL_rRegL_immI2_rule, c) |
2024 | } |
2025 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], _LSHIFTL__CONVI2L_RREGI__IMMI2) && |
2026 | |
2027 | #line 3867 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2028 | n->in(3)->in(1)->as_Type()->type()->is_long()->_lo >= 0 |
2029 | #line 2029 "dfa_x86.cpp" |
2030 | ) { |
2031 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[_LSHIFTL__CONVI2L_RREGI__IMMI2]+10; |
2032 | DFA_PRODUCTION__SET_VALID(INDPOSINDEXSCALE, indPosIndexScale_rule, c) |
2033 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
2034 | DFA_PRODUCTION__SET_VALID(MEMORY, indPosIndexScale_rule, c) |
2035 | } |
2036 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
2037 | DFA_PRODUCTION__SET_VALID(RREGP, leaPPosIdxScale_rule, c+110) |
2038 | } |
2039 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
2040 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
2041 | } |
2042 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
2043 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPPosIdxScale_rule, c+110) |
2044 | } |
2045 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
2046 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPPosIdxScale_rule, c+110) |
2047 | } |
2048 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
2049 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
2050 | } |
2051 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
2052 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPPosIdxScale_rule, c+110) |
2053 | } |
2054 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
2055 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPPosIdxScale_rule, c+110) |
2056 | } |
2057 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
2058 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPPosIdxScale_rule, c+110) |
2059 | } |
2060 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
2061 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPPosIdxScale_rule, c+110) |
2062 | } |
2063 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
2064 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPPosIdxScale_rule, c+110) |
2065 | } |
2066 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
2067 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPPosIdxScale_rule, c+110) |
2068 | } |
2069 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
2070 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPPosIdxScale_rule, c+110) |
2071 | } |
2072 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
2073 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPPosIdxScale_rule, c+110) |
2074 | } |
2075 | } |
2076 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI2) ) { |
2077 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI2]+10; |
2078 | DFA_PRODUCTION__SET_VALID(INDINDEXSCALE, indIndexScale_rule, c) |
2079 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
2080 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexScale_rule, c) |
2081 | } |
2082 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
2083 | DFA_PRODUCTION__SET_VALID(RREGP, leaPIdxScale_rule, c+110) |
2084 | } |
2085 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
2086 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
2087 | } |
2088 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
2089 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPIdxScale_rule, c+110) |
2090 | } |
2091 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
2092 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPIdxScale_rule, c+110) |
2093 | } |
2094 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
2095 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
2096 | } |
2097 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
2098 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPIdxScale_rule, c+110) |
2099 | } |
2100 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
2101 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPIdxScale_rule, c+110) |
2102 | } |
2103 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
2104 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPIdxScale_rule, c+110) |
2105 | } |
2106 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
2107 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPIdxScale_rule, c+110) |
2108 | } |
2109 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
2110 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPIdxScale_rule, c+110) |
2111 | } |
2112 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
2113 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPIdxScale_rule, c+110) |
2114 | } |
2115 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
2116 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPIdxScale_rule, c+110) |
2117 | } |
2118 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
2119 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPIdxScale_rule, c+110) |
2120 | } |
2121 | } |
2122 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
2123 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[RREGL]+10; |
2124 | DFA_PRODUCTION__SET_VALID(INDINDEX, indIndex_rule, c) |
2125 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
2126 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndex_rule, c) |
2127 | } |
2128 | } |
2129 | if( STATE__VALID_CHILD(_kids[0], _ADDP_ANY_REGP_RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
2130 | unsigned int c = _kids[0]->_cost[_ADDP_ANY_REGP_RREGL]+_kids[1]->_cost[IMML32]+10; |
2131 | DFA_PRODUCTION__SET_VALID(INDINDEXOFFSET, indIndexOffset_rule, c) |
2132 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
2133 | DFA_PRODUCTION__SET_VALID(MEMORY, indIndexOffset_rule, c) |
2134 | } |
2135 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
2136 | DFA_PRODUCTION__SET_VALID(RREGP, leaPIdxOff_rule, c+110) |
2137 | } |
2138 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
2139 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
2140 | } |
2141 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
2142 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaPIdxOff_rule, c+110) |
2143 | } |
2144 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
2145 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaPIdxOff_rule, c+110) |
2146 | } |
2147 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
2148 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
2149 | } |
2150 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
2151 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaPIdxOff_rule, c+110) |
2152 | } |
2153 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
2154 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaPIdxOff_rule, c+110) |
2155 | } |
2156 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
2157 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaPIdxOff_rule, c+110) |
2158 | } |
2159 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
2160 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaPIdxOff_rule, c+110) |
2161 | } |
2162 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
2163 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaPIdxOff_rule, c+110) |
2164 | } |
2165 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
2166 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaPIdxOff_rule, c+110) |
2167 | } |
2168 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
2169 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaPIdxOff_rule, c+110) |
2170 | } |
2171 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
2172 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaPIdxOff_rule, c+110) |
2173 | } |
2174 | } |
2175 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
2176 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[RREGL]; |
2177 | DFA_PRODUCTION__SET_VALID(_ADDP_ANY_REGP_RREGL, _AddP_any_RegP_rRegL_rule, c) |
2178 | } |
2179 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
2180 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[IMML32]; |
2181 | DFA_PRODUCTION__SET_VALID(INDOFFSET32, indOffset32_rule, c) |
2182 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
2183 | DFA_PRODUCTION__SET_VALID(MEMORY, indOffset32_rule, c) |
2184 | } |
2185 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
2186 | DFA_PRODUCTION__SET_VALID(RREGP, leaP32_rule, c+110) |
2187 | } |
2188 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
2189 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
2190 | } |
2191 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
2192 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaP32_rule, c+110) |
2193 | } |
2194 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
2195 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaP32_rule, c+110) |
2196 | } |
2197 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
2198 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
2199 | } |
2200 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
2201 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaP32_rule, c+110) |
2202 | } |
2203 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
2204 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaP32_rule, c+110) |
2205 | } |
2206 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
2207 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaP32_rule, c+110) |
2208 | } |
2209 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
2210 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaP32_rule, c+110) |
2211 | } |
2212 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
2213 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaP32_rule, c+110) |
2214 | } |
2215 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
2216 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaP32_rule, c+110) |
2217 | } |
2218 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
2219 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaP32_rule, c+110) |
2220 | } |
2221 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
2222 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaP32_rule, c+110) |
2223 | } |
2224 | } |
2225 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) && STATE__VALID_CHILD(_kids[1], IMML8) ) { |
2226 | unsigned int c = _kids[0]->_cost[ANY_REGP]+_kids[1]->_cost[IMML8]; |
2227 | DFA_PRODUCTION__SET_VALID(INDOFFSET8, indOffset8_rule, c) |
2228 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
2229 | DFA_PRODUCTION__SET_VALID(MEMORY, indOffset8_rule, c) |
2230 | } |
2231 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+110) { |
2232 | DFA_PRODUCTION__SET_VALID(RREGP, leaP8_rule, c+110) |
2233 | } |
2234 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+110+100) { |
2235 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+110+100) |
2236 | } |
2237 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+110) { |
2238 | DFA_PRODUCTION__SET_VALID(ANY_REGP, leaP8_rule, c+110) |
2239 | } |
2240 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+110) { |
2241 | DFA_PRODUCTION__SET_VALID(INDIRECT, leaP8_rule, c+110) |
2242 | } |
2243 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+110) { |
2244 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+110) |
2245 | } |
2246 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+110) { |
2247 | DFA_PRODUCTION__SET_VALID(RAX_REGP, leaP8_rule, c+110) |
2248 | } |
2249 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+110) { |
2250 | DFA_PRODUCTION__SET_VALID(RBX_REGP, leaP8_rule, c+110) |
2251 | } |
2252 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+110) { |
2253 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, leaP8_rule, c+110) |
2254 | } |
2255 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+110) { |
2256 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, leaP8_rule, c+110) |
2257 | } |
2258 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+110) { |
2259 | DFA_PRODUCTION__SET_VALID(RSI_REGP, leaP8_rule, c+110) |
2260 | } |
2261 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+110) { |
2262 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, leaP8_rule, c+110) |
2263 | } |
2264 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+110) { |
2265 | DFA_PRODUCTION__SET_VALID(RDI_REGP, leaP8_rule, c+110) |
2266 | } |
2267 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+110) { |
2268 | DFA_PRODUCTION__SET_VALID(R15_REGP, leaP8_rule, c+110) |
2269 | } |
2270 | } |
2271 | } |
2272 | void State::_sub_Op_AndI(const Node *n){ |
2273 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
2274 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+_kids[1]->_cost[IMMI8]; |
2275 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADB_MEMORY__IMMI8, _AndI__LoadB_memory__immI8_rule, c) |
2276 | } |
2277 | if( STATE__VALID_CHILD(_kids[0], _LOADUB_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMU8) ) { |
2278 | unsigned int c = _kids[0]->_cost[_LOADUB_MEMORY_]+_kids[1]->_cost[IMMU8]; |
2279 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADUB_MEMORY__IMMU8, _AndI__LoadUB_memory__immU8_rule, c) |
2280 | } |
2281 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
2282 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]; |
2283 | DFA_PRODUCTION__SET_VALID(_ANDI_RREGI_IMMI, _AndI_rRegI_immI_rule, c) |
2284 | } |
2285 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _CMPLTMASK_RREGI_RREGI) ) { |
2286 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_CMPLTMASK_RREGI_RREGI]+300; |
2287 | DFA_PRODUCTION__SET_VALID(RREGI, and_cmpLTMask_0_rule, c) |
2288 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2289 | DFA_PRODUCTION__SET_VALID(RAX_REGI, and_cmpLTMask_0_rule, c) |
2290 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, and_cmpLTMask_0_rule, c) |
2291 | DFA_PRODUCTION__SET_VALID(RBX_REGI, and_cmpLTMask_0_rule, c) |
2292 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, and_cmpLTMask_0_rule, c) |
2293 | DFA_PRODUCTION__SET_VALID(RCX_REGI, and_cmpLTMask_0_rule, c) |
2294 | DFA_PRODUCTION__SET_VALID(RDX_REGI, and_cmpLTMask_0_rule, c) |
2295 | DFA_PRODUCTION__SET_VALID(RDI_REGI, and_cmpLTMask_0_rule, c) |
2296 | } |
2297 | if( STATE__VALID_CHILD(_kids[0], _CMPLTMASK_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
2298 | unsigned int c = _kids[0]->_cost[_CMPLTMASK_RREGI_RREGI]+_kids[1]->_cost[RREGI]+300; |
2299 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2300 | DFA_PRODUCTION__SET_VALID(RREGI, and_cmpLTMask_rule, c) |
2301 | } |
2302 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2303 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2304 | } |
2305 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2306 | DFA_PRODUCTION__SET_VALID(RAX_REGI, and_cmpLTMask_rule, c) |
2307 | } |
2308 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2309 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, and_cmpLTMask_rule, c) |
2310 | } |
2311 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2312 | DFA_PRODUCTION__SET_VALID(RBX_REGI, and_cmpLTMask_rule, c) |
2313 | } |
2314 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2315 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, and_cmpLTMask_rule, c) |
2316 | } |
2317 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2318 | DFA_PRODUCTION__SET_VALID(RCX_REGI, and_cmpLTMask_rule, c) |
2319 | } |
2320 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2321 | DFA_PRODUCTION__SET_VALID(RDX_REGI, and_cmpLTMask_rule, c) |
2322 | } |
2323 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2324 | DFA_PRODUCTION__SET_VALID(RDI_REGI, and_cmpLTMask_rule, c) |
2325 | } |
2326 | } |
2327 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _CMPLTMASK_RREGI_RREGI) ) { |
2328 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_CMPLTMASK_RREGI_RREGI]; |
2329 | DFA_PRODUCTION__SET_VALID(_ANDI_RREGI__CMPLTMASK_RREGI_RREGI, _AndI_rRegI__CmpLTMask_rRegI_rRegI_rule, c) |
2330 | } |
2331 | if( STATE__VALID_CHILD(_kids[0], _CMPLTMASK_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
2332 | unsigned int c = _kids[0]->_cost[_CMPLTMASK_RREGI_RREGI]+_kids[1]->_cost[RREGI]; |
2333 | DFA_PRODUCTION__SET_VALID(_ANDI__CMPLTMASK_RREGI_RREGI_RREGI, _AndI__CmpLTMask_rRegI_rRegI_rRegI_rule, c) |
2334 | } |
2335 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], _ADDI__LOADI_MEMORY__IMMI_M1) && |
2336 | ( |
2337 | #line 9715 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2338 | UseBMI1Instructions |
2339 | #line 2339 "dfa_x86.cpp" |
2340 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
2341 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[_ADDI__LOADI_MEMORY__IMMI_M1]+125; |
2342 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2343 | DFA_PRODUCTION__SET_VALID(RREGI, blsrI_rReg_mem_0_rule, c) |
2344 | } |
2345 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2346 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2347 | } |
2348 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2349 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsrI_rReg_mem_0_rule, c) |
2350 | } |
2351 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2352 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsrI_rReg_mem_0_rule, c) |
2353 | } |
2354 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2355 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsrI_rReg_mem_0_rule, c) |
2356 | } |
2357 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2358 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsrI_rReg_mem_0_rule, c) |
2359 | } |
2360 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2361 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsrI_rReg_mem_0_rule, c) |
2362 | } |
2363 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2364 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsrI_rReg_mem_0_rule, c) |
2365 | } |
2366 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2367 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsrI_rReg_mem_0_rule, c) |
2368 | } |
2369 | } |
2370 | if( STATE__VALID_CHILD(_kids[0], _ADDI__LOADI_MEMORY__IMMI_M1) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) && |
2371 | ( |
2372 | #line 9715 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2373 | UseBMI1Instructions |
2374 | #line 2374 "dfa_x86.cpp" |
2375 | ) && /*src*/(_kids[0]->_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
2376 | unsigned int c = _kids[0]->_cost[_ADDI__LOADI_MEMORY__IMMI_M1]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
2377 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2378 | DFA_PRODUCTION__SET_VALID(RREGI, blsrI_rReg_mem_rule, c) |
2379 | } |
2380 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2381 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2382 | } |
2383 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2384 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsrI_rReg_mem_rule, c) |
2385 | } |
2386 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2387 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsrI_rReg_mem_rule, c) |
2388 | } |
2389 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2390 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsrI_rReg_mem_rule, c) |
2391 | } |
2392 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2393 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsrI_rReg_mem_rule, c) |
2394 | } |
2395 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2396 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsrI_rReg_mem_rule, c) |
2397 | } |
2398 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2399 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsrI_rReg_mem_rule, c) |
2400 | } |
2401 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2402 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsrI_rReg_mem_rule, c) |
2403 | } |
2404 | } |
2405 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _ADDI_RREGI_IMMI_M1) && |
2406 | ( |
2407 | #line 9700 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2408 | UseBMI1Instructions |
2409 | #line 2409 "dfa_x86.cpp" |
2410 | ) && /*src*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
2411 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_ADDI_RREGI_IMMI_M1]+100; |
2412 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2413 | DFA_PRODUCTION__SET_VALID(RREGI, blsrI_rReg_rReg_0_rule, c) |
2414 | } |
2415 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2416 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2417 | } |
2418 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2419 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsrI_rReg_rReg_0_rule, c) |
2420 | } |
2421 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2422 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsrI_rReg_rReg_0_rule, c) |
2423 | } |
2424 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2425 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsrI_rReg_rReg_0_rule, c) |
2426 | } |
2427 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2428 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsrI_rReg_rReg_0_rule, c) |
2429 | } |
2430 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2431 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsrI_rReg_rReg_0_rule, c) |
2432 | } |
2433 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2434 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsrI_rReg_rReg_0_rule, c) |
2435 | } |
2436 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2437 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsrI_rReg_rReg_0_rule, c) |
2438 | } |
2439 | } |
2440 | if( STATE__VALID_CHILD(_kids[0], _ADDI_RREGI_IMMI_M1) && STATE__VALID_CHILD(_kids[1], RREGI) && |
2441 | ( |
2442 | #line 9700 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2443 | UseBMI1Instructions |
2444 | #line 2444 "dfa_x86.cpp" |
2445 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_leaf) ) { |
2446 | unsigned int c = _kids[0]->_cost[_ADDI_RREGI_IMMI_M1]+_kids[1]->_cost[RREGI]+100; |
2447 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2448 | DFA_PRODUCTION__SET_VALID(RREGI, blsrI_rReg_rReg_rule, c) |
2449 | } |
2450 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2451 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2452 | } |
2453 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2454 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsrI_rReg_rReg_rule, c) |
2455 | } |
2456 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2457 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsrI_rReg_rReg_rule, c) |
2458 | } |
2459 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2460 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsrI_rReg_rReg_rule, c) |
2461 | } |
2462 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2463 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsrI_rReg_rReg_rule, c) |
2464 | } |
2465 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2466 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsrI_rReg_rReg_rule, c) |
2467 | } |
2468 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2469 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsrI_rReg_rReg_rule, c) |
2470 | } |
2471 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2472 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsrI_rReg_rReg_rule, c) |
2473 | } |
2474 | } |
2475 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0__LOADI_MEMORY_) && |
2476 | ( |
2477 | #line 9655 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2478 | UseBMI1Instructions |
2479 | #line 2479 "dfa_x86.cpp" |
2480 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
2481 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[_SUBI_IMMI0__LOADI_MEMORY_]+125; |
2482 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2483 | DFA_PRODUCTION__SET_VALID(RREGI, blsiI_rReg_mem_0_rule, c) |
2484 | } |
2485 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2486 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2487 | } |
2488 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2489 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsiI_rReg_mem_0_rule, c) |
2490 | } |
2491 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2492 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsiI_rReg_mem_0_rule, c) |
2493 | } |
2494 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2495 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsiI_rReg_mem_0_rule, c) |
2496 | } |
2497 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2498 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsiI_rReg_mem_0_rule, c) |
2499 | } |
2500 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2501 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsiI_rReg_mem_0_rule, c) |
2502 | } |
2503 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2504 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsiI_rReg_mem_0_rule, c) |
2505 | } |
2506 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2507 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsiI_rReg_mem_0_rule, c) |
2508 | } |
2509 | } |
2510 | if( STATE__VALID_CHILD(_kids[0], _SUBI_IMMI0__LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) && |
2511 | ( |
2512 | #line 9655 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2513 | UseBMI1Instructions |
2514 | #line 2514 "dfa_x86.cpp" |
2515 | ) && /*src*/(_kids[0]->_kids[1]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
2516 | unsigned int c = _kids[0]->_cost[_SUBI_IMMI0__LOADI_MEMORY_]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
2517 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2518 | DFA_PRODUCTION__SET_VALID(RREGI, blsiI_rReg_mem_rule, c) |
2519 | } |
2520 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2521 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2522 | } |
2523 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2524 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsiI_rReg_mem_rule, c) |
2525 | } |
2526 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2527 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsiI_rReg_mem_rule, c) |
2528 | } |
2529 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2530 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsiI_rReg_mem_rule, c) |
2531 | } |
2532 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2533 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsiI_rReg_mem_rule, c) |
2534 | } |
2535 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2536 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsiI_rReg_mem_rule, c) |
2537 | } |
2538 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2539 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsiI_rReg_mem_rule, c) |
2540 | } |
2541 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2542 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsiI_rReg_mem_rule, c) |
2543 | } |
2544 | } |
2545 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0_RREGI) && |
2546 | ( |
2547 | #line 9642 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2548 | UseBMI1Instructions |
2549 | #line 2549 "dfa_x86.cpp" |
2550 | ) && /*src*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
2551 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_SUBI_IMMI0_RREGI]+100; |
2552 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2553 | DFA_PRODUCTION__SET_VALID(RREGI, blsiI_rReg_rReg_0_rule, c) |
2554 | } |
2555 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2556 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2557 | } |
2558 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2559 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsiI_rReg_rReg_0_rule, c) |
2560 | } |
2561 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2562 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsiI_rReg_rReg_0_rule, c) |
2563 | } |
2564 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2565 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsiI_rReg_rReg_0_rule, c) |
2566 | } |
2567 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2568 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsiI_rReg_rReg_0_rule, c) |
2569 | } |
2570 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2571 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsiI_rReg_rReg_0_rule, c) |
2572 | } |
2573 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2574 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsiI_rReg_rReg_0_rule, c) |
2575 | } |
2576 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2577 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsiI_rReg_rReg_0_rule, c) |
2578 | } |
2579 | } |
2580 | if( STATE__VALID_CHILD(_kids[0], _SUBI_IMMI0_RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) && |
2581 | ( |
2582 | #line 9642 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2583 | UseBMI1Instructions |
2584 | #line 2584 "dfa_x86.cpp" |
2585 | ) && /*src*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
2586 | unsigned int c = _kids[0]->_cost[_SUBI_IMMI0_RREGI]+_kids[1]->_cost[RREGI]+100; |
2587 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2588 | DFA_PRODUCTION__SET_VALID(RREGI, blsiI_rReg_rReg_rule, c) |
2589 | } |
2590 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2591 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2592 | } |
2593 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2594 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsiI_rReg_rReg_rule, c) |
2595 | } |
2596 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2597 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsiI_rReg_rReg_rule, c) |
2598 | } |
2599 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2600 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsiI_rReg_rReg_rule, c) |
2601 | } |
2602 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2603 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsiI_rReg_rReg_rule, c) |
2604 | } |
2605 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2606 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsiI_rReg_rReg_rule, c) |
2607 | } |
2608 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2609 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsiI_rReg_rReg_rule, c) |
2610 | } |
2611 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2612 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsiI_rReg_rReg_rule, c) |
2613 | } |
2614 | } |
2615 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _XORI_RREGI_IMMI_M1) && |
2616 | ( |
2617 | #line 9629 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2618 | UseBMI1Instructions |
2619 | #line 2619 "dfa_x86.cpp" |
2620 | ) ) { |
2621 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_XORI_RREGI_IMMI_M1]+100; |
2622 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2623 | DFA_PRODUCTION__SET_VALID(RREGI, andnI_rReg_rReg_rReg_0_rule, c) |
2624 | } |
2625 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2626 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2627 | } |
2628 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2629 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2630 | } |
2631 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2632 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2633 | } |
2634 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2635 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2636 | } |
2637 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2638 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2639 | } |
2640 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2641 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2642 | } |
2643 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2644 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2645 | } |
2646 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2647 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andnI_rReg_rReg_rReg_0_rule, c) |
2648 | } |
2649 | } |
2650 | if( STATE__VALID_CHILD(_kids[0], _XORI_RREGI_IMMI_M1) && STATE__VALID_CHILD(_kids[1], RREGI) && |
2651 | ( |
2652 | #line 9629 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2653 | UseBMI1Instructions |
2654 | #line 2654 "dfa_x86.cpp" |
2655 | ) ) { |
2656 | unsigned int c = _kids[0]->_cost[_XORI_RREGI_IMMI_M1]+_kids[1]->_cost[RREGI]+100; |
2657 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2658 | DFA_PRODUCTION__SET_VALID(RREGI, andnI_rReg_rReg_rReg_rule, c) |
2659 | } |
2660 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2661 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2662 | } |
2663 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2664 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andnI_rReg_rReg_rReg_rule, c) |
2665 | } |
2666 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2667 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andnI_rReg_rReg_rReg_rule, c) |
2668 | } |
2669 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2670 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andnI_rReg_rReg_rReg_rule, c) |
2671 | } |
2672 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2673 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andnI_rReg_rReg_rReg_rule, c) |
2674 | } |
2675 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2676 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andnI_rReg_rReg_rReg_rule, c) |
2677 | } |
2678 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2679 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andnI_rReg_rReg_rReg_rule, c) |
2680 | } |
2681 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2682 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andnI_rReg_rReg_rReg_rule, c) |
2683 | } |
2684 | } |
2685 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], _XORI_RREGI_IMMI_M1) && |
2686 | ( |
2687 | #line 9615 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2688 | UseBMI1Instructions |
2689 | #line 2689 "dfa_x86.cpp" |
2690 | ) ) { |
2691 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[_XORI_RREGI_IMMI_M1]+125; |
2692 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2693 | DFA_PRODUCTION__SET_VALID(RREGI, andnI_rReg_rReg_mem_0_rule, c) |
2694 | } |
2695 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2696 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2697 | } |
2698 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2699 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2700 | } |
2701 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2702 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2703 | } |
2704 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2705 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2706 | } |
2707 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2708 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2709 | } |
2710 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2711 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2712 | } |
2713 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2714 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2715 | } |
2716 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2717 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andnI_rReg_rReg_mem_0_rule, c) |
2718 | } |
2719 | } |
2720 | if( STATE__VALID_CHILD(_kids[0], _XORI_RREGI_IMMI_M1) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) && |
2721 | ( |
2722 | #line 9615 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
2723 | UseBMI1Instructions |
2724 | #line 2724 "dfa_x86.cpp" |
2725 | ) ) { |
2726 | unsigned int c = _kids[0]->_cost[_XORI_RREGI_IMMI_M1]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
2727 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2728 | DFA_PRODUCTION__SET_VALID(RREGI, andnI_rReg_rReg_mem_rule, c) |
2729 | } |
2730 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2731 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2732 | } |
2733 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2734 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andnI_rReg_rReg_mem_rule, c) |
2735 | } |
2736 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2737 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andnI_rReg_rReg_mem_rule, c) |
2738 | } |
2739 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2740 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andnI_rReg_rReg_mem_rule, c) |
2741 | } |
2742 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2743 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andnI_rReg_rReg_mem_rule, c) |
2744 | } |
2745 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2746 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andnI_rReg_rReg_mem_rule, c) |
2747 | } |
2748 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2749 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andnI_rReg_rReg_mem_rule, c) |
2750 | } |
2751 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2752 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andnI_rReg_rReg_mem_rule, c) |
2753 | } |
2754 | } |
2755 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
2756 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI]; |
2757 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADI_MEMORY__IMMI, _AndI__LoadI_memory__immI_rule, c) |
2758 | } |
2759 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
2760 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]; |
2761 | DFA_PRODUCTION__SET_VALID(_ANDI_RREGI__LOADI_MEMORY_, _AndI_rRegI__LoadI_memory__rule, c) |
2762 | } |
2763 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
2764 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]; |
2765 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADI_MEMORY__RREGI, _AndI__LoadI_memory__rRegI_rule, c) |
2766 | } |
2767 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADB_MEMORY_) ) { |
2768 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADB_MEMORY_]; |
2769 | DFA_PRODUCTION__SET_VALID(_ANDI_RREGI__LOADB_MEMORY_, _AndI_rRegI__LoadB_memory__rule, c) |
2770 | } |
2771 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
2772 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+_kids[1]->_cost[RREGI]; |
2773 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADB_MEMORY__RREGI, _AndI__LoadB_memory__rRegI_rule, c) |
2774 | } |
2775 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
2776 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]+125; |
2777 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2778 | DFA_PRODUCTION__SET_VALID(RREGI, andI_rReg_mem_0_rule, c) |
2779 | } |
2780 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2781 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2782 | } |
2783 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2784 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andI_rReg_mem_0_rule, c) |
2785 | } |
2786 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2787 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andI_rReg_mem_0_rule, c) |
2788 | } |
2789 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2790 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andI_rReg_mem_0_rule, c) |
2791 | } |
2792 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2793 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andI_rReg_mem_0_rule, c) |
2794 | } |
2795 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2796 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andI_rReg_mem_0_rule, c) |
2797 | } |
2798 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2799 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andI_rReg_mem_0_rule, c) |
2800 | } |
2801 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2802 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andI_rReg_mem_0_rule, c) |
2803 | } |
2804 | } |
2805 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
2806 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
2807 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2808 | DFA_PRODUCTION__SET_VALID(RREGI, andI_rReg_mem_rule, c) |
2809 | } |
2810 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2811 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2812 | } |
2813 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2814 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andI_rReg_mem_rule, c) |
2815 | } |
2816 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2817 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andI_rReg_mem_rule, c) |
2818 | } |
2819 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2820 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andI_rReg_mem_rule, c) |
2821 | } |
2822 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2823 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andI_rReg_mem_rule, c) |
2824 | } |
2825 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2826 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andI_rReg_mem_rule, c) |
2827 | } |
2828 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2829 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andI_rReg_mem_rule, c) |
2830 | } |
2831 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2832 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andI_rReg_mem_rule, c) |
2833 | } |
2834 | } |
2835 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
2836 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
2837 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2838 | DFA_PRODUCTION__SET_VALID(RREGI, andI_rReg_imm_rule, c) |
2839 | } |
2840 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2841 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2842 | } |
2843 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2844 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andI_rReg_imm_rule, c) |
2845 | } |
2846 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2847 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andI_rReg_imm_rule, c) |
2848 | } |
2849 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2850 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andI_rReg_imm_rule, c) |
2851 | } |
2852 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2853 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andI_rReg_imm_rule, c) |
2854 | } |
2855 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2856 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andI_rReg_imm_rule, c) |
2857 | } |
2858 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2859 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andI_rReg_imm_rule, c) |
2860 | } |
2861 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2862 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andI_rReg_imm_rule, c) |
2863 | } |
2864 | } |
2865 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_65535) ) { |
2866 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_65535]; |
2867 | DFA_PRODUCTION__SET_VALID(_ANDI_RREGI_IMMI_65535, _AndI_rRegI_immI_65535_rule, c) |
2868 | } |
2869 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_65535) ) { |
2870 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_65535]+100; |
2871 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2872 | DFA_PRODUCTION__SET_VALID(RREGI, andI_rReg_imm65535_rule, c) |
2873 | } |
2874 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2875 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2876 | } |
2877 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2878 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andI_rReg_imm65535_rule, c) |
2879 | } |
2880 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2881 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andI_rReg_imm65535_rule, c) |
2882 | } |
2883 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2884 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andI_rReg_imm65535_rule, c) |
2885 | } |
2886 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2887 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andI_rReg_imm65535_rule, c) |
2888 | } |
2889 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2890 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andI_rReg_imm65535_rule, c) |
2891 | } |
2892 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2893 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andI_rReg_imm65535_rule, c) |
2894 | } |
2895 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2896 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andI_rReg_imm65535_rule, c) |
2897 | } |
2898 | } |
2899 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_255) ) { |
2900 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_255]; |
2901 | DFA_PRODUCTION__SET_VALID(_ANDI_RREGI_IMMI_255, _AndI_rRegI_immI_255_rule, c) |
2902 | } |
2903 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_255) ) { |
2904 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_255]+100; |
2905 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2906 | DFA_PRODUCTION__SET_VALID(RREGI, andI_rReg_imm255_rule, c) |
2907 | } |
2908 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2909 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2910 | } |
2911 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2912 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andI_rReg_imm255_rule, c) |
2913 | } |
2914 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2915 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andI_rReg_imm255_rule, c) |
2916 | } |
2917 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2918 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andI_rReg_imm255_rule, c) |
2919 | } |
2920 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2921 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andI_rReg_imm255_rule, c) |
2922 | } |
2923 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2924 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andI_rReg_imm255_rule, c) |
2925 | } |
2926 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2927 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andI_rReg_imm255_rule, c) |
2928 | } |
2929 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2930 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andI_rReg_imm255_rule, c) |
2931 | } |
2932 | } |
2933 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
2934 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
2935 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2936 | DFA_PRODUCTION__SET_VALID(RREGI, andI_rReg_rule, c) |
2937 | } |
2938 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2939 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2940 | } |
2941 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2942 | DFA_PRODUCTION__SET_VALID(RAX_REGI, andI_rReg_rule, c) |
2943 | } |
2944 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2945 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, andI_rReg_rule, c) |
2946 | } |
2947 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2948 | DFA_PRODUCTION__SET_VALID(RBX_REGI, andI_rReg_rule, c) |
2949 | } |
2950 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2951 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, andI_rReg_rule, c) |
2952 | } |
2953 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2954 | DFA_PRODUCTION__SET_VALID(RCX_REGI, andI_rReg_rule, c) |
2955 | } |
2956 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2957 | DFA_PRODUCTION__SET_VALID(RDX_REGI, andI_rReg_rule, c) |
2958 | } |
2959 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
2960 | DFA_PRODUCTION__SET_VALID(RDI_REGI, andI_rReg_rule, c) |
2961 | } |
2962 | } |
2963 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMU31) ) { |
2964 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMU31]; |
2965 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADI_MEMORY__IMMU31, _AndI__LoadI_memory__immU31_rule, c) |
2966 | } |
2967 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_65535) ) { |
2968 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_65535]; |
2969 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADI_MEMORY__IMMI_65535, _AndI__LoadI_memory__immI_65535_rule, c) |
2970 | } |
2971 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_255) ) { |
2972 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_255]; |
2973 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADI_MEMORY__IMMI_255, _AndI__LoadI_memory__immI_255_rule, c) |
2974 | } |
2975 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_65535) ) { |
2976 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_65535]+125; |
2977 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
2978 | DFA_PRODUCTION__SET_VALID(RREGI, loadI2US_rule, c) |
2979 | } |
2980 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
2981 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
2982 | } |
2983 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
2984 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadI2US_rule, c) |
2985 | } |
2986 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
2987 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadI2US_rule, c) |
2988 | } |
2989 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
2990 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadI2US_rule, c) |
2991 | } |
2992 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
2993 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadI2US_rule, c) |
2994 | } |
2995 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
2996 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadI2US_rule, c) |
2997 | } |
2998 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
2999 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadI2US_rule, c) |
3000 | } |
3001 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
3002 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadI2US_rule, c) |
3003 | } |
3004 | } |
3005 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_255) ) { |
3006 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_255]+125; |
3007 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
3008 | DFA_PRODUCTION__SET_VALID(RREGI, loadI2UB_rule, c) |
3009 | } |
3010 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
3011 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3012 | } |
3013 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
3014 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadI2UB_rule, c) |
3015 | } |
3016 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
3017 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadI2UB_rule, c) |
3018 | } |
3019 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
3020 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadI2UB_rule, c) |
3021 | } |
3022 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
3023 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadI2UB_rule, c) |
3024 | } |
3025 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
3026 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadI2UB_rule, c) |
3027 | } |
3028 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
3029 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadI2UB_rule, c) |
3030 | } |
3031 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
3032 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadI2UB_rule, c) |
3033 | } |
3034 | } |
3035 | if( STATE__VALID_CHILD(_kids[0], _LOADUS_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
3036 | unsigned int c = _kids[0]->_cost[_LOADUS_MEMORY_]+_kids[1]->_cost[IMMI]; |
3037 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADUS_MEMORY__IMMI, _AndI__LoadUS_memory__immI_rule, c) |
3038 | } |
3039 | if( STATE__VALID_CHILD(_kids[0], _LOADUS_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_255) ) { |
3040 | unsigned int c = _kids[0]->_cost[_LOADUS_MEMORY_]+_kids[1]->_cost[IMMI_255]; |
3041 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADUS_MEMORY__IMMI_255, _AndI__LoadUS_memory__immI_255_rule, c) |
3042 | } |
3043 | if( STATE__VALID_CHILD(_kids[0], _LOADUB_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
3044 | unsigned int c = _kids[0]->_cost[_LOADUB_MEMORY_]+_kids[1]->_cost[IMMI]; |
3045 | DFA_PRODUCTION__SET_VALID(_ANDI__LOADUB_MEMORY__IMMI, _AndI__LoadUB_memory__immI_rule, c) |
3046 | } |
3047 | } |
3048 | void State::_sub_Op_AndL(const Node *n){ |
3049 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], _CASTP2X_RREGP_) ) { |
3050 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[_CASTP2X_RREGP_]; |
3051 | DFA_PRODUCTION__SET_VALID(_ANDL__LOADL_MEMORY___CASTP2X_RREGP_, _AndL__LoadL_memory___CastP2X_rRegP__rule, c) |
3052 | } |
3053 | if( STATE__VALID_CHILD(_kids[0], _CASTP2X_RREGP_) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
3054 | unsigned int c = _kids[0]->_cost[_CASTP2X_RREGP_]+_kids[1]->_cost[_LOADL_MEMORY_]; |
3055 | DFA_PRODUCTION__SET_VALID(_ANDL__CASTP2X_RREGP___LOADL_MEMORY_, _AndL__CastP2X_rRegP___LoadL_memory__rule, c) |
3056 | } |
3057 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
3058 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]; |
3059 | DFA_PRODUCTION__SET_VALID(_ANDL_RREGL_IMML32, _AndL_rRegL_immL32_rule, c) |
3060 | } |
3061 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_32BITS) ) { |
3062 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_32BITS]+100; |
3063 | DFA_PRODUCTION__SET_VALID(RREGL, zerox_long_reg_reg_rule, c) |
3064 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3065 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, zerox_long_reg_reg_rule, c) |
3066 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, zerox_long_reg_reg_rule, c) |
3067 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, zerox_long_reg_reg_rule, c) |
3068 | DFA_PRODUCTION__SET_VALID(RAX_REGL, zerox_long_reg_reg_rule, c) |
3069 | DFA_PRODUCTION__SET_VALID(RCX_REGL, zerox_long_reg_reg_rule, c) |
3070 | DFA_PRODUCTION__SET_VALID(RDX_REGL, zerox_long_reg_reg_rule, c) |
3071 | } |
3072 | if( STATE__VALID_CHILD(_kids[0], _CONVI2L_RREGI_) && STATE__VALID_CHILD(_kids[1], IMML_32BITS) ) { |
3073 | unsigned int c = _kids[0]->_cost[_CONVI2L_RREGI_]+_kids[1]->_cost[IMML_32BITS]+100; |
3074 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3075 | DFA_PRODUCTION__SET_VALID(RREGL, convI2L_reg_reg_zex_rule, c) |
3076 | } |
3077 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3078 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3079 | } |
3080 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3081 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, convI2L_reg_reg_zex_rule, c) |
3082 | } |
3083 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3084 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, convI2L_reg_reg_zex_rule, c) |
3085 | } |
3086 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3087 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, convI2L_reg_reg_zex_rule, c) |
3088 | } |
3089 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3090 | DFA_PRODUCTION__SET_VALID(RAX_REGL, convI2L_reg_reg_zex_rule, c) |
3091 | } |
3092 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3093 | DFA_PRODUCTION__SET_VALID(RCX_REGL, convI2L_reg_reg_zex_rule, c) |
3094 | } |
3095 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3096 | DFA_PRODUCTION__SET_VALID(RDX_REGL, convI2L_reg_reg_zex_rule, c) |
3097 | } |
3098 | } |
3099 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], _ADDL__LOADL_MEMORY__IMML_M1) && |
3100 | ( |
3101 | #line 10086 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3102 | UseBMI1Instructions |
3103 | #line 3103 "dfa_x86.cpp" |
3104 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
3105 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[_ADDL__LOADL_MEMORY__IMML_M1]+125; |
3106 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3107 | DFA_PRODUCTION__SET_VALID(RREGL, blsrL_rReg_mem_0_rule, c) |
3108 | } |
3109 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3110 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3111 | } |
3112 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3113 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsrL_rReg_mem_0_rule, c) |
3114 | } |
3115 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3116 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsrL_rReg_mem_0_rule, c) |
3117 | } |
3118 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3119 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsrL_rReg_mem_0_rule, c) |
3120 | } |
3121 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3122 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsrL_rReg_mem_0_rule, c) |
3123 | } |
3124 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3125 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsrL_rReg_mem_0_rule, c) |
3126 | } |
3127 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3128 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsrL_rReg_mem_0_rule, c) |
3129 | } |
3130 | } |
3131 | if( STATE__VALID_CHILD(_kids[0], _ADDL__LOADL_MEMORY__IMML_M1) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) && |
3132 | ( |
3133 | #line 10086 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3134 | UseBMI1Instructions |
3135 | #line 3135 "dfa_x86.cpp" |
3136 | ) && /*src*/(_kids[0]->_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
3137 | unsigned int c = _kids[0]->_cost[_ADDL__LOADL_MEMORY__IMML_M1]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
3138 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3139 | DFA_PRODUCTION__SET_VALID(RREGL, blsrL_rReg_mem_rule, c) |
3140 | } |
3141 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3142 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3143 | } |
3144 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3145 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsrL_rReg_mem_rule, c) |
3146 | } |
3147 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3148 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsrL_rReg_mem_rule, c) |
3149 | } |
3150 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3151 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsrL_rReg_mem_rule, c) |
3152 | } |
3153 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3154 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsrL_rReg_mem_rule, c) |
3155 | } |
3156 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3157 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsrL_rReg_mem_rule, c) |
3158 | } |
3159 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3160 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsrL_rReg_mem_rule, c) |
3161 | } |
3162 | } |
3163 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _ADDL_RREGL_IMML_M1) && |
3164 | ( |
3165 | #line 10071 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3166 | UseBMI1Instructions |
3167 | #line 3167 "dfa_x86.cpp" |
3168 | ) && /*src*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
3169 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_ADDL_RREGL_IMML_M1]+100; |
3170 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3171 | DFA_PRODUCTION__SET_VALID(RREGL, blsrL_rReg_rReg_0_rule, c) |
3172 | } |
3173 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3174 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3175 | } |
3176 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3177 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsrL_rReg_rReg_0_rule, c) |
3178 | } |
3179 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3180 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsrL_rReg_rReg_0_rule, c) |
3181 | } |
3182 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3183 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsrL_rReg_rReg_0_rule, c) |
3184 | } |
3185 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3186 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsrL_rReg_rReg_0_rule, c) |
3187 | } |
3188 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3189 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsrL_rReg_rReg_0_rule, c) |
3190 | } |
3191 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3192 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsrL_rReg_rReg_0_rule, c) |
3193 | } |
3194 | } |
3195 | if( STATE__VALID_CHILD(_kids[0], _ADDL_RREGL_IMML_M1) && STATE__VALID_CHILD(_kids[1], RREGL) && |
3196 | ( |
3197 | #line 10071 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3198 | UseBMI1Instructions |
3199 | #line 3199 "dfa_x86.cpp" |
3200 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_leaf) ) { |
3201 | unsigned int c = _kids[0]->_cost[_ADDL_RREGL_IMML_M1]+_kids[1]->_cost[RREGL]+100; |
3202 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3203 | DFA_PRODUCTION__SET_VALID(RREGL, blsrL_rReg_rReg_rule, c) |
3204 | } |
3205 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3206 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3207 | } |
3208 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3209 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsrL_rReg_rReg_rule, c) |
3210 | } |
3211 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3212 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsrL_rReg_rReg_rule, c) |
3213 | } |
3214 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3215 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsrL_rReg_rReg_rule, c) |
3216 | } |
3217 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3218 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsrL_rReg_rReg_rule, c) |
3219 | } |
3220 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3221 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsrL_rReg_rReg_rule, c) |
3222 | } |
3223 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3224 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsrL_rReg_rReg_rule, c) |
3225 | } |
3226 | } |
3227 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], _SUBL_IMML0__LOADL_MEMORY_) && |
3228 | ( |
3229 | #line 10026 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3230 | UseBMI1Instructions |
3231 | #line 3231 "dfa_x86.cpp" |
3232 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
3233 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[_SUBL_IMML0__LOADL_MEMORY_]+125; |
3234 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3235 | DFA_PRODUCTION__SET_VALID(RREGL, blsiL_rReg_mem_0_rule, c) |
3236 | } |
3237 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3238 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3239 | } |
3240 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3241 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsiL_rReg_mem_0_rule, c) |
3242 | } |
3243 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3244 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsiL_rReg_mem_0_rule, c) |
3245 | } |
3246 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3247 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsiL_rReg_mem_0_rule, c) |
3248 | } |
3249 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3250 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsiL_rReg_mem_0_rule, c) |
3251 | } |
3252 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3253 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsiL_rReg_mem_0_rule, c) |
3254 | } |
3255 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3256 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsiL_rReg_mem_0_rule, c) |
3257 | } |
3258 | } |
3259 | if( STATE__VALID_CHILD(_kids[0], _SUBL_IMML0__LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) && |
3260 | ( |
3261 | #line 10026 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3262 | UseBMI1Instructions |
3263 | #line 3263 "dfa_x86.cpp" |
3264 | ) && /*src*/(_kids[0]->_kids[1]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
3265 | unsigned int c = _kids[0]->_cost[_SUBL_IMML0__LOADL_MEMORY_]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
3266 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3267 | DFA_PRODUCTION__SET_VALID(RREGL, blsiL_rReg_mem_rule, c) |
3268 | } |
3269 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3270 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3271 | } |
3272 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3273 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsiL_rReg_mem_rule, c) |
3274 | } |
3275 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3276 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsiL_rReg_mem_rule, c) |
3277 | } |
3278 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3279 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsiL_rReg_mem_rule, c) |
3280 | } |
3281 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3282 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsiL_rReg_mem_rule, c) |
3283 | } |
3284 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3285 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsiL_rReg_mem_rule, c) |
3286 | } |
3287 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3288 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsiL_rReg_mem_rule, c) |
3289 | } |
3290 | } |
3291 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _SUBL_IMML0_RREGL) && |
3292 | ( |
3293 | #line 10013 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3294 | UseBMI1Instructions |
3295 | #line 3295 "dfa_x86.cpp" |
3296 | ) && /*src*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
3297 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_SUBL_IMML0_RREGL]+100; |
3298 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3299 | DFA_PRODUCTION__SET_VALID(RREGL, blsiL_rReg_rReg_0_rule, c) |
3300 | } |
3301 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3302 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3303 | } |
3304 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3305 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsiL_rReg_rReg_0_rule, c) |
3306 | } |
3307 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3308 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsiL_rReg_rReg_0_rule, c) |
3309 | } |
3310 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3311 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsiL_rReg_rReg_0_rule, c) |
3312 | } |
3313 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3314 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsiL_rReg_rReg_0_rule, c) |
3315 | } |
3316 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3317 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsiL_rReg_rReg_0_rule, c) |
3318 | } |
3319 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3320 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsiL_rReg_rReg_0_rule, c) |
3321 | } |
3322 | } |
3323 | if( STATE__VALID_CHILD(_kids[0], _SUBL_IMML0_RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) && |
3324 | ( |
3325 | #line 10013 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3326 | UseBMI1Instructions |
3327 | #line 3327 "dfa_x86.cpp" |
3328 | ) && /*src*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
3329 | unsigned int c = _kids[0]->_cost[_SUBL_IMML0_RREGL]+_kids[1]->_cost[RREGL]+100; |
3330 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3331 | DFA_PRODUCTION__SET_VALID(RREGL, blsiL_rReg_rReg_rule, c) |
3332 | } |
3333 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3334 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3335 | } |
3336 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3337 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsiL_rReg_rReg_rule, c) |
3338 | } |
3339 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3340 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsiL_rReg_rReg_rule, c) |
3341 | } |
3342 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3343 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsiL_rReg_rReg_rule, c) |
3344 | } |
3345 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3346 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsiL_rReg_rReg_rule, c) |
3347 | } |
3348 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3349 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsiL_rReg_rReg_rule, c) |
3350 | } |
3351 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3352 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsiL_rReg_rReg_rule, c) |
3353 | } |
3354 | } |
3355 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _XORL_RREGL_IMML_M1) && |
3356 | ( |
3357 | #line 10000 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3358 | UseBMI1Instructions |
3359 | #line 3359 "dfa_x86.cpp" |
3360 | ) ) { |
3361 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_XORL_RREGL_IMML_M1]+100; |
3362 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3363 | DFA_PRODUCTION__SET_VALID(RREGL, andnL_rReg_rReg_rReg_0_rule, c) |
3364 | } |
3365 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3366 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3367 | } |
3368 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3369 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andnL_rReg_rReg_rReg_0_rule, c) |
3370 | } |
3371 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3372 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andnL_rReg_rReg_rReg_0_rule, c) |
3373 | } |
3374 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3375 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andnL_rReg_rReg_rReg_0_rule, c) |
3376 | } |
3377 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3378 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andnL_rReg_rReg_rReg_0_rule, c) |
3379 | } |
3380 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3381 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andnL_rReg_rReg_rReg_0_rule, c) |
3382 | } |
3383 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3384 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andnL_rReg_rReg_rReg_0_rule, c) |
3385 | } |
3386 | } |
3387 | if( STATE__VALID_CHILD(_kids[0], _XORL_RREGL_IMML_M1) && STATE__VALID_CHILD(_kids[1], RREGL) && |
3388 | ( |
3389 | #line 10000 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3390 | UseBMI1Instructions |
3391 | #line 3391 "dfa_x86.cpp" |
3392 | ) ) { |
3393 | unsigned int c = _kids[0]->_cost[_XORL_RREGL_IMML_M1]+_kids[1]->_cost[RREGL]+100; |
3394 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3395 | DFA_PRODUCTION__SET_VALID(RREGL, andnL_rReg_rReg_rReg_rule, c) |
3396 | } |
3397 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3398 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3399 | } |
3400 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3401 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andnL_rReg_rReg_rReg_rule, c) |
3402 | } |
3403 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3404 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andnL_rReg_rReg_rReg_rule, c) |
3405 | } |
3406 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3407 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andnL_rReg_rReg_rReg_rule, c) |
3408 | } |
3409 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3410 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andnL_rReg_rReg_rReg_rule, c) |
3411 | } |
3412 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3413 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andnL_rReg_rReg_rReg_rule, c) |
3414 | } |
3415 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3416 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andnL_rReg_rReg_rReg_rule, c) |
3417 | } |
3418 | } |
3419 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], _XORL_RREGL_IMML_M1) && |
3420 | ( |
3421 | #line 9986 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3422 | UseBMI1Instructions |
3423 | #line 3423 "dfa_x86.cpp" |
3424 | ) ) { |
3425 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[_XORL_RREGL_IMML_M1]+125; |
3426 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3427 | DFA_PRODUCTION__SET_VALID(RREGL, andnL_rReg_rReg_mem_0_rule, c) |
3428 | } |
3429 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3430 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3431 | } |
3432 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3433 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andnL_rReg_rReg_mem_0_rule, c) |
3434 | } |
3435 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3436 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andnL_rReg_rReg_mem_0_rule, c) |
3437 | } |
3438 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3439 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andnL_rReg_rReg_mem_0_rule, c) |
3440 | } |
3441 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3442 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andnL_rReg_rReg_mem_0_rule, c) |
3443 | } |
3444 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3445 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andnL_rReg_rReg_mem_0_rule, c) |
3446 | } |
3447 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3448 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andnL_rReg_rReg_mem_0_rule, c) |
3449 | } |
3450 | } |
3451 | if( STATE__VALID_CHILD(_kids[0], _XORL_RREGL_IMML_M1) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) && |
3452 | ( |
3453 | #line 9986 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3454 | UseBMI1Instructions |
3455 | #line 3455 "dfa_x86.cpp" |
3456 | ) ) { |
3457 | unsigned int c = _kids[0]->_cost[_XORL_RREGL_IMML_M1]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
3458 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3459 | DFA_PRODUCTION__SET_VALID(RREGL, andnL_rReg_rReg_mem_rule, c) |
3460 | } |
3461 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3462 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3463 | } |
3464 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3465 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andnL_rReg_rReg_mem_rule, c) |
3466 | } |
3467 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3468 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andnL_rReg_rReg_mem_rule, c) |
3469 | } |
3470 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3471 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andnL_rReg_rReg_mem_rule, c) |
3472 | } |
3473 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3474 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andnL_rReg_rReg_mem_rule, c) |
3475 | } |
3476 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3477 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andnL_rReg_rReg_mem_rule, c) |
3478 | } |
3479 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3480 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andnL_rReg_rReg_mem_rule, c) |
3481 | } |
3482 | } |
3483 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
3484 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML32]; |
3485 | DFA_PRODUCTION__SET_VALID(_ANDL__LOADL_MEMORY__IMML32, _AndL__LoadL_memory__immL32_rule, c) |
3486 | } |
3487 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
3488 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]; |
3489 | DFA_PRODUCTION__SET_VALID(_ANDL_RREGL__LOADL_MEMORY_, _AndL_rRegL__LoadL_memory__rule, c) |
3490 | } |
3491 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
3492 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]; |
3493 | DFA_PRODUCTION__SET_VALID(_ANDL__LOADL_MEMORY__RREGL, _AndL__LoadL_memory__rRegL_rule, c) |
3494 | } |
3495 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
3496 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]+125; |
3497 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3498 | DFA_PRODUCTION__SET_VALID(RREGL, andL_rReg_mem_0_rule, c) |
3499 | } |
3500 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3501 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3502 | } |
3503 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3504 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andL_rReg_mem_0_rule, c) |
3505 | } |
3506 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3507 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andL_rReg_mem_0_rule, c) |
3508 | } |
3509 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3510 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andL_rReg_mem_0_rule, c) |
3511 | } |
3512 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3513 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andL_rReg_mem_0_rule, c) |
3514 | } |
3515 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3516 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andL_rReg_mem_0_rule, c) |
3517 | } |
3518 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3519 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andL_rReg_mem_0_rule, c) |
3520 | } |
3521 | } |
3522 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
3523 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
3524 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3525 | DFA_PRODUCTION__SET_VALID(RREGL, andL_rReg_mem_rule, c) |
3526 | } |
3527 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3528 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3529 | } |
3530 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3531 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andL_rReg_mem_rule, c) |
3532 | } |
3533 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3534 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andL_rReg_mem_rule, c) |
3535 | } |
3536 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3537 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andL_rReg_mem_rule, c) |
3538 | } |
3539 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3540 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andL_rReg_mem_rule, c) |
3541 | } |
3542 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3543 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andL_rReg_mem_rule, c) |
3544 | } |
3545 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3546 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andL_rReg_mem_rule, c) |
3547 | } |
3548 | } |
3549 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
3550 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
3551 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3552 | DFA_PRODUCTION__SET_VALID(RREGL, andL_rReg_imm_rule, c) |
3553 | } |
3554 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3555 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3556 | } |
3557 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3558 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andL_rReg_imm_rule, c) |
3559 | } |
3560 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3561 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andL_rReg_imm_rule, c) |
3562 | } |
3563 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3564 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andL_rReg_imm_rule, c) |
3565 | } |
3566 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3567 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andL_rReg_imm_rule, c) |
3568 | } |
3569 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3570 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andL_rReg_imm_rule, c) |
3571 | } |
3572 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3573 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andL_rReg_imm_rule, c) |
3574 | } |
3575 | } |
3576 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_65535) ) { |
3577 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_65535]+100; |
3578 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3579 | DFA_PRODUCTION__SET_VALID(RREGL, andL_rReg_imm65535_rule, c) |
3580 | } |
3581 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3582 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3583 | } |
3584 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3585 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andL_rReg_imm65535_rule, c) |
3586 | } |
3587 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3588 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andL_rReg_imm65535_rule, c) |
3589 | } |
3590 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3591 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andL_rReg_imm65535_rule, c) |
3592 | } |
3593 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3594 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andL_rReg_imm65535_rule, c) |
3595 | } |
3596 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3597 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andL_rReg_imm65535_rule, c) |
3598 | } |
3599 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3600 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andL_rReg_imm65535_rule, c) |
3601 | } |
3602 | } |
3603 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_255) ) { |
3604 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_255]+100; |
3605 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3606 | DFA_PRODUCTION__SET_VALID(RREGL, andL_rReg_imm255_rule, c) |
3607 | } |
3608 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3609 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3610 | } |
3611 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3612 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andL_rReg_imm255_rule, c) |
3613 | } |
3614 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3615 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andL_rReg_imm255_rule, c) |
3616 | } |
3617 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3618 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andL_rReg_imm255_rule, c) |
3619 | } |
3620 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3621 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andL_rReg_imm255_rule, c) |
3622 | } |
3623 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3624 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andL_rReg_imm255_rule, c) |
3625 | } |
3626 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3627 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andL_rReg_imm255_rule, c) |
3628 | } |
3629 | } |
3630 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
3631 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
3632 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3633 | DFA_PRODUCTION__SET_VALID(RREGL, andL_rReg_rule, c) |
3634 | } |
3635 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3636 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3637 | } |
3638 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3639 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andL_rReg_rule, c) |
3640 | } |
3641 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3642 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andL_rReg_rule, c) |
3643 | } |
3644 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3645 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andL_rReg_rule, c) |
3646 | } |
3647 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3648 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andL_rReg_rule, c) |
3649 | } |
3650 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3651 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andL_rReg_rule, c) |
3652 | } |
3653 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3654 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andL_rReg_rule, c) |
3655 | } |
3656 | } |
3657 | if( STATE__VALID_CHILD(_kids[0], _CONVI2L__LOADI_MEMORY__) && STATE__VALID_CHILD(_kids[1], IMML_32BITS) ) { |
3658 | unsigned int c = _kids[0]->_cost[_CONVI2L__LOADI_MEMORY__]+_kids[1]->_cost[IMML_32BITS]+125; |
3659 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
3660 | DFA_PRODUCTION__SET_VALID(RREGL, loadUI2L_rule, c) |
3661 | } |
3662 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
3663 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3664 | } |
3665 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
3666 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadUI2L_rule, c) |
3667 | } |
3668 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
3669 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadUI2L_rule, c) |
3670 | } |
3671 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
3672 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadUI2L_rule, c) |
3673 | } |
3674 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
3675 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadUI2L_rule, c) |
3676 | } |
3677 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
3678 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadUI2L_rule, c) |
3679 | } |
3680 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
3681 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadUI2L_rule, c) |
3682 | } |
3683 | } |
3684 | } |
3685 | void State::_sub_Op_AryEq(const Node *n){ |
3686 | if( STATE__VALID_CHILD(_kids[0], RDI_REGP) && STATE__VALID_CHILD(_kids[1], RSI_REGP) && |
3687 | ( |
3688 | #line 11550 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3689 | ((AryEqNode*)n)->encoding() == StrIntrinsicNode::UU |
3690 | #line 3690 "dfa_x86.cpp" |
3691 | ) ) { |
3692 | unsigned int c = _kids[0]->_cost[RDI_REGP]+_kids[1]->_cost[RSI_REGP]+100; |
3693 | DFA_PRODUCTION__SET_VALID(RAX_REGI, array_equalsC_rule, c) |
3694 | DFA_PRODUCTION__SET_VALID(RREGI, array_equalsC_rule, c) |
3695 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3696 | DFA_PRODUCTION__SET_VALID(RBX_REGI, array_equalsC_rule, c) |
3697 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, array_equalsC_rule, c) |
3698 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, array_equalsC_rule, c) |
3699 | DFA_PRODUCTION__SET_VALID(RCX_REGI, array_equalsC_rule, c) |
3700 | DFA_PRODUCTION__SET_VALID(RDX_REGI, array_equalsC_rule, c) |
3701 | DFA_PRODUCTION__SET_VALID(RDI_REGI, array_equalsC_rule, c) |
3702 | } |
3703 | if( STATE__VALID_CHILD(_kids[0], RDI_REGP) && STATE__VALID_CHILD(_kids[1], RSI_REGP) && |
3704 | ( |
3705 | #line 11534 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3706 | ((AryEqNode*)n)->encoding() == StrIntrinsicNode::LL |
3707 | #line 3707 "dfa_x86.cpp" |
3708 | ) ) { |
3709 | unsigned int c = _kids[0]->_cost[RDI_REGP]+_kids[1]->_cost[RSI_REGP]+100; |
3710 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
3711 | DFA_PRODUCTION__SET_VALID(RAX_REGI, array_equalsB_rule, c) |
3712 | } |
3713 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
3714 | DFA_PRODUCTION__SET_VALID(RREGI, array_equalsB_rule, c) |
3715 | } |
3716 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
3717 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3718 | } |
3719 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
3720 | DFA_PRODUCTION__SET_VALID(RBX_REGI, array_equalsB_rule, c) |
3721 | } |
3722 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
3723 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, array_equalsB_rule, c) |
3724 | } |
3725 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
3726 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, array_equalsB_rule, c) |
3727 | } |
3728 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
3729 | DFA_PRODUCTION__SET_VALID(RCX_REGI, array_equalsB_rule, c) |
3730 | } |
3731 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
3732 | DFA_PRODUCTION__SET_VALID(RDX_REGI, array_equalsB_rule, c) |
3733 | } |
3734 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
3735 | DFA_PRODUCTION__SET_VALID(RDI_REGI, array_equalsB_rule, c) |
3736 | } |
3737 | } |
3738 | } |
3739 | void State::_sub_Op_Binary(const Node *n){ |
3740 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGP) ) { |
3741 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGP]; |
3742 | DFA_PRODUCTION__SET_VALID(_BINARY_MEMORY_RREGP, _Binary_memory_rRegP_rule, c) |
3743 | } |
3744 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) ) { |
3745 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]; |
3746 | DFA_PRODUCTION__SET_VALID(_BINARY_VECZ__LOADVECTOR_MEMORY_, _Binary_vecZ__LoadVector_memory__rule, c) |
3747 | } |
3748 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) ) { |
3749 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]; |
3750 | DFA_PRODUCTION__SET_VALID(_BINARY_VECZ_VECZ, _Binary_vecZ_vecZ_rule, c) |
3751 | } |
3752 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) ) { |
3753 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]; |
3754 | DFA_PRODUCTION__SET_VALID(_BINARY_VECY__LOADVECTOR_MEMORY_, _Binary_vecY__LoadVector_memory__rule, c) |
3755 | } |
3756 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) ) { |
3757 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]; |
3758 | DFA_PRODUCTION__SET_VALID(_BINARY_VECY_VECY, _Binary_vecY_vecY_rule, c) |
3759 | } |
3760 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) ) { |
3761 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]; |
3762 | DFA_PRODUCTION__SET_VALID(_BINARY_VECX__LOADVECTOR_MEMORY_, _Binary_vecX__LoadVector_memory__rule, c) |
3763 | } |
3764 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) ) { |
3765 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]; |
3766 | DFA_PRODUCTION__SET_VALID(_BINARY_VECX_VECX, _Binary_vecX_vecX_rule, c) |
3767 | } |
3768 | if( STATE__VALID_CHILD(_kids[0], LEGVECY) && STATE__VALID_CHILD(_kids[1], LEGVECY) ) { |
3769 | unsigned int c = _kids[0]->_cost[LEGVECY]+_kids[1]->_cost[LEGVECY]; |
3770 | DFA_PRODUCTION__SET_VALID(_BINARY_LEGVECY_LEGVECY, _Binary_legVecY_legVecY_rule, c) |
3771 | } |
3772 | if( STATE__VALID_CHILD(_kids[0], CMPOP_VCMPPD) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
3773 | unsigned int c = _kids[0]->_cost[CMPOP_VCMPPD]+_kids[1]->_cost[IMMI8]; |
3774 | DFA_PRODUCTION__SET_VALID(_BINARY_CMPOP_VCMPPD_IMMI8, _Binary_cmpOp_vcmppd_immI8_rule, c) |
3775 | } |
3776 | if( STATE__VALID_CHILD(_kids[0], RDI_REGP) && STATE__VALID_CHILD(_kids[1], RSI_REGP) ) { |
3777 | unsigned int c = _kids[0]->_cost[RDI_REGP]+_kids[1]->_cost[RSI_REGP]; |
3778 | DFA_PRODUCTION__SET_VALID(_BINARY_RDI_REGP_RSI_REGP, _Binary_rdi_RegP_rsi_RegP_rule, c) |
3779 | } |
3780 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], RAX_REGI) ) { |
3781 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[RAX_REGI]; |
3782 | DFA_PRODUCTION__SET_VALID(_BINARY_RSI_REGP_RAX_REGI, _Binary_rsi_RegP_rax_RegI_rule, c) |
3783 | } |
3784 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
3785 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[IMMI]; |
3786 | DFA_PRODUCTION__SET_VALID(_BINARY_RSI_REGP_IMMI, _Binary_rsi_RegP_immI_rule, c) |
3787 | } |
3788 | if( STATE__VALID_CHILD(_kids[0], RDI_REGP) && STATE__VALID_CHILD(_kids[1], RDX_REGI) ) { |
3789 | unsigned int c = _kids[0]->_cost[RDI_REGP]+_kids[1]->_cost[RDX_REGI]; |
3790 | DFA_PRODUCTION__SET_VALID(_BINARY_RDI_REGP_RDX_REGI, _Binary_rdi_RegP_rdx_RegI_rule, c) |
3791 | } |
3792 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], RDX_REGI) ) { |
3793 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[RDX_REGI]; |
3794 | DFA_PRODUCTION__SET_VALID(_BINARY_RSI_REGP_RDX_REGI, _Binary_rsi_RegP_rdx_RegI_rule, c) |
3795 | } |
3796 | if( STATE__VALID_CHILD(_kids[0], RDI_REGP) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
3797 | unsigned int c = _kids[0]->_cost[RDI_REGP]+_kids[1]->_cost[RCX_REGI]; |
3798 | DFA_PRODUCTION__SET_VALID(_BINARY_RDI_REGP_RCX_REGI, _Binary_rdi_RegP_rcx_RegI_rule, c) |
3799 | } |
3800 | if( STATE__VALID_CHILD(_kids[0], RAX_REGN) && STATE__VALID_CHILD(_kids[1], RREGN) ) { |
3801 | unsigned int c = _kids[0]->_cost[RAX_REGN]+_kids[1]->_cost[RREGN]; |
3802 | DFA_PRODUCTION__SET_VALID(_BINARY_RAX_REGN_RREGN, _Binary_rax_RegN_rRegN_rule, c) |
3803 | } |
3804 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
3805 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[RREGL]; |
3806 | DFA_PRODUCTION__SET_VALID(_BINARY_RAX_REGL_RREGL, _Binary_rax_RegL_rRegL_rule, c) |
3807 | } |
3808 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
3809 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[RREGI]; |
3810 | DFA_PRODUCTION__SET_VALID(_BINARY_RAX_REGI_RREGI, _Binary_rax_RegI_rRegI_rule, c) |
3811 | } |
3812 | if( STATE__VALID_CHILD(_kids[0], RAX_REGP) && STATE__VALID_CHILD(_kids[1], RREGP) ) { |
3813 | unsigned int c = _kids[0]->_cost[RAX_REGP]+_kids[1]->_cost[RREGP]; |
3814 | DFA_PRODUCTION__SET_VALID(_BINARY_RAX_REGP_RREGP, _Binary_rax_RegP_rRegP_rule, c) |
3815 | } |
3816 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) ) { |
3817 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]; |
3818 | DFA_PRODUCTION__SET_VALID(_BINARY_REGD_REGD, _Binary_regD_regD_rule, c) |
3819 | } |
3820 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) ) { |
3821 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]; |
3822 | DFA_PRODUCTION__SET_VALID(_BINARY_REGF_REGF, _Binary_regF_regF_rule, c) |
3823 | } |
3824 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
3825 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]; |
3826 | DFA_PRODUCTION__SET_VALID(_BINARY_RREGL__LOADL_MEMORY_, _Binary_rRegL__LoadL_memory__rule, c) |
3827 | } |
3828 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
3829 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]; |
3830 | DFA_PRODUCTION__SET_VALID(_BINARY_RREGL_RREGL, _Binary_rRegL_rRegL_rule, c) |
3831 | } |
3832 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], RREGP) ) { |
3833 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[RREGP]; |
3834 | DFA_PRODUCTION__SET_VALID(_BINARY_RREGP_RREGP, _Binary_rRegP_rRegP_rule, c) |
3835 | } |
3836 | if( STATE__VALID_CHILD(_kids[0], RREGN) && STATE__VALID_CHILD(_kids[1], RREGN) ) { |
3837 | unsigned int c = _kids[0]->_cost[RREGN]+_kids[1]->_cost[RREGN]; |
3838 | DFA_PRODUCTION__SET_VALID(_BINARY_RREGN_RREGN, _Binary_rRegN_rRegN_rule, c) |
3839 | } |
3840 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
3841 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]; |
3842 | DFA_PRODUCTION__SET_VALID(_BINARY_RREGI__LOADI_MEMORY_, _Binary_rRegI__LoadI_memory__rule, c) |
3843 | } |
3844 | if( STATE__VALID_CHILD(_kids[0], CMPOPUCF) && STATE__VALID_CHILD(_kids[1], RFLAGSREGUCF) ) { |
3845 | unsigned int c = _kids[0]->_cost[CMPOPUCF]+_kids[1]->_cost[RFLAGSREGUCF]; |
3846 | DFA_PRODUCTION__SET_VALID(_BINARY_CMPOPUCF_RFLAGSREGUCF, _Binary_cmpOpUCF_rFlagsRegUCF_rule, c) |
3847 | } |
3848 | if( STATE__VALID_CHILD(_kids[0], CMPOPU) && STATE__VALID_CHILD(_kids[1], RFLAGSREGU) ) { |
3849 | unsigned int c = _kids[0]->_cost[CMPOPU]+_kids[1]->_cost[RFLAGSREGU]; |
3850 | DFA_PRODUCTION__SET_VALID(_BINARY_CMPOPU_RFLAGSREGU, _Binary_cmpOpU_rFlagsRegU_rule, c) |
3851 | } |
3852 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
3853 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]; |
3854 | DFA_PRODUCTION__SET_VALID(_BINARY_RREGI_RREGI, _Binary_rRegI_rRegI_rule, c) |
3855 | } |
3856 | if( STATE__VALID_CHILD(_kids[0], CMPOP) && STATE__VALID_CHILD(_kids[1], RFLAGSREG) ) { |
3857 | unsigned int c = _kids[0]->_cost[CMPOP]+_kids[1]->_cost[RFLAGSREG]; |
3858 | DFA_PRODUCTION__SET_VALID(_BINARY_CMPOP_RFLAGSREG, _Binary_cmpOp_rFlagsReg_rule, c) |
3859 | } |
3860 | } |
3861 | void State::_sub_Op_Bool(const Node *n){ |
3862 | if( |
3863 | #line 2066 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
3864 | n->as_Bool()->_test._test != BoolTest::overflow && |
3865 | n->as_Bool()->_test._test != BoolTest::no_overflow |
3866 | #line 3866 "dfa_x86.cpp" |
3867 | ) { |
3868 | unsigned int c = 0; |
3869 | DFA_PRODUCTION__SET_VALID(CMPOP_VCMPPD, cmpOp_vcmppd_rule, c) |
3870 | } |
3871 | if( |
3872 | #line 4248 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3873 | n->as_Bool()->_test._test == BoolTest::ne || |
3874 | n->as_Bool()->_test._test == BoolTest::eq |
3875 | #line 3875 "dfa_x86.cpp" |
3876 | ) { |
3877 | unsigned int c = 0; |
3878 | DFA_PRODUCTION__SET_VALID(CMPOPUCF2, cmpOpUCF2_rule, c) |
3879 | } |
3880 | if( |
3881 | #line 4227 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
3882 | n->as_Bool()->_test._test == BoolTest::lt || |
3883 | n->as_Bool()->_test._test == BoolTest::ge || |
3884 | n->as_Bool()->_test._test == BoolTest::le || |
3885 | n->as_Bool()->_test._test == BoolTest::gt |
3886 | #line 3886 "dfa_x86.cpp" |
3887 | ) { |
3888 | unsigned int c = 0; |
3889 | DFA_PRODUCTION__SET_VALID(CMPOPUCF, cmpOpUCF_rule, c) |
3890 | } |
3891 | { |
3892 | unsigned int c = 0; |
3893 | DFA_PRODUCTION__SET_VALID(CMPOPU, cmpOpU_rule, c) |
3894 | } |
3895 | { |
3896 | unsigned int c = 0; |
3897 | DFA_PRODUCTION__SET_VALID(CMPOP, cmpOp_rule, c) |
3898 | } |
3899 | } |
3900 | void State::_sub_Op_ReverseBytesI(const Node *n){ |
3901 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
3902 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
3903 | DFA_PRODUCTION__SET_VALID(RREGI, bytes_reverse_int_rule, c) |
3904 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3905 | DFA_PRODUCTION__SET_VALID(RAX_REGI, bytes_reverse_int_rule, c) |
3906 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, bytes_reverse_int_rule, c) |
3907 | DFA_PRODUCTION__SET_VALID(RBX_REGI, bytes_reverse_int_rule, c) |
3908 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, bytes_reverse_int_rule, c) |
3909 | DFA_PRODUCTION__SET_VALID(RCX_REGI, bytes_reverse_int_rule, c) |
3910 | DFA_PRODUCTION__SET_VALID(RDX_REGI, bytes_reverse_int_rule, c) |
3911 | DFA_PRODUCTION__SET_VALID(RDI_REGI, bytes_reverse_int_rule, c) |
3912 | } |
3913 | } |
3914 | void State::_sub_Op_ReverseBytesL(const Node *n){ |
3915 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
3916 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
3917 | DFA_PRODUCTION__SET_VALID(RREGL, bytes_reverse_long_rule, c) |
3918 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
3919 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, bytes_reverse_long_rule, c) |
3920 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, bytes_reverse_long_rule, c) |
3921 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, bytes_reverse_long_rule, c) |
3922 | DFA_PRODUCTION__SET_VALID(RAX_REGL, bytes_reverse_long_rule, c) |
3923 | DFA_PRODUCTION__SET_VALID(RCX_REGL, bytes_reverse_long_rule, c) |
3924 | DFA_PRODUCTION__SET_VALID(RDX_REGL, bytes_reverse_long_rule, c) |
3925 | } |
3926 | } |
3927 | void State::_sub_Op_ReverseBytesUS(const Node *n){ |
3928 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
3929 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
3930 | DFA_PRODUCTION__SET_VALID(RREGI, bytes_reverse_unsigned_short_rule, c) |
3931 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3932 | DFA_PRODUCTION__SET_VALID(RAX_REGI, bytes_reverse_unsigned_short_rule, c) |
3933 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, bytes_reverse_unsigned_short_rule, c) |
3934 | DFA_PRODUCTION__SET_VALID(RBX_REGI, bytes_reverse_unsigned_short_rule, c) |
3935 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, bytes_reverse_unsigned_short_rule, c) |
3936 | DFA_PRODUCTION__SET_VALID(RCX_REGI, bytes_reverse_unsigned_short_rule, c) |
3937 | DFA_PRODUCTION__SET_VALID(RDX_REGI, bytes_reverse_unsigned_short_rule, c) |
3938 | DFA_PRODUCTION__SET_VALID(RDI_REGI, bytes_reverse_unsigned_short_rule, c) |
3939 | } |
3940 | } |
3941 | void State::_sub_Op_ReverseBytesS(const Node *n){ |
3942 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
3943 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
3944 | DFA_PRODUCTION__SET_VALID(RREGI, bytes_reverse_short_rule, c) |
3945 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3946 | DFA_PRODUCTION__SET_VALID(RAX_REGI, bytes_reverse_short_rule, c) |
3947 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, bytes_reverse_short_rule, c) |
3948 | DFA_PRODUCTION__SET_VALID(RBX_REGI, bytes_reverse_short_rule, c) |
3949 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, bytes_reverse_short_rule, c) |
3950 | DFA_PRODUCTION__SET_VALID(RCX_REGI, bytes_reverse_short_rule, c) |
3951 | DFA_PRODUCTION__SET_VALID(RDX_REGI, bytes_reverse_short_rule, c) |
3952 | DFA_PRODUCTION__SET_VALID(RDI_REGI, bytes_reverse_short_rule, c) |
3953 | } |
3954 | } |
3955 | void State::_sub_Op_CallDynamicJava(const Node *n){ |
3956 | { |
3957 | unsigned int c = 300; |
3958 | DFA_PRODUCTION__SET_VALID(UNIVERSE, CallDynamicJavaDirect_rule, c) |
3959 | } |
3960 | } |
3961 | void State::_sub_Op_CallLeaf(const Node *n){ |
3962 | { |
3963 | unsigned int c = 300; |
3964 | DFA_PRODUCTION__SET_VALID(UNIVERSE, CallLeafDirect_rule, c) |
3965 | } |
3966 | } |
3967 | void State::_sub_Op_CallLeafNoFP(const Node *n){ |
3968 | { |
3969 | unsigned int c = 300; |
3970 | DFA_PRODUCTION__SET_VALID(UNIVERSE, CallLeafNoFPDirect_rule, c) |
3971 | } |
3972 | } |
3973 | void State::_sub_Op_CallRuntime(const Node *n){ |
3974 | { |
3975 | unsigned int c = 300; |
3976 | DFA_PRODUCTION__SET_VALID(UNIVERSE, CallRuntimeDirect_rule, c) |
3977 | } |
3978 | } |
3979 | void State::_sub_Op_CallStaticJava(const Node *n){ |
3980 | { |
3981 | unsigned int c = 300; |
3982 | DFA_PRODUCTION__SET_VALID(UNIVERSE, CallStaticJavaDirect_rule, c) |
3983 | } |
3984 | } |
3985 | void State::_sub_Op_CastII(const Node *n){ |
3986 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
3987 | unsigned int c = _kids[0]->_cost[RREGI]; |
3988 | DFA_PRODUCTION__SET_VALID(RREGI, castII_rule, c) |
3989 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
3990 | DFA_PRODUCTION__SET_VALID(RAX_REGI, castII_rule, c) |
3991 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, castII_rule, c) |
3992 | DFA_PRODUCTION__SET_VALID(RBX_REGI, castII_rule, c) |
3993 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, castII_rule, c) |
3994 | DFA_PRODUCTION__SET_VALID(RCX_REGI, castII_rule, c) |
3995 | DFA_PRODUCTION__SET_VALID(RDX_REGI, castII_rule, c) |
3996 | DFA_PRODUCTION__SET_VALID(RDI_REGI, castII_rule, c) |
3997 | } |
3998 | } |
3999 | void State::_sub_Op_CastX2P(const Node *n){ |
4000 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
4001 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
4002 | DFA_PRODUCTION__SET_VALID(RREGP, castX2P_rule, c) |
4003 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
4004 | DFA_PRODUCTION__SET_VALID(ANY_REGP, castX2P_rule, c) |
4005 | DFA_PRODUCTION__SET_VALID(INDIRECT, castX2P_rule, c) |
4006 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
4007 | DFA_PRODUCTION__SET_VALID(RAX_REGP, castX2P_rule, c) |
4008 | DFA_PRODUCTION__SET_VALID(RBX_REGP, castX2P_rule, c) |
4009 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, castX2P_rule, c) |
4010 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, castX2P_rule, c) |
4011 | DFA_PRODUCTION__SET_VALID(RSI_REGP, castX2P_rule, c) |
4012 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, castX2P_rule, c) |
4013 | DFA_PRODUCTION__SET_VALID(RDI_REGP, castX2P_rule, c) |
4014 | DFA_PRODUCTION__SET_VALID(R15_REGP, castX2P_rule, c) |
4015 | } |
4016 | } |
4017 | void State::_sub_Op_CastP2X(const Node *n){ |
4018 | if( STATE__VALID_CHILD(_kids[0], ANY_REGP) ) { |
4019 | unsigned int c = _kids[0]->_cost[ANY_REGP]; |
4020 | DFA_PRODUCTION__SET_VALID(_CASTP2X_ANY_REGP_, _CastP2X_any_RegP__rule, c) |
4021 | } |
4022 | if( STATE__VALID_CHILD(_kids[0], _DECODEN_RREGN_) ) { |
4023 | unsigned int c = _kids[0]->_cost[_DECODEN_RREGN_]; |
4024 | DFA_PRODUCTION__SET_VALID(_CASTP2X__DECODEN_RREGN__, _CastP2X__DecodeN_rRegN___rule, c) |
4025 | } |
4026 | if( STATE__VALID_CHILD(_kids[0], RREGP) ) { |
4027 | unsigned int c = _kids[0]->_cost[RREGP]; |
4028 | DFA_PRODUCTION__SET_VALID(_CASTP2X_RREGP_, _CastP2X_rRegP__rule, c) |
4029 | } |
4030 | if( STATE__VALID_CHILD(_kids[0], RREGP) ) { |
4031 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
4032 | DFA_PRODUCTION__SET_VALID(RREGL, castP2X_rule, c) |
4033 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4034 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, castP2X_rule, c) |
4035 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, castP2X_rule, c) |
4036 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, castP2X_rule, c) |
4037 | DFA_PRODUCTION__SET_VALID(RAX_REGL, castP2X_rule, c) |
4038 | DFA_PRODUCTION__SET_VALID(RCX_REGL, castP2X_rule, c) |
4039 | DFA_PRODUCTION__SET_VALID(RDX_REGL, castP2X_rule, c) |
4040 | } |
4041 | } |
4042 | void State::_sub_Op_CastPP(const Node *n){ |
4043 | if( STATE__VALID_CHILD(_kids[0], RREGP) ) { |
4044 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
4045 | DFA_PRODUCTION__SET_VALID(RREGP, castPP_rule, c) |
4046 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
4047 | DFA_PRODUCTION__SET_VALID(ANY_REGP, castPP_rule, c) |
4048 | DFA_PRODUCTION__SET_VALID(INDIRECT, castPP_rule, c) |
4049 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
4050 | DFA_PRODUCTION__SET_VALID(RAX_REGP, castPP_rule, c) |
4051 | DFA_PRODUCTION__SET_VALID(RBX_REGP, castPP_rule, c) |
4052 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, castPP_rule, c) |
4053 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, castPP_rule, c) |
4054 | DFA_PRODUCTION__SET_VALID(RSI_REGP, castPP_rule, c) |
4055 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, castPP_rule, c) |
4056 | DFA_PRODUCTION__SET_VALID(RDI_REGP, castPP_rule, c) |
4057 | DFA_PRODUCTION__SET_VALID(R15_REGP, castPP_rule, c) |
4058 | } |
4059 | } |
4060 | void State::_sub_Op_CheckCastPP(const Node *n){ |
4061 | if( STATE__VALID_CHILD(_kids[0], RREGP) ) { |
4062 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
4063 | DFA_PRODUCTION__SET_VALID(RREGP, checkCastPP_rule, c) |
4064 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
4065 | DFA_PRODUCTION__SET_VALID(ANY_REGP, checkCastPP_rule, c) |
4066 | DFA_PRODUCTION__SET_VALID(INDIRECT, checkCastPP_rule, c) |
4067 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
4068 | DFA_PRODUCTION__SET_VALID(RAX_REGP, checkCastPP_rule, c) |
4069 | DFA_PRODUCTION__SET_VALID(RBX_REGP, checkCastPP_rule, c) |
4070 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, checkCastPP_rule, c) |
4071 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, checkCastPP_rule, c) |
4072 | DFA_PRODUCTION__SET_VALID(RSI_REGP, checkCastPP_rule, c) |
4073 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, checkCastPP_rule, c) |
4074 | DFA_PRODUCTION__SET_VALID(RDI_REGP, checkCastPP_rule, c) |
4075 | DFA_PRODUCTION__SET_VALID(R15_REGP, checkCastPP_rule, c) |
4076 | } |
4077 | } |
4078 | void State::_sub_Op_ClearArray(const Node *n){ |
4079 | if( STATE__VALID_CHILD(_kids[0], RCX_REGL) && STATE__VALID_CHILD(_kids[1], RDI_REGP) && |
4080 | ( |
4081 | #line 11251 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
4082 | ((ClearArrayNode*)n)->is_large() |
4083 | #line 4083 "dfa_x86.cpp" |
4084 | ) ) { |
4085 | unsigned int c = _kids[0]->_cost[RCX_REGL]+_kids[1]->_cost[RDI_REGP]+100; |
4086 | DFA_PRODUCTION__SET_VALID(UNIVERSE, rep_stos_large_rule, c) |
4087 | } |
4088 | if( STATE__VALID_CHILD(_kids[0], RCX_REGL) && STATE__VALID_CHILD(_kids[1], RDI_REGP) && |
4089 | ( |
4090 | #line 11192 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
4091 | !((ClearArrayNode*)n)->is_large() |
4092 | #line 4092 "dfa_x86.cpp" |
4093 | ) ) { |
4094 | unsigned int c = _kids[0]->_cost[RCX_REGL]+_kids[1]->_cost[RDI_REGP]+100; |
4095 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
4096 | DFA_PRODUCTION__SET_VALID(UNIVERSE, rep_stos_rule, c) |
4097 | } |
4098 | } |
4099 | } |
4100 | void State::_sub_Op_CMoveD(const Node *n){ |
4101 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_REGD_REGD) ) { |
4102 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_REGD_REGD]+200; |
4103 | DFA_PRODUCTION__SET_VALID(REGD, cmovD_regUCF_rule, c) |
4104 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
4105 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
4106 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
4107 | } |
4108 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_REGD_REGD) ) { |
4109 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_REGD_REGD]+200; |
4110 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
4111 | DFA_PRODUCTION__SET_VALID(REGD, cmovD_regU_rule, c) |
4112 | } |
4113 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
4114 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
4115 | } |
4116 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
4117 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
4118 | } |
4119 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
4120 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
4121 | } |
4122 | } |
4123 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_REGD_REGD) ) { |
4124 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_REGD_REGD]+200; |
4125 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
4126 | DFA_PRODUCTION__SET_VALID(REGD, cmovD_reg_rule, c) |
4127 | } |
4128 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
4129 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
4130 | } |
4131 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
4132 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
4133 | } |
4134 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
4135 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
4136 | } |
4137 | } |
4138 | } |
4139 | void State::_sub_Op_CMoveVD(const Node *n){ |
4140 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_VCMPPD_IMMI8) && STATE__VALID_CHILD(_kids[1], _BINARY_LEGVECY_LEGVECY) && |
4141 | ( |
4142 | #line 7969 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
4143 | UseAVX > 0 && n->as_Vector()->length() == 4 |
4144 | #line 4144 "dfa_x86.cpp" |
4145 | ) ) { |
4146 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_VCMPPD_IMMI8]+_kids[1]->_cost[_BINARY_LEGVECY_LEGVECY]+100; |
4147 | DFA_PRODUCTION__SET_VALID(LEGVECY, vcmov4D_reg_rule, c) |
4148 | DFA_PRODUCTION__SET_VALID(VECY, MoveLeg2VecY_rule, c+100) |
4149 | } |
4150 | } |
4151 | void State::_sub_Op_CMoveF(const Node *n){ |
4152 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_REGF_REGF) ) { |
4153 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_REGF_REGF]+200; |
4154 | DFA_PRODUCTION__SET_VALID(REGF, cmovF_regUCF_rule, c) |
4155 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
4156 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
4157 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
4158 | } |
4159 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_REGF_REGF) ) { |
4160 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_REGF_REGF]+200; |
4161 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
4162 | DFA_PRODUCTION__SET_VALID(REGF, cmovF_regU_rule, c) |
4163 | } |
4164 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
4165 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
4166 | } |
4167 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
4168 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
4169 | } |
4170 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
4171 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
4172 | } |
4173 | } |
4174 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_REGF_REGF) ) { |
4175 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_REGF_REGF]+200; |
4176 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
4177 | DFA_PRODUCTION__SET_VALID(REGF, cmovF_reg_rule, c) |
4178 | } |
4179 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
4180 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
4181 | } |
4182 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
4183 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
4184 | } |
4185 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
4186 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
4187 | } |
4188 | } |
4189 | } |
4190 | void State::_sub_Op_CMoveVF(const Node *n){ |
4191 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_VCMPPD_IMMI8) && STATE__VALID_CHILD(_kids[1], _BINARY_LEGVECY_LEGVECY) && |
4192 | ( |
4193 | #line 7953 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
4194 | UseAVX > 0 && n->as_Vector()->length() == 8 |
4195 | #line 4195 "dfa_x86.cpp" |
4196 | ) ) { |
4197 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_VCMPPD_IMMI8]+_kids[1]->_cost[_BINARY_LEGVECY_LEGVECY]+100; |
4198 | DFA_PRODUCTION__SET_VALID(LEGVECY, vcmov8F_reg_rule, c) |
4199 | DFA_PRODUCTION__SET_VALID(VECY, MoveLeg2VecY_rule, c+100) |
4200 | } |
4201 | } |
4202 | void State::_sub_Op_CMoveI(const Node *n){ |
4203 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI__LOADI_MEMORY_) ) { |
4204 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_RREGI__LOADI_MEMORY_]+250; |
4205 | DFA_PRODUCTION__SET_VALID(RREGI, cmovI_memUCF_rule, c) |
4206 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4207 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmovI_memUCF_rule, c) |
4208 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmovI_memUCF_rule, c) |
4209 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmovI_memUCF_rule, c) |
4210 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmovI_memUCF_rule, c) |
4211 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmovI_memUCF_rule, c) |
4212 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmovI_memUCF_rule, c) |
4213 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmovI_memUCF_rule, c) |
4214 | } |
4215 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI__LOADI_MEMORY_) ) { |
4216 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_RREGI__LOADI_MEMORY_]+250; |
4217 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4218 | DFA_PRODUCTION__SET_VALID(RREGI, cmovI_memU_rule, c) |
4219 | } |
4220 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4221 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4222 | } |
4223 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4224 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmovI_memU_rule, c) |
4225 | } |
4226 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4227 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmovI_memU_rule, c) |
4228 | } |
4229 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4230 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmovI_memU_rule, c) |
4231 | } |
4232 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4233 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmovI_memU_rule, c) |
4234 | } |
4235 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4236 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmovI_memU_rule, c) |
4237 | } |
4238 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4239 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmovI_memU_rule, c) |
4240 | } |
4241 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4242 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmovI_memU_rule, c) |
4243 | } |
4244 | } |
4245 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI__LOADI_MEMORY_) ) { |
4246 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_RREGI__LOADI_MEMORY_]+250; |
4247 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4248 | DFA_PRODUCTION__SET_VALID(RREGI, cmovI_mem_rule, c) |
4249 | } |
4250 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4251 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4252 | } |
4253 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4254 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmovI_mem_rule, c) |
4255 | } |
4256 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4257 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmovI_mem_rule, c) |
4258 | } |
4259 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4260 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmovI_mem_rule, c) |
4261 | } |
4262 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4263 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmovI_mem_rule, c) |
4264 | } |
4265 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4266 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmovI_mem_rule, c) |
4267 | } |
4268 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4269 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmovI_mem_rule, c) |
4270 | } |
4271 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4272 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmovI_mem_rule, c) |
4273 | } |
4274 | } |
4275 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI_RREGI) ) { |
4276 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_RREGI_RREGI]+200; |
4277 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4278 | DFA_PRODUCTION__SET_VALID(RREGI, cmovI_regUCF_rule, c) |
4279 | } |
4280 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4281 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4282 | } |
4283 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4284 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmovI_regUCF_rule, c) |
4285 | } |
4286 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4287 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmovI_regUCF_rule, c) |
4288 | } |
4289 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4290 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmovI_regUCF_rule, c) |
4291 | } |
4292 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4293 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmovI_regUCF_rule, c) |
4294 | } |
4295 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4296 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmovI_regUCF_rule, c) |
4297 | } |
4298 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4299 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmovI_regUCF_rule, c) |
4300 | } |
4301 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4302 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmovI_regUCF_rule, c) |
4303 | } |
4304 | } |
4305 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI_RREGI) ) { |
4306 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_RREGI_RREGI]+200; |
4307 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4308 | DFA_PRODUCTION__SET_VALID(RREGI, cmovI_regU_rule, c) |
4309 | } |
4310 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4311 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4312 | } |
4313 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4314 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmovI_regU_rule, c) |
4315 | } |
4316 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4317 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmovI_regU_rule, c) |
4318 | } |
4319 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4320 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmovI_regU_rule, c) |
4321 | } |
4322 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4323 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmovI_regU_rule, c) |
4324 | } |
4325 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4326 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmovI_regU_rule, c) |
4327 | } |
4328 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4329 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmovI_regU_rule, c) |
4330 | } |
4331 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4332 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmovI_regU_rule, c) |
4333 | } |
4334 | } |
4335 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI_RREGI) ) { |
4336 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_RREGI_RREGI]+200; |
4337 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4338 | DFA_PRODUCTION__SET_VALID(RREGI, cmovI_reg_rule, c) |
4339 | } |
4340 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4341 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4342 | } |
4343 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4344 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmovI_reg_rule, c) |
4345 | } |
4346 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4347 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmovI_reg_rule, c) |
4348 | } |
4349 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4350 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmovI_reg_rule, c) |
4351 | } |
4352 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4353 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmovI_reg_rule, c) |
4354 | } |
4355 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4356 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmovI_reg_rule, c) |
4357 | } |
4358 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4359 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmovI_reg_rule, c) |
4360 | } |
4361 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4362 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmovI_reg_rule, c) |
4363 | } |
4364 | } |
4365 | } |
4366 | void State::_sub_Op_CMoveL(const Node *n){ |
4367 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGL__LOADL_MEMORY_) ) { |
4368 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_RREGL__LOADL_MEMORY_]+200; |
4369 | DFA_PRODUCTION__SET_VALID(RREGL, cmovL_memUCF_rule, c) |
4370 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4371 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, cmovL_memUCF_rule, c) |
4372 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, cmovL_memUCF_rule, c) |
4373 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, cmovL_memUCF_rule, c) |
4374 | DFA_PRODUCTION__SET_VALID(RAX_REGL, cmovL_memUCF_rule, c) |
4375 | DFA_PRODUCTION__SET_VALID(RCX_REGL, cmovL_memUCF_rule, c) |
4376 | DFA_PRODUCTION__SET_VALID(RDX_REGL, cmovL_memUCF_rule, c) |
4377 | } |
4378 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGL__LOADL_MEMORY_) ) { |
4379 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_RREGL__LOADL_MEMORY_]+200; |
4380 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
4381 | DFA_PRODUCTION__SET_VALID(RREGL, cmovL_memU_rule, c) |
4382 | } |
4383 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
4384 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4385 | } |
4386 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
4387 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, cmovL_memU_rule, c) |
4388 | } |
4389 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
4390 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, cmovL_memU_rule, c) |
4391 | } |
4392 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
4393 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, cmovL_memU_rule, c) |
4394 | } |
4395 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
4396 | DFA_PRODUCTION__SET_VALID(RAX_REGL, cmovL_memU_rule, c) |
4397 | } |
4398 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
4399 | DFA_PRODUCTION__SET_VALID(RCX_REGL, cmovL_memU_rule, c) |
4400 | } |
4401 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
4402 | DFA_PRODUCTION__SET_VALID(RDX_REGL, cmovL_memU_rule, c) |
4403 | } |
4404 | } |
4405 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGL_RREGL) ) { |
4406 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_RREGL_RREGL]+200; |
4407 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
4408 | DFA_PRODUCTION__SET_VALID(RREGL, cmovL_regUCF_rule, c) |
4409 | } |
4410 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
4411 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4412 | } |
4413 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
4414 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, cmovL_regUCF_rule, c) |
4415 | } |
4416 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
4417 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, cmovL_regUCF_rule, c) |
4418 | } |
4419 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
4420 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, cmovL_regUCF_rule, c) |
4421 | } |
4422 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
4423 | DFA_PRODUCTION__SET_VALID(RAX_REGL, cmovL_regUCF_rule, c) |
4424 | } |
4425 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
4426 | DFA_PRODUCTION__SET_VALID(RCX_REGL, cmovL_regUCF_rule, c) |
4427 | } |
4428 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
4429 | DFA_PRODUCTION__SET_VALID(RDX_REGL, cmovL_regUCF_rule, c) |
4430 | } |
4431 | } |
4432 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGL_RREGL) ) { |
4433 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_RREGL_RREGL]+200; |
4434 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
4435 | DFA_PRODUCTION__SET_VALID(RREGL, cmovL_regU_rule, c) |
4436 | } |
4437 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
4438 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4439 | } |
4440 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
4441 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, cmovL_regU_rule, c) |
4442 | } |
4443 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
4444 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, cmovL_regU_rule, c) |
4445 | } |
4446 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
4447 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, cmovL_regU_rule, c) |
4448 | } |
4449 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
4450 | DFA_PRODUCTION__SET_VALID(RAX_REGL, cmovL_regU_rule, c) |
4451 | } |
4452 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
4453 | DFA_PRODUCTION__SET_VALID(RCX_REGL, cmovL_regU_rule, c) |
4454 | } |
4455 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
4456 | DFA_PRODUCTION__SET_VALID(RDX_REGL, cmovL_regU_rule, c) |
4457 | } |
4458 | } |
4459 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGL__LOADL_MEMORY_) ) { |
4460 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_RREGL__LOADL_MEMORY_]+200; |
4461 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
4462 | DFA_PRODUCTION__SET_VALID(RREGL, cmovL_mem_rule, c) |
4463 | } |
4464 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
4465 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4466 | } |
4467 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
4468 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, cmovL_mem_rule, c) |
4469 | } |
4470 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
4471 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, cmovL_mem_rule, c) |
4472 | } |
4473 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
4474 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, cmovL_mem_rule, c) |
4475 | } |
4476 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
4477 | DFA_PRODUCTION__SET_VALID(RAX_REGL, cmovL_mem_rule, c) |
4478 | } |
4479 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
4480 | DFA_PRODUCTION__SET_VALID(RCX_REGL, cmovL_mem_rule, c) |
4481 | } |
4482 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
4483 | DFA_PRODUCTION__SET_VALID(RDX_REGL, cmovL_mem_rule, c) |
4484 | } |
4485 | } |
4486 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGL_RREGL) ) { |
4487 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_RREGL_RREGL]+200; |
4488 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
4489 | DFA_PRODUCTION__SET_VALID(RREGL, cmovL_reg_rule, c) |
4490 | } |
4491 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
4492 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
4493 | } |
4494 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
4495 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, cmovL_reg_rule, c) |
4496 | } |
4497 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
4498 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, cmovL_reg_rule, c) |
4499 | } |
4500 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
4501 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, cmovL_reg_rule, c) |
4502 | } |
4503 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
4504 | DFA_PRODUCTION__SET_VALID(RAX_REGL, cmovL_reg_rule, c) |
4505 | } |
4506 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
4507 | DFA_PRODUCTION__SET_VALID(RCX_REGL, cmovL_reg_rule, c) |
4508 | } |
4509 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
4510 | DFA_PRODUCTION__SET_VALID(RDX_REGL, cmovL_reg_rule, c) |
4511 | } |
4512 | } |
4513 | } |
4514 | void State::_sub_Op_CMoveP(const Node *n){ |
4515 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGP_RREGP) ) { |
4516 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_RREGP_RREGP]+200; |
4517 | DFA_PRODUCTION__SET_VALID(RREGP, cmovP_regUCF_rule, c) |
4518 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
4519 | DFA_PRODUCTION__SET_VALID(ANY_REGP, cmovP_regUCF_rule, c) |
4520 | DFA_PRODUCTION__SET_VALID(INDIRECT, cmovP_regUCF_rule, c) |
4521 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
4522 | DFA_PRODUCTION__SET_VALID(RAX_REGP, cmovP_regUCF_rule, c) |
4523 | DFA_PRODUCTION__SET_VALID(RBX_REGP, cmovP_regUCF_rule, c) |
4524 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, cmovP_regUCF_rule, c) |
4525 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, cmovP_regUCF_rule, c) |
4526 | DFA_PRODUCTION__SET_VALID(RSI_REGP, cmovP_regUCF_rule, c) |
4527 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, cmovP_regUCF_rule, c) |
4528 | DFA_PRODUCTION__SET_VALID(RDI_REGP, cmovP_regUCF_rule, c) |
4529 | DFA_PRODUCTION__SET_VALID(R15_REGP, cmovP_regUCF_rule, c) |
4530 | } |
4531 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGP_RREGP) ) { |
4532 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_RREGP_RREGP]+200; |
4533 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
4534 | DFA_PRODUCTION__SET_VALID(RREGP, cmovP_regU_rule, c) |
4535 | } |
4536 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
4537 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
4538 | } |
4539 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
4540 | DFA_PRODUCTION__SET_VALID(ANY_REGP, cmovP_regU_rule, c) |
4541 | } |
4542 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
4543 | DFA_PRODUCTION__SET_VALID(INDIRECT, cmovP_regU_rule, c) |
4544 | } |
4545 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
4546 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
4547 | } |
4548 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
4549 | DFA_PRODUCTION__SET_VALID(RAX_REGP, cmovP_regU_rule, c) |
4550 | } |
4551 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
4552 | DFA_PRODUCTION__SET_VALID(RBX_REGP, cmovP_regU_rule, c) |
4553 | } |
4554 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
4555 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, cmovP_regU_rule, c) |
4556 | } |
4557 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
4558 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, cmovP_regU_rule, c) |
4559 | } |
4560 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
4561 | DFA_PRODUCTION__SET_VALID(RSI_REGP, cmovP_regU_rule, c) |
4562 | } |
4563 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
4564 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, cmovP_regU_rule, c) |
4565 | } |
4566 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
4567 | DFA_PRODUCTION__SET_VALID(RDI_REGP, cmovP_regU_rule, c) |
4568 | } |
4569 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
4570 | DFA_PRODUCTION__SET_VALID(R15_REGP, cmovP_regU_rule, c) |
4571 | } |
4572 | } |
4573 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGP_RREGP) ) { |
4574 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_RREGP_RREGP]+200; |
4575 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
4576 | DFA_PRODUCTION__SET_VALID(RREGP, cmovP_reg_rule, c) |
4577 | } |
4578 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
4579 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
4580 | } |
4581 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
4582 | DFA_PRODUCTION__SET_VALID(ANY_REGP, cmovP_reg_rule, c) |
4583 | } |
4584 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
4585 | DFA_PRODUCTION__SET_VALID(INDIRECT, cmovP_reg_rule, c) |
4586 | } |
4587 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
4588 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
4589 | } |
4590 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
4591 | DFA_PRODUCTION__SET_VALID(RAX_REGP, cmovP_reg_rule, c) |
4592 | } |
4593 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
4594 | DFA_PRODUCTION__SET_VALID(RBX_REGP, cmovP_reg_rule, c) |
4595 | } |
4596 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
4597 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, cmovP_reg_rule, c) |
4598 | } |
4599 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
4600 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, cmovP_reg_rule, c) |
4601 | } |
4602 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
4603 | DFA_PRODUCTION__SET_VALID(RSI_REGP, cmovP_reg_rule, c) |
4604 | } |
4605 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
4606 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, cmovP_reg_rule, c) |
4607 | } |
4608 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
4609 | DFA_PRODUCTION__SET_VALID(RDI_REGP, cmovP_reg_rule, c) |
4610 | } |
4611 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
4612 | DFA_PRODUCTION__SET_VALID(R15_REGP, cmovP_reg_rule, c) |
4613 | } |
4614 | } |
4615 | } |
4616 | void State::_sub_Op_CMoveN(const Node *n){ |
4617 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPUCF_RFLAGSREGUCF) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGN_RREGN) ) { |
4618 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPUCF_RFLAGSREGUCF]+_kids[1]->_cost[_BINARY_RREGN_RREGN]+200; |
4619 | DFA_PRODUCTION__SET_VALID(RREGN, cmovN_regUCF_rule, c) |
4620 | DFA_PRODUCTION__SET_VALID(RAX_REGN, cmovN_regUCF_rule, c) |
4621 | } |
4622 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOPU_RFLAGSREGU) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGN_RREGN) ) { |
4623 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOPU_RFLAGSREGU]+_kids[1]->_cost[_BINARY_RREGN_RREGN]+200; |
4624 | if (STATE__NOT_YET_VALID(RREGN) || _cost[RREGN] > c) { |
4625 | DFA_PRODUCTION__SET_VALID(RREGN, cmovN_regU_rule, c) |
4626 | } |
4627 | if (STATE__NOT_YET_VALID(RAX_REGN) || _cost[RAX_REGN] > c) { |
4628 | DFA_PRODUCTION__SET_VALID(RAX_REGN, cmovN_regU_rule, c) |
4629 | } |
4630 | } |
4631 | if( STATE__VALID_CHILD(_kids[0], _BINARY_CMPOP_RFLAGSREG) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGN_RREGN) ) { |
4632 | unsigned int c = _kids[0]->_cost[_BINARY_CMPOP_RFLAGSREG]+_kids[1]->_cost[_BINARY_RREGN_RREGN]+200; |
4633 | if (STATE__NOT_YET_VALID(RREGN) || _cost[RREGN] > c) { |
4634 | DFA_PRODUCTION__SET_VALID(RREGN, cmovN_reg_rule, c) |
4635 | } |
4636 | if (STATE__NOT_YET_VALID(RAX_REGN) || _cost[RAX_REGN] > c) { |
4637 | DFA_PRODUCTION__SET_VALID(RAX_REGN, cmovN_reg_rule, c) |
4638 | } |
4639 | } |
4640 | } |
4641 | void State::_sub_Op_CmpN(const Node *n){ |
4642 | if( STATE__VALID_CHILD(_kids[0], _LOADN_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMN0) && |
4643 | ( |
4644 | #line 12083 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
4645 | CompressedOops::base() == NULL && (CompressedKlassPointers::base() == NULL) |
4646 | #line 4646 "dfa_x86.cpp" |
4647 | ) ) { |
4648 | unsigned int c = _kids[0]->_cost[_LOADN_MEMORY_]+_kids[1]->_cost[IMMN0]+100; |
4649 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testN_mem_reg0_rule, c) |
4650 | } |
4651 | if( STATE__VALID_CHILD(_kids[0], _LOADN_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMN0) && |
4652 | ( |
4653 | #line 12070 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
4654 | CompressedOops::base() != NULL |
4655 | #line 4655 "dfa_x86.cpp" |
4656 | ) ) { |
4657 | unsigned int c = _kids[0]->_cost[_LOADN_MEMORY_]+_kids[1]->_cost[IMMN0]+500; |
4658 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4659 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testN_mem_rule, c) |
4660 | } |
4661 | } |
4662 | if( STATE__VALID_CHILD(_kids[0], RREGN) && STATE__VALID_CHILD(_kids[1], IMMN0) ) { |
4663 | unsigned int c = _kids[0]->_cost[RREGN]+_kids[1]->_cost[IMMN0]+100; |
4664 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4665 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testN_reg_rule, c) |
4666 | } |
4667 | } |
4668 | if( STATE__VALID_CHILD(_kids[0], IMMNKLASS) && STATE__VALID_CHILD(_kids[1], _LOADNKLASS_MEMORY_) ) { |
4669 | unsigned int c = _kids[0]->_cost[IMMNKLASS]+_kids[1]->_cost[_LOADNKLASS_MEMORY_]+100; |
4670 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compN_mem_imm_klass_rule, c) |
4671 | } |
4672 | if( STATE__VALID_CHILD(_kids[0], RREGN) && STATE__VALID_CHILD(_kids[1], IMMNKLASS) ) { |
4673 | unsigned int c = _kids[0]->_cost[RREGN]+_kids[1]->_cost[IMMNKLASS]+100; |
4674 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4675 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compN_rReg_imm_klass_rule, c) |
4676 | } |
4677 | } |
4678 | if( STATE__VALID_CHILD(_kids[0], IMMN) && STATE__VALID_CHILD(_kids[1], _LOADN_MEMORY_) ) { |
4679 | unsigned int c = _kids[0]->_cost[IMMN]+_kids[1]->_cost[_LOADN_MEMORY_]+100; |
4680 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4681 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compN_mem_imm_rule, c) |
4682 | } |
4683 | } |
4684 | if( STATE__VALID_CHILD(_kids[0], RREGN) && STATE__VALID_CHILD(_kids[1], IMMN) ) { |
4685 | unsigned int c = _kids[0]->_cost[RREGN]+_kids[1]->_cost[IMMN]+100; |
4686 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4687 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compN_rReg_imm_rule, c) |
4688 | } |
4689 | } |
4690 | if( STATE__VALID_CHILD(_kids[0], RREGN) && STATE__VALID_CHILD(_kids[1], _LOADN_MEMORY_) ) { |
4691 | unsigned int c = _kids[0]->_cost[RREGN]+_kids[1]->_cost[_LOADN_MEMORY_]+100; |
4692 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4693 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compN_rReg_mem_rule, c) |
4694 | } |
4695 | } |
4696 | if( STATE__VALID_CHILD(_kids[0], RREGN) && STATE__VALID_CHILD(_kids[1], RREGN) ) { |
4697 | unsigned int c = _kids[0]->_cost[RREGN]+_kids[1]->_cost[RREGN]+100; |
4698 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4699 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compN_rReg_rule, c) |
4700 | } |
4701 | } |
4702 | } |
4703 | void State::_sub_Op_CmpD(const Node *n){ |
4704 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) ) { |
4705 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+100; |
4706 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, cmpD_cc_immCF_rule, c) |
4707 | } |
4708 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) ) { |
4709 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+145; |
4710 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, cmpD_cc_imm_rule, c) |
4711 | } |
4712 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) ) { |
4713 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+100; |
4714 | if (STATE__NOT_YET_VALID(RFLAGSREGUCF) || _cost[RFLAGSREGUCF] > c) { |
4715 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, cmpD_cc_memCF_rule, c) |
4716 | } |
4717 | } |
4718 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) ) { |
4719 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+145; |
4720 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4721 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, cmpD_cc_mem_rule, c) |
4722 | } |
4723 | } |
4724 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) ) { |
4725 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+100; |
4726 | if (STATE__NOT_YET_VALID(RFLAGSREGUCF) || _cost[RFLAGSREGUCF] > c) { |
4727 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, cmpD_cc_reg_CF_rule, c) |
4728 | } |
4729 | } |
4730 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) ) { |
4731 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+145; |
4732 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4733 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, cmpD_cc_reg_rule, c) |
4734 | } |
4735 | } |
4736 | } |
4737 | void State::_sub_Op_CmpD3(const Node *n){ |
4738 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) ) { |
4739 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+275; |
4740 | DFA_PRODUCTION__SET_VALID(RREGI, cmpD_imm_rule, c) |
4741 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4742 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpD_imm_rule, c) |
4743 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpD_imm_rule, c) |
4744 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpD_imm_rule, c) |
4745 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpD_imm_rule, c) |
4746 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpD_imm_rule, c) |
4747 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpD_imm_rule, c) |
4748 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpD_imm_rule, c) |
4749 | } |
4750 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) ) { |
4751 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+275; |
4752 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4753 | DFA_PRODUCTION__SET_VALID(RREGI, cmpD_mem_rule, c) |
4754 | } |
4755 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4756 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4757 | } |
4758 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4759 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpD_mem_rule, c) |
4760 | } |
4761 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4762 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpD_mem_rule, c) |
4763 | } |
4764 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4765 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpD_mem_rule, c) |
4766 | } |
4767 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4768 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpD_mem_rule, c) |
4769 | } |
4770 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4771 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpD_mem_rule, c) |
4772 | } |
4773 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4774 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpD_mem_rule, c) |
4775 | } |
4776 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4777 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpD_mem_rule, c) |
4778 | } |
4779 | } |
4780 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) ) { |
4781 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+275; |
4782 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4783 | DFA_PRODUCTION__SET_VALID(RREGI, cmpD_reg_rule, c) |
4784 | } |
4785 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4786 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4787 | } |
4788 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4789 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpD_reg_rule, c) |
4790 | } |
4791 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4792 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpD_reg_rule, c) |
4793 | } |
4794 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4795 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpD_reg_rule, c) |
4796 | } |
4797 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4798 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpD_reg_rule, c) |
4799 | } |
4800 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4801 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpD_reg_rule, c) |
4802 | } |
4803 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4804 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpD_reg_rule, c) |
4805 | } |
4806 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4807 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpD_reg_rule, c) |
4808 | } |
4809 | } |
4810 | } |
4811 | void State::_sub_Op_CmpF(const Node *n){ |
4812 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) ) { |
4813 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+100; |
4814 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, cmpF_cc_immCF_rule, c) |
4815 | } |
4816 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) ) { |
4817 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+145; |
4818 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, cmpF_cc_imm_rule, c) |
4819 | } |
4820 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) ) { |
4821 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+100; |
4822 | if (STATE__NOT_YET_VALID(RFLAGSREGUCF) || _cost[RFLAGSREGUCF] > c) { |
4823 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, cmpF_cc_memCF_rule, c) |
4824 | } |
4825 | } |
4826 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) ) { |
4827 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+145; |
4828 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4829 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, cmpF_cc_mem_rule, c) |
4830 | } |
4831 | } |
4832 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) ) { |
4833 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+100; |
4834 | if (STATE__NOT_YET_VALID(RFLAGSREGUCF) || _cost[RFLAGSREGUCF] > c) { |
4835 | DFA_PRODUCTION__SET_VALID(RFLAGSREGUCF, cmpF_cc_reg_CF_rule, c) |
4836 | } |
4837 | } |
4838 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) ) { |
4839 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+145; |
4840 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
4841 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, cmpF_cc_reg_rule, c) |
4842 | } |
4843 | } |
4844 | } |
4845 | void State::_sub_Op_CmpF3(const Node *n){ |
4846 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) ) { |
4847 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+275; |
4848 | DFA_PRODUCTION__SET_VALID(RREGI, cmpF_imm_rule, c) |
4849 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4850 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpF_imm_rule, c) |
4851 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpF_imm_rule, c) |
4852 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpF_imm_rule, c) |
4853 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpF_imm_rule, c) |
4854 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpF_imm_rule, c) |
4855 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpF_imm_rule, c) |
4856 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpF_imm_rule, c) |
4857 | } |
4858 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) ) { |
4859 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+275; |
4860 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4861 | DFA_PRODUCTION__SET_VALID(RREGI, cmpF_mem_rule, c) |
4862 | } |
4863 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4864 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4865 | } |
4866 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4867 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpF_mem_rule, c) |
4868 | } |
4869 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4870 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpF_mem_rule, c) |
4871 | } |
4872 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4873 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpF_mem_rule, c) |
4874 | } |
4875 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4876 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpF_mem_rule, c) |
4877 | } |
4878 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4879 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpF_mem_rule, c) |
4880 | } |
4881 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4882 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpF_mem_rule, c) |
4883 | } |
4884 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4885 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpF_mem_rule, c) |
4886 | } |
4887 | } |
4888 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) ) { |
4889 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+275; |
4890 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
4891 | DFA_PRODUCTION__SET_VALID(RREGI, cmpF_reg_rule, c) |
4892 | } |
4893 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
4894 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
4895 | } |
4896 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
4897 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpF_reg_rule, c) |
4898 | } |
4899 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
4900 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpF_reg_rule, c) |
4901 | } |
4902 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
4903 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpF_reg_rule, c) |
4904 | } |
4905 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
4906 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpF_reg_rule, c) |
4907 | } |
4908 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
4909 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpF_reg_rule, c) |
4910 | } |
4911 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
4912 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpF_reg_rule, c) |
4913 | } |
4914 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
4915 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpF_reg_rule, c) |
4916 | } |
4917 | } |
4918 | } |
4919 | void State::_sub_Op_CmpI(const Node *n){ |
4920 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADB_MEMORY__IMMI8) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
4921 | unsigned int c = _kids[0]->_cost[_ANDI__LOADB_MEMORY__IMMI8]+_kids[1]->_cost[IMMI0]+125; |
4922 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testB_mem_imm_rule, c) |
4923 | } |
4924 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADUB_MEMORY__IMMU8) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
4925 | unsigned int c = _kids[0]->_cost[_ANDI__LOADUB_MEMORY__IMMU8]+_kids[1]->_cost[IMMI0]+125; |
4926 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4927 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testUB_mem_imm_rule, c) |
4928 | } |
4929 | } |
4930 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
4931 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+_kids[1]->_cost[IMMI8]+125; |
4932 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4933 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compB_mem_imm_rule, c) |
4934 | } |
4935 | } |
4936 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADI_MEMORY__RREGI) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
4937 | unsigned int c = _kids[0]->_cost[_ANDI__LOADI_MEMORY__RREGI]+_kids[1]->_cost[IMMI0]+100; |
4938 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4939 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testI_reg_mem_0_rule, c) |
4940 | } |
4941 | } |
4942 | if( STATE__VALID_CHILD(_kids[0], _ANDI_RREGI__LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
4943 | unsigned int c = _kids[0]->_cost[_ANDI_RREGI__LOADI_MEMORY_]+_kids[1]->_cost[IMMI0]+100; |
4944 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4945 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testI_reg_mem_rule, c) |
4946 | } |
4947 | } |
4948 | if( STATE__VALID_CHILD(_kids[0], _ANDI_RREGI_IMMI) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
4949 | unsigned int c = _kids[0]->_cost[_ANDI_RREGI_IMMI]+_kids[1]->_cost[IMMI0]+100; |
4950 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4951 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testI_reg_imm_rule, c) |
4952 | } |
4953 | } |
4954 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
4955 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI0]+100; |
4956 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4957 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testI_reg_rule, c) |
4958 | } |
4959 | } |
4960 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
4961 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+500; |
4962 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4963 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compI_rReg_mem_rule, c) |
4964 | } |
4965 | } |
4966 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
4967 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
4968 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4969 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compI_rReg_imm_rule, c) |
4970 | } |
4971 | } |
4972 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
4973 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
4974 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4975 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compI_rReg_rule, c) |
4976 | } |
4977 | } |
4978 | } |
4979 | void State::_sub_Op_CmpL(const Node *n){ |
4980 | if( STATE__VALID_CHILD(_kids[0], _ANDL__LOADL_MEMORY___CASTP2X_RREGP_) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
4981 | unsigned int c = _kids[0]->_cost[_ANDL__LOADL_MEMORY___CASTP2X_RREGP_]+_kids[1]->_cost[IMML0]+100; |
4982 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testL_reg_mem2_0_rule, c) |
4983 | } |
4984 | if( STATE__VALID_CHILD(_kids[0], _ANDL__CASTP2X_RREGP___LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
4985 | unsigned int c = _kids[0]->_cost[_ANDL__CASTP2X_RREGP___LOADL_MEMORY_]+_kids[1]->_cost[IMML0]+100; |
4986 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4987 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testL_reg_mem2_rule, c) |
4988 | } |
4989 | } |
4990 | if( STATE__VALID_CHILD(_kids[0], _ANDL__LOADL_MEMORY__RREGL) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
4991 | unsigned int c = _kids[0]->_cost[_ANDL__LOADL_MEMORY__RREGL]+_kids[1]->_cost[IMML0]+100; |
4992 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4993 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testL_reg_mem_0_rule, c) |
4994 | } |
4995 | } |
4996 | if( STATE__VALID_CHILD(_kids[0], _ANDL_RREGL__LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
4997 | unsigned int c = _kids[0]->_cost[_ANDL_RREGL__LOADL_MEMORY_]+_kids[1]->_cost[IMML0]+100; |
4998 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
4999 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testL_reg_mem_rule, c) |
5000 | } |
5001 | } |
5002 | if( STATE__VALID_CHILD(_kids[0], _ANDL_RREGL_IMML32) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
5003 | unsigned int c = _kids[0]->_cost[_ANDL_RREGL_IMML32]+_kids[1]->_cost[IMML0]+100; |
5004 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5005 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testL_reg_imm_rule, c) |
5006 | } |
5007 | } |
5008 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
5009 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML0]+100; |
5010 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5011 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testL_reg_rule, c) |
5012 | } |
5013 | } |
5014 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
5015 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+100; |
5016 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5017 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compL_rReg_mem_rule, c) |
5018 | } |
5019 | } |
5020 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
5021 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
5022 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5023 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compL_rReg_imm_rule, c) |
5024 | } |
5025 | } |
5026 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
5027 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
5028 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5029 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, compL_rReg_rule, c) |
5030 | } |
5031 | } |
5032 | } |
5033 | void State::_sub_Op_CmpL3(const Node *n){ |
5034 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
5035 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+275; |
5036 | DFA_PRODUCTION__SET_VALID(RREGI, cmpL3_reg_reg_rule, c) |
5037 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5038 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpL3_reg_reg_rule, c) |
5039 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpL3_reg_reg_rule, c) |
5040 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpL3_reg_reg_rule, c) |
5041 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpL3_reg_reg_rule, c) |
5042 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpL3_reg_reg_rule, c) |
5043 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpL3_reg_reg_rule, c) |
5044 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpL3_reg_reg_rule, c) |
5045 | } |
5046 | } |
5047 | void State::_sub_Op_CmpLTMask(const Node *n){ |
5048 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5049 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]; |
5050 | DFA_PRODUCTION__SET_VALID(_CMPLTMASK_RREGI_RREGI, _CmpLTMask_rRegI_rRegI_rule, c) |
5051 | } |
5052 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
5053 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI0]+100; |
5054 | DFA_PRODUCTION__SET_VALID(RREGI, cmpLTMask0_rule, c) |
5055 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5056 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpLTMask0_rule, c) |
5057 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpLTMask0_rule, c) |
5058 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpLTMask0_rule, c) |
5059 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpLTMask0_rule, c) |
5060 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpLTMask0_rule, c) |
5061 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpLTMask0_rule, c) |
5062 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpLTMask0_rule, c) |
5063 | } |
5064 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5065 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+400; |
5066 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
5067 | DFA_PRODUCTION__SET_VALID(RREGI, cmpLTMask_rule, c) |
5068 | } |
5069 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
5070 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5071 | } |
5072 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
5073 | DFA_PRODUCTION__SET_VALID(RAX_REGI, cmpLTMask_rule, c) |
5074 | } |
5075 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
5076 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, cmpLTMask_rule, c) |
5077 | } |
5078 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
5079 | DFA_PRODUCTION__SET_VALID(RBX_REGI, cmpLTMask_rule, c) |
5080 | } |
5081 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
5082 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, cmpLTMask_rule, c) |
5083 | } |
5084 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
5085 | DFA_PRODUCTION__SET_VALID(RCX_REGI, cmpLTMask_rule, c) |
5086 | } |
5087 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
5088 | DFA_PRODUCTION__SET_VALID(RDX_REGI, cmpLTMask_rule, c) |
5089 | } |
5090 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
5091 | DFA_PRODUCTION__SET_VALID(RDI_REGI, cmpLTMask_rule, c) |
5092 | } |
5093 | } |
5094 | } |
5095 | void State::_sub_Op_CmpP(const Node *n){ |
5096 | if( STATE__VALID_CHILD(_kids[0], _PARTIALSUBTYPECHECK_RSI_REGP_RAX_REGP) && STATE__VALID_CHILD(_kids[1], IMMP0) ) { |
5097 | unsigned int c = _kids[0]->_cost[_PARTIALSUBTYPECHECK_RSI_REGP_RAX_REGP]+_kids[1]->_cost[IMMP0]+1000; |
5098 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, partialSubtypeCheck_vs_Zero_rule, c) |
5099 | } |
5100 | if( STATE__VALID_CHILD(_kids[0], _LOADP_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMP0) && |
5101 | ( |
5102 | #line 11988 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5103 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
5104 | #line 5104 "dfa_x86.cpp" |
5105 | ) ) { |
5106 | unsigned int c = _kids[0]->_cost[_LOADP_MEMORY_]+_kids[1]->_cost[IMMP0]+100; |
5107 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5108 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testP_mem_reg0_rule, c) |
5109 | } |
5110 | } |
5111 | if( STATE__VALID_CHILD(_kids[0], _LOADP_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMP0) && |
5112 | ( |
5113 | #line 11975 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5114 | !UseCompressedOops || (CompressedOops::base() != NULL) |
5115 | #line 5115 "dfa_x86.cpp" |
5116 | ) ) { |
5117 | unsigned int c = _kids[0]->_cost[_LOADP_MEMORY_]+_kids[1]->_cost[IMMP0]+500; |
5118 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5119 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testP_mem_rule, c) |
5120 | } |
5121 | } |
5122 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], IMMP0) ) { |
5123 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[IMMP0]+100; |
5124 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
5125 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, testP_reg_rule, c) |
5126 | } |
5127 | } |
5128 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], _LOADP_MEMORY_) && |
5129 | ( |
5130 | #line 11950 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5131 | n->in(2)->in(2)->bottom_type()->reloc() == relocInfo::none |
5132 | #line 5132 "dfa_x86.cpp" |
5133 | ) ) { |
5134 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[_LOADP_MEMORY_]+100; |
5135 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compP_mem_rReg_rule, c) |
5136 | } |
5137 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], _LOADP_MEMORY_) ) { |
5138 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[_LOADP_MEMORY_]+500; |
5139 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5140 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compP_rReg_mem_rule, c) |
5141 | } |
5142 | } |
5143 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], RREGP) ) { |
5144 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[RREGP]+100; |
5145 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5146 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compP_rReg_rule, c) |
5147 | } |
5148 | } |
5149 | } |
5150 | void State::_sub_Op_CmpU(const Node *n){ |
5151 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
5152 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI0]+100; |
5153 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, testU_reg_rule, c) |
5154 | } |
5155 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
5156 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+500; |
5157 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5158 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compU_rReg_mem_rule, c) |
5159 | } |
5160 | } |
5161 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
5162 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
5163 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5164 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compU_rReg_imm_rule, c) |
5165 | } |
5166 | } |
5167 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5168 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
5169 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5170 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compU_rReg_rule, c) |
5171 | } |
5172 | } |
5173 | } |
5174 | void State::_sub_Op_CmpUL(const Node *n){ |
5175 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML0) ) { |
5176 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML0]+100; |
5177 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, testUL_reg_rule, c) |
5178 | } |
5179 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
5180 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+100; |
5181 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5182 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compUL_rReg_mem_rule, c) |
5183 | } |
5184 | } |
5185 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
5186 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
5187 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5188 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compUL_rReg_imm_rule, c) |
5189 | } |
5190 | } |
5191 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
5192 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
5193 | if (STATE__NOT_YET_VALID(RFLAGSREGU) || _cost[RFLAGSREGU] > c) { |
5194 | DFA_PRODUCTION__SET_VALID(RFLAGSREGU, compUL_rReg_rule, c) |
5195 | } |
5196 | } |
5197 | } |
5198 | void State::_sub_Op_CompareAndSwapB(const Node *n){ |
5199 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5200 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5201 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapB_rule, c) |
5202 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5203 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapB_rule, c) |
5204 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapB_rule, c) |
5205 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapB_rule, c) |
5206 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapB_rule, c) |
5207 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapB_rule, c) |
5208 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapB_rule, c) |
5209 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapB_rule, c) |
5210 | } |
5211 | } |
5212 | void State::_sub_Op_CompareAndSwapS(const Node *n){ |
5213 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5214 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5215 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapS_rule, c) |
5216 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5217 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapS_rule, c) |
5218 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapS_rule, c) |
5219 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapS_rule, c) |
5220 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapS_rule, c) |
5221 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapS_rule, c) |
5222 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapS_rule, c) |
5223 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapS_rule, c) |
5224 | } |
5225 | } |
5226 | void State::_sub_Op_CompareAndSwapI(const Node *n){ |
5227 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5228 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5229 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapI_rule, c) |
5230 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5231 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapI_rule, c) |
5232 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapI_rule, c) |
5233 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapI_rule, c) |
5234 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapI_rule, c) |
5235 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapI_rule, c) |
5236 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapI_rule, c) |
5237 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapI_rule, c) |
5238 | } |
5239 | } |
5240 | void State::_sub_Op_CompareAndSwapL(const Node *n){ |
5241 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGL_RREGL) && |
5242 | ( |
5243 | #line 7821 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5244 | VM_Version::supports_cx8() |
5245 | #line 5245 "dfa_x86.cpp" |
5246 | ) ) { |
5247 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGL_RREGL]+100; |
5248 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapL_rule, c) |
5249 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5250 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapL_rule, c) |
5251 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapL_rule, c) |
5252 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapL_rule, c) |
5253 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapL_rule, c) |
5254 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapL_rule, c) |
5255 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapL_rule, c) |
5256 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapL_rule, c) |
5257 | } |
5258 | } |
5259 | void State::_sub_Op_CompareAndSwapP(const Node *n){ |
5260 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
5261 | ( |
5262 | #line 7796 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5263 | VM_Version::supports_cx8() |
5264 | #line 5264 "dfa_x86.cpp" |
5265 | ) ) { |
5266 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
5267 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapP_rule, c) |
5268 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5269 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapP_rule, c) |
5270 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapP_rule, c) |
5271 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapP_rule, c) |
5272 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapP_rule, c) |
5273 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapP_rule, c) |
5274 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapP_rule, c) |
5275 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapP_rule, c) |
5276 | } |
5277 | } |
5278 | void State::_sub_Op_CompareAndSwapN(const Node *n){ |
5279 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGN_RREGN) ) { |
5280 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGN_RREGN]+100; |
5281 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapN_rule, c) |
5282 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5283 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapN_rule, c) |
5284 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapN_rule, c) |
5285 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapN_rule, c) |
5286 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapN_rule, c) |
5287 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapN_rule, c) |
5288 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapN_rule, c) |
5289 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapN_rule, c) |
5290 | } |
5291 | } |
5292 | void State::_sub_Op_WeakCompareAndSwapB(const Node *n){ |
5293 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5294 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5295 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapB_0_rule, c) |
5296 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5297 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapB_0_rule, c) |
5298 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapB_0_rule, c) |
5299 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapB_0_rule, c) |
5300 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapB_0_rule, c) |
5301 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapB_0_rule, c) |
5302 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapB_0_rule, c) |
5303 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapB_0_rule, c) |
5304 | } |
5305 | } |
5306 | void State::_sub_Op_WeakCompareAndSwapS(const Node *n){ |
5307 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5308 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5309 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapS_0_rule, c) |
5310 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5311 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapS_0_rule, c) |
5312 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapS_0_rule, c) |
5313 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapS_0_rule, c) |
5314 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapS_0_rule, c) |
5315 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapS_0_rule, c) |
5316 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapS_0_rule, c) |
5317 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapS_0_rule, c) |
5318 | } |
5319 | } |
5320 | void State::_sub_Op_WeakCompareAndSwapI(const Node *n){ |
5321 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5322 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5323 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapI_0_rule, c) |
5324 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5325 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapI_0_rule, c) |
5326 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapI_0_rule, c) |
5327 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapI_0_rule, c) |
5328 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapI_0_rule, c) |
5329 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapI_0_rule, c) |
5330 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapI_0_rule, c) |
5331 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapI_0_rule, c) |
5332 | } |
5333 | } |
5334 | void State::_sub_Op_WeakCompareAndSwapL(const Node *n){ |
5335 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGL_RREGL) && |
5336 | ( |
5337 | #line 7821 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5338 | VM_Version::supports_cx8() |
5339 | #line 5339 "dfa_x86.cpp" |
5340 | ) ) { |
5341 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGL_RREGL]+100; |
5342 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapL_0_rule, c) |
5343 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5344 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapL_0_rule, c) |
5345 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapL_0_rule, c) |
5346 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapL_0_rule, c) |
5347 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapL_0_rule, c) |
5348 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapL_0_rule, c) |
5349 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapL_0_rule, c) |
5350 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapL_0_rule, c) |
5351 | } |
5352 | } |
5353 | void State::_sub_Op_WeakCompareAndSwapP(const Node *n){ |
5354 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
5355 | ( |
5356 | #line 7796 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5357 | VM_Version::supports_cx8() |
5358 | #line 5358 "dfa_x86.cpp" |
5359 | ) ) { |
5360 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
5361 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapP_0_rule, c) |
5362 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5363 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapP_0_rule, c) |
5364 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapP_0_rule, c) |
5365 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapP_0_rule, c) |
5366 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapP_0_rule, c) |
5367 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapP_0_rule, c) |
5368 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapP_0_rule, c) |
5369 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapP_0_rule, c) |
5370 | } |
5371 | } |
5372 | void State::_sub_Op_WeakCompareAndSwapN(const Node *n){ |
5373 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGN_RREGN) ) { |
5374 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGN_RREGN]+100; |
5375 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapN_0_rule, c) |
5376 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5377 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapN_0_rule, c) |
5378 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapN_0_rule, c) |
5379 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapN_0_rule, c) |
5380 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapN_0_rule, c) |
5381 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapN_0_rule, c) |
5382 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapN_0_rule, c) |
5383 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapN_0_rule, c) |
5384 | } |
5385 | } |
5386 | void State::_sub_Op_CompareAndExchangeB(const Node *n){ |
5387 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5388 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5389 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndExchangeB_rule, c) |
5390 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndExchangeB_rule, c) |
5391 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5392 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndExchangeB_rule, c) |
5393 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndExchangeB_rule, c) |
5394 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndExchangeB_rule, c) |
5395 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndExchangeB_rule, c) |
5396 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndExchangeB_rule, c) |
5397 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndExchangeB_rule, c) |
5398 | } |
5399 | } |
5400 | void State::_sub_Op_CompareAndExchangeS(const Node *n){ |
5401 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5402 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5403 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndExchangeS_rule, c) |
5404 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndExchangeS_rule, c) |
5405 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5406 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndExchangeS_rule, c) |
5407 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndExchangeS_rule, c) |
5408 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndExchangeS_rule, c) |
5409 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndExchangeS_rule, c) |
5410 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndExchangeS_rule, c) |
5411 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndExchangeS_rule, c) |
5412 | } |
5413 | } |
5414 | void State::_sub_Op_CompareAndExchangeI(const Node *n){ |
5415 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
5416 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
5417 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndExchangeI_rule, c) |
5418 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndExchangeI_rule, c) |
5419 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5420 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndExchangeI_rule, c) |
5421 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndExchangeI_rule, c) |
5422 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndExchangeI_rule, c) |
5423 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndExchangeI_rule, c) |
5424 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndExchangeI_rule, c) |
5425 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndExchangeI_rule, c) |
5426 | } |
5427 | } |
5428 | void State::_sub_Op_CompareAndExchangeL(const Node *n){ |
5429 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGL_RREGL) && |
5430 | ( |
5431 | #line 8000 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5432 | VM_Version::supports_cx8() |
5433 | #line 5433 "dfa_x86.cpp" |
5434 | ) ) { |
5435 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGL_RREGL]+100; |
5436 | DFA_PRODUCTION__SET_VALID(RAX_REGL, compareAndExchangeL_rule, c) |
5437 | DFA_PRODUCTION__SET_VALID(RREGL, compareAndExchangeL_rule, c) |
5438 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
5439 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, compareAndExchangeL_rule, c) |
5440 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, compareAndExchangeL_rule, c) |
5441 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, compareAndExchangeL_rule, c) |
5442 | DFA_PRODUCTION__SET_VALID(RCX_REGL, compareAndExchangeL_rule, c) |
5443 | DFA_PRODUCTION__SET_VALID(RDX_REGL, compareAndExchangeL_rule, c) |
5444 | } |
5445 | } |
5446 | void State::_sub_Op_CompareAndExchangeP(const Node *n){ |
5447 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
5448 | ( |
5449 | #line 8038 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5450 | VM_Version::supports_cx8() |
5451 | #line 5451 "dfa_x86.cpp" |
5452 | ) ) { |
5453 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
5454 | DFA_PRODUCTION__SET_VALID(RAX_REGP, compareAndExchangeP_rule, c) |
5455 | DFA_PRODUCTION__SET_VALID(ANY_REGP, compareAndExchangeP_rule, c) |
5456 | DFA_PRODUCTION__SET_VALID(INDIRECT, compareAndExchangeP_rule, c) |
5457 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
5458 | DFA_PRODUCTION__SET_VALID(RREGP, compareAndExchangeP_rule, c) |
5459 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
5460 | DFA_PRODUCTION__SET_VALID(RBX_REGP, compareAndExchangeP_rule, c) |
5461 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, compareAndExchangeP_rule, c) |
5462 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, compareAndExchangeP_rule, c) |
5463 | DFA_PRODUCTION__SET_VALID(RSI_REGP, compareAndExchangeP_rule, c) |
5464 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, compareAndExchangeP_rule, c) |
5465 | DFA_PRODUCTION__SET_VALID(RDI_REGP, compareAndExchangeP_rule, c) |
5466 | DFA_PRODUCTION__SET_VALID(R15_REGP, compareAndExchangeP_rule, c) |
5467 | } |
5468 | } |
5469 | void State::_sub_Op_CompareAndExchangeN(const Node *n){ |
5470 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGN_RREGN) ) { |
5471 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGN_RREGN]+100; |
5472 | DFA_PRODUCTION__SET_VALID(RAX_REGN, compareAndExchangeN_rule, c) |
5473 | } |
5474 | } |
5475 | void State::_sub_Op_GetAndAddB(const Node *n){ |
5476 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5477 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+100; |
5478 | DFA_PRODUCTION__SET_VALID(RREGI, xaddB_rule, c) |
5479 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5480 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xaddB_rule, c) |
5481 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xaddB_rule, c) |
5482 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xaddB_rule, c) |
5483 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xaddB_rule, c) |
5484 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xaddB_rule, c) |
5485 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xaddB_rule, c) |
5486 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xaddB_rule, c) |
5487 | } |
5488 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI) && |
5489 | ( |
5490 | #line 8054 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5491 | n->as_LoadStore()->result_not_used() |
5492 | #line 5492 "dfa_x86.cpp" |
5493 | ) ) { |
5494 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI]+100; |
5495 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xaddB_no_res_rule, c) |
5496 | } |
5497 | } |
5498 | void State::_sub_Op_GetAndAddS(const Node *n){ |
5499 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5500 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+100; |
5501 | DFA_PRODUCTION__SET_VALID(RREGI, xaddS_rule, c) |
5502 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5503 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xaddS_rule, c) |
5504 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xaddS_rule, c) |
5505 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xaddS_rule, c) |
5506 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xaddS_rule, c) |
5507 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xaddS_rule, c) |
5508 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xaddS_rule, c) |
5509 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xaddS_rule, c) |
5510 | } |
5511 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI) && |
5512 | ( |
5513 | #line 8077 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5514 | n->as_LoadStore()->result_not_used() |
5515 | #line 5515 "dfa_x86.cpp" |
5516 | ) ) { |
5517 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI]+100; |
5518 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xaddS_no_res_rule, c) |
5519 | } |
5520 | } |
5521 | void State::_sub_Op_GetAndAddI(const Node *n){ |
5522 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5523 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+100; |
5524 | DFA_PRODUCTION__SET_VALID(RREGI, xaddI_rule, c) |
5525 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5526 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xaddI_rule, c) |
5527 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xaddI_rule, c) |
5528 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xaddI_rule, c) |
5529 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xaddI_rule, c) |
5530 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xaddI_rule, c) |
5531 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xaddI_rule, c) |
5532 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xaddI_rule, c) |
5533 | } |
5534 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI) && |
5535 | ( |
5536 | #line 8100 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5537 | n->as_LoadStore()->result_not_used() |
5538 | #line 5538 "dfa_x86.cpp" |
5539 | ) ) { |
5540 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI]+100; |
5541 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xaddI_no_res_rule, c) |
5542 | } |
5543 | } |
5544 | void State::_sub_Op_GetAndAddL(const Node *n){ |
5545 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
5546 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGL]+100; |
5547 | DFA_PRODUCTION__SET_VALID(RREGL, xaddL_rule, c) |
5548 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
5549 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xaddL_rule, c) |
5550 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xaddL_rule, c) |
5551 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xaddL_rule, c) |
5552 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xaddL_rule, c) |
5553 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xaddL_rule, c) |
5554 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xaddL_rule, c) |
5555 | } |
5556 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMML32) && |
5557 | ( |
5558 | #line 8123 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5559 | n->as_LoadStore()->result_not_used() |
5560 | #line 5560 "dfa_x86.cpp" |
5561 | ) ) { |
5562 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMML32]+100; |
5563 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xaddL_no_res_rule, c) |
5564 | } |
5565 | } |
5566 | void State::_sub_Op_GetAndSetB(const Node *n){ |
5567 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5568 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+100; |
5569 | DFA_PRODUCTION__SET_VALID(RREGI, xchgB_rule, c) |
5570 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5571 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xchgB_rule, c) |
5572 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xchgB_rule, c) |
5573 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xchgB_rule, c) |
5574 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xchgB_rule, c) |
5575 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xchgB_rule, c) |
5576 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xchgB_rule, c) |
5577 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xchgB_rule, c) |
5578 | } |
5579 | } |
5580 | void State::_sub_Op_GetAndSetS(const Node *n){ |
5581 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5582 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+100; |
5583 | DFA_PRODUCTION__SET_VALID(RREGI, xchgS_rule, c) |
5584 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5585 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xchgS_rule, c) |
5586 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xchgS_rule, c) |
5587 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xchgS_rule, c) |
5588 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xchgS_rule, c) |
5589 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xchgS_rule, c) |
5590 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xchgS_rule, c) |
5591 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xchgS_rule, c) |
5592 | } |
5593 | } |
5594 | void State::_sub_Op_GetAndSetI(const Node *n){ |
5595 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
5596 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+100; |
5597 | DFA_PRODUCTION__SET_VALID(RREGI, xchgI_rule, c) |
5598 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
5599 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xchgI_rule, c) |
5600 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xchgI_rule, c) |
5601 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xchgI_rule, c) |
5602 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xchgI_rule, c) |
5603 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xchgI_rule, c) |
5604 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xchgI_rule, c) |
5605 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xchgI_rule, c) |
5606 | } |
5607 | } |
5608 | void State::_sub_Op_GetAndSetL(const Node *n){ |
5609 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
5610 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGL]+100; |
5611 | DFA_PRODUCTION__SET_VALID(RREGL, xchgL_rule, c) |
5612 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
5613 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xchgL_rule, c) |
5614 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xchgL_rule, c) |
5615 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xchgL_rule, c) |
5616 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xchgL_rule, c) |
5617 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xchgL_rule, c) |
5618 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xchgL_rule, c) |
5619 | } |
5620 | } |
5621 | void State::_sub_Op_GetAndSetP(const Node *n){ |
5622 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGP) ) { |
5623 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGP]+100; |
5624 | DFA_PRODUCTION__SET_VALID(RREGP, xchgP_rule, c) |
5625 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
5626 | DFA_PRODUCTION__SET_VALID(ANY_REGP, xchgP_rule, c) |
5627 | DFA_PRODUCTION__SET_VALID(INDIRECT, xchgP_rule, c) |
5628 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
5629 | DFA_PRODUCTION__SET_VALID(RAX_REGP, xchgP_rule, c) |
5630 | DFA_PRODUCTION__SET_VALID(RBX_REGP, xchgP_rule, c) |
5631 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, xchgP_rule, c) |
5632 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, xchgP_rule, c) |
5633 | DFA_PRODUCTION__SET_VALID(RSI_REGP, xchgP_rule, c) |
5634 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, xchgP_rule, c) |
5635 | DFA_PRODUCTION__SET_VALID(RDI_REGP, xchgP_rule, c) |
5636 | DFA_PRODUCTION__SET_VALID(R15_REGP, xchgP_rule, c) |
5637 | } |
5638 | } |
5639 | void State::_sub_Op_GetAndSetN(const Node *n){ |
5640 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGN) ) { |
5641 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGN]+100; |
5642 | DFA_PRODUCTION__SET_VALID(RREGN, xchgN_rule, c) |
5643 | DFA_PRODUCTION__SET_VALID(RAX_REGN, xchgN_rule, c) |
5644 | } |
5645 | } |
5646 | void State::_sub_Op_ConN(const Node *n){ |
5647 | if( |
5648 | #line 3056 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5649 | n->get_narrowcon() == 0 |
5650 | #line 5650 "dfa_x86.cpp" |
5651 | ) { |
5652 | unsigned int c = 5; |
5653 | DFA_PRODUCTION__SET_VALID(IMMN0, immN0_rule, c) |
5654 | DFA_PRODUCTION__SET_VALID(RREGN, loadConN0_rule, c+100) |
5655 | DFA_PRODUCTION__SET_VALID(RAX_REGN, loadConN0_rule, c+100) |
5656 | } |
5657 | { |
5658 | unsigned int c = 10; |
5659 | DFA_PRODUCTION__SET_VALID(IMMN, immN_rule, c) |
5660 | if (STATE__NOT_YET_VALID(RREGN) || _cost[RREGN] > c+125) { |
5661 | DFA_PRODUCTION__SET_VALID(RREGN, loadConN_rule, c+125) |
5662 | } |
5663 | if (STATE__NOT_YET_VALID(RAX_REGN) || _cost[RAX_REGN] > c+125) { |
5664 | DFA_PRODUCTION__SET_VALID(RAX_REGN, loadConN_rule, c+125) |
5665 | } |
5666 | } |
5667 | if ( /* RREGN KNOWN_VALID || */ _cost[RREGN] > 125) { |
5668 | DFA_PRODUCTION(RREGN, loadConN_rule, 125) |
5669 | } |
5670 | if ( /* RAX_REGN KNOWN_VALID || */ _cost[RAX_REGN] > 125) { |
5671 | DFA_PRODUCTION(RAX_REGN, loadConN_rule, 125) |
5672 | } |
5673 | } |
5674 | void State::_sub_Op_ConNKlass(const Node *n){ |
5675 | { |
5676 | unsigned int c = 10; |
5677 | DFA_PRODUCTION__SET_VALID(IMMNKLASS, immNKlass_rule, c) |
5678 | DFA_PRODUCTION__SET_VALID(RREGN, loadConNKlass_rule, c+125) |
5679 | DFA_PRODUCTION__SET_VALID(RAX_REGN, loadConNKlass_rule, c+125) |
5680 | } |
5681 | DFA_PRODUCTION(RREGN, loadConNKlass_rule, 125) // overwrites higher cost rule |
5682 | DFA_PRODUCTION(RAX_REGN, loadConNKlass_rule, 125) // overwrites higher cost rule |
5683 | } |
5684 | void State::_sub_Op_ConD(const Node *n){ |
5685 | { |
5686 | unsigned int c = 15; |
5687 | DFA_PRODUCTION__SET_VALID(IMMD, immD_rule, c) |
5688 | DFA_PRODUCTION__SET_VALID(REGD, loadConD_rule, c+125) |
5689 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+125+100) |
5690 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+125+100) |
5691 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+125+95) |
5692 | } |
5693 | if( |
5694 | #line 3207 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5695 | jlong_cast(n->getd()) == 0 |
5696 | #line 5696 "dfa_x86.cpp" |
5697 | ) { |
5698 | unsigned int c = 5; |
5699 | DFA_PRODUCTION__SET_VALID(IMMD0, immD0_rule, c) |
5700 | DFA_PRODUCTION(REGD, loadConD0_rule, c+100) // overwrites higher cost rule |
5701 | DFA_PRODUCTION(VLREGD, MoveD2VL_rule, c+100+100) // overwrites higher cost rule |
5702 | DFA_PRODUCTION(LEGREGD, MoveD2LEG_rule, c+100+100) // overwrites higher cost rule |
5703 | DFA_PRODUCTION(STACKSLOTD, storeSSD_rule, c+100+95) // overwrites higher cost rule |
5704 | } |
5705 | if ( /* REGD KNOWN_VALID || */ _cost[REGD] > 125) { |
5706 | DFA_PRODUCTION(REGD, loadConD_rule, 125) |
5707 | } |
5708 | if ( /* VLREGD KNOWN_VALID || */ _cost[VLREGD] > 125+100) { |
5709 | DFA_PRODUCTION(VLREGD, MoveD2VL_rule, 125+100) |
5710 | } |
5711 | if ( /* LEGREGD KNOWN_VALID || */ _cost[LEGREGD] > 125+100) { |
5712 | DFA_PRODUCTION(LEGREGD, MoveD2LEG_rule, 125+100) |
5713 | } |
5714 | if ( /* STACKSLOTD KNOWN_VALID || */ _cost[STACKSLOTD] > 125+95) { |
5715 | DFA_PRODUCTION(STACKSLOTD, storeSSD_rule, 125+95) |
5716 | } |
5717 | } |
5718 | void State::_sub_Op_ConF(const Node *n){ |
5719 | { |
5720 | unsigned int c = 15; |
5721 | DFA_PRODUCTION__SET_VALID(IMMF, immF_rule, c) |
5722 | DFA_PRODUCTION__SET_VALID(REGF, loadConF_rule, c+125) |
5723 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+125+100) |
5724 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+125+100) |
5725 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+125+95) |
5726 | } |
5727 | if( |
5728 | #line 3186 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5729 | jint_cast(n->getf()) == 0 |
5730 | #line 5730 "dfa_x86.cpp" |
5731 | ) { |
5732 | unsigned int c = 5; |
5733 | DFA_PRODUCTION__SET_VALID(IMMF0, immF0_rule, c) |
5734 | DFA_PRODUCTION(REGF, loadConF0_rule, c+100) // overwrites higher cost rule |
5735 | DFA_PRODUCTION(VLREGF, MoveF2VL_rule, c+100+100) // overwrites higher cost rule |
5736 | DFA_PRODUCTION(LEGREGF, MoveF2LEG_rule, c+100+100) // overwrites higher cost rule |
5737 | DFA_PRODUCTION(STACKSLOTF, storeSSF_rule, c+100+95) // overwrites higher cost rule |
5738 | } |
5739 | if ( /* REGF KNOWN_VALID || */ _cost[REGF] > 125) { |
5740 | DFA_PRODUCTION(REGF, loadConF_rule, 125) |
5741 | } |
5742 | if ( /* VLREGF KNOWN_VALID || */ _cost[VLREGF] > 125+100) { |
5743 | DFA_PRODUCTION(VLREGF, MoveF2VL_rule, 125+100) |
5744 | } |
5745 | if ( /* LEGREGF KNOWN_VALID || */ _cost[LEGREGF] > 125+100) { |
5746 | DFA_PRODUCTION(LEGREGF, MoveF2LEG_rule, 125+100) |
5747 | } |
5748 | if ( /* STACKSLOTF KNOWN_VALID || */ _cost[STACKSLOTF] > 125+95) { |
5749 | DFA_PRODUCTION(STACKSLOTF, storeSSF_rule, 125+95) |
5750 | } |
5751 | } |
5752 | void State::_sub_Op_ConI(const Node *n){ |
5753 | int _n_get_int__ = n->get_int(); |
5754 | if( |
5755 | #line 3259 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5756 | _n_get_int__ == 65535 |
5757 | #line 5757 "dfa_x86.cpp" |
5758 | ) { |
5759 | unsigned int c = 0; |
5760 | DFA_PRODUCTION__SET_VALID(IMMI_65535, immI_65535_rule, c) |
5761 | } |
5762 | if( |
5763 | #line 3249 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5764 | _n_get_int__ == 255 |
5765 | #line 5765 "dfa_x86.cpp" |
5766 | ) { |
5767 | unsigned int c = 0; |
5768 | DFA_PRODUCTION__SET_VALID(IMMI_255, immI_255_rule, c) |
5769 | } |
5770 | if( |
5771 | #line 3239 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5772 | _n_get_int__ == 24 |
5773 | #line 5773 "dfa_x86.cpp" |
5774 | ) { |
5775 | unsigned int c = 0; |
5776 | DFA_PRODUCTION__SET_VALID(IMMI_24, immI_24_rule, c) |
5777 | } |
5778 | if( |
5779 | #line 3230 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5780 | _n_get_int__ == 16 |
5781 | #line 5781 "dfa_x86.cpp" |
5782 | ) { |
5783 | unsigned int c = 0; |
5784 | DFA_PRODUCTION__SET_VALID(IMMI_16, immI_16_rule, c) |
5785 | } |
5786 | if( |
5787 | #line 3008 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5788 | _n_get_int__ == 64 |
5789 | #line 5789 "dfa_x86.cpp" |
5790 | ) { |
5791 | unsigned int c = 0; |
5792 | DFA_PRODUCTION__SET_VALID(IMMI_64, immI_64_rule, c) |
5793 | } |
5794 | if( |
5795 | #line 2997 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5796 | _n_get_int__ == 32 |
5797 | #line 5797 "dfa_x86.cpp" |
5798 | ) { |
5799 | unsigned int c = 0; |
5800 | DFA_PRODUCTION__SET_VALID(IMMI_32, immI_32_rule, c) |
5801 | } |
5802 | if( |
5803 | #line 2986 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5804 | _n_get_int__ >= 0 |
5805 | #line 5805 "dfa_x86.cpp" |
5806 | ) { |
5807 | unsigned int c = 0; |
5808 | DFA_PRODUCTION__SET_VALID(IMMU31, immU31_rule, c) |
5809 | } |
5810 | if( |
5811 | #line 2975 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5812 | (-32768 <= _n_get_int__) && (_n_get_int__ <= 32767) |
5813 | #line 5813 "dfa_x86.cpp" |
5814 | ) { |
5815 | unsigned int c = 10; |
5816 | DFA_PRODUCTION__SET_VALID(IMMI16, immI16_rule, c) |
5817 | } |
5818 | if( |
5819 | #line 2965 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5820 | (0 <= _n_get_int__) && (_n_get_int__ <= 255) |
5821 | #line 5821 "dfa_x86.cpp" |
5822 | ) { |
5823 | unsigned int c = 5; |
5824 | DFA_PRODUCTION__SET_VALID(IMMU8, immU8_rule, c) |
5825 | } |
5826 | if( |
5827 | #line 2955 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5828 | (-0x80 <= _n_get_int__) && (_n_get_int__ < 0x80) |
5829 | #line 5829 "dfa_x86.cpp" |
5830 | ) { |
5831 | unsigned int c = 5; |
5832 | DFA_PRODUCTION__SET_VALID(IMMI8, immI8_rule, c) |
5833 | DFA_PRODUCTION__SET_VALID(VECS, vshiftcntimm_rule, c+100) |
5834 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100+100) |
5835 | } |
5836 | if( |
5837 | #line 2946 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5838 | 0 <= _n_get_int__ && (_n_get_int__ <= 3) |
5839 | #line 5839 "dfa_x86.cpp" |
5840 | ) { |
5841 | unsigned int c = 0; |
5842 | DFA_PRODUCTION__SET_VALID(IMMI2, immI2_rule, c) |
5843 | } |
5844 | if( |
5845 | #line 2935 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5846 | _n_get_int__ == -1 |
5847 | #line 5847 "dfa_x86.cpp" |
5848 | ) { |
5849 | unsigned int c = 0; |
5850 | DFA_PRODUCTION__SET_VALID(IMMI_M1, immI_M1_rule, c) |
5851 | } |
5852 | if( |
5853 | #line 2924 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5854 | _n_get_int__ == 1 |
5855 | #line 5855 "dfa_x86.cpp" |
5856 | ) { |
5857 | unsigned int c = 0; |
5858 | DFA_PRODUCTION__SET_VALID(IMMI1, immI1_rule, c) |
5859 | } |
5860 | if( |
5861 | #line 2913 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5862 | _n_get_int__ == 0 |
5863 | #line 5863 "dfa_x86.cpp" |
5864 | ) { |
5865 | unsigned int c = 0; |
5866 | DFA_PRODUCTION__SET_VALID(IMMI0, immI0_rule, c) |
5867 | DFA_PRODUCTION__SET_VALID(RREGI, loadConI0_rule, c+50) |
5868 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+50+100) |
5869 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadConI0_rule, c+50) |
5870 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadConI0_rule, c+50) |
5871 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadConI0_rule, c+50) |
5872 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadConI0_rule, c+50) |
5873 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadConI0_rule, c+50) |
5874 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadConI0_rule, c+50) |
5875 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadConI0_rule, c+50) |
5876 | } |
5877 | { |
5878 | unsigned int c = 10; |
5879 | DFA_PRODUCTION__SET_VALID(IMMI, immI_rule, c) |
5880 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c+100) { |
5881 | DFA_PRODUCTION__SET_VALID(RREGI, loadConI_rule, c+100) |
5882 | } |
5883 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100+100) { |
5884 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100+100) |
5885 | } |
5886 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c+100) { |
5887 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadConI_rule, c+100) |
5888 | } |
5889 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c+100) { |
5890 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadConI_rule, c+100) |
5891 | } |
5892 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c+100) { |
5893 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadConI_rule, c+100) |
5894 | } |
5895 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c+100) { |
5896 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadConI_rule, c+100) |
5897 | } |
5898 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c+100) { |
5899 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadConI_rule, c+100) |
5900 | } |
5901 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c+100) { |
5902 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadConI_rule, c+100) |
5903 | } |
5904 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c+100) { |
5905 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadConI_rule, c+100) |
5906 | } |
5907 | } |
5908 | if ( /* RREGI KNOWN_VALID || */ _cost[RREGI] > 100) { |
5909 | DFA_PRODUCTION(RREGI, loadConI_rule, 100) |
5910 | } |
5911 | if ( /* STACKSLOTI KNOWN_VALID || */ _cost[STACKSLOTI] > 100+100) { |
5912 | DFA_PRODUCTION(STACKSLOTI, storeSSI_rule, 100+100) |
5913 | } |
5914 | if ( /* RAX_REGI KNOWN_VALID || */ _cost[RAX_REGI] > 100) { |
5915 | DFA_PRODUCTION(RAX_REGI, loadConI_rule, 100) |
5916 | } |
5917 | if ( /* NO_RCX_REGI KNOWN_VALID || */ _cost[NO_RCX_REGI] > 100) { |
5918 | DFA_PRODUCTION(NO_RCX_REGI, loadConI_rule, 100) |
5919 | } |
5920 | if ( /* RBX_REGI KNOWN_VALID || */ _cost[RBX_REGI] > 100) { |
5921 | DFA_PRODUCTION(RBX_REGI, loadConI_rule, 100) |
5922 | } |
5923 | if ( /* NO_RAX_RDX_REGI KNOWN_VALID || */ _cost[NO_RAX_RDX_REGI] > 100) { |
5924 | DFA_PRODUCTION(NO_RAX_RDX_REGI, loadConI_rule, 100) |
5925 | } |
5926 | if ( /* RCX_REGI KNOWN_VALID || */ _cost[RCX_REGI] > 100) { |
5927 | DFA_PRODUCTION(RCX_REGI, loadConI_rule, 100) |
5928 | } |
5929 | if ( /* RDX_REGI KNOWN_VALID || */ _cost[RDX_REGI] > 100) { |
5930 | DFA_PRODUCTION(RDX_REGI, loadConI_rule, 100) |
5931 | } |
5932 | if ( /* RDI_REGI KNOWN_VALID || */ _cost[RDI_REGI] > 100) { |
5933 | DFA_PRODUCTION(RDI_REGI, loadConI_rule, 100) |
5934 | } |
5935 | } |
5936 | void State::_sub_Op_ConL(const Node *n){ |
5937 | jlong _n_get_long__ = n->get_long(); |
5938 | if( |
5939 | #line 3279 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5940 | _n_get_long__ == 65535 |
5941 | #line 5941 "dfa_x86.cpp" |
5942 | ) { |
5943 | unsigned int c = 0; |
5944 | DFA_PRODUCTION__SET_VALID(IMML_65535, immL_65535_rule, c) |
5945 | } |
5946 | if( |
5947 | #line 3269 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5948 | _n_get_long__ == 255 |
5949 | #line 5949 "dfa_x86.cpp" |
5950 | ) { |
5951 | unsigned int c = 0; |
5952 | DFA_PRODUCTION__SET_VALID(IMML_255, immL_255_rule, c) |
5953 | } |
5954 | if( |
5955 | #line 3175 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5956 | _n_get_long__ == 0xFFFFFFFFL |
5957 | #line 5957 "dfa_x86.cpp" |
5958 | ) { |
5959 | unsigned int c = 20; |
5960 | DFA_PRODUCTION__SET_VALID(IMML_32BITS, immL_32bits_rule, c) |
5961 | } |
5962 | if( |
5963 | #line 3164 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5964 | 0 <= _n_get_long__ && _n_get_long__ < 0x80 |
5965 | #line 5965 "dfa_x86.cpp" |
5966 | ) { |
5967 | unsigned int c = 10; |
5968 | DFA_PRODUCTION__SET_VALID(IMML_127, immL_127_rule, c) |
5969 | } |
5970 | if( |
5971 | #line 3153 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5972 | _n_get_long__ == 10 |
5973 | #line 5973 "dfa_x86.cpp" |
5974 | ) { |
5975 | unsigned int c = 0; |
5976 | DFA_PRODUCTION__SET_VALID(IMML10, immL10_rule, c) |
5977 | } |
5978 | if( |
5979 | #line 3143 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5980 | _n_get_long__ == -1 |
5981 | #line 5981 "dfa_x86.cpp" |
5982 | ) { |
5983 | unsigned int c = 0; |
5984 | DFA_PRODUCTION__SET_VALID(IMML_M1, immL_M1_rule, c) |
5985 | } |
5986 | if( |
5987 | #line 3133 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5988 | _n_get_long__ == 1 |
5989 | #line 5989 "dfa_x86.cpp" |
5990 | ) { |
5991 | unsigned int c = 0; |
5992 | DFA_PRODUCTION__SET_VALID(IMML1, immL1_rule, c) |
5993 | } |
5994 | if( |
5995 | #line 3122 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
5996 | _n_get_long__ == 0L |
5997 | #line 5997 "dfa_x86.cpp" |
5998 | ) { |
5999 | unsigned int c = 10; |
6000 | DFA_PRODUCTION__SET_VALID(IMML0, immL0_rule, c) |
6001 | DFA_PRODUCTION__SET_VALID(RREGL, loadConL0_rule, c+50) |
6002 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+50+100) |
6003 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadConL0_rule, c+50) |
6004 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadConL0_rule, c+50) |
6005 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadConL0_rule, c+50) |
6006 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadConL0_rule, c+50) |
6007 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadConL0_rule, c+50) |
6008 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadConL0_rule, c+50) |
6009 | } |
6010 | if( |
6011 | #line 3111 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6012 | _n_get_long__ == (int) (_n_get_long__) |
6013 | #line 6013 "dfa_x86.cpp" |
6014 | ) { |
6015 | unsigned int c = 15; |
6016 | DFA_PRODUCTION__SET_VALID(IMML32, immL32_rule, c) |
6017 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c+70) { |
6018 | DFA_PRODUCTION__SET_VALID(RREGL, loadConL32_rule, c+70) |
6019 | } |
6020 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+70+100) { |
6021 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+70+100) |
6022 | } |
6023 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c+70) { |
6024 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadConL32_rule, c+70) |
6025 | } |
6026 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c+70) { |
6027 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadConL32_rule, c+70) |
6028 | } |
6029 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c+70) { |
6030 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadConL32_rule, c+70) |
6031 | } |
6032 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c+70) { |
6033 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadConL32_rule, c+70) |
6034 | } |
6035 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c+70) { |
6036 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadConL32_rule, c+70) |
6037 | } |
6038 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c+70) { |
6039 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadConL32_rule, c+70) |
6040 | } |
6041 | } |
6042 | if( |
6043 | #line 3100 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6044 | _n_get_long__ == (unsigned int) (_n_get_long__) |
6045 | #line 6045 "dfa_x86.cpp" |
6046 | ) { |
6047 | unsigned int c = 10; |
6048 | DFA_PRODUCTION__SET_VALID(IMMUL32, immUL32_rule, c) |
6049 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c+60) { |
6050 | DFA_PRODUCTION__SET_VALID(RREGL, loadConUL32_rule, c+60) |
6051 | } |
6052 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+60+100) { |
6053 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+60+100) |
6054 | } |
6055 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c+60) { |
6056 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadConUL32_rule, c+60) |
6057 | } |
6058 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c+60) { |
6059 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadConUL32_rule, c+60) |
6060 | } |
6061 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c+60) { |
6062 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadConUL32_rule, c+60) |
6063 | } |
6064 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c+60) { |
6065 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadConUL32_rule, c+60) |
6066 | } |
6067 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c+60) { |
6068 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadConUL32_rule, c+60) |
6069 | } |
6070 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c+60) { |
6071 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadConUL32_rule, c+60) |
6072 | } |
6073 | } |
6074 | if( |
6075 | #line 3089 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6076 | -0x80L <= _n_get_long__ && _n_get_long__ < 0x80L |
6077 | #line 6077 "dfa_x86.cpp" |
6078 | ) { |
6079 | unsigned int c = 5; |
6080 | DFA_PRODUCTION__SET_VALID(IMML8, immL8_rule, c) |
6081 | } |
6082 | { |
6083 | unsigned int c = 20; |
6084 | DFA_PRODUCTION__SET_VALID(IMML, immL_rule, c) |
6085 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c+150) { |
6086 | DFA_PRODUCTION__SET_VALID(RREGL, loadConL_rule, c+150) |
6087 | } |
6088 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+150+100) { |
6089 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+150+100) |
6090 | } |
6091 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c+150) { |
6092 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadConL_rule, c+150) |
6093 | } |
6094 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c+150) { |
6095 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadConL_rule, c+150) |
6096 | } |
6097 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c+150) { |
6098 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadConL_rule, c+150) |
6099 | } |
6100 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c+150) { |
6101 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadConL_rule, c+150) |
6102 | } |
6103 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c+150) { |
6104 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadConL_rule, c+150) |
6105 | } |
6106 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c+150) { |
6107 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadConL_rule, c+150) |
6108 | } |
6109 | } |
6110 | if ( /* RREGL KNOWN_VALID || */ _cost[RREGL] > 150) { |
6111 | DFA_PRODUCTION(RREGL, loadConL_rule, 150) |
6112 | } |
6113 | if ( /* STACKSLOTL KNOWN_VALID || */ _cost[STACKSLOTL] > 150+100) { |
6114 | DFA_PRODUCTION(STACKSLOTL, storeSSL_rule, 150+100) |
6115 | } |
6116 | if ( /* NO_RAX_RDX_REGL KNOWN_VALID || */ _cost[NO_RAX_RDX_REGL] > 150) { |
6117 | DFA_PRODUCTION(NO_RAX_RDX_REGL, loadConL_rule, 150) |
6118 | } |
6119 | if ( /* NO_RAX_REGL KNOWN_VALID || */ _cost[NO_RAX_REGL] > 150) { |
6120 | DFA_PRODUCTION(NO_RAX_REGL, loadConL_rule, 150) |
6121 | } |
6122 | if ( /* NO_RCX_REGL KNOWN_VALID || */ _cost[NO_RCX_REGL] > 150) { |
6123 | DFA_PRODUCTION(NO_RCX_REGL, loadConL_rule, 150) |
6124 | } |
6125 | if ( /* RAX_REGL KNOWN_VALID || */ _cost[RAX_REGL] > 150) { |
6126 | DFA_PRODUCTION(RAX_REGL, loadConL_rule, 150) |
6127 | } |
6128 | if ( /* RCX_REGL KNOWN_VALID || */ _cost[RCX_REGL] > 150) { |
6129 | DFA_PRODUCTION(RCX_REGL, loadConL_rule, 150) |
6130 | } |
6131 | if ( /* RDX_REGL KNOWN_VALID || */ _cost[RDX_REGL] > 150) { |
6132 | DFA_PRODUCTION(RDX_REGL, loadConL_rule, 150) |
6133 | } |
6134 | } |
6135 | void State::_sub_Op_ConP(const Node *n){ |
6136 | if( |
6137 | #line 3066 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6138 | n->as_Type()->type()->reloc() == relocInfo::none |
6139 | && (n->get_ptr() >> 31) == 0 |
6140 | #line 6140 "dfa_x86.cpp" |
6141 | ) { |
6142 | unsigned int c = 5; |
6143 | DFA_PRODUCTION__SET_VALID(IMMP31, immP31_rule, c) |
6144 | DFA_PRODUCTION__SET_VALID(RREGP, loadConP31_rule, c+60) |
6145 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+60+100) |
6146 | DFA_PRODUCTION__SET_VALID(ANY_REGP, loadConP31_rule, c+60) |
6147 | DFA_PRODUCTION__SET_VALID(INDIRECT, loadConP31_rule, c+60) |
6148 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+60) |
6149 | DFA_PRODUCTION__SET_VALID(RAX_REGP, loadConP31_rule, c+60) |
6150 | DFA_PRODUCTION__SET_VALID(RBX_REGP, loadConP31_rule, c+60) |
6151 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, loadConP31_rule, c+60) |
6152 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, loadConP31_rule, c+60) |
6153 | DFA_PRODUCTION__SET_VALID(RSI_REGP, loadConP31_rule, c+60) |
6154 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, loadConP31_rule, c+60) |
6155 | DFA_PRODUCTION__SET_VALID(RDI_REGP, loadConP31_rule, c+60) |
6156 | DFA_PRODUCTION__SET_VALID(R15_REGP, loadConP31_rule, c+60) |
6157 | } |
6158 | if( |
6159 | #line 3029 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6160 | n->get_ptr() == 0 |
6161 | #line 6161 "dfa_x86.cpp" |
6162 | ) { |
6163 | unsigned int c = 5; |
6164 | DFA_PRODUCTION__SET_VALID(IMMP0, immP0_rule, c) |
6165 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+50) { |
6166 | DFA_PRODUCTION__SET_VALID(RREGP, loadConP0_rule, c+50) |
6167 | } |
6168 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+50+100) { |
6169 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+50+100) |
6170 | } |
6171 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+50) { |
6172 | DFA_PRODUCTION__SET_VALID(ANY_REGP, loadConP0_rule, c+50) |
6173 | } |
6174 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+50) { |
6175 | DFA_PRODUCTION__SET_VALID(INDIRECT, loadConP0_rule, c+50) |
6176 | } |
6177 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+50) { |
6178 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+50) |
6179 | } |
6180 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+50) { |
6181 | DFA_PRODUCTION__SET_VALID(RAX_REGP, loadConP0_rule, c+50) |
6182 | } |
6183 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+50) { |
6184 | DFA_PRODUCTION__SET_VALID(RBX_REGP, loadConP0_rule, c+50) |
6185 | } |
6186 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+50) { |
6187 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, loadConP0_rule, c+50) |
6188 | } |
6189 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+50) { |
6190 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, loadConP0_rule, c+50) |
6191 | } |
6192 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+50) { |
6193 | DFA_PRODUCTION__SET_VALID(RSI_REGP, loadConP0_rule, c+50) |
6194 | } |
6195 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+50) { |
6196 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, loadConP0_rule, c+50) |
6197 | } |
6198 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+50) { |
6199 | DFA_PRODUCTION__SET_VALID(RDI_REGP, loadConP0_rule, c+50) |
6200 | } |
6201 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+50) { |
6202 | DFA_PRODUCTION__SET_VALID(R15_REGP, loadConP0_rule, c+50) |
6203 | } |
6204 | } |
6205 | { |
6206 | unsigned int c = 10; |
6207 | DFA_PRODUCTION__SET_VALID(IMMP, immP_rule, c) |
6208 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c+100) { |
6209 | DFA_PRODUCTION__SET_VALID(RREGP, loadConP_rule, c+100) |
6210 | } |
6211 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100+100) { |
6212 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100+100) |
6213 | } |
6214 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c+100) { |
6215 | DFA_PRODUCTION__SET_VALID(ANY_REGP, loadConP_rule, c+100) |
6216 | } |
6217 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c+100) { |
6218 | DFA_PRODUCTION__SET_VALID(INDIRECT, loadConP_rule, c+100) |
6219 | } |
6220 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c+100) { |
6221 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c+100) |
6222 | } |
6223 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c+100) { |
6224 | DFA_PRODUCTION__SET_VALID(RAX_REGP, loadConP_rule, c+100) |
6225 | } |
6226 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c+100) { |
6227 | DFA_PRODUCTION__SET_VALID(RBX_REGP, loadConP_rule, c+100) |
6228 | } |
6229 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c+100) { |
6230 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, loadConP_rule, c+100) |
6231 | } |
6232 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c+100) { |
6233 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, loadConP_rule, c+100) |
6234 | } |
6235 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c+100) { |
6236 | DFA_PRODUCTION__SET_VALID(RSI_REGP, loadConP_rule, c+100) |
6237 | } |
6238 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c+100) { |
6239 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, loadConP_rule, c+100) |
6240 | } |
6241 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c+100) { |
6242 | DFA_PRODUCTION__SET_VALID(RDI_REGP, loadConP_rule, c+100) |
6243 | } |
6244 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c+100) { |
6245 | DFA_PRODUCTION__SET_VALID(R15_REGP, loadConP_rule, c+100) |
6246 | } |
6247 | } |
6248 | if ( /* RREGP KNOWN_VALID || */ _cost[RREGP] > 100) { |
6249 | DFA_PRODUCTION(RREGP, loadConP_rule, 100) |
6250 | } |
6251 | if ( /* STACKSLOTP KNOWN_VALID || */ _cost[STACKSLOTP] > 100+100) { |
6252 | DFA_PRODUCTION(STACKSLOTP, storeSSP_rule, 100+100) |
6253 | } |
6254 | if ( /* ANY_REGP KNOWN_VALID || */ _cost[ANY_REGP] > 100) { |
6255 | DFA_PRODUCTION(ANY_REGP, loadConP_rule, 100) |
6256 | } |
6257 | if ( /* INDIRECT KNOWN_VALID || */ _cost[INDIRECT] > 100) { |
6258 | DFA_PRODUCTION(INDIRECT, loadConP_rule, 100) |
6259 | } |
6260 | if ( /* MEMORY KNOWN_VALID || */ _cost[MEMORY] > 100) { |
6261 | DFA_PRODUCTION(MEMORY, indirect_rule, 100) |
6262 | } |
6263 | if ( /* RAX_REGP KNOWN_VALID || */ _cost[RAX_REGP] > 100) { |
6264 | DFA_PRODUCTION(RAX_REGP, loadConP_rule, 100) |
6265 | } |
6266 | if ( /* RBX_REGP KNOWN_VALID || */ _cost[RBX_REGP] > 100) { |
6267 | DFA_PRODUCTION(RBX_REGP, loadConP_rule, 100) |
6268 | } |
6269 | if ( /* NO_RAX_REGP KNOWN_VALID || */ _cost[NO_RAX_REGP] > 100) { |
6270 | DFA_PRODUCTION(NO_RAX_REGP, loadConP_rule, 100) |
6271 | } |
6272 | if ( /* NO_RBP_REGP KNOWN_VALID || */ _cost[NO_RBP_REGP] > 100) { |
6273 | DFA_PRODUCTION(NO_RBP_REGP, loadConP_rule, 100) |
6274 | } |
6275 | if ( /* RSI_REGP KNOWN_VALID || */ _cost[RSI_REGP] > 100) { |
6276 | DFA_PRODUCTION(RSI_REGP, loadConP_rule, 100) |
6277 | } |
6278 | if ( /* NO_RAX_RBX_REGP KNOWN_VALID || */ _cost[NO_RAX_RBX_REGP] > 100) { |
6279 | DFA_PRODUCTION(NO_RAX_RBX_REGP, loadConP_rule, 100) |
6280 | } |
6281 | if ( /* RDI_REGP KNOWN_VALID || */ _cost[RDI_REGP] > 100) { |
6282 | DFA_PRODUCTION(RDI_REGP, loadConP_rule, 100) |
6283 | } |
6284 | if ( /* R15_REGP KNOWN_VALID || */ _cost[R15_REGP] > 100) { |
6285 | DFA_PRODUCTION(R15_REGP, loadConP_rule, 100) |
6286 | } |
6287 | } |
6288 | void State::_sub_Op_Conv2B(const Node *n){ |
6289 | if( STATE__VALID_CHILD(_kids[0], RREGP) ) { |
6290 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
6291 | DFA_PRODUCTION__SET_VALID(RREGI, convP2B_rule, c) |
6292 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
6293 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convP2B_rule, c) |
6294 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convP2B_rule, c) |
6295 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convP2B_rule, c) |
6296 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convP2B_rule, c) |
6297 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convP2B_rule, c) |
6298 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convP2B_rule, c) |
6299 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convP2B_rule, c) |
6300 | } |
6301 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
6302 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
6303 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
6304 | DFA_PRODUCTION__SET_VALID(RREGI, convI2B_rule, c) |
6305 | } |
6306 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
6307 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
6308 | } |
6309 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
6310 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convI2B_rule, c) |
6311 | } |
6312 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
6313 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convI2B_rule, c) |
6314 | } |
6315 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
6316 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convI2B_rule, c) |
6317 | } |
6318 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
6319 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convI2B_rule, c) |
6320 | } |
6321 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
6322 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convI2B_rule, c) |
6323 | } |
6324 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
6325 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convI2B_rule, c) |
6326 | } |
6327 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
6328 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convI2B_rule, c) |
6329 | } |
6330 | } |
6331 | } |
6332 | void State::_sub_Op_ConvD2F(const Node *n){ |
6333 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) ) { |
6334 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+100; |
6335 | DFA_PRODUCTION__SET_VALID(REGF, convD2F_reg_mem_rule, c) |
6336 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6337 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6338 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6339 | } |
6340 | if( STATE__VALID_CHILD(_kids[0], REGD) ) { |
6341 | unsigned int c = _kids[0]->_cost[REGD]+100; |
6342 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
6343 | DFA_PRODUCTION__SET_VALID(REGF, convD2F_reg_reg_rule, c) |
6344 | } |
6345 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
6346 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6347 | } |
6348 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
6349 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6350 | } |
6351 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
6352 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6353 | } |
6354 | } |
6355 | } |
6356 | void State::_sub_Op_ConvD2I(const Node *n){ |
6357 | if( STATE__VALID_CHILD(_kids[0], REGD) ) { |
6358 | unsigned int c = _kids[0]->_cost[REGD]+100; |
6359 | DFA_PRODUCTION__SET_VALID(RREGI, convD2I_reg_reg_rule, c) |
6360 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
6361 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convD2I_reg_reg_rule, c) |
6362 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convD2I_reg_reg_rule, c) |
6363 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convD2I_reg_reg_rule, c) |
6364 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convD2I_reg_reg_rule, c) |
6365 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convD2I_reg_reg_rule, c) |
6366 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convD2I_reg_reg_rule, c) |
6367 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convD2I_reg_reg_rule, c) |
6368 | } |
6369 | } |
6370 | void State::_sub_Op_ConvD2L(const Node *n){ |
6371 | if( STATE__VALID_CHILD(_kids[0], REGD) ) { |
6372 | unsigned int c = _kids[0]->_cost[REGD]+100; |
6373 | DFA_PRODUCTION__SET_VALID(RREGL, convD2L_reg_reg_rule, c) |
6374 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6375 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, convD2L_reg_reg_rule, c) |
6376 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, convD2L_reg_reg_rule, c) |
6377 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, convD2L_reg_reg_rule, c) |
6378 | DFA_PRODUCTION__SET_VALID(RAX_REGL, convD2L_reg_reg_rule, c) |
6379 | DFA_PRODUCTION__SET_VALID(RCX_REGL, convD2L_reg_reg_rule, c) |
6380 | DFA_PRODUCTION__SET_VALID(RDX_REGL, convD2L_reg_reg_rule, c) |
6381 | } |
6382 | } |
6383 | void State::_sub_Op_ConvF2D(const Node *n){ |
6384 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) ) { |
6385 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
6386 | DFA_PRODUCTION__SET_VALID(REGD, convF2D_reg_mem_rule, c) |
6387 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6388 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6389 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6390 | } |
6391 | if( STATE__VALID_CHILD(_kids[0], REGF) ) { |
6392 | unsigned int c = _kids[0]->_cost[REGF]+100; |
6393 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
6394 | DFA_PRODUCTION__SET_VALID(REGD, convF2D_reg_reg_rule, c) |
6395 | } |
6396 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
6397 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6398 | } |
6399 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
6400 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6401 | } |
6402 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
6403 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6404 | } |
6405 | } |
6406 | } |
6407 | void State::_sub_Op_ConvF2I(const Node *n){ |
6408 | if( STATE__VALID_CHILD(_kids[0], REGF) ) { |
6409 | unsigned int c = _kids[0]->_cost[REGF]+100; |
6410 | DFA_PRODUCTION__SET_VALID(RREGI, convF2I_reg_reg_rule, c) |
6411 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
6412 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convF2I_reg_reg_rule, c) |
6413 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convF2I_reg_reg_rule, c) |
6414 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convF2I_reg_reg_rule, c) |
6415 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convF2I_reg_reg_rule, c) |
6416 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convF2I_reg_reg_rule, c) |
6417 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convF2I_reg_reg_rule, c) |
6418 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convF2I_reg_reg_rule, c) |
6419 | } |
6420 | } |
6421 | void State::_sub_Op_ConvF2L(const Node *n){ |
6422 | if( STATE__VALID_CHILD(_kids[0], REGF) ) { |
6423 | unsigned int c = _kids[0]->_cost[REGF]+100; |
6424 | DFA_PRODUCTION__SET_VALID(RREGL, convF2L_reg_reg_rule, c) |
6425 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6426 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, convF2L_reg_reg_rule, c) |
6427 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, convF2L_reg_reg_rule, c) |
6428 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, convF2L_reg_reg_rule, c) |
6429 | DFA_PRODUCTION__SET_VALID(RAX_REGL, convF2L_reg_reg_rule, c) |
6430 | DFA_PRODUCTION__SET_VALID(RCX_REGL, convF2L_reg_reg_rule, c) |
6431 | DFA_PRODUCTION__SET_VALID(RDX_REGL, convF2L_reg_reg_rule, c) |
6432 | } |
6433 | } |
6434 | void State::_sub_Op_ConvI2D(const Node *n){ |
6435 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
6436 | ( |
6437 | #line 10897 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6438 | UseXmmI2D |
6439 | #line 6439 "dfa_x86.cpp" |
6440 | ) ) { |
6441 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
6442 | DFA_PRODUCTION__SET_VALID(REGD, convXI2D_reg_rule, c) |
6443 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6444 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6445 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6446 | } |
6447 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) ) { |
6448 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
6449 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
6450 | DFA_PRODUCTION__SET_VALID(REGD, convI2D_reg_mem_rule, c) |
6451 | } |
6452 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
6453 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6454 | } |
6455 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
6456 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6457 | } |
6458 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
6459 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6460 | } |
6461 | } |
6462 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
6463 | ( |
6464 | #line 10860 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6465 | !UseXmmI2D |
6466 | #line 6466 "dfa_x86.cpp" |
6467 | ) ) { |
6468 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
6469 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
6470 | DFA_PRODUCTION__SET_VALID(REGD, convI2D_reg_reg_rule, c) |
6471 | } |
6472 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
6473 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6474 | } |
6475 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
6476 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6477 | } |
6478 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
6479 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6480 | } |
6481 | } |
6482 | } |
6483 | void State::_sub_Op_ConvI2F(const Node *n){ |
6484 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
6485 | ( |
6486 | #line 10883 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6487 | UseXmmI2F |
6488 | #line 6488 "dfa_x86.cpp" |
6489 | ) ) { |
6490 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
6491 | DFA_PRODUCTION__SET_VALID(REGF, convXI2F_reg_rule, c) |
6492 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6493 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6494 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6495 | } |
6496 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) ) { |
6497 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
6498 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
6499 | DFA_PRODUCTION__SET_VALID(REGF, convI2F_reg_mem_rule, c) |
6500 | } |
6501 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
6502 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6503 | } |
6504 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
6505 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6506 | } |
6507 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
6508 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6509 | } |
6510 | } |
6511 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
6512 | ( |
6513 | #line 10837 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6514 | !UseXmmI2F |
6515 | #line 6515 "dfa_x86.cpp" |
6516 | ) ) { |
6517 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
6518 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
6519 | DFA_PRODUCTION__SET_VALID(REGF, convI2F_reg_reg_rule, c) |
6520 | } |
6521 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
6522 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6523 | } |
6524 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
6525 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6526 | } |
6527 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
6528 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6529 | } |
6530 | } |
6531 | } |
6532 | void State::_sub_Op_ConvI2L(const Node *n){ |
6533 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
6534 | unsigned int c = _kids[0]->_cost[RREGI]+125; |
6535 | DFA_PRODUCTION__SET_VALID(RREGL, convI2L_reg_reg_rule, c) |
6536 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6537 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, convI2L_reg_reg_rule, c) |
6538 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, convI2L_reg_reg_rule, c) |
6539 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, convI2L_reg_reg_rule, c) |
6540 | DFA_PRODUCTION__SET_VALID(RAX_REGL, convI2L_reg_reg_rule, c) |
6541 | DFA_PRODUCTION__SET_VALID(RCX_REGL, convI2L_reg_reg_rule, c) |
6542 | DFA_PRODUCTION__SET_VALID(RDX_REGL, convI2L_reg_reg_rule, c) |
6543 | } |
6544 | if( STATE__VALID_CHILD(_kids[0], _ANDI_RREGI_IMMI_65535) ) { |
6545 | unsigned int c = _kids[0]->_cost[_ANDI_RREGI_IMMI_65535]+100; |
6546 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6547 | DFA_PRODUCTION__SET_VALID(RREGL, andI2L_rReg_imm65535_rule, c) |
6548 | } |
6549 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6550 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6551 | } |
6552 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6553 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andI2L_rReg_imm65535_rule, c) |
6554 | } |
6555 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6556 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andI2L_rReg_imm65535_rule, c) |
6557 | } |
6558 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6559 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andI2L_rReg_imm65535_rule, c) |
6560 | } |
6561 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6562 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andI2L_rReg_imm65535_rule, c) |
6563 | } |
6564 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6565 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andI2L_rReg_imm65535_rule, c) |
6566 | } |
6567 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6568 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andI2L_rReg_imm65535_rule, c) |
6569 | } |
6570 | } |
6571 | if( STATE__VALID_CHILD(_kids[0], _ANDI_RREGI_IMMI_255) ) { |
6572 | unsigned int c = _kids[0]->_cost[_ANDI_RREGI_IMMI_255]+100; |
6573 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6574 | DFA_PRODUCTION__SET_VALID(RREGL, andI2L_rReg_imm255_rule, c) |
6575 | } |
6576 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6577 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6578 | } |
6579 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6580 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, andI2L_rReg_imm255_rule, c) |
6581 | } |
6582 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6583 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, andI2L_rReg_imm255_rule, c) |
6584 | } |
6585 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6586 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, andI2L_rReg_imm255_rule, c) |
6587 | } |
6588 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6589 | DFA_PRODUCTION__SET_VALID(RAX_REGL, andI2L_rReg_imm255_rule, c) |
6590 | } |
6591 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6592 | DFA_PRODUCTION__SET_VALID(RCX_REGL, andI2L_rReg_imm255_rule, c) |
6593 | } |
6594 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6595 | DFA_PRODUCTION__SET_VALID(RDX_REGL, andI2L_rReg_imm255_rule, c) |
6596 | } |
6597 | } |
6598 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) ) { |
6599 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]; |
6600 | DFA_PRODUCTION__SET_VALID(_CONVI2L__LOADI_MEMORY__, _ConvI2L__LoadI_memory___rule, c) |
6601 | } |
6602 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADI_MEMORY__IMMU31) ) { |
6603 | unsigned int c = _kids[0]->_cost[_ANDI__LOADI_MEMORY__IMMU31]+100; |
6604 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6605 | DFA_PRODUCTION__SET_VALID(RREGL, loadI2L_immU31_rule, c) |
6606 | } |
6607 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6608 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6609 | } |
6610 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6611 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadI2L_immU31_rule, c) |
6612 | } |
6613 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6614 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadI2L_immU31_rule, c) |
6615 | } |
6616 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6617 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadI2L_immU31_rule, c) |
6618 | } |
6619 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6620 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadI2L_immU31_rule, c) |
6621 | } |
6622 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6623 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadI2L_immU31_rule, c) |
6624 | } |
6625 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6626 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadI2L_immU31_rule, c) |
6627 | } |
6628 | } |
6629 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADI_MEMORY__IMMI_65535) ) { |
6630 | unsigned int c = _kids[0]->_cost[_ANDI__LOADI_MEMORY__IMMI_65535]+100; |
6631 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6632 | DFA_PRODUCTION__SET_VALID(RREGL, loadI2L_immI_65535_rule, c) |
6633 | } |
6634 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6635 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6636 | } |
6637 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6638 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadI2L_immI_65535_rule, c) |
6639 | } |
6640 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6641 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadI2L_immI_65535_rule, c) |
6642 | } |
6643 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6644 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadI2L_immI_65535_rule, c) |
6645 | } |
6646 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6647 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadI2L_immI_65535_rule, c) |
6648 | } |
6649 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6650 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadI2L_immI_65535_rule, c) |
6651 | } |
6652 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6653 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadI2L_immI_65535_rule, c) |
6654 | } |
6655 | } |
6656 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADI_MEMORY__IMMI_255) ) { |
6657 | unsigned int c = _kids[0]->_cost[_ANDI__LOADI_MEMORY__IMMI_255]+100; |
6658 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6659 | DFA_PRODUCTION__SET_VALID(RREGL, loadI2L_immI_255_rule, c) |
6660 | } |
6661 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6662 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6663 | } |
6664 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6665 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadI2L_immI_255_rule, c) |
6666 | } |
6667 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6668 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadI2L_immI_255_rule, c) |
6669 | } |
6670 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6671 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadI2L_immI_255_rule, c) |
6672 | } |
6673 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6674 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadI2L_immI_255_rule, c) |
6675 | } |
6676 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6677 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadI2L_immI_255_rule, c) |
6678 | } |
6679 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6680 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadI2L_immI_255_rule, c) |
6681 | } |
6682 | } |
6683 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) ) { |
6684 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+125; |
6685 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6686 | DFA_PRODUCTION__SET_VALID(RREGL, loadI2L_rule, c) |
6687 | } |
6688 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6689 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6690 | } |
6691 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6692 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadI2L_rule, c) |
6693 | } |
6694 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6695 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadI2L_rule, c) |
6696 | } |
6697 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6698 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadI2L_rule, c) |
6699 | } |
6700 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6701 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadI2L_rule, c) |
6702 | } |
6703 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6704 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadI2L_rule, c) |
6705 | } |
6706 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6707 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadI2L_rule, c) |
6708 | } |
6709 | } |
6710 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADUS_MEMORY__IMMI) ) { |
6711 | unsigned int c = _kids[0]->_cost[_ANDI__LOADUS_MEMORY__IMMI]+100; |
6712 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6713 | DFA_PRODUCTION__SET_VALID(RREGL, loadUS2L_immI_rule, c) |
6714 | } |
6715 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6716 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6717 | } |
6718 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6719 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadUS2L_immI_rule, c) |
6720 | } |
6721 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6722 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadUS2L_immI_rule, c) |
6723 | } |
6724 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6725 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadUS2L_immI_rule, c) |
6726 | } |
6727 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6728 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadUS2L_immI_rule, c) |
6729 | } |
6730 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6731 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadUS2L_immI_rule, c) |
6732 | } |
6733 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6734 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadUS2L_immI_rule, c) |
6735 | } |
6736 | } |
6737 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADUS_MEMORY__IMMI_255) ) { |
6738 | unsigned int c = _kids[0]->_cost[_ANDI__LOADUS_MEMORY__IMMI_255]+100; |
6739 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6740 | DFA_PRODUCTION__SET_VALID(RREGL, loadUS2L_immI_255_rule, c) |
6741 | } |
6742 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6743 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6744 | } |
6745 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6746 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadUS2L_immI_255_rule, c) |
6747 | } |
6748 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6749 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadUS2L_immI_255_rule, c) |
6750 | } |
6751 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6752 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadUS2L_immI_255_rule, c) |
6753 | } |
6754 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6755 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadUS2L_immI_255_rule, c) |
6756 | } |
6757 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6758 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadUS2L_immI_255_rule, c) |
6759 | } |
6760 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6761 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadUS2L_immI_255_rule, c) |
6762 | } |
6763 | } |
6764 | if( STATE__VALID_CHILD(_kids[0], _LOADUS_MEMORY_) ) { |
6765 | unsigned int c = _kids[0]->_cost[_LOADUS_MEMORY_]+125; |
6766 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6767 | DFA_PRODUCTION__SET_VALID(RREGL, loadUS2L_rule, c) |
6768 | } |
6769 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6770 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6771 | } |
6772 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6773 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadUS2L_rule, c) |
6774 | } |
6775 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6776 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadUS2L_rule, c) |
6777 | } |
6778 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6779 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadUS2L_rule, c) |
6780 | } |
6781 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6782 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadUS2L_rule, c) |
6783 | } |
6784 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6785 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadUS2L_rule, c) |
6786 | } |
6787 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6788 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadUS2L_rule, c) |
6789 | } |
6790 | } |
6791 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) ) { |
6792 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+125; |
6793 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6794 | DFA_PRODUCTION__SET_VALID(RREGL, loadS2L_rule, c) |
6795 | } |
6796 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6797 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6798 | } |
6799 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6800 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadS2L_rule, c) |
6801 | } |
6802 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6803 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadS2L_rule, c) |
6804 | } |
6805 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6806 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadS2L_rule, c) |
6807 | } |
6808 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6809 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadS2L_rule, c) |
6810 | } |
6811 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6812 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadS2L_rule, c) |
6813 | } |
6814 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6815 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadS2L_rule, c) |
6816 | } |
6817 | } |
6818 | if( STATE__VALID_CHILD(_kids[0], _ANDI__LOADUB_MEMORY__IMMI) ) { |
6819 | unsigned int c = _kids[0]->_cost[_ANDI__LOADUB_MEMORY__IMMI]+100; |
6820 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6821 | DFA_PRODUCTION__SET_VALID(RREGL, loadUB2L_immI_rule, c) |
6822 | } |
6823 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6824 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6825 | } |
6826 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6827 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadUB2L_immI_rule, c) |
6828 | } |
6829 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6830 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadUB2L_immI_rule, c) |
6831 | } |
6832 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6833 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadUB2L_immI_rule, c) |
6834 | } |
6835 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6836 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadUB2L_immI_rule, c) |
6837 | } |
6838 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6839 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadUB2L_immI_rule, c) |
6840 | } |
6841 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6842 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadUB2L_immI_rule, c) |
6843 | } |
6844 | } |
6845 | if( STATE__VALID_CHILD(_kids[0], _LOADUB_MEMORY_) ) { |
6846 | unsigned int c = _kids[0]->_cost[_LOADUB_MEMORY_]+125; |
6847 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6848 | DFA_PRODUCTION__SET_VALID(RREGL, loadUB2L_rule, c) |
6849 | } |
6850 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6851 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6852 | } |
6853 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6854 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadUB2L_rule, c) |
6855 | } |
6856 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6857 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadUB2L_rule, c) |
6858 | } |
6859 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6860 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadUB2L_rule, c) |
6861 | } |
6862 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6863 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadUB2L_rule, c) |
6864 | } |
6865 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6866 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadUB2L_rule, c) |
6867 | } |
6868 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6869 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadUB2L_rule, c) |
6870 | } |
6871 | } |
6872 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) ) { |
6873 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+125; |
6874 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
6875 | DFA_PRODUCTION__SET_VALID(RREGL, loadB2L_rule, c) |
6876 | } |
6877 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
6878 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
6879 | } |
6880 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
6881 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadB2L_rule, c) |
6882 | } |
6883 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
6884 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadB2L_rule, c) |
6885 | } |
6886 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
6887 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadB2L_rule, c) |
6888 | } |
6889 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
6890 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadB2L_rule, c) |
6891 | } |
6892 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
6893 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadB2L_rule, c) |
6894 | } |
6895 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
6896 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadB2L_rule, c) |
6897 | } |
6898 | } |
6899 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
6900 | unsigned int c = _kids[0]->_cost[RREGI]; |
6901 | DFA_PRODUCTION__SET_VALID(_CONVI2L_RREGI_, _ConvI2L_rRegI__rule, c) |
6902 | } |
6903 | } |
6904 | void State::_sub_Op_ConvL2D(const Node *n){ |
6905 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) ) { |
6906 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
6907 | DFA_PRODUCTION__SET_VALID(REGD, convL2D_reg_mem_rule, c) |
6908 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6909 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6910 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6911 | } |
6912 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
6913 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
6914 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
6915 | DFA_PRODUCTION__SET_VALID(REGD, convL2D_reg_reg_rule, c) |
6916 | } |
6917 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
6918 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
6919 | } |
6920 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
6921 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
6922 | } |
6923 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
6924 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
6925 | } |
6926 | } |
6927 | } |
6928 | void State::_sub_Op_ConvL2F(const Node *n){ |
6929 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) ) { |
6930 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
6931 | DFA_PRODUCTION__SET_VALID(REGF, convL2F_reg_mem_rule, c) |
6932 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6933 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6934 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6935 | } |
6936 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
6937 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
6938 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
6939 | DFA_PRODUCTION__SET_VALID(REGF, convL2F_reg_reg_rule, c) |
6940 | } |
6941 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
6942 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
6943 | } |
6944 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
6945 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
6946 | } |
6947 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
6948 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
6949 | } |
6950 | } |
6951 | } |
6952 | void State::_sub_Op_ConvL2I(const Node *n){ |
6953 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
6954 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
6955 | DFA_PRODUCTION__SET_VALID(RREGI, convL2I_reg_reg_rule, c) |
6956 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
6957 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convL2I_reg_reg_rule, c) |
6958 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convL2I_reg_reg_rule, c) |
6959 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convL2I_reg_reg_rule, c) |
6960 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convL2I_reg_reg_rule, c) |
6961 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convL2I_reg_reg_rule, c) |
6962 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convL2I_reg_reg_rule, c) |
6963 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convL2I_reg_reg_rule, c) |
6964 | } |
6965 | if( STATE__VALID_CHILD(_kids[0], _CASTP2X__DECODEN_RREGN__) && |
6966 | ( |
6967 | #line 6937 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
6968 | CompressedOops::shift() == 0 |
6969 | #line 6969 "dfa_x86.cpp" |
6970 | ) ) { |
6971 | unsigned int c = _kids[0]->_cost[_CASTP2X__DECODEN_RREGN__]+100; |
6972 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
6973 | DFA_PRODUCTION__SET_VALID(RREGI, convN2I_rule, c) |
6974 | } |
6975 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
6976 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
6977 | } |
6978 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
6979 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convN2I_rule, c) |
6980 | } |
6981 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
6982 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convN2I_rule, c) |
6983 | } |
6984 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
6985 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convN2I_rule, c) |
6986 | } |
6987 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
6988 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convN2I_rule, c) |
6989 | } |
6990 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
6991 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convN2I_rule, c) |
6992 | } |
6993 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
6994 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convN2I_rule, c) |
6995 | } |
6996 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
6997 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convN2I_rule, c) |
6998 | } |
6999 | } |
7000 | if( STATE__VALID_CHILD(_kids[0], _CASTP2X_RREGP_) ) { |
7001 | unsigned int c = _kids[0]->_cost[_CASTP2X_RREGP_]+100; |
7002 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7003 | DFA_PRODUCTION__SET_VALID(RREGI, convP2I_rule, c) |
7004 | } |
7005 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
7006 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7007 | } |
7008 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
7009 | DFA_PRODUCTION__SET_VALID(RAX_REGI, convP2I_rule, c) |
7010 | } |
7011 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
7012 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, convP2I_rule, c) |
7013 | } |
7014 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
7015 | DFA_PRODUCTION__SET_VALID(RBX_REGI, convP2I_rule, c) |
7016 | } |
7017 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
7018 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, convP2I_rule, c) |
7019 | } |
7020 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
7021 | DFA_PRODUCTION__SET_VALID(RCX_REGI, convP2I_rule, c) |
7022 | } |
7023 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
7024 | DFA_PRODUCTION__SET_VALID(RDX_REGI, convP2I_rule, c) |
7025 | } |
7026 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
7027 | DFA_PRODUCTION__SET_VALID(RDI_REGI, convP2I_rule, c) |
7028 | } |
7029 | } |
7030 | } |
7031 | void State::_sub_Op_CountedLoopEnd(const Node *n){ |
7032 | if( STATE__VALID_CHILD(_kids[0], CMPOPUCF) && STATE__VALID_CHILD(_kids[1], RFLAGSREGUCF) && |
7033 | ( |
7034 | #line 12427 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7035 | n->has_vector_mask_set() |
7036 | #line 7036 "dfa_x86.cpp" |
7037 | ) ) { |
7038 | unsigned int c = _kids[0]->_cost[CMPOPUCF]+_kids[1]->_cost[RFLAGSREGUCF]+300; |
7039 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpLoopEndUCF_and_restoreMask_rule, c) |
7040 | } |
7041 | if( STATE__VALID_CHILD(_kids[0], CMPOPU) && STATE__VALID_CHILD(_kids[1], RFLAGSREGU) && |
7042 | ( |
7043 | #line 12410 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7044 | n->has_vector_mask_set() |
7045 | #line 7045 "dfa_x86.cpp" |
7046 | ) ) { |
7047 | unsigned int c = _kids[0]->_cost[CMPOPU]+_kids[1]->_cost[RFLAGSREGU]+400; |
7048 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7049 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpLoopEndU_and_restoreMask_rule, c) |
7050 | } |
7051 | } |
7052 | if( STATE__VALID_CHILD(_kids[0], CMPOP) && STATE__VALID_CHILD(_kids[1], RFLAGSREG) && |
7053 | ( |
7054 | #line 12392 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7055 | n->has_vector_mask_set() |
7056 | #line 7056 "dfa_x86.cpp" |
7057 | ) ) { |
7058 | unsigned int c = _kids[0]->_cost[CMPOP]+_kids[1]->_cost[RFLAGSREG]+400; |
7059 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7060 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpLoopEnd_and_restoreMask_rule, c) |
7061 | } |
7062 | } |
7063 | if( STATE__VALID_CHILD(_kids[0], CMPOPUCF) && STATE__VALID_CHILD(_kids[1], RFLAGSREGUCF) && |
7064 | ( |
7065 | #line 12374 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7066 | !n->has_vector_mask_set() |
7067 | #line 7067 "dfa_x86.cpp" |
7068 | ) ) { |
7069 | unsigned int c = _kids[0]->_cost[CMPOPUCF]+_kids[1]->_cost[RFLAGSREGUCF]+200; |
7070 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7071 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpLoopEndUCF_rule, c) |
7072 | } |
7073 | } |
7074 | if( STATE__VALID_CHILD(_kids[0], CMPOPU) && STATE__VALID_CHILD(_kids[1], RFLAGSREGU) && |
7075 | ( |
7076 | #line 12359 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7077 | !n->has_vector_mask_set() |
7078 | #line 7078 "dfa_x86.cpp" |
7079 | ) ) { |
7080 | unsigned int c = _kids[0]->_cost[CMPOPU]+_kids[1]->_cost[RFLAGSREGU]+300; |
7081 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7082 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpLoopEndU_rule, c) |
7083 | } |
7084 | } |
7085 | if( STATE__VALID_CHILD(_kids[0], CMPOP) && STATE__VALID_CHILD(_kids[1], RFLAGSREG) && |
7086 | ( |
7087 | #line 12343 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7088 | !n->has_vector_mask_set() |
7089 | #line 7089 "dfa_x86.cpp" |
7090 | ) ) { |
7091 | unsigned int c = _kids[0]->_cost[CMPOP]+_kids[1]->_cost[RFLAGSREG]+300; |
7092 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7093 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpLoopEnd_rule, c) |
7094 | } |
7095 | } |
7096 | } |
7097 | void State::_sub_Op_CountLeadingZerosI(const Node *n){ |
7098 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
7099 | ( |
7100 | #line 6628 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7101 | !UseCountLeadingZerosInstruction |
7102 | #line 7102 "dfa_x86.cpp" |
7103 | ) ) { |
7104 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
7105 | DFA_PRODUCTION__SET_VALID(RREGI, countLeadingZerosI_bsr_rule, c) |
7106 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7107 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countLeadingZerosI_bsr_rule, c) |
7108 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countLeadingZerosI_bsr_rule, c) |
7109 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countLeadingZerosI_bsr_rule, c) |
7110 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countLeadingZerosI_bsr_rule, c) |
7111 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countLeadingZerosI_bsr_rule, c) |
7112 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countLeadingZerosI_bsr_rule, c) |
7113 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countLeadingZerosI_bsr_rule, c) |
7114 | } |
7115 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
7116 | ( |
7117 | #line 6616 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7118 | UseCountLeadingZerosInstruction |
7119 | #line 7119 "dfa_x86.cpp" |
7120 | ) ) { |
7121 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
7122 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7123 | DFA_PRODUCTION__SET_VALID(RREGI, countLeadingZerosI_rule, c) |
7124 | } |
7125 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
7126 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7127 | } |
7128 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
7129 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countLeadingZerosI_rule, c) |
7130 | } |
7131 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
7132 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countLeadingZerosI_rule, c) |
7133 | } |
7134 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
7135 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countLeadingZerosI_rule, c) |
7136 | } |
7137 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
7138 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countLeadingZerosI_rule, c) |
7139 | } |
7140 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
7141 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countLeadingZerosI_rule, c) |
7142 | } |
7143 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
7144 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countLeadingZerosI_rule, c) |
7145 | } |
7146 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
7147 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countLeadingZerosI_rule, c) |
7148 | } |
7149 | } |
7150 | } |
7151 | void State::_sub_Op_CountLeadingZerosL(const Node *n){ |
7152 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
7153 | ( |
7154 | #line 6665 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7155 | !UseCountLeadingZerosInstruction |
7156 | #line 7156 "dfa_x86.cpp" |
7157 | ) ) { |
7158 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
7159 | DFA_PRODUCTION__SET_VALID(RREGI, countLeadingZerosL_bsr_rule, c) |
7160 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7161 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countLeadingZerosL_bsr_rule, c) |
7162 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countLeadingZerosL_bsr_rule, c) |
7163 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countLeadingZerosL_bsr_rule, c) |
7164 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countLeadingZerosL_bsr_rule, c) |
7165 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countLeadingZerosL_bsr_rule, c) |
7166 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countLeadingZerosL_bsr_rule, c) |
7167 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countLeadingZerosL_bsr_rule, c) |
7168 | } |
7169 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
7170 | ( |
7171 | #line 6653 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7172 | UseCountLeadingZerosInstruction |
7173 | #line 7173 "dfa_x86.cpp" |
7174 | ) ) { |
7175 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
7176 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7177 | DFA_PRODUCTION__SET_VALID(RREGI, countLeadingZerosL_rule, c) |
7178 | } |
7179 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
7180 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7181 | } |
7182 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
7183 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countLeadingZerosL_rule, c) |
7184 | } |
7185 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
7186 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countLeadingZerosL_rule, c) |
7187 | } |
7188 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
7189 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countLeadingZerosL_rule, c) |
7190 | } |
7191 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
7192 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countLeadingZerosL_rule, c) |
7193 | } |
7194 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
7195 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countLeadingZerosL_rule, c) |
7196 | } |
7197 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
7198 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countLeadingZerosL_rule, c) |
7199 | } |
7200 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
7201 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countLeadingZerosL_rule, c) |
7202 | } |
7203 | } |
7204 | } |
7205 | void State::_sub_Op_CountTrailingZerosI(const Node *n){ |
7206 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
7207 | ( |
7208 | #line 6702 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7209 | !UseCountTrailingZerosInstruction |
7210 | #line 7210 "dfa_x86.cpp" |
7211 | ) ) { |
7212 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
7213 | DFA_PRODUCTION__SET_VALID(RREGI, countTrailingZerosI_bsf_rule, c) |
7214 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7215 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countTrailingZerosI_bsf_rule, c) |
7216 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countTrailingZerosI_bsf_rule, c) |
7217 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countTrailingZerosI_bsf_rule, c) |
7218 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countTrailingZerosI_bsf_rule, c) |
7219 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countTrailingZerosI_bsf_rule, c) |
7220 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countTrailingZerosI_bsf_rule, c) |
7221 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countTrailingZerosI_bsf_rule, c) |
7222 | } |
7223 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
7224 | ( |
7225 | #line 6690 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7226 | UseCountTrailingZerosInstruction |
7227 | #line 7227 "dfa_x86.cpp" |
7228 | ) ) { |
7229 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
7230 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7231 | DFA_PRODUCTION__SET_VALID(RREGI, countTrailingZerosI_rule, c) |
7232 | } |
7233 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
7234 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7235 | } |
7236 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
7237 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countTrailingZerosI_rule, c) |
7238 | } |
7239 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
7240 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countTrailingZerosI_rule, c) |
7241 | } |
7242 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
7243 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countTrailingZerosI_rule, c) |
7244 | } |
7245 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
7246 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countTrailingZerosI_rule, c) |
7247 | } |
7248 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
7249 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countTrailingZerosI_rule, c) |
7250 | } |
7251 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
7252 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countTrailingZerosI_rule, c) |
7253 | } |
7254 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
7255 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countTrailingZerosI_rule, c) |
7256 | } |
7257 | } |
7258 | } |
7259 | void State::_sub_Op_CountTrailingZerosL(const Node *n){ |
7260 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
7261 | ( |
7262 | #line 6734 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7263 | !UseCountTrailingZerosInstruction |
7264 | #line 7264 "dfa_x86.cpp" |
7265 | ) ) { |
7266 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
7267 | DFA_PRODUCTION__SET_VALID(RREGI, countTrailingZerosL_bsf_rule, c) |
7268 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7269 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countTrailingZerosL_bsf_rule, c) |
7270 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countTrailingZerosL_bsf_rule, c) |
7271 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countTrailingZerosL_bsf_rule, c) |
7272 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countTrailingZerosL_bsf_rule, c) |
7273 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countTrailingZerosL_bsf_rule, c) |
7274 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countTrailingZerosL_bsf_rule, c) |
7275 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countTrailingZerosL_bsf_rule, c) |
7276 | } |
7277 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
7278 | ( |
7279 | #line 6722 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7280 | UseCountTrailingZerosInstruction |
7281 | #line 7281 "dfa_x86.cpp" |
7282 | ) ) { |
7283 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
7284 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7285 | DFA_PRODUCTION__SET_VALID(RREGI, countTrailingZerosL_rule, c) |
7286 | } |
7287 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
7288 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7289 | } |
7290 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
7291 | DFA_PRODUCTION__SET_VALID(RAX_REGI, countTrailingZerosL_rule, c) |
7292 | } |
7293 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
7294 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, countTrailingZerosL_rule, c) |
7295 | } |
7296 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
7297 | DFA_PRODUCTION__SET_VALID(RBX_REGI, countTrailingZerosL_rule, c) |
7298 | } |
7299 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
7300 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, countTrailingZerosL_rule, c) |
7301 | } |
7302 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
7303 | DFA_PRODUCTION__SET_VALID(RCX_REGI, countTrailingZerosL_rule, c) |
7304 | } |
7305 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
7306 | DFA_PRODUCTION__SET_VALID(RDX_REGI, countTrailingZerosL_rule, c) |
7307 | } |
7308 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
7309 | DFA_PRODUCTION__SET_VALID(RDI_REGI, countTrailingZerosL_rule, c) |
7310 | } |
7311 | } |
7312 | } |
7313 | void State::_sub_Op_CreateEx(const Node *n){ |
7314 | { |
7315 | unsigned int c = 100; |
7316 | DFA_PRODUCTION__SET_VALID(RAX_REGP, CreateException_rule, c) |
7317 | DFA_PRODUCTION__SET_VALID(ANY_REGP, CreateException_rule, c) |
7318 | DFA_PRODUCTION__SET_VALID(INDIRECT, CreateException_rule, c) |
7319 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
7320 | DFA_PRODUCTION__SET_VALID(RREGP, CreateException_rule, c) |
7321 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
7322 | DFA_PRODUCTION__SET_VALID(RBX_REGP, CreateException_rule, c) |
7323 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, CreateException_rule, c) |
7324 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, CreateException_rule, c) |
7325 | DFA_PRODUCTION__SET_VALID(RSI_REGP, CreateException_rule, c) |
7326 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, CreateException_rule, c) |
7327 | DFA_PRODUCTION__SET_VALID(RDI_REGP, CreateException_rule, c) |
7328 | DFA_PRODUCTION__SET_VALID(R15_REGP, CreateException_rule, c) |
7329 | } |
7330 | } |
7331 | void State::_sub_Op_DecodeN(const Node *n){ |
7332 | if( STATE__VALID_CHILD(_kids[0], RREGN) && |
7333 | ( |
7334 | #line 6993 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7335 | n->bottom_type()->is_ptr()->ptr() == TypePtr::NotNull || |
7336 | n->bottom_type()->is_ptr()->ptr() == TypePtr::Constant |
7337 | #line 7337 "dfa_x86.cpp" |
7338 | ) ) { |
7339 | unsigned int c = _kids[0]->_cost[RREGN]+100; |
7340 | DFA_PRODUCTION__SET_VALID(RREGP, decodeHeapOop_not_null_rule, c) |
7341 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
7342 | DFA_PRODUCTION__SET_VALID(ANY_REGP, decodeHeapOop_not_null_rule, c) |
7343 | DFA_PRODUCTION__SET_VALID(INDIRECT, decodeHeapOop_not_null_rule, c) |
7344 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
7345 | DFA_PRODUCTION__SET_VALID(RAX_REGP, decodeHeapOop_not_null_rule, c) |
7346 | DFA_PRODUCTION__SET_VALID(RBX_REGP, decodeHeapOop_not_null_rule, c) |
7347 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, decodeHeapOop_not_null_rule, c) |
7348 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, decodeHeapOop_not_null_rule, c) |
7349 | DFA_PRODUCTION__SET_VALID(RSI_REGP, decodeHeapOop_not_null_rule, c) |
7350 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, decodeHeapOop_not_null_rule, c) |
7351 | DFA_PRODUCTION__SET_VALID(RDI_REGP, decodeHeapOop_not_null_rule, c) |
7352 | DFA_PRODUCTION__SET_VALID(R15_REGP, decodeHeapOop_not_null_rule, c) |
7353 | } |
7354 | if( STATE__VALID_CHILD(_kids[0], RREGN) && |
7355 | ( |
7356 | #line 6976 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7357 | n->bottom_type()->is_ptr()->ptr() != TypePtr::NotNull && |
7358 | n->bottom_type()->is_ptr()->ptr() != TypePtr::Constant |
7359 | #line 7359 "dfa_x86.cpp" |
7360 | ) ) { |
7361 | unsigned int c = _kids[0]->_cost[RREGN]+100; |
7362 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
7363 | DFA_PRODUCTION__SET_VALID(RREGP, decodeHeapOop_rule, c) |
7364 | } |
7365 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
7366 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
7367 | } |
7368 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
7369 | DFA_PRODUCTION__SET_VALID(ANY_REGP, decodeHeapOop_rule, c) |
7370 | } |
7371 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
7372 | DFA_PRODUCTION__SET_VALID(INDIRECT, decodeHeapOop_rule, c) |
7373 | } |
7374 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
7375 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
7376 | } |
7377 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
7378 | DFA_PRODUCTION__SET_VALID(RAX_REGP, decodeHeapOop_rule, c) |
7379 | } |
7380 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
7381 | DFA_PRODUCTION__SET_VALID(RBX_REGP, decodeHeapOop_rule, c) |
7382 | } |
7383 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
7384 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, decodeHeapOop_rule, c) |
7385 | } |
7386 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
7387 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, decodeHeapOop_rule, c) |
7388 | } |
7389 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
7390 | DFA_PRODUCTION__SET_VALID(RSI_REGP, decodeHeapOop_rule, c) |
7391 | } |
7392 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
7393 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, decodeHeapOop_rule, c) |
7394 | } |
7395 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
7396 | DFA_PRODUCTION__SET_VALID(RDI_REGP, decodeHeapOop_rule, c) |
7397 | } |
7398 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
7399 | DFA_PRODUCTION__SET_VALID(R15_REGP, decodeHeapOop_rule, c) |
7400 | } |
7401 | } |
7402 | if( STATE__VALID_CHILD(_kids[0], RREGN) && |
7403 | |
7404 | #line 3951 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7405 | CompressedOops::shift() == 0 |
7406 | #line 7406 "dfa_x86.cpp" |
7407 | ) { |
7408 | unsigned int c = _kids[0]->_cost[RREGN]; |
7409 | DFA_PRODUCTION__SET_VALID(INDIRECTNARROW, indirectNarrow_rule, c) |
7410 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
7411 | DFA_PRODUCTION__SET_VALID(MEMORY, indirectNarrow_rule, c) |
7412 | } |
7413 | } |
7414 | if( STATE__VALID_CHILD(_kids[0], RREGN) ) { |
7415 | unsigned int c = _kids[0]->_cost[RREGN]; |
7416 | DFA_PRODUCTION__SET_VALID(_DECODEN_RREGN_, _DecodeN_rRegN__rule, c) |
7417 | } |
7418 | } |
7419 | void State::_sub_Op_DecodeNKlass(const Node *n){ |
7420 | if( STATE__VALID_CHILD(_kids[0], RREGN) ) { |
7421 | unsigned int c = _kids[0]->_cost[RREGN]+100; |
7422 | DFA_PRODUCTION__SET_VALID(RREGP, decodeKlass_not_null_rule, c) |
7423 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
7424 | DFA_PRODUCTION__SET_VALID(ANY_REGP, decodeKlass_not_null_rule, c) |
7425 | DFA_PRODUCTION__SET_VALID(INDIRECT, decodeKlass_not_null_rule, c) |
7426 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
7427 | DFA_PRODUCTION__SET_VALID(RAX_REGP, decodeKlass_not_null_rule, c) |
7428 | DFA_PRODUCTION__SET_VALID(RBX_REGP, decodeKlass_not_null_rule, c) |
7429 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, decodeKlass_not_null_rule, c) |
7430 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, decodeKlass_not_null_rule, c) |
7431 | DFA_PRODUCTION__SET_VALID(RSI_REGP, decodeKlass_not_null_rule, c) |
7432 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, decodeKlass_not_null_rule, c) |
7433 | DFA_PRODUCTION__SET_VALID(RDI_REGP, decodeKlass_not_null_rule, c) |
7434 | DFA_PRODUCTION__SET_VALID(R15_REGP, decodeKlass_not_null_rule, c) |
7435 | } |
7436 | } |
7437 | void State::_sub_Op_DivD(const Node *n){ |
7438 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
7439 | ( |
7440 | #line 2670 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7441 | UseAVX > 0 |
7442 | #line 7442 "dfa_x86.cpp" |
7443 | ) ) { |
7444 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
7445 | DFA_PRODUCTION__SET_VALID(REGD, divD_reg_imm_rule, c) |
7446 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7447 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7448 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7449 | } |
7450 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
7451 | ( |
7452 | #line 2658 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7453 | UseAVX > 0 |
7454 | #line 7454 "dfa_x86.cpp" |
7455 | ) ) { |
7456 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
7457 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
7458 | DFA_PRODUCTION__SET_VALID(REGD, divD_reg_mem_rule, c) |
7459 | } |
7460 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
7461 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7462 | } |
7463 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
7464 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7465 | } |
7466 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
7467 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7468 | } |
7469 | } |
7470 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
7471 | ( |
7472 | #line 2646 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7473 | UseAVX > 0 |
7474 | #line 7474 "dfa_x86.cpp" |
7475 | ) ) { |
7476 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
7477 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
7478 | DFA_PRODUCTION__SET_VALID(REGD, divD_reg_reg_rule, c) |
7479 | } |
7480 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
7481 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7482 | } |
7483 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
7484 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7485 | } |
7486 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
7487 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7488 | } |
7489 | } |
7490 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
7491 | ( |
7492 | #line 2635 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7493 | (UseSSE>=2) && (UseAVX == 0) |
7494 | #line 7494 "dfa_x86.cpp" |
7495 | ) ) { |
7496 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
7497 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
7498 | DFA_PRODUCTION__SET_VALID(REGD, divD_imm_rule, c) |
7499 | } |
7500 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
7501 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7502 | } |
7503 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
7504 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7505 | } |
7506 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
7507 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7508 | } |
7509 | } |
7510 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
7511 | ( |
7512 | #line 2623 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7513 | (UseSSE>=2) && (UseAVX == 0) |
7514 | #line 7514 "dfa_x86.cpp" |
7515 | ) ) { |
7516 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
7517 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
7518 | DFA_PRODUCTION__SET_VALID(REGD, divD_mem_rule, c) |
7519 | } |
7520 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
7521 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7522 | } |
7523 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
7524 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7525 | } |
7526 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
7527 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7528 | } |
7529 | } |
7530 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
7531 | ( |
7532 | #line 2611 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7533 | (UseSSE>=2) && (UseAVX == 0) |
7534 | #line 7534 "dfa_x86.cpp" |
7535 | ) ) { |
7536 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
7537 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
7538 | DFA_PRODUCTION__SET_VALID(REGD, divD_reg_rule, c) |
7539 | } |
7540 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
7541 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7542 | } |
7543 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
7544 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7545 | } |
7546 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
7547 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7548 | } |
7549 | } |
7550 | } |
7551 | void State::_sub_Op_DivF(const Node *n){ |
7552 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
7553 | ( |
7554 | #line 2599 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7555 | UseAVX > 0 |
7556 | #line 7556 "dfa_x86.cpp" |
7557 | ) ) { |
7558 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
7559 | DFA_PRODUCTION__SET_VALID(REGF, divF_reg_imm_rule, c) |
7560 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7561 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7562 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7563 | } |
7564 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
7565 | ( |
7566 | #line 2587 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7567 | UseAVX > 0 |
7568 | #line 7568 "dfa_x86.cpp" |
7569 | ) ) { |
7570 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
7571 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
7572 | DFA_PRODUCTION__SET_VALID(REGF, divF_reg_mem_rule, c) |
7573 | } |
7574 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
7575 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7576 | } |
7577 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
7578 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7579 | } |
7580 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
7581 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7582 | } |
7583 | } |
7584 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
7585 | ( |
7586 | #line 2575 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7587 | UseAVX > 0 |
7588 | #line 7588 "dfa_x86.cpp" |
7589 | ) ) { |
7590 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
7591 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
7592 | DFA_PRODUCTION__SET_VALID(REGF, divF_reg_reg_rule, c) |
7593 | } |
7594 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
7595 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7596 | } |
7597 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
7598 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7599 | } |
7600 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
7601 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7602 | } |
7603 | } |
7604 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
7605 | ( |
7606 | #line 2564 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7607 | (UseSSE>=1) && (UseAVX == 0) |
7608 | #line 7608 "dfa_x86.cpp" |
7609 | ) ) { |
7610 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
7611 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
7612 | DFA_PRODUCTION__SET_VALID(REGF, divF_imm_rule, c) |
7613 | } |
7614 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
7615 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7616 | } |
7617 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
7618 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7619 | } |
7620 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
7621 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7622 | } |
7623 | } |
7624 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
7625 | ( |
7626 | #line 2552 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7627 | (UseSSE>=1) && (UseAVX == 0) |
7628 | #line 7628 "dfa_x86.cpp" |
7629 | ) ) { |
7630 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
7631 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
7632 | DFA_PRODUCTION__SET_VALID(REGF, divF_mem_rule, c) |
7633 | } |
7634 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
7635 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7636 | } |
7637 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
7638 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7639 | } |
7640 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
7641 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7642 | } |
7643 | } |
7644 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
7645 | ( |
7646 | #line 2540 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7647 | (UseSSE>=1) && (UseAVX == 0) |
7648 | #line 7648 "dfa_x86.cpp" |
7649 | ) ) { |
7650 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
7651 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
7652 | DFA_PRODUCTION__SET_VALID(REGF, divF_reg_rule, c) |
7653 | } |
7654 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
7655 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7656 | } |
7657 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
7658 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7659 | } |
7660 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
7661 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7662 | } |
7663 | } |
7664 | } |
7665 | void State::_sub_Op_DivI(const Node *n){ |
7666 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], NO_RAX_RDX_REGI) ) { |
7667 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[NO_RAX_RDX_REGI]+30*100+10*100; |
7668 | DFA_PRODUCTION__SET_VALID(RAX_REGI, divI_rReg_rule, c) |
7669 | DFA_PRODUCTION__SET_VALID(RREGI, divI_rReg_rule, c) |
7670 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7671 | DFA_PRODUCTION__SET_VALID(RBX_REGI, divI_rReg_rule, c) |
7672 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, divI_rReg_rule, c) |
7673 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, divI_rReg_rule, c) |
7674 | DFA_PRODUCTION__SET_VALID(RCX_REGI, divI_rReg_rule, c) |
7675 | DFA_PRODUCTION__SET_VALID(RDX_REGI, divI_rReg_rule, c) |
7676 | DFA_PRODUCTION__SET_VALID(RDI_REGI, divI_rReg_rule, c) |
7677 | } |
7678 | } |
7679 | void State::_sub_Op_DivL(const Node *n){ |
7680 | if( STATE__VALID_CHILD(_kids[0], NO_RAX_REGL) && STATE__VALID_CHILD(_kids[1], IMML10) ) { |
7681 | unsigned int c = _kids[0]->_cost[NO_RAX_REGL]+_kids[1]->_cost[IMML10]+(5+8)*100; |
7682 | DFA_PRODUCTION__SET_VALID(RDX_REGL, divL_10_rule, c) |
7683 | DFA_PRODUCTION__SET_VALID(RREGL, divL_10_rule, c) |
7684 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
7685 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, divL_10_rule, c) |
7686 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, divL_10_rule, c) |
7687 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, divL_10_rule, c) |
7688 | DFA_PRODUCTION__SET_VALID(RAX_REGL, divL_10_rule, c) |
7689 | DFA_PRODUCTION__SET_VALID(RCX_REGL, divL_10_rule, c) |
7690 | } |
7691 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], NO_RAX_RDX_REGL) ) { |
7692 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[NO_RAX_RDX_REGL]+30*100+10*100; |
7693 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
7694 | DFA_PRODUCTION__SET_VALID(RAX_REGL, divL_rReg_rule, c) |
7695 | } |
7696 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
7697 | DFA_PRODUCTION__SET_VALID(RREGL, divL_rReg_rule, c) |
7698 | } |
7699 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
7700 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
7701 | } |
7702 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
7703 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, divL_rReg_rule, c) |
7704 | } |
7705 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
7706 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, divL_rReg_rule, c) |
7707 | } |
7708 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
7709 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, divL_rReg_rule, c) |
7710 | } |
7711 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
7712 | DFA_PRODUCTION__SET_VALID(RCX_REGL, divL_rReg_rule, c) |
7713 | } |
7714 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
7715 | DFA_PRODUCTION__SET_VALID(RDX_REGL, divL_rReg_rule, c) |
7716 | } |
7717 | } |
7718 | } |
7719 | void State::_sub_Op_DivModI(const Node *n){ |
7720 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], NO_RAX_RDX_REGI) ) { |
7721 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[NO_RAX_RDX_REGI]+30*100+10*100; |
7722 | DFA_PRODUCTION__SET_VALID(UNIVERSE, divModI_rReg_divmod_rule, c) |
7723 | } |
7724 | } |
7725 | void State::_sub_Op_DivModL(const Node *n){ |
7726 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], NO_RAX_RDX_REGL) ) { |
7727 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[NO_RAX_RDX_REGL]+30*100+10*100; |
7728 | DFA_PRODUCTION__SET_VALID(UNIVERSE, divModL_rReg_divmod_rule, c) |
7729 | } |
7730 | } |
7731 | void State::_sub_Op_EncodeISOArray(const Node *n){ |
7732 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], _BINARY_RDI_REGP_RDX_REGI) ) { |
7733 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[_BINARY_RDI_REGP_RDX_REGI]+100; |
7734 | DFA_PRODUCTION__SET_VALID(RAX_REGI, encode_iso_array_rule, c) |
7735 | DFA_PRODUCTION__SET_VALID(RREGI, encode_iso_array_rule, c) |
7736 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7737 | DFA_PRODUCTION__SET_VALID(RBX_REGI, encode_iso_array_rule, c) |
7738 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, encode_iso_array_rule, c) |
7739 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, encode_iso_array_rule, c) |
7740 | DFA_PRODUCTION__SET_VALID(RCX_REGI, encode_iso_array_rule, c) |
7741 | DFA_PRODUCTION__SET_VALID(RDX_REGI, encode_iso_array_rule, c) |
7742 | DFA_PRODUCTION__SET_VALID(RDI_REGI, encode_iso_array_rule, c) |
7743 | } |
7744 | } |
7745 | void State::_sub_Op_EncodeP(const Node *n){ |
7746 | if( STATE__VALID_CHILD(_kids[0], RREGP) && |
7747 | ( |
7748 | #line 6965 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7749 | n->bottom_type()->make_ptr()->ptr() == TypePtr::NotNull |
7750 | #line 7750 "dfa_x86.cpp" |
7751 | ) ) { |
7752 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
7753 | DFA_PRODUCTION__SET_VALID(RREGN, encodeHeapOop_not_null_rule, c) |
7754 | DFA_PRODUCTION__SET_VALID(RAX_REGN, encodeHeapOop_not_null_rule, c) |
7755 | } |
7756 | if( STATE__VALID_CHILD(_kids[0], RREGP) && |
7757 | ( |
7758 | #line 6949 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7759 | n->bottom_type()->make_ptr()->ptr() != TypePtr::NotNull |
7760 | #line 7760 "dfa_x86.cpp" |
7761 | ) ) { |
7762 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
7763 | if (STATE__NOT_YET_VALID(RREGN) || _cost[RREGN] > c) { |
7764 | DFA_PRODUCTION__SET_VALID(RREGN, encodeHeapOop_rule, c) |
7765 | } |
7766 | if (STATE__NOT_YET_VALID(RAX_REGN) || _cost[RAX_REGN] > c) { |
7767 | DFA_PRODUCTION__SET_VALID(RAX_REGN, encodeHeapOop_rule, c) |
7768 | } |
7769 | } |
7770 | } |
7771 | void State::_sub_Op_EncodePKlass(const Node *n){ |
7772 | if( STATE__VALID_CHILD(_kids[0], RREGP) ) { |
7773 | unsigned int c = _kids[0]->_cost[RREGP]+100; |
7774 | DFA_PRODUCTION__SET_VALID(RREGN, encodeKlass_not_null_rule, c) |
7775 | DFA_PRODUCTION__SET_VALID(RAX_REGN, encodeKlass_not_null_rule, c) |
7776 | } |
7777 | } |
7778 | void State::_sub_Op_FastLock(const Node *n){ |
7779 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], RBX_REGP) && |
7780 | ( |
7781 | #line 12731 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7782 | !Compile::current()->use_rtm() |
7783 | #line 7783 "dfa_x86.cpp" |
7784 | ) ) { |
7785 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[RBX_REGP]+300; |
7786 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, cmpFastLock_rule, c) |
7787 | } |
7788 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], RBX_REGP) && |
7789 | ( |
7790 | #line 12715 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7791 | Compile::current()->use_rtm() |
7792 | #line 7792 "dfa_x86.cpp" |
7793 | ) ) { |
7794 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[RBX_REGP]+300; |
7795 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
7796 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, cmpFastLockRTM_rule, c) |
7797 | } |
7798 | } |
7799 | } |
7800 | void State::_sub_Op_FastUnlock(const Node *n){ |
7801 | if( STATE__VALID_CHILD(_kids[0], RREGP) && STATE__VALID_CHILD(_kids[1], RAX_REGP) ) { |
7802 | unsigned int c = _kids[0]->_cost[RREGP]+_kids[1]->_cost[RAX_REGP]+300; |
7803 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, cmpFastUnlock_rule, c) |
7804 | } |
7805 | } |
7806 | void State::_sub_Op_FmaD(const Node *n){ |
7807 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _BINARY_REGD_REGD) && |
7808 | ( |
7809 | #line 2866 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7810 | UseFMA |
7811 | #line 7811 "dfa_x86.cpp" |
7812 | ) ) { |
7813 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_BINARY_REGD_REGD]+150; |
7814 | DFA_PRODUCTION__SET_VALID(REGD, fmaD_reg_rule, c) |
7815 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
7816 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
7817 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
7818 | } |
7819 | } |
7820 | void State::_sub_Op_FmaF(const Node *n){ |
7821 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _BINARY_REGF_REGF) && |
7822 | ( |
7823 | #line 2878 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
7824 | UseFMA |
7825 | #line 7825 "dfa_x86.cpp" |
7826 | ) ) { |
7827 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_BINARY_REGF_REGF]+150; |
7828 | DFA_PRODUCTION__SET_VALID(REGF, fmaF_reg_rule, c) |
7829 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
7830 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
7831 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
7832 | } |
7833 | } |
7834 | void State::_sub_Op_Goto(const Node *n){ |
7835 | { |
7836 | unsigned int c = 300; |
7837 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpDir_rule, c) |
7838 | } |
7839 | } |
7840 | void State::_sub_Op_Halt(const Node *n){ |
7841 | { |
7842 | unsigned int c = 100; |
7843 | DFA_PRODUCTION__SET_VALID(UNIVERSE, ShouldNotReachHere_rule, c) |
7844 | } |
7845 | } |
7846 | void State::_sub_Op_HasNegatives(const Node *n){ |
7847 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
7848 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[RCX_REGI]+100; |
7849 | DFA_PRODUCTION__SET_VALID(RAX_REGI, has_negatives_rule, c) |
7850 | DFA_PRODUCTION__SET_VALID(RREGI, has_negatives_rule, c) |
7851 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7852 | DFA_PRODUCTION__SET_VALID(RBX_REGI, has_negatives_rule, c) |
7853 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, has_negatives_rule, c) |
7854 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, has_negatives_rule, c) |
7855 | DFA_PRODUCTION__SET_VALID(RCX_REGI, has_negatives_rule, c) |
7856 | DFA_PRODUCTION__SET_VALID(RDX_REGI, has_negatives_rule, c) |
7857 | DFA_PRODUCTION__SET_VALID(RDI_REGI, has_negatives_rule, c) |
7858 | } |
7859 | } |
7860 | void State::_sub_Op_If(const Node *n){ |
7861 | if( STATE__VALID_CHILD(_kids[0], CMPOPUCF2) && STATE__VALID_CHILD(_kids[1], RFLAGSREGUCF) ) { |
7862 | unsigned int c = _kids[0]->_cost[CMPOPUCF2]+_kids[1]->_cost[RFLAGSREGUCF]+200; |
7863 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpConUCF2_rule, c) |
7864 | } |
7865 | if( STATE__VALID_CHILD(_kids[0], CMPOPUCF) && STATE__VALID_CHILD(_kids[1], RFLAGSREGUCF) ) { |
7866 | unsigned int c = _kids[0]->_cost[CMPOPUCF]+_kids[1]->_cost[RFLAGSREGUCF]+200; |
7867 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7868 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpConUCF_rule, c) |
7869 | } |
7870 | } |
7871 | if( STATE__VALID_CHILD(_kids[0], CMPOPU) && STATE__VALID_CHILD(_kids[1], RFLAGSREGU) ) { |
7872 | unsigned int c = _kids[0]->_cost[CMPOPU]+_kids[1]->_cost[RFLAGSREGU]+300; |
7873 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7874 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpConU_rule, c) |
7875 | } |
7876 | } |
7877 | if( STATE__VALID_CHILD(_kids[0], CMPOP) && STATE__VALID_CHILD(_kids[1], RFLAGSREG) ) { |
7878 | unsigned int c = _kids[0]->_cost[CMPOP]+_kids[1]->_cost[RFLAGSREG]+300; |
7879 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7880 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jmpCon_rule, c) |
7881 | } |
7882 | } |
7883 | } |
7884 | void State::_sub_Op_Jump(const Node *n){ |
7885 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
7886 | unsigned int c = _kids[0]->_cost[RREGL]+350; |
7887 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jumpXtnd_rule, c) |
7888 | } |
7889 | if( STATE__VALID_CHILD(_kids[0], _ADDL__LSHIFTL_RREGL_IMMI2_IMML32) ) { |
7890 | unsigned int c = _kids[0]->_cost[_ADDL__LSHIFTL_RREGL_IMMI2_IMML32]+350; |
7891 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7892 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jumpXtnd_addr_rule, c) |
7893 | } |
7894 | } |
7895 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_RREGL_IMMI2) && |
7896 | ( |
7897 | #line 7043 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
7898 | false |
7899 | #line 7899 "dfa_x86.cpp" |
7900 | ) ) { |
7901 | unsigned int c = _kids[0]->_cost[_LSHIFTL_RREGL_IMMI2]+350; |
7902 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
7903 | DFA_PRODUCTION__SET_VALID(UNIVERSE, jumpXtnd_offset_rule, c) |
7904 | } |
7905 | } |
7906 | } |
7907 | void State::_sub_Op_LShiftI(const Node *n){ |
7908 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI_32_RCX_REGI) ) { |
7909 | unsigned int c = _kids[0]->_cost[NO_RCX_REGI]+_kids[1]->_cost[_SUBI_IMMI_32_RCX_REGI]; |
7910 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI, _LShiftI_no_rcx_RegI__SubI_immI_32_rcx_RegI_rule, c) |
7911 | } |
7912 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0_RCX_REGI) ) { |
7913 | unsigned int c = _kids[0]->_cost[NO_RCX_REGI]+_kids[1]->_cost[_SUBI_IMMI0_RCX_REGI]; |
7914 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI, _LShiftI_no_rcx_RegI__SubI_immI0_rcx_RegI_rule, c) |
7915 | } |
7916 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
7917 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_M1]; |
7918 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_RREGI_IMMI_M1, _LShiftI_rRegI_immI_M1_rule, c) |
7919 | } |
7920 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGI) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
7921 | unsigned int c = _kids[0]->_cost[NO_RCX_REGI]+_kids[1]->_cost[RCX_REGI]; |
7922 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_NO_RCX_REGI_RCX_REGI, _LShiftI_no_rcx_RegI_rcx_RegI_rule, c) |
7923 | } |
7924 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
7925 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI8]; |
7926 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_RREGI_IMMI8, _LShiftI_rRegI_immI8_rule, c) |
7927 | } |
7928 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
7929 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI1]; |
7930 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_RREGI_IMMI1, _LShiftI_rRegI_immI1_rule, c) |
7931 | } |
7932 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_16) ) { |
7933 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_16]; |
7934 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_RREGI_IMMI_16, _LShiftI_rRegI_immI_16_rule, c) |
7935 | } |
7936 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_24) ) { |
7937 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_24]; |
7938 | DFA_PRODUCTION__SET_VALID(_LSHIFTI_RREGI_IMMI_24, _LShiftI_rRegI_immI_24_rule, c) |
7939 | } |
7940 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
7941 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RCX_REGI]; |
7942 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADI_MEMORY__RCX_REGI, _LShiftI__LoadI_memory__rcx_RegI_rule, c) |
7943 | } |
7944 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
7945 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RCX_REGI]+100; |
7946 | DFA_PRODUCTION__SET_VALID(RREGI, salI_rReg_CL_rule, c) |
7947 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7948 | DFA_PRODUCTION__SET_VALID(RAX_REGI, salI_rReg_CL_rule, c) |
7949 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, salI_rReg_CL_rule, c) |
7950 | DFA_PRODUCTION__SET_VALID(RBX_REGI, salI_rReg_CL_rule, c) |
7951 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, salI_rReg_CL_rule, c) |
7952 | DFA_PRODUCTION__SET_VALID(RCX_REGI, salI_rReg_CL_rule, c) |
7953 | DFA_PRODUCTION__SET_VALID(RDX_REGI, salI_rReg_CL_rule, c) |
7954 | DFA_PRODUCTION__SET_VALID(RDI_REGI, salI_rReg_CL_rule, c) |
7955 | } |
7956 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
7957 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI8]; |
7958 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADI_MEMORY__IMMI8, _LShiftI__LoadI_memory__immI8_rule, c) |
7959 | } |
7960 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
7961 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI8]+100; |
7962 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7963 | DFA_PRODUCTION__SET_VALID(RREGI, salI_rReg_imm_rule, c) |
7964 | } |
7965 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
7966 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
7967 | } |
7968 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
7969 | DFA_PRODUCTION__SET_VALID(RAX_REGI, salI_rReg_imm_rule, c) |
7970 | } |
7971 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
7972 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, salI_rReg_imm_rule, c) |
7973 | } |
7974 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
7975 | DFA_PRODUCTION__SET_VALID(RBX_REGI, salI_rReg_imm_rule, c) |
7976 | } |
7977 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
7978 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, salI_rReg_imm_rule, c) |
7979 | } |
7980 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
7981 | DFA_PRODUCTION__SET_VALID(RCX_REGI, salI_rReg_imm_rule, c) |
7982 | } |
7983 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
7984 | DFA_PRODUCTION__SET_VALID(RDX_REGI, salI_rReg_imm_rule, c) |
7985 | } |
7986 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
7987 | DFA_PRODUCTION__SET_VALID(RDI_REGI, salI_rReg_imm_rule, c) |
7988 | } |
7989 | } |
7990 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
7991 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI1]; |
7992 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADI_MEMORY__IMMI1, _LShiftI__LoadI_memory__immI1_rule, c) |
7993 | } |
7994 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
7995 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI1]+100; |
7996 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
7997 | DFA_PRODUCTION__SET_VALID(RREGI, salI_rReg_1_rule, c) |
7998 | } |
7999 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
8000 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8001 | } |
8002 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
8003 | DFA_PRODUCTION__SET_VALID(RAX_REGI, salI_rReg_1_rule, c) |
8004 | } |
8005 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
8006 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, salI_rReg_1_rule, c) |
8007 | } |
8008 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
8009 | DFA_PRODUCTION__SET_VALID(RBX_REGI, salI_rReg_1_rule, c) |
8010 | } |
8011 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
8012 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, salI_rReg_1_rule, c) |
8013 | } |
8014 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
8015 | DFA_PRODUCTION__SET_VALID(RCX_REGI, salI_rReg_1_rule, c) |
8016 | } |
8017 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
8018 | DFA_PRODUCTION__SET_VALID(RDX_REGI, salI_rReg_1_rule, c) |
8019 | } |
8020 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
8021 | DFA_PRODUCTION__SET_VALID(RDI_REGI, salI_rReg_1_rule, c) |
8022 | } |
8023 | } |
8024 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_16) ) { |
8025 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_16]; |
8026 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADI_MEMORY__IMMI_16, _LShiftI__LoadI_memory__immI_16_rule, c) |
8027 | } |
8028 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_24) ) { |
8029 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI_24]; |
8030 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADI_MEMORY__IMMI_24, _LShiftI__LoadI_memory__immI_24_rule, c) |
8031 | } |
8032 | if( STATE__VALID_CHILD(_kids[0], _LOADUS_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_24) ) { |
8033 | unsigned int c = _kids[0]->_cost[_LOADUS_MEMORY_]+_kids[1]->_cost[IMMI_24]; |
8034 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADUS_MEMORY__IMMI_24, _LShiftI__LoadUS_memory__immI_24_rule, c) |
8035 | } |
8036 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI_24) ) { |
8037 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+_kids[1]->_cost[IMMI_24]; |
8038 | DFA_PRODUCTION__SET_VALID(_LSHIFTI__LOADS_MEMORY__IMMI_24, _LShiftI__LoadS_memory__immI_24_rule, c) |
8039 | } |
8040 | } |
8041 | void State::_sub_Op_LShiftL(const Node *n){ |
8042 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGL) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI_64_RCX_REGI) ) { |
8043 | unsigned int c = _kids[0]->_cost[NO_RCX_REGL]+_kids[1]->_cost[_SUBI_IMMI_64_RCX_REGI]; |
8044 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI, _LShiftL_no_rcx_RegL__SubI_immI_64_rcx_RegI_rule, c) |
8045 | } |
8046 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGL) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0_RCX_REGI) ) { |
8047 | unsigned int c = _kids[0]->_cost[NO_RCX_REGL]+_kids[1]->_cost[_SUBI_IMMI0_RCX_REGI]; |
8048 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI, _LShiftL_no_rcx_RegL__SubI_immI0_rcx_RegI_rule, c) |
8049 | } |
8050 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
8051 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI_M1]; |
8052 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_RREGL_IMMI_M1, _LShiftL_rRegL_immI_M1_rule, c) |
8053 | } |
8054 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGL) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
8055 | unsigned int c = _kids[0]->_cost[NO_RCX_REGL]+_kids[1]->_cost[RCX_REGI]; |
8056 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_NO_RCX_REGL_RCX_REGI, _LShiftL_no_rcx_RegL_rcx_RegI_rule, c) |
8057 | } |
8058 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
8059 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI8]; |
8060 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_RREGL_IMMI8, _LShiftL_rRegL_immI8_rule, c) |
8061 | } |
8062 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
8063 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI1]; |
8064 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_RREGL_IMMI1, _LShiftL_rRegL_immI1_rule, c) |
8065 | } |
8066 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
8067 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RCX_REGI]; |
8068 | DFA_PRODUCTION__SET_VALID(_LSHIFTL__LOADL_MEMORY__RCX_REGI, _LShiftL__LoadL_memory__rcx_RegI_rule, c) |
8069 | } |
8070 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
8071 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RCX_REGI]+100; |
8072 | DFA_PRODUCTION__SET_VALID(RREGL, salL_rReg_CL_rule, c) |
8073 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
8074 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, salL_rReg_CL_rule, c) |
8075 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, salL_rReg_CL_rule, c) |
8076 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, salL_rReg_CL_rule, c) |
8077 | DFA_PRODUCTION__SET_VALID(RAX_REGL, salL_rReg_CL_rule, c) |
8078 | DFA_PRODUCTION__SET_VALID(RCX_REGL, salL_rReg_CL_rule, c) |
8079 | DFA_PRODUCTION__SET_VALID(RDX_REGL, salL_rReg_CL_rule, c) |
8080 | } |
8081 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
8082 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMMI8]; |
8083 | DFA_PRODUCTION__SET_VALID(_LSHIFTL__LOADL_MEMORY__IMMI8, _LShiftL__LoadL_memory__immI8_rule, c) |
8084 | } |
8085 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
8086 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI8]+100; |
8087 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
8088 | DFA_PRODUCTION__SET_VALID(RREGL, salL_rReg_imm_rule, c) |
8089 | } |
8090 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
8091 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
8092 | } |
8093 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
8094 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, salL_rReg_imm_rule, c) |
8095 | } |
8096 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
8097 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, salL_rReg_imm_rule, c) |
8098 | } |
8099 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
8100 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, salL_rReg_imm_rule, c) |
8101 | } |
8102 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
8103 | DFA_PRODUCTION__SET_VALID(RAX_REGL, salL_rReg_imm_rule, c) |
8104 | } |
8105 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
8106 | DFA_PRODUCTION__SET_VALID(RCX_REGL, salL_rReg_imm_rule, c) |
8107 | } |
8108 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
8109 | DFA_PRODUCTION__SET_VALID(RDX_REGL, salL_rReg_imm_rule, c) |
8110 | } |
8111 | } |
8112 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
8113 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMMI1]; |
8114 | DFA_PRODUCTION__SET_VALID(_LSHIFTL__LOADL_MEMORY__IMMI1, _LShiftL__LoadL_memory__immI1_rule, c) |
8115 | } |
8116 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
8117 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI1]+100; |
8118 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
8119 | DFA_PRODUCTION__SET_VALID(RREGL, salL_rReg_1_rule, c) |
8120 | } |
8121 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
8122 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
8123 | } |
8124 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
8125 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, salL_rReg_1_rule, c) |
8126 | } |
8127 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
8128 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, salL_rReg_1_rule, c) |
8129 | } |
8130 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
8131 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, salL_rReg_1_rule, c) |
8132 | } |
8133 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
8134 | DFA_PRODUCTION__SET_VALID(RAX_REGL, salL_rReg_1_rule, c) |
8135 | } |
8136 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
8137 | DFA_PRODUCTION__SET_VALID(RCX_REGL, salL_rReg_1_rule, c) |
8138 | } |
8139 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
8140 | DFA_PRODUCTION__SET_VALID(RDX_REGL, salL_rReg_1_rule, c) |
8141 | } |
8142 | } |
8143 | if( STATE__VALID_CHILD(_kids[0], _CONVI2L_RREGI_) && STATE__VALID_CHILD(_kids[1], IMMI2) ) { |
8144 | unsigned int c = _kids[0]->_cost[_CONVI2L_RREGI_]+_kids[1]->_cost[IMMI2]; |
8145 | DFA_PRODUCTION__SET_VALID(_LSHIFTL__CONVI2L_RREGI__IMMI2, _LShiftL__ConvI2L_rRegI__immI2_rule, c) |
8146 | } |
8147 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI2) ) { |
8148 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI2]; |
8149 | DFA_PRODUCTION__SET_VALID(_LSHIFTL_RREGL_IMMI2, _LShiftL_rRegL_immI2_rule, c) |
8150 | } |
8151 | } |
8152 | void State::_sub_Op_LoadB(const Node *n){ |
8153 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8154 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8155 | DFA_PRODUCTION__SET_VALID(_LOADB_MEMORY_, _LoadB_memory__rule, c) |
8156 | } |
8157 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8158 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8159 | DFA_PRODUCTION__SET_VALID(RREGI, loadB_rule, c) |
8160 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8161 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadB_rule, c) |
8162 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadB_rule, c) |
8163 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadB_rule, c) |
8164 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadB_rule, c) |
8165 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadB_rule, c) |
8166 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadB_rule, c) |
8167 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadB_rule, c) |
8168 | } |
8169 | } |
8170 | void State::_sub_Op_LoadUB(const Node *n){ |
8171 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8172 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8173 | DFA_PRODUCTION__SET_VALID(_LOADUB_MEMORY_, _LoadUB_memory__rule, c) |
8174 | } |
8175 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8176 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8177 | DFA_PRODUCTION__SET_VALID(RREGI, loadUB_rule, c) |
8178 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8179 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadUB_rule, c) |
8180 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadUB_rule, c) |
8181 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadUB_rule, c) |
8182 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadUB_rule, c) |
8183 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadUB_rule, c) |
8184 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadUB_rule, c) |
8185 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadUB_rule, c) |
8186 | } |
8187 | } |
8188 | void State::_sub_Op_LoadUS(const Node *n){ |
8189 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8190 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8191 | DFA_PRODUCTION__SET_VALID(_LOADUS_MEMORY_, _LoadUS_memory__rule, c) |
8192 | } |
8193 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8194 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8195 | DFA_PRODUCTION__SET_VALID(RREGI, loadUS_rule, c) |
8196 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8197 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadUS_rule, c) |
8198 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadUS_rule, c) |
8199 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadUS_rule, c) |
8200 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadUS_rule, c) |
8201 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadUS_rule, c) |
8202 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadUS_rule, c) |
8203 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadUS_rule, c) |
8204 | } |
8205 | } |
8206 | void State::_sub_Op_LoadD(const Node *n){ |
8207 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8208 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8209 | DFA_PRODUCTION__SET_VALID(_LOADD_MEMORY_, _LoadD_memory__rule, c) |
8210 | } |
8211 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
8212 | ( |
8213 | #line 5465 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8214 | UseXmmLoadAndClearUpper |
8215 | #line 8215 "dfa_x86.cpp" |
8216 | ) ) { |
8217 | unsigned int c = _kids[0]->_cost[MEMORY]+145; |
8218 | DFA_PRODUCTION__SET_VALID(REGD, loadD_rule, c) |
8219 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
8220 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
8221 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
8222 | } |
8223 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
8224 | ( |
8225 | #line 5452 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8226 | !UseXmmLoadAndClearUpper |
8227 | #line 8227 "dfa_x86.cpp" |
8228 | ) ) { |
8229 | unsigned int c = _kids[0]->_cost[MEMORY]+145; |
8230 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
8231 | DFA_PRODUCTION__SET_VALID(REGD, loadD_partial_rule, c) |
8232 | } |
8233 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
8234 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
8235 | } |
8236 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
8237 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
8238 | } |
8239 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
8240 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
8241 | } |
8242 | } |
8243 | } |
8244 | void State::_sub_Op_LoadF(const Node *n){ |
8245 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8246 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8247 | DFA_PRODUCTION__SET_VALID(_LOADF_MEMORY_, _LoadF_memory__rule, c) |
8248 | } |
8249 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8250 | unsigned int c = _kids[0]->_cost[MEMORY]+145; |
8251 | DFA_PRODUCTION__SET_VALID(REGF, loadF_rule, c) |
8252 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
8253 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
8254 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
8255 | } |
8256 | } |
8257 | void State::_sub_Op_LoadI(const Node *n){ |
8258 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8259 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8260 | DFA_PRODUCTION__SET_VALID(_LOADI_MEMORY_, _LoadI_memory__rule, c) |
8261 | } |
8262 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8263 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8264 | DFA_PRODUCTION__SET_VALID(RREGI, loadI_rule, c) |
8265 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8266 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadI_rule, c) |
8267 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadI_rule, c) |
8268 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadI_rule, c) |
8269 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadI_rule, c) |
8270 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadI_rule, c) |
8271 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadI_rule, c) |
8272 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadI_rule, c) |
8273 | } |
8274 | } |
8275 | void State::_sub_Op_LoadKlass(const Node *n){ |
8276 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8277 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8278 | DFA_PRODUCTION__SET_VALID(RREGP, loadKlass_rule, c) |
8279 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8280 | DFA_PRODUCTION__SET_VALID(ANY_REGP, loadKlass_rule, c) |
8281 | DFA_PRODUCTION__SET_VALID(INDIRECT, loadKlass_rule, c) |
8282 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8283 | DFA_PRODUCTION__SET_VALID(RAX_REGP, loadKlass_rule, c) |
8284 | DFA_PRODUCTION__SET_VALID(RBX_REGP, loadKlass_rule, c) |
8285 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, loadKlass_rule, c) |
8286 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, loadKlass_rule, c) |
8287 | DFA_PRODUCTION__SET_VALID(RSI_REGP, loadKlass_rule, c) |
8288 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, loadKlass_rule, c) |
8289 | DFA_PRODUCTION__SET_VALID(RDI_REGP, loadKlass_rule, c) |
8290 | DFA_PRODUCTION__SET_VALID(R15_REGP, loadKlass_rule, c) |
8291 | } |
8292 | } |
8293 | void State::_sub_Op_LoadNKlass(const Node *n){ |
8294 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8295 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8296 | DFA_PRODUCTION__SET_VALID(_LOADNKLASS_MEMORY_, _LoadNKlass_memory__rule, c) |
8297 | } |
8298 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8299 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8300 | DFA_PRODUCTION__SET_VALID(RREGN, loadNKlass_rule, c) |
8301 | DFA_PRODUCTION__SET_VALID(RAX_REGN, loadNKlass_rule, c) |
8302 | } |
8303 | } |
8304 | void State::_sub_Op_LoadL(const Node *n){ |
8305 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8306 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8307 | DFA_PRODUCTION__SET_VALID(_LOADL_MEMORY_, _LoadL_memory__rule, c) |
8308 | } |
8309 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8310 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8311 | DFA_PRODUCTION__SET_VALID(RREGL, loadL_rule, c) |
8312 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
8313 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadL_rule, c) |
8314 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadL_rule, c) |
8315 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadL_rule, c) |
8316 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadL_rule, c) |
8317 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadL_rule, c) |
8318 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadL_rule, c) |
8319 | } |
8320 | } |
8321 | void State::_sub_Op_LoadPLocked(const Node *n){ |
8322 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8323 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8324 | DFA_PRODUCTION__SET_VALID(RREGP, loadPLocked_rule, c) |
8325 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8326 | DFA_PRODUCTION__SET_VALID(ANY_REGP, loadPLocked_rule, c) |
8327 | DFA_PRODUCTION__SET_VALID(INDIRECT, loadPLocked_rule, c) |
8328 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8329 | DFA_PRODUCTION__SET_VALID(RAX_REGP, loadPLocked_rule, c) |
8330 | DFA_PRODUCTION__SET_VALID(RBX_REGP, loadPLocked_rule, c) |
8331 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, loadPLocked_rule, c) |
8332 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, loadPLocked_rule, c) |
8333 | DFA_PRODUCTION__SET_VALID(RSI_REGP, loadPLocked_rule, c) |
8334 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, loadPLocked_rule, c) |
8335 | DFA_PRODUCTION__SET_VALID(RDI_REGP, loadPLocked_rule, c) |
8336 | DFA_PRODUCTION__SET_VALID(R15_REGP, loadPLocked_rule, c) |
8337 | } |
8338 | } |
8339 | void State::_sub_Op_LoadP(const Node *n){ |
8340 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8341 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8342 | DFA_PRODUCTION__SET_VALID(_LOADP_MEMORY_, _LoadP_memory__rule, c) |
8343 | } |
8344 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8345 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8346 | DFA_PRODUCTION__SET_VALID(RREGP, loadP_rule, c) |
8347 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8348 | DFA_PRODUCTION__SET_VALID(ANY_REGP, loadP_rule, c) |
8349 | DFA_PRODUCTION__SET_VALID(INDIRECT, loadP_rule, c) |
8350 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8351 | DFA_PRODUCTION__SET_VALID(RAX_REGP, loadP_rule, c) |
8352 | DFA_PRODUCTION__SET_VALID(RBX_REGP, loadP_rule, c) |
8353 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, loadP_rule, c) |
8354 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, loadP_rule, c) |
8355 | DFA_PRODUCTION__SET_VALID(RSI_REGP, loadP_rule, c) |
8356 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, loadP_rule, c) |
8357 | DFA_PRODUCTION__SET_VALID(RDI_REGP, loadP_rule, c) |
8358 | DFA_PRODUCTION__SET_VALID(R15_REGP, loadP_rule, c) |
8359 | } |
8360 | } |
8361 | void State::_sub_Op_LoadN(const Node *n){ |
8362 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8363 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8364 | DFA_PRODUCTION__SET_VALID(_LOADN_MEMORY_, _LoadN_memory__rule, c) |
8365 | } |
8366 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8367 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8368 | DFA_PRODUCTION__SET_VALID(RREGN, loadN_rule, c) |
8369 | DFA_PRODUCTION__SET_VALID(RAX_REGN, loadN_rule, c) |
8370 | } |
8371 | } |
8372 | void State::_sub_Op_LoadRange(const Node *n){ |
8373 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8374 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8375 | DFA_PRODUCTION__SET_VALID(RREGI, loadRange_rule, c) |
8376 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8377 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadRange_rule, c) |
8378 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadRange_rule, c) |
8379 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadRange_rule, c) |
8380 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadRange_rule, c) |
8381 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadRange_rule, c) |
8382 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadRange_rule, c) |
8383 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadRange_rule, c) |
8384 | } |
8385 | } |
8386 | void State::_sub_Op_LoadS(const Node *n){ |
8387 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8388 | unsigned int c = _kids[0]->_cost[MEMORY]; |
8389 | DFA_PRODUCTION__SET_VALID(_LOADS_MEMORY_, _LoadS_memory__rule, c) |
8390 | } |
8391 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
8392 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
8393 | DFA_PRODUCTION__SET_VALID(RREGI, loadS_rule, c) |
8394 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8395 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadS_rule, c) |
8396 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadS_rule, c) |
8397 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadS_rule, c) |
8398 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadS_rule, c) |
8399 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadS_rule, c) |
8400 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadS_rule, c) |
8401 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadS_rule, c) |
8402 | } |
8403 | } |
8404 | void State::_sub_Op_LoadBarrierSlowReg(const Node *n){ |
8405 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGP) && |
8406 | ( |
8407 | #line 139 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8408 | UseAVX == 3 && n->as_LoadBarrierSlowReg()->is_weak() |
8409 | #line 8409 "dfa_x86.cpp" |
8410 | ) ) { |
8411 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGP]+100; |
8412 | DFA_PRODUCTION__SET_VALID(RREGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8413 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8414 | DFA_PRODUCTION__SET_VALID(ANY_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8415 | DFA_PRODUCTION__SET_VALID(INDIRECT, zLoadBarrierWeakSlowRegZmm_rule, c) |
8416 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8417 | DFA_PRODUCTION__SET_VALID(RAX_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8418 | DFA_PRODUCTION__SET_VALID(RBX_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8419 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8420 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8421 | DFA_PRODUCTION__SET_VALID(RSI_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8422 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8423 | DFA_PRODUCTION__SET_VALID(RDI_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8424 | DFA_PRODUCTION__SET_VALID(R15_REGP, zLoadBarrierWeakSlowRegZmm_rule, c) |
8425 | } |
8426 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGP) && |
8427 | ( |
8428 | #line 110 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8429 | UseAVX <= 2 && n->as_LoadBarrierSlowReg()->is_weak() |
8430 | #line 8430 "dfa_x86.cpp" |
8431 | ) ) { |
8432 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGP]+100; |
8433 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
8434 | DFA_PRODUCTION__SET_VALID(RREGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8435 | } |
8436 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
8437 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8438 | } |
8439 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
8440 | DFA_PRODUCTION__SET_VALID(ANY_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8441 | } |
8442 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
8443 | DFA_PRODUCTION__SET_VALID(INDIRECT, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8444 | } |
8445 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
8446 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8447 | } |
8448 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
8449 | DFA_PRODUCTION__SET_VALID(RAX_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8450 | } |
8451 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
8452 | DFA_PRODUCTION__SET_VALID(RBX_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8453 | } |
8454 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
8455 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8456 | } |
8457 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
8458 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8459 | } |
8460 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
8461 | DFA_PRODUCTION__SET_VALID(RSI_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8462 | } |
8463 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
8464 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8465 | } |
8466 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
8467 | DFA_PRODUCTION__SET_VALID(RDI_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8468 | } |
8469 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
8470 | DFA_PRODUCTION__SET_VALID(R15_REGP, zLoadBarrierWeakSlowRegXmmAndYmm_rule, c) |
8471 | } |
8472 | } |
8473 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGP) && |
8474 | ( |
8475 | #line 82 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8476 | UseAVX == 3 && !n->as_LoadBarrierSlowReg()->is_weak() |
8477 | #line 8477 "dfa_x86.cpp" |
8478 | ) ) { |
8479 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGP]+100; |
8480 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
8481 | DFA_PRODUCTION__SET_VALID(RREGP, zLoadBarrierSlowRegZmm_rule, c) |
8482 | } |
8483 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
8484 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8485 | } |
8486 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
8487 | DFA_PRODUCTION__SET_VALID(ANY_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8488 | } |
8489 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
8490 | DFA_PRODUCTION__SET_VALID(INDIRECT, zLoadBarrierSlowRegZmm_rule, c) |
8491 | } |
8492 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
8493 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8494 | } |
8495 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
8496 | DFA_PRODUCTION__SET_VALID(RAX_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8497 | } |
8498 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
8499 | DFA_PRODUCTION__SET_VALID(RBX_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8500 | } |
8501 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
8502 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8503 | } |
8504 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
8505 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8506 | } |
8507 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
8508 | DFA_PRODUCTION__SET_VALID(RSI_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8509 | } |
8510 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
8511 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8512 | } |
8513 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
8514 | DFA_PRODUCTION__SET_VALID(RDI_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8515 | } |
8516 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
8517 | DFA_PRODUCTION__SET_VALID(R15_REGP, zLoadBarrierSlowRegZmm_rule, c) |
8518 | } |
8519 | } |
8520 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGP) && |
8521 | ( |
8522 | #line 53 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8523 | UseAVX <= 2 && !n->as_LoadBarrierSlowReg()->is_weak() |
8524 | #line 8524 "dfa_x86.cpp" |
8525 | ) ) { |
8526 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGP]+100; |
8527 | if (STATE__NOT_YET_VALID(RREGP) || _cost[RREGP] > c) { |
8528 | DFA_PRODUCTION__SET_VALID(RREGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8529 | } |
8530 | if (STATE__NOT_YET_VALID(STACKSLOTP) || _cost[STACKSLOTP] > c+100) { |
8531 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8532 | } |
8533 | if (STATE__NOT_YET_VALID(ANY_REGP) || _cost[ANY_REGP] > c) { |
8534 | DFA_PRODUCTION__SET_VALID(ANY_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8535 | } |
8536 | if (STATE__NOT_YET_VALID(INDIRECT) || _cost[INDIRECT] > c) { |
8537 | DFA_PRODUCTION__SET_VALID(INDIRECT, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8538 | } |
8539 | if (STATE__NOT_YET_VALID(MEMORY) || _cost[MEMORY] > c) { |
8540 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8541 | } |
8542 | if (STATE__NOT_YET_VALID(RAX_REGP) || _cost[RAX_REGP] > c) { |
8543 | DFA_PRODUCTION__SET_VALID(RAX_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8544 | } |
8545 | if (STATE__NOT_YET_VALID(RBX_REGP) || _cost[RBX_REGP] > c) { |
8546 | DFA_PRODUCTION__SET_VALID(RBX_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8547 | } |
8548 | if (STATE__NOT_YET_VALID(NO_RAX_REGP) || _cost[NO_RAX_REGP] > c) { |
8549 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8550 | } |
8551 | if (STATE__NOT_YET_VALID(NO_RBP_REGP) || _cost[NO_RBP_REGP] > c) { |
8552 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8553 | } |
8554 | if (STATE__NOT_YET_VALID(RSI_REGP) || _cost[RSI_REGP] > c) { |
8555 | DFA_PRODUCTION__SET_VALID(RSI_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8556 | } |
8557 | if (STATE__NOT_YET_VALID(NO_RAX_RBX_REGP) || _cost[NO_RAX_RBX_REGP] > c) { |
8558 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8559 | } |
8560 | if (STATE__NOT_YET_VALID(RDI_REGP) || _cost[RDI_REGP] > c) { |
8561 | DFA_PRODUCTION__SET_VALID(RDI_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8562 | } |
8563 | if (STATE__NOT_YET_VALID(R15_REGP) || _cost[R15_REGP] > c) { |
8564 | DFA_PRODUCTION__SET_VALID(R15_REGP, zLoadBarrierSlowRegXmmAndYmm_rule, c) |
8565 | } |
8566 | } |
8567 | } |
8568 | void State::_sub_Op_ZCompareAndSwapP(const Node *n){ |
8569 | if( STATE__VALID_CHILD(_kids[0], _BINARY_MEMORY_RREGP) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
8570 | ( |
8571 | #line 186 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8572 | VM_Version::supports_cx8() |
8573 | #line 8573 "dfa_x86.cpp" |
8574 | ) ) { |
8575 | unsigned int c = _kids[0]->_cost[_BINARY_MEMORY_RREGP]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
8576 | DFA_PRODUCTION__SET_VALID(RREGI, z_compareAndSwapP_rule, c) |
8577 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8578 | DFA_PRODUCTION__SET_VALID(RAX_REGI, z_compareAndSwapP_rule, c) |
8579 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, z_compareAndSwapP_rule, c) |
8580 | DFA_PRODUCTION__SET_VALID(RBX_REGI, z_compareAndSwapP_rule, c) |
8581 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, z_compareAndSwapP_rule, c) |
8582 | DFA_PRODUCTION__SET_VALID(RCX_REGI, z_compareAndSwapP_rule, c) |
8583 | DFA_PRODUCTION__SET_VALID(RDX_REGI, z_compareAndSwapP_rule, c) |
8584 | DFA_PRODUCTION__SET_VALID(RDI_REGI, z_compareAndSwapP_rule, c) |
8585 | } |
8586 | } |
8587 | void State::_sub_Op_ZWeakCompareAndSwapP(const Node *n){ |
8588 | if( STATE__VALID_CHILD(_kids[0], _BINARY_MEMORY_RREGP) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
8589 | ( |
8590 | #line 186 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8591 | VM_Version::supports_cx8() |
8592 | #line 8592 "dfa_x86.cpp" |
8593 | ) ) { |
8594 | unsigned int c = _kids[0]->_cost[_BINARY_MEMORY_RREGP]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
8595 | DFA_PRODUCTION__SET_VALID(RREGI, z_compareAndSwapP_0_rule, c) |
8596 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8597 | DFA_PRODUCTION__SET_VALID(RAX_REGI, z_compareAndSwapP_0_rule, c) |
8598 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, z_compareAndSwapP_0_rule, c) |
8599 | DFA_PRODUCTION__SET_VALID(RBX_REGI, z_compareAndSwapP_0_rule, c) |
8600 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, z_compareAndSwapP_0_rule, c) |
8601 | DFA_PRODUCTION__SET_VALID(RCX_REGI, z_compareAndSwapP_0_rule, c) |
8602 | DFA_PRODUCTION__SET_VALID(RDX_REGI, z_compareAndSwapP_0_rule, c) |
8603 | DFA_PRODUCTION__SET_VALID(RDI_REGI, z_compareAndSwapP_0_rule, c) |
8604 | } |
8605 | } |
8606 | void State::_sub_Op_ZCompareAndExchangeP(const Node *n){ |
8607 | if( STATE__VALID_CHILD(_kids[0], _BINARY_MEMORY_RREGP) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
8608 | ( |
8609 | #line 167 "/workspace/jdk13/src/hotspot/cpu/x86/gc/z/z_x86_64.ad" |
8610 | VM_Version::supports_cx8() |
8611 | #line 8611 "dfa_x86.cpp" |
8612 | ) ) { |
8613 | unsigned int c = _kids[0]->_cost[_BINARY_MEMORY_RREGP]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
8614 | DFA_PRODUCTION__SET_VALID(RAX_REGP, z_compareAndExchangeP_rule, c) |
8615 | DFA_PRODUCTION__SET_VALID(ANY_REGP, z_compareAndExchangeP_rule, c) |
8616 | DFA_PRODUCTION__SET_VALID(INDIRECT, z_compareAndExchangeP_rule, c) |
8617 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8618 | DFA_PRODUCTION__SET_VALID(RREGP, z_compareAndExchangeP_rule, c) |
8619 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8620 | DFA_PRODUCTION__SET_VALID(RBX_REGP, z_compareAndExchangeP_rule, c) |
8621 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, z_compareAndExchangeP_rule, c) |
8622 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, z_compareAndExchangeP_rule, c) |
8623 | DFA_PRODUCTION__SET_VALID(RSI_REGP, z_compareAndExchangeP_rule, c) |
8624 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, z_compareAndExchangeP_rule, c) |
8625 | DFA_PRODUCTION__SET_VALID(RDI_REGP, z_compareAndExchangeP_rule, c) |
8626 | DFA_PRODUCTION__SET_VALID(R15_REGP, z_compareAndExchangeP_rule, c) |
8627 | } |
8628 | } |
8629 | void State::_sub_Op_ZGetAndSetP(const Node *n){ |
8630 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGP_RREGP) ) { |
8631 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RREGP_RREGP]+100; |
8632 | DFA_PRODUCTION__SET_VALID(RREGP, z_xchgP_rule, c) |
8633 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
8634 | DFA_PRODUCTION__SET_VALID(ANY_REGP, z_xchgP_rule, c) |
8635 | DFA_PRODUCTION__SET_VALID(INDIRECT, z_xchgP_rule, c) |
8636 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
8637 | DFA_PRODUCTION__SET_VALID(RAX_REGP, z_xchgP_rule, c) |
8638 | DFA_PRODUCTION__SET_VALID(RBX_REGP, z_xchgP_rule, c) |
8639 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, z_xchgP_rule, c) |
8640 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, z_xchgP_rule, c) |
8641 | DFA_PRODUCTION__SET_VALID(RSI_REGP, z_xchgP_rule, c) |
8642 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, z_xchgP_rule, c) |
8643 | DFA_PRODUCTION__SET_VALID(RDI_REGP, z_xchgP_rule, c) |
8644 | DFA_PRODUCTION__SET_VALID(R15_REGP, z_xchgP_rule, c) |
8645 | } |
8646 | } |
8647 | void State::_sub_Op_MulAddS2I(const Node *n){ |
8648 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RREGI_RREGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RREGI_RREGI) ) { |
8649 | unsigned int c = _kids[0]->_cost[_BINARY_RREGI_RREGI]+_kids[1]->_cost[_BINARY_RREGI_RREGI]+100; |
8650 | DFA_PRODUCTION__SET_VALID(RREGI, mulAddS2I_rReg_rule, c) |
8651 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8652 | DFA_PRODUCTION__SET_VALID(RAX_REGI, mulAddS2I_rReg_rule, c) |
8653 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, mulAddS2I_rReg_rule, c) |
8654 | DFA_PRODUCTION__SET_VALID(RBX_REGI, mulAddS2I_rReg_rule, c) |
8655 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, mulAddS2I_rReg_rule, c) |
8656 | DFA_PRODUCTION__SET_VALID(RCX_REGI, mulAddS2I_rReg_rule, c) |
8657 | DFA_PRODUCTION__SET_VALID(RDX_REGI, mulAddS2I_rReg_rule, c) |
8658 | DFA_PRODUCTION__SET_VALID(RDI_REGI, mulAddS2I_rReg_rule, c) |
8659 | } |
8660 | } |
8661 | void State::_sub_Op_MaxD(const Node *n){ |
8662 | if( STATE__VALID_CHILD(_kids[0], LEGREGD) && STATE__VALID_CHILD(_kids[1], LEGREGD) && |
8663 | ( |
8664 | #line 5583 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8665 | UseAVX > 0 && n->is_reduction() |
8666 | #line 8666 "dfa_x86.cpp" |
8667 | ) ) { |
8668 | unsigned int c = _kids[0]->_cost[LEGREGD]+_kids[1]->_cost[LEGREGD]+100; |
8669 | DFA_PRODUCTION__SET_VALID(LEGREGD, maxD_reduction_reg_rule, c) |
8670 | DFA_PRODUCTION__SET_VALID(REGD, MoveLEG2D_rule, c+100) |
8671 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100+100) |
8672 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
8673 | } |
8674 | if( STATE__VALID_CHILD(_kids[0], LEGREGD) && STATE__VALID_CHILD(_kids[1], LEGREGD) && |
8675 | ( |
8676 | #line 5561 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8677 | UseAVX > 0 && !n->is_reduction() |
8678 | #line 8678 "dfa_x86.cpp" |
8679 | ) ) { |
8680 | unsigned int c = _kids[0]->_cost[LEGREGD]+_kids[1]->_cost[LEGREGD]+100; |
8681 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c) { |
8682 | DFA_PRODUCTION__SET_VALID(LEGREGD, maxD_reg_rule, c) |
8683 | } |
8684 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c+100) { |
8685 | DFA_PRODUCTION__SET_VALID(REGD, MoveLEG2D_rule, c+100) |
8686 | } |
8687 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100+100) { |
8688 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100+100) |
8689 | } |
8690 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+100+95) { |
8691 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
8692 | } |
8693 | } |
8694 | } |
8695 | void State::_sub_Op_MaxF(const Node *n){ |
8696 | if( STATE__VALID_CHILD(_kids[0], LEGREGF) && STATE__VALID_CHILD(_kids[1], LEGREGF) && |
8697 | ( |
8698 | #line 5547 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8699 | UseAVX > 0 && n->is_reduction() |
8700 | #line 8700 "dfa_x86.cpp" |
8701 | ) ) { |
8702 | unsigned int c = _kids[0]->_cost[LEGREGF]+_kids[1]->_cost[LEGREGF]+100; |
8703 | DFA_PRODUCTION__SET_VALID(LEGREGF, maxF_reduction_reg_rule, c) |
8704 | DFA_PRODUCTION__SET_VALID(REGF, MoveLEG2F_rule, c+100) |
8705 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100+100) |
8706 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
8707 | } |
8708 | if( STATE__VALID_CHILD(_kids[0], LEGREGF) && STATE__VALID_CHILD(_kids[1], LEGREGF) && |
8709 | ( |
8710 | #line 5525 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8711 | UseAVX > 0 && !n->is_reduction() |
8712 | #line 8712 "dfa_x86.cpp" |
8713 | ) ) { |
8714 | unsigned int c = _kids[0]->_cost[LEGREGF]+_kids[1]->_cost[LEGREGF]+100; |
8715 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c) { |
8716 | DFA_PRODUCTION__SET_VALID(LEGREGF, maxF_reg_rule, c) |
8717 | } |
8718 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c+100) { |
8719 | DFA_PRODUCTION__SET_VALID(REGF, MoveLEG2F_rule, c+100) |
8720 | } |
8721 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100+100) { |
8722 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100+100) |
8723 | } |
8724 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+100+95) { |
8725 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
8726 | } |
8727 | } |
8728 | } |
8729 | void State::_sub_Op_MaxI(const Node *n){ |
8730 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
8731 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+200; |
8732 | DFA_PRODUCTION__SET_VALID(RREGI, maxI_rReg_rule, c) |
8733 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8734 | DFA_PRODUCTION__SET_VALID(RAX_REGI, maxI_rReg_rule, c) |
8735 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, maxI_rReg_rule, c) |
8736 | DFA_PRODUCTION__SET_VALID(RBX_REGI, maxI_rReg_rule, c) |
8737 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, maxI_rReg_rule, c) |
8738 | DFA_PRODUCTION__SET_VALID(RCX_REGI, maxI_rReg_rule, c) |
8739 | DFA_PRODUCTION__SET_VALID(RDX_REGI, maxI_rReg_rule, c) |
8740 | DFA_PRODUCTION__SET_VALID(RDI_REGI, maxI_rReg_rule, c) |
8741 | } |
8742 | } |
8743 | void State::_sub_Op_MemBarAcquire(const Node *n){ |
8744 | { |
8745 | unsigned int c = 0; |
8746 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_acquire_rule, c) |
8747 | } |
8748 | } |
8749 | void State::_sub_Op_LoadFence(const Node *n){ |
8750 | { |
8751 | unsigned int c = 0; |
8752 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_acquire_0_rule, c) |
8753 | } |
8754 | } |
8755 | void State::_sub_Op_SetVectMaskI(const Node *n){ |
8756 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
8757 | ( |
8758 | #line 2101 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
8759 | Matcher::has_predicated_vectors() |
8760 | #line 8760 "dfa_x86.cpp" |
8761 | ) ) { |
8762 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
8763 | DFA_PRODUCTION__SET_VALID(RREGI, setMask_rule, c) |
8764 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8765 | DFA_PRODUCTION__SET_VALID(RAX_REGI, setMask_rule, c) |
8766 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, setMask_rule, c) |
8767 | DFA_PRODUCTION__SET_VALID(RBX_REGI, setMask_rule, c) |
8768 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, setMask_rule, c) |
8769 | DFA_PRODUCTION__SET_VALID(RCX_REGI, setMask_rule, c) |
8770 | DFA_PRODUCTION__SET_VALID(RDX_REGI, setMask_rule, c) |
8771 | DFA_PRODUCTION__SET_VALID(RDI_REGI, setMask_rule, c) |
8772 | } |
8773 | } |
8774 | void State::_sub_Op_MemBarAcquireLock(const Node *n){ |
8775 | { |
8776 | unsigned int c = 0; |
8777 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_acquire_lock_rule, c) |
8778 | } |
8779 | } |
8780 | void State::_sub_Op_MemBarRelease(const Node *n){ |
8781 | { |
8782 | unsigned int c = 0; |
8783 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_release_rule, c) |
8784 | } |
8785 | } |
8786 | void State::_sub_Op_StoreFence(const Node *n){ |
8787 | { |
8788 | unsigned int c = 0; |
8789 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_release_0_rule, c) |
8790 | } |
8791 | } |
8792 | void State::_sub_Op_MemBarReleaseLock(const Node *n){ |
8793 | { |
8794 | unsigned int c = 0; |
8795 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_release_lock_rule, c) |
8796 | } |
8797 | } |
8798 | void State::_sub_Op_MemBarVolatile(const Node *n){ |
8799 | if( ( |
8800 | #line 6874 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8801 | Matcher::post_store_load_barrier(n) |
8802 | #line 8802 "dfa_x86.cpp" |
8803 | ) ) { |
8804 | unsigned int c = 0; |
8805 | DFA_PRODUCTION__SET_VALID(UNIVERSE, unnecessary_membar_volatile_rule, c) |
8806 | } |
8807 | { |
8808 | unsigned int c = 400; |
8809 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
8810 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_volatile_rule, c) |
8811 | } |
8812 | } |
8813 | } |
8814 | void State::_sub_Op_MemBarStoreStore(const Node *n){ |
8815 | { |
8816 | unsigned int c = 0; |
8817 | DFA_PRODUCTION__SET_VALID(UNIVERSE, membar_storestore_rule, c) |
8818 | } |
8819 | } |
8820 | void State::_sub_Op_MinD(const Node *n){ |
8821 | if( STATE__VALID_CHILD(_kids[0], LEGREGD) && STATE__VALID_CHILD(_kids[1], LEGREGD) && |
8822 | ( |
8823 | #line 5655 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8824 | UseAVX > 0 && n->is_reduction() |
8825 | #line 8825 "dfa_x86.cpp" |
8826 | ) ) { |
8827 | unsigned int c = _kids[0]->_cost[LEGREGD]+_kids[1]->_cost[LEGREGD]+100; |
8828 | DFA_PRODUCTION__SET_VALID(LEGREGD, minD_reduction_reg_rule, c) |
8829 | DFA_PRODUCTION__SET_VALID(REGD, MoveLEG2D_rule, c+100) |
8830 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100+100) |
8831 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
8832 | } |
8833 | if( STATE__VALID_CHILD(_kids[0], LEGREGD) && STATE__VALID_CHILD(_kids[1], LEGREGD) && |
8834 | ( |
8835 | #line 5633 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8836 | UseAVX > 0 && !n->is_reduction() |
8837 | #line 8837 "dfa_x86.cpp" |
8838 | ) ) { |
8839 | unsigned int c = _kids[0]->_cost[LEGREGD]+_kids[1]->_cost[LEGREGD]+100; |
8840 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c) { |
8841 | DFA_PRODUCTION__SET_VALID(LEGREGD, minD_reg_rule, c) |
8842 | } |
8843 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c+100) { |
8844 | DFA_PRODUCTION__SET_VALID(REGD, MoveLEG2D_rule, c+100) |
8845 | } |
8846 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100+100) { |
8847 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100+100) |
8848 | } |
8849 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+100+95) { |
8850 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
8851 | } |
8852 | } |
8853 | } |
8854 | void State::_sub_Op_MinF(const Node *n){ |
8855 | if( STATE__VALID_CHILD(_kids[0], LEGREGF) && STATE__VALID_CHILD(_kids[1], LEGREGF) && |
8856 | ( |
8857 | #line 5619 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8858 | UseAVX > 0 && n->is_reduction() |
8859 | #line 8859 "dfa_x86.cpp" |
8860 | ) ) { |
8861 | unsigned int c = _kids[0]->_cost[LEGREGF]+_kids[1]->_cost[LEGREGF]+100; |
8862 | DFA_PRODUCTION__SET_VALID(LEGREGF, minF_reduction_reg_rule, c) |
8863 | DFA_PRODUCTION__SET_VALID(REGF, MoveLEG2F_rule, c+100) |
8864 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100+100) |
8865 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
8866 | } |
8867 | if( STATE__VALID_CHILD(_kids[0], LEGREGF) && STATE__VALID_CHILD(_kids[1], LEGREGF) && |
8868 | ( |
8869 | #line 5597 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
8870 | UseAVX > 0 && !n->is_reduction() |
8871 | #line 8871 "dfa_x86.cpp" |
8872 | ) ) { |
8873 | unsigned int c = _kids[0]->_cost[LEGREGF]+_kids[1]->_cost[LEGREGF]+100; |
8874 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c) { |
8875 | DFA_PRODUCTION__SET_VALID(LEGREGF, minF_reg_rule, c) |
8876 | } |
8877 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c+100) { |
8878 | DFA_PRODUCTION__SET_VALID(REGF, MoveLEG2F_rule, c+100) |
8879 | } |
8880 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100+100) { |
8881 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100+100) |
8882 | } |
8883 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+100+95) { |
8884 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
8885 | } |
8886 | } |
8887 | } |
8888 | void State::_sub_Op_MinI(const Node *n){ |
8889 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
8890 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+200; |
8891 | DFA_PRODUCTION__SET_VALID(RREGI, minI_rReg_rule, c) |
8892 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8893 | DFA_PRODUCTION__SET_VALID(RAX_REGI, minI_rReg_rule, c) |
8894 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, minI_rReg_rule, c) |
8895 | DFA_PRODUCTION__SET_VALID(RBX_REGI, minI_rReg_rule, c) |
8896 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, minI_rReg_rule, c) |
8897 | DFA_PRODUCTION__SET_VALID(RCX_REGI, minI_rReg_rule, c) |
8898 | DFA_PRODUCTION__SET_VALID(RDX_REGI, minI_rReg_rule, c) |
8899 | DFA_PRODUCTION__SET_VALID(RDI_REGI, minI_rReg_rule, c) |
8900 | } |
8901 | } |
8902 | void State::_sub_Op_ModI(const Node *n){ |
8903 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], NO_RAX_RDX_REGI) ) { |
8904 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[NO_RAX_RDX_REGI]+300; |
8905 | DFA_PRODUCTION__SET_VALID(RDX_REGI, modI_rReg_rule, c) |
8906 | DFA_PRODUCTION__SET_VALID(RREGI, modI_rReg_rule, c) |
8907 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8908 | DFA_PRODUCTION__SET_VALID(RAX_REGI, modI_rReg_rule, c) |
8909 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, modI_rReg_rule, c) |
8910 | DFA_PRODUCTION__SET_VALID(RBX_REGI, modI_rReg_rule, c) |
8911 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, modI_rReg_rule, c) |
8912 | DFA_PRODUCTION__SET_VALID(RCX_REGI, modI_rReg_rule, c) |
8913 | DFA_PRODUCTION__SET_VALID(RDI_REGI, modI_rReg_rule, c) |
8914 | } |
8915 | } |
8916 | void State::_sub_Op_ModL(const Node *n){ |
8917 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], NO_RAX_RDX_REGL) ) { |
8918 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[NO_RAX_RDX_REGL]+300; |
8919 | DFA_PRODUCTION__SET_VALID(RDX_REGL, modL_rReg_rule, c) |
8920 | DFA_PRODUCTION__SET_VALID(RREGL, modL_rReg_rule, c) |
8921 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
8922 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, modL_rReg_rule, c) |
8923 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, modL_rReg_rule, c) |
8924 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, modL_rReg_rule, c) |
8925 | DFA_PRODUCTION__SET_VALID(RAX_REGL, modL_rReg_rule, c) |
8926 | DFA_PRODUCTION__SET_VALID(RCX_REGL, modL_rReg_rule, c) |
8927 | } |
8928 | } |
8929 | void State::_sub_Op_MoveI2F(const Node *n){ |
8930 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
8931 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
8932 | DFA_PRODUCTION__SET_VALID(REGF, MoveI2F_reg_reg_rule, c) |
8933 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
8934 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
8935 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
8936 | } |
8937 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
8938 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
8939 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c) { |
8940 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, MoveI2F_reg_stack_rule, c) |
8941 | } |
8942 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c+125) { |
8943 | DFA_PRODUCTION__SET_VALID(REGF, loadSSF_rule, c+125) |
8944 | } |
8945 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+125+100) { |
8946 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+125+100) |
8947 | } |
8948 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+125+100) { |
8949 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+125+100) |
8950 | } |
8951 | } |
8952 | if( STATE__VALID_CHILD(_kids[0], STACKSLOTI) ) { |
8953 | unsigned int c = _kids[0]->_cost[STACKSLOTI]+125; |
8954 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
8955 | DFA_PRODUCTION__SET_VALID(REGF, MoveI2F_stack_reg_rule, c) |
8956 | } |
8957 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
8958 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
8959 | } |
8960 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
8961 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
8962 | } |
8963 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
8964 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
8965 | } |
8966 | } |
8967 | } |
8968 | void State::_sub_Op_MoveF2I(const Node *n){ |
8969 | if( STATE__VALID_CHILD(_kids[0], REGF) ) { |
8970 | unsigned int c = _kids[0]->_cost[REGF]+85; |
8971 | DFA_PRODUCTION__SET_VALID(RREGI, MoveF2I_reg_reg_rule, c) |
8972 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
8973 | DFA_PRODUCTION__SET_VALID(RAX_REGI, MoveF2I_reg_reg_rule, c) |
8974 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, MoveF2I_reg_reg_rule, c) |
8975 | DFA_PRODUCTION__SET_VALID(RBX_REGI, MoveF2I_reg_reg_rule, c) |
8976 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, MoveF2I_reg_reg_rule, c) |
8977 | DFA_PRODUCTION__SET_VALID(RCX_REGI, MoveF2I_reg_reg_rule, c) |
8978 | DFA_PRODUCTION__SET_VALID(RDX_REGI, MoveF2I_reg_reg_rule, c) |
8979 | DFA_PRODUCTION__SET_VALID(RDI_REGI, MoveF2I_reg_reg_rule, c) |
8980 | } |
8981 | if( STATE__VALID_CHILD(_kids[0], REGF) ) { |
8982 | unsigned int c = _kids[0]->_cost[REGF]+95; |
8983 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c) { |
8984 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, MoveF2I_reg_stack_rule, c) |
8985 | } |
8986 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c+125) { |
8987 | DFA_PRODUCTION__SET_VALID(RREGI, loadSSI_rule, c+125) |
8988 | } |
8989 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c+125) { |
8990 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadSSI_rule, c+125) |
8991 | } |
8992 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c+125) { |
8993 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadSSI_rule, c+125) |
8994 | } |
8995 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c+125) { |
8996 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadSSI_rule, c+125) |
8997 | } |
8998 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c+125) { |
8999 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadSSI_rule, c+125) |
9000 | } |
9001 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c+125) { |
9002 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadSSI_rule, c+125) |
9003 | } |
9004 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c+125) { |
9005 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadSSI_rule, c+125) |
9006 | } |
9007 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c+125) { |
9008 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadSSI_rule, c+125) |
9009 | } |
9010 | } |
9011 | if( STATE__VALID_CHILD(_kids[0], STACKSLOTF) ) { |
9012 | unsigned int c = _kids[0]->_cost[STACKSLOTF]+125; |
9013 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9014 | DFA_PRODUCTION__SET_VALID(RREGI, MoveF2I_stack_reg_rule, c) |
9015 | } |
9016 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9017 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9018 | } |
9019 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9020 | DFA_PRODUCTION__SET_VALID(RAX_REGI, MoveF2I_stack_reg_rule, c) |
9021 | } |
9022 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9023 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, MoveF2I_stack_reg_rule, c) |
9024 | } |
9025 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9026 | DFA_PRODUCTION__SET_VALID(RBX_REGI, MoveF2I_stack_reg_rule, c) |
9027 | } |
9028 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9029 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, MoveF2I_stack_reg_rule, c) |
9030 | } |
9031 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9032 | DFA_PRODUCTION__SET_VALID(RCX_REGI, MoveF2I_stack_reg_rule, c) |
9033 | } |
9034 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9035 | DFA_PRODUCTION__SET_VALID(RDX_REGI, MoveF2I_stack_reg_rule, c) |
9036 | } |
9037 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9038 | DFA_PRODUCTION__SET_VALID(RDI_REGI, MoveF2I_stack_reg_rule, c) |
9039 | } |
9040 | } |
9041 | } |
9042 | void State::_sub_Op_MoveL2D(const Node *n){ |
9043 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
9044 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
9045 | DFA_PRODUCTION__SET_VALID(REGD, MoveL2D_reg_reg_rule, c) |
9046 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9047 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9048 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9049 | } |
9050 | if( STATE__VALID_CHILD(_kids[0], RREGL) ) { |
9051 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
9052 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c) { |
9053 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, MoveL2D_reg_stack_rule, c) |
9054 | } |
9055 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c+125) { |
9056 | DFA_PRODUCTION__SET_VALID(REGD, loadSSD_rule, c+125) |
9057 | } |
9058 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+125+100) { |
9059 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+125+100) |
9060 | } |
9061 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+125+100) { |
9062 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+125+100) |
9063 | } |
9064 | } |
9065 | if( STATE__VALID_CHILD(_kids[0], STACKSLOTL) && |
9066 | ( |
9067 | #line 11081 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
9068 | UseXmmLoadAndClearUpper |
9069 | #line 9069 "dfa_x86.cpp" |
9070 | ) ) { |
9071 | unsigned int c = _kids[0]->_cost[STACKSLOTL]+125; |
9072 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9073 | DFA_PRODUCTION__SET_VALID(REGD, MoveL2D_stack_reg_rule, c) |
9074 | } |
9075 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9076 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9077 | } |
9078 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9079 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9080 | } |
9081 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9082 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9083 | } |
9084 | } |
9085 | if( STATE__VALID_CHILD(_kids[0], STACKSLOTL) && |
9086 | ( |
9087 | #line 11068 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
9088 | !UseXmmLoadAndClearUpper |
9089 | #line 9089 "dfa_x86.cpp" |
9090 | ) ) { |
9091 | unsigned int c = _kids[0]->_cost[STACKSLOTL]+125; |
9092 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9093 | DFA_PRODUCTION__SET_VALID(REGD, MoveL2D_stack_reg_partial_rule, c) |
9094 | } |
9095 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9096 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9097 | } |
9098 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9099 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9100 | } |
9101 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9102 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9103 | } |
9104 | } |
9105 | } |
9106 | void State::_sub_Op_MoveD2L(const Node *n){ |
9107 | if( STATE__VALID_CHILD(_kids[0], REGD) ) { |
9108 | unsigned int c = _kids[0]->_cost[REGD]+85; |
9109 | DFA_PRODUCTION__SET_VALID(RREGL, MoveD2L_reg_reg_rule, c) |
9110 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9111 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, MoveD2L_reg_reg_rule, c) |
9112 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, MoveD2L_reg_reg_rule, c) |
9113 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, MoveD2L_reg_reg_rule, c) |
9114 | DFA_PRODUCTION__SET_VALID(RAX_REGL, MoveD2L_reg_reg_rule, c) |
9115 | DFA_PRODUCTION__SET_VALID(RCX_REGL, MoveD2L_reg_reg_rule, c) |
9116 | DFA_PRODUCTION__SET_VALID(RDX_REGL, MoveD2L_reg_reg_rule, c) |
9117 | } |
9118 | if( STATE__VALID_CHILD(_kids[0], REGD) ) { |
9119 | unsigned int c = _kids[0]->_cost[REGD]+95; |
9120 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c) { |
9121 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, MoveD2L_reg_stack_rule, c) |
9122 | } |
9123 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c+125) { |
9124 | DFA_PRODUCTION__SET_VALID(RREGL, loadSSL_rule, c+125) |
9125 | } |
9126 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c+125) { |
9127 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, loadSSL_rule, c+125) |
9128 | } |
9129 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c+125) { |
9130 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, loadSSL_rule, c+125) |
9131 | } |
9132 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c+125) { |
9133 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, loadSSL_rule, c+125) |
9134 | } |
9135 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c+125) { |
9136 | DFA_PRODUCTION__SET_VALID(RAX_REGL, loadSSL_rule, c+125) |
9137 | } |
9138 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c+125) { |
9139 | DFA_PRODUCTION__SET_VALID(RCX_REGL, loadSSL_rule, c+125) |
9140 | } |
9141 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c+125) { |
9142 | DFA_PRODUCTION__SET_VALID(RDX_REGL, loadSSL_rule, c+125) |
9143 | } |
9144 | } |
9145 | if( STATE__VALID_CHILD(_kids[0], STACKSLOTD) ) { |
9146 | unsigned int c = _kids[0]->_cost[STACKSLOTD]+125; |
9147 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
9148 | DFA_PRODUCTION__SET_VALID(RREGL, MoveD2L_stack_reg_rule, c) |
9149 | } |
9150 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
9151 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9152 | } |
9153 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
9154 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, MoveD2L_stack_reg_rule, c) |
9155 | } |
9156 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
9157 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, MoveD2L_stack_reg_rule, c) |
9158 | } |
9159 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
9160 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, MoveD2L_stack_reg_rule, c) |
9161 | } |
9162 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
9163 | DFA_PRODUCTION__SET_VALID(RAX_REGL, MoveD2L_stack_reg_rule, c) |
9164 | } |
9165 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
9166 | DFA_PRODUCTION__SET_VALID(RCX_REGL, MoveD2L_stack_reg_rule, c) |
9167 | } |
9168 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
9169 | DFA_PRODUCTION__SET_VALID(RDX_REGL, MoveD2L_stack_reg_rule, c) |
9170 | } |
9171 | } |
9172 | } |
9173 | void State::_sub_Op_MulD(const Node *n){ |
9174 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
9175 | ( |
9176 | #line 2528 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9177 | UseAVX > 0 |
9178 | #line 9178 "dfa_x86.cpp" |
9179 | ) ) { |
9180 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
9181 | DFA_PRODUCTION__SET_VALID(REGD, mulD_reg_imm_rule, c) |
9182 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9183 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9184 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9185 | } |
9186 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGD) && |
9187 | ( |
9188 | #line 2516 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9189 | UseAVX > 0 |
9190 | #line 9190 "dfa_x86.cpp" |
9191 | ) ) { |
9192 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+_kids[1]->_cost[REGD]+150; |
9193 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9194 | DFA_PRODUCTION__SET_VALID(REGD, mulD_reg_mem_0_rule, c) |
9195 | } |
9196 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9197 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9198 | } |
9199 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9200 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9201 | } |
9202 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9203 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9204 | } |
9205 | } |
9206 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
9207 | ( |
9208 | #line 2516 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9209 | UseAVX > 0 |
9210 | #line 9210 "dfa_x86.cpp" |
9211 | ) ) { |
9212 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
9213 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9214 | DFA_PRODUCTION__SET_VALID(REGD, mulD_reg_mem_rule, c) |
9215 | } |
9216 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9217 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9218 | } |
9219 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9220 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9221 | } |
9222 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9223 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9224 | } |
9225 | } |
9226 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
9227 | ( |
9228 | #line 2504 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9229 | UseAVX > 0 |
9230 | #line 9230 "dfa_x86.cpp" |
9231 | ) ) { |
9232 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
9233 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9234 | DFA_PRODUCTION__SET_VALID(REGD, mulD_reg_reg_rule, c) |
9235 | } |
9236 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9237 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9238 | } |
9239 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9240 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9241 | } |
9242 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9243 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9244 | } |
9245 | } |
9246 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
9247 | ( |
9248 | #line 2493 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9249 | (UseSSE>=2) && (UseAVX == 0) |
9250 | #line 9250 "dfa_x86.cpp" |
9251 | ) ) { |
9252 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
9253 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9254 | DFA_PRODUCTION__SET_VALID(REGD, mulD_imm_rule, c) |
9255 | } |
9256 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9257 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9258 | } |
9259 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9260 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9261 | } |
9262 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9263 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9264 | } |
9265 | } |
9266 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGD) && |
9267 | ( |
9268 | #line 2481 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9269 | (UseSSE>=2) && (UseAVX == 0) |
9270 | #line 9270 "dfa_x86.cpp" |
9271 | ) ) { |
9272 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+_kids[1]->_cost[REGD]+150; |
9273 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9274 | DFA_PRODUCTION__SET_VALID(REGD, mulD_mem_0_rule, c) |
9275 | } |
9276 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9277 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9278 | } |
9279 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9280 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9281 | } |
9282 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9283 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9284 | } |
9285 | } |
9286 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
9287 | ( |
9288 | #line 2481 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9289 | (UseSSE>=2) && (UseAVX == 0) |
9290 | #line 9290 "dfa_x86.cpp" |
9291 | ) ) { |
9292 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
9293 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9294 | DFA_PRODUCTION__SET_VALID(REGD, mulD_mem_rule, c) |
9295 | } |
9296 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9297 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9298 | } |
9299 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9300 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9301 | } |
9302 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9303 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9304 | } |
9305 | } |
9306 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
9307 | ( |
9308 | #line 2469 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9309 | (UseSSE>=2) && (UseAVX == 0) |
9310 | #line 9310 "dfa_x86.cpp" |
9311 | ) ) { |
9312 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
9313 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9314 | DFA_PRODUCTION__SET_VALID(REGD, mulD_reg_rule, c) |
9315 | } |
9316 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9317 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9318 | } |
9319 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9320 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9321 | } |
9322 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9323 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9324 | } |
9325 | } |
9326 | } |
9327 | void State::_sub_Op_MulF(const Node *n){ |
9328 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
9329 | ( |
9330 | #line 2457 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9331 | UseAVX > 0 |
9332 | #line 9332 "dfa_x86.cpp" |
9333 | ) ) { |
9334 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
9335 | DFA_PRODUCTION__SET_VALID(REGF, mulF_reg_imm_rule, c) |
9336 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9337 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9338 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9339 | } |
9340 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGF) && |
9341 | ( |
9342 | #line 2445 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9343 | UseAVX > 0 |
9344 | #line 9344 "dfa_x86.cpp" |
9345 | ) ) { |
9346 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+_kids[1]->_cost[REGF]+150; |
9347 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9348 | DFA_PRODUCTION__SET_VALID(REGF, mulF_reg_mem_0_rule, c) |
9349 | } |
9350 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9351 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9352 | } |
9353 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9354 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9355 | } |
9356 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9357 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9358 | } |
9359 | } |
9360 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
9361 | ( |
9362 | #line 2445 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9363 | UseAVX > 0 |
9364 | #line 9364 "dfa_x86.cpp" |
9365 | ) ) { |
9366 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
9367 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9368 | DFA_PRODUCTION__SET_VALID(REGF, mulF_reg_mem_rule, c) |
9369 | } |
9370 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9371 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9372 | } |
9373 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9374 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9375 | } |
9376 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9377 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9378 | } |
9379 | } |
9380 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
9381 | ( |
9382 | #line 2433 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9383 | UseAVX > 0 |
9384 | #line 9384 "dfa_x86.cpp" |
9385 | ) ) { |
9386 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
9387 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9388 | DFA_PRODUCTION__SET_VALID(REGF, mulF_reg_reg_rule, c) |
9389 | } |
9390 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9391 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9392 | } |
9393 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9394 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9395 | } |
9396 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9397 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9398 | } |
9399 | } |
9400 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
9401 | ( |
9402 | #line 2422 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9403 | (UseSSE>=1) && (UseAVX == 0) |
9404 | #line 9404 "dfa_x86.cpp" |
9405 | ) ) { |
9406 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
9407 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9408 | DFA_PRODUCTION__SET_VALID(REGF, mulF_imm_rule, c) |
9409 | } |
9410 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9411 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9412 | } |
9413 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9414 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9415 | } |
9416 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9417 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9418 | } |
9419 | } |
9420 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && STATE__VALID_CHILD(_kids[1], REGF) && |
9421 | ( |
9422 | #line 2410 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9423 | (UseSSE>=1) && (UseAVX == 0) |
9424 | #line 9424 "dfa_x86.cpp" |
9425 | ) ) { |
9426 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+_kids[1]->_cost[REGF]+150; |
9427 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9428 | DFA_PRODUCTION__SET_VALID(REGF, mulF_mem_0_rule, c) |
9429 | } |
9430 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9431 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9432 | } |
9433 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9434 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9435 | } |
9436 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9437 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9438 | } |
9439 | } |
9440 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
9441 | ( |
9442 | #line 2410 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9443 | (UseSSE>=1) && (UseAVX == 0) |
9444 | #line 9444 "dfa_x86.cpp" |
9445 | ) ) { |
9446 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
9447 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9448 | DFA_PRODUCTION__SET_VALID(REGF, mulF_mem_rule, c) |
9449 | } |
9450 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9451 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9452 | } |
9453 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9454 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9455 | } |
9456 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9457 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9458 | } |
9459 | } |
9460 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
9461 | ( |
9462 | #line 2398 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9463 | (UseSSE>=1) && (UseAVX == 0) |
9464 | #line 9464 "dfa_x86.cpp" |
9465 | ) ) { |
9466 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
9467 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9468 | DFA_PRODUCTION__SET_VALID(REGF, mulF_reg_rule, c) |
9469 | } |
9470 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9471 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9472 | } |
9473 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9474 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9475 | } |
9476 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9477 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9478 | } |
9479 | } |
9480 | } |
9481 | void State::_sub_Op_MulHiL(const Node *n){ |
9482 | if( STATE__VALID_CHILD(_kids[0], NO_RAX_REGL) && STATE__VALID_CHILD(_kids[1], RAX_REGL) ) { |
9483 | unsigned int c = _kids[0]->_cost[NO_RAX_REGL]+_kids[1]->_cost[RAX_REGL]+300; |
9484 | DFA_PRODUCTION__SET_VALID(RDX_REGL, mulHiL_rReg_rule, c) |
9485 | DFA_PRODUCTION__SET_VALID(RREGL, mulHiL_rReg_rule, c) |
9486 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9487 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, mulHiL_rReg_rule, c) |
9488 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, mulHiL_rReg_rule, c) |
9489 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, mulHiL_rReg_rule, c) |
9490 | DFA_PRODUCTION__SET_VALID(RAX_REGL, mulHiL_rReg_rule, c) |
9491 | DFA_PRODUCTION__SET_VALID(RCX_REGL, mulHiL_rReg_rule, c) |
9492 | } |
9493 | } |
9494 | void State::_sub_Op_MulI(const Node *n){ |
9495 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
9496 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI]+300; |
9497 | DFA_PRODUCTION__SET_VALID(RREGI, mulI_mem_imm_rule, c) |
9498 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9499 | DFA_PRODUCTION__SET_VALID(RAX_REGI, mulI_mem_imm_rule, c) |
9500 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, mulI_mem_imm_rule, c) |
9501 | DFA_PRODUCTION__SET_VALID(RBX_REGI, mulI_mem_imm_rule, c) |
9502 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, mulI_mem_imm_rule, c) |
9503 | DFA_PRODUCTION__SET_VALID(RCX_REGI, mulI_mem_imm_rule, c) |
9504 | DFA_PRODUCTION__SET_VALID(RDX_REGI, mulI_mem_imm_rule, c) |
9505 | DFA_PRODUCTION__SET_VALID(RDI_REGI, mulI_mem_imm_rule, c) |
9506 | } |
9507 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
9508 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]+350; |
9509 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9510 | DFA_PRODUCTION__SET_VALID(RREGI, mulI_mem_0_rule, c) |
9511 | } |
9512 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9513 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9514 | } |
9515 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9516 | DFA_PRODUCTION__SET_VALID(RAX_REGI, mulI_mem_0_rule, c) |
9517 | } |
9518 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9519 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, mulI_mem_0_rule, c) |
9520 | } |
9521 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9522 | DFA_PRODUCTION__SET_VALID(RBX_REGI, mulI_mem_0_rule, c) |
9523 | } |
9524 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9525 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, mulI_mem_0_rule, c) |
9526 | } |
9527 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9528 | DFA_PRODUCTION__SET_VALID(RCX_REGI, mulI_mem_0_rule, c) |
9529 | } |
9530 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9531 | DFA_PRODUCTION__SET_VALID(RDX_REGI, mulI_mem_0_rule, c) |
9532 | } |
9533 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9534 | DFA_PRODUCTION__SET_VALID(RDI_REGI, mulI_mem_0_rule, c) |
9535 | } |
9536 | } |
9537 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
9538 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+350; |
9539 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9540 | DFA_PRODUCTION__SET_VALID(RREGI, mulI_mem_rule, c) |
9541 | } |
9542 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9543 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9544 | } |
9545 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9546 | DFA_PRODUCTION__SET_VALID(RAX_REGI, mulI_mem_rule, c) |
9547 | } |
9548 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9549 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, mulI_mem_rule, c) |
9550 | } |
9551 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9552 | DFA_PRODUCTION__SET_VALID(RBX_REGI, mulI_mem_rule, c) |
9553 | } |
9554 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9555 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, mulI_mem_rule, c) |
9556 | } |
9557 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9558 | DFA_PRODUCTION__SET_VALID(RCX_REGI, mulI_mem_rule, c) |
9559 | } |
9560 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9561 | DFA_PRODUCTION__SET_VALID(RDX_REGI, mulI_mem_rule, c) |
9562 | } |
9563 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9564 | DFA_PRODUCTION__SET_VALID(RDI_REGI, mulI_mem_rule, c) |
9565 | } |
9566 | } |
9567 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
9568 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+300; |
9569 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9570 | DFA_PRODUCTION__SET_VALID(RREGI, mulI_rReg_imm_rule, c) |
9571 | } |
9572 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9573 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9574 | } |
9575 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9576 | DFA_PRODUCTION__SET_VALID(RAX_REGI, mulI_rReg_imm_rule, c) |
9577 | } |
9578 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9579 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, mulI_rReg_imm_rule, c) |
9580 | } |
9581 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9582 | DFA_PRODUCTION__SET_VALID(RBX_REGI, mulI_rReg_imm_rule, c) |
9583 | } |
9584 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9585 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, mulI_rReg_imm_rule, c) |
9586 | } |
9587 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9588 | DFA_PRODUCTION__SET_VALID(RCX_REGI, mulI_rReg_imm_rule, c) |
9589 | } |
9590 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9591 | DFA_PRODUCTION__SET_VALID(RDX_REGI, mulI_rReg_imm_rule, c) |
9592 | } |
9593 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9594 | DFA_PRODUCTION__SET_VALID(RDI_REGI, mulI_rReg_imm_rule, c) |
9595 | } |
9596 | } |
9597 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
9598 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+300; |
9599 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9600 | DFA_PRODUCTION__SET_VALID(RREGI, mulI_rReg_rule, c) |
9601 | } |
9602 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9603 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9604 | } |
9605 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9606 | DFA_PRODUCTION__SET_VALID(RAX_REGI, mulI_rReg_rule, c) |
9607 | } |
9608 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9609 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, mulI_rReg_rule, c) |
9610 | } |
9611 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9612 | DFA_PRODUCTION__SET_VALID(RBX_REGI, mulI_rReg_rule, c) |
9613 | } |
9614 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9615 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, mulI_rReg_rule, c) |
9616 | } |
9617 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9618 | DFA_PRODUCTION__SET_VALID(RCX_REGI, mulI_rReg_rule, c) |
9619 | } |
9620 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9621 | DFA_PRODUCTION__SET_VALID(RDX_REGI, mulI_rReg_rule, c) |
9622 | } |
9623 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9624 | DFA_PRODUCTION__SET_VALID(RDI_REGI, mulI_rReg_rule, c) |
9625 | } |
9626 | } |
9627 | } |
9628 | void State::_sub_Op_MulL(const Node *n){ |
9629 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
9630 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML32]+300; |
9631 | DFA_PRODUCTION__SET_VALID(RREGL, mulL_mem_imm_rule, c) |
9632 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9633 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, mulL_mem_imm_rule, c) |
9634 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, mulL_mem_imm_rule, c) |
9635 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, mulL_mem_imm_rule, c) |
9636 | DFA_PRODUCTION__SET_VALID(RAX_REGL, mulL_mem_imm_rule, c) |
9637 | DFA_PRODUCTION__SET_VALID(RCX_REGL, mulL_mem_imm_rule, c) |
9638 | DFA_PRODUCTION__SET_VALID(RDX_REGL, mulL_mem_imm_rule, c) |
9639 | } |
9640 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
9641 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]+350; |
9642 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
9643 | DFA_PRODUCTION__SET_VALID(RREGL, mulL_mem_0_rule, c) |
9644 | } |
9645 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
9646 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9647 | } |
9648 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
9649 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, mulL_mem_0_rule, c) |
9650 | } |
9651 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
9652 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, mulL_mem_0_rule, c) |
9653 | } |
9654 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
9655 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, mulL_mem_0_rule, c) |
9656 | } |
9657 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
9658 | DFA_PRODUCTION__SET_VALID(RAX_REGL, mulL_mem_0_rule, c) |
9659 | } |
9660 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
9661 | DFA_PRODUCTION__SET_VALID(RCX_REGL, mulL_mem_0_rule, c) |
9662 | } |
9663 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
9664 | DFA_PRODUCTION__SET_VALID(RDX_REGL, mulL_mem_0_rule, c) |
9665 | } |
9666 | } |
9667 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
9668 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+350; |
9669 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
9670 | DFA_PRODUCTION__SET_VALID(RREGL, mulL_mem_rule, c) |
9671 | } |
9672 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
9673 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9674 | } |
9675 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
9676 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, mulL_mem_rule, c) |
9677 | } |
9678 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
9679 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, mulL_mem_rule, c) |
9680 | } |
9681 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
9682 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, mulL_mem_rule, c) |
9683 | } |
9684 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
9685 | DFA_PRODUCTION__SET_VALID(RAX_REGL, mulL_mem_rule, c) |
9686 | } |
9687 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
9688 | DFA_PRODUCTION__SET_VALID(RCX_REGL, mulL_mem_rule, c) |
9689 | } |
9690 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
9691 | DFA_PRODUCTION__SET_VALID(RDX_REGL, mulL_mem_rule, c) |
9692 | } |
9693 | } |
9694 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
9695 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+300; |
9696 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
9697 | DFA_PRODUCTION__SET_VALID(RREGL, mulL_rReg_imm_rule, c) |
9698 | } |
9699 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
9700 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9701 | } |
9702 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
9703 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, mulL_rReg_imm_rule, c) |
9704 | } |
9705 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
9706 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, mulL_rReg_imm_rule, c) |
9707 | } |
9708 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
9709 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, mulL_rReg_imm_rule, c) |
9710 | } |
9711 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
9712 | DFA_PRODUCTION__SET_VALID(RAX_REGL, mulL_rReg_imm_rule, c) |
9713 | } |
9714 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
9715 | DFA_PRODUCTION__SET_VALID(RCX_REGL, mulL_rReg_imm_rule, c) |
9716 | } |
9717 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
9718 | DFA_PRODUCTION__SET_VALID(RDX_REGL, mulL_rReg_imm_rule, c) |
9719 | } |
9720 | } |
9721 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
9722 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+300; |
9723 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
9724 | DFA_PRODUCTION__SET_VALID(RREGL, mulL_rReg_rule, c) |
9725 | } |
9726 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
9727 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
9728 | } |
9729 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
9730 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, mulL_rReg_rule, c) |
9731 | } |
9732 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
9733 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, mulL_rReg_rule, c) |
9734 | } |
9735 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
9736 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, mulL_rReg_rule, c) |
9737 | } |
9738 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
9739 | DFA_PRODUCTION__SET_VALID(RAX_REGL, mulL_rReg_rule, c) |
9740 | } |
9741 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
9742 | DFA_PRODUCTION__SET_VALID(RCX_REGL, mulL_rReg_rule, c) |
9743 | } |
9744 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
9745 | DFA_PRODUCTION__SET_VALID(RDX_REGL, mulL_rReg_rule, c) |
9746 | } |
9747 | } |
9748 | } |
9749 | void State::_sub_Op_NegD(const Node *n){ |
9750 | if( STATE__VALID_CHILD(_kids[0], VLREGD) && |
9751 | ( |
9752 | #line 2767 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9753 | UseAVX > 0 |
9754 | #line 9754 "dfa_x86.cpp" |
9755 | ) ) { |
9756 | unsigned int c = _kids[0]->_cost[VLREGD]+150; |
9757 | DFA_PRODUCTION__SET_VALID(VLREGD, negD_reg_reg_rule, c) |
9758 | DFA_PRODUCTION__SET_VALID(REGD, MoveVL2D_rule, c+100) |
9759 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100+100) |
9760 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+100+95) |
9761 | } |
9762 | if( STATE__VALID_CHILD(_kids[0], REGD) && |
9763 | ( |
9764 | #line 2755 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9765 | (UseSSE>=2) && (UseAVX == 0) |
9766 | #line 9766 "dfa_x86.cpp" |
9767 | ) ) { |
9768 | unsigned int c = _kids[0]->_cost[REGD]+150; |
9769 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
9770 | DFA_PRODUCTION__SET_VALID(REGD, negD_reg_rule, c) |
9771 | } |
9772 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
9773 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
9774 | } |
9775 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
9776 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
9777 | } |
9778 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
9779 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
9780 | } |
9781 | } |
9782 | } |
9783 | void State::_sub_Op_NegF(const Node *n){ |
9784 | if( STATE__VALID_CHILD(_kids[0], VLREGF) && |
9785 | ( |
9786 | #line 2743 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9787 | UseAVX > 0 |
9788 | #line 9788 "dfa_x86.cpp" |
9789 | ) ) { |
9790 | unsigned int c = _kids[0]->_cost[VLREGF]+150; |
9791 | DFA_PRODUCTION__SET_VALID(VLREGF, negF_reg_reg_rule, c) |
9792 | DFA_PRODUCTION__SET_VALID(REGF, MoveVL2F_rule, c+100) |
9793 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100+100) |
9794 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+100+95) |
9795 | } |
9796 | if( STATE__VALID_CHILD(_kids[0], REGF) && |
9797 | ( |
9798 | #line 2732 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
9799 | (UseSSE>=1) && (UseAVX == 0) |
9800 | #line 9800 "dfa_x86.cpp" |
9801 | ) ) { |
9802 | unsigned int c = _kids[0]->_cost[REGF]+150; |
9803 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
9804 | DFA_PRODUCTION__SET_VALID(REGF, negF_reg_rule, c) |
9805 | } |
9806 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
9807 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
9808 | } |
9809 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
9810 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
9811 | } |
9812 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
9813 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
9814 | } |
9815 | } |
9816 | } |
9817 | void State::_sub_Op_OnSpinWait(const Node *n){ |
9818 | { |
9819 | unsigned int c = 200; |
9820 | DFA_PRODUCTION__SET_VALID(UNIVERSE, onspinwait_rule, c) |
9821 | } |
9822 | } |
9823 | void State::_sub_Op_OrI(const Node *n){ |
9824 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
9825 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI]; |
9826 | DFA_PRODUCTION__SET_VALID(_ORI__LOADI_MEMORY__IMMI, _OrI__LoadI_memory__immI_rule, c) |
9827 | } |
9828 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
9829 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]; |
9830 | DFA_PRODUCTION__SET_VALID(_ORI_RREGI__LOADI_MEMORY_, _OrI_rRegI__LoadI_memory__rule, c) |
9831 | } |
9832 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
9833 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]; |
9834 | DFA_PRODUCTION__SET_VALID(_ORI__LOADI_MEMORY__RREGI, _OrI__LoadI_memory__rRegI_rule, c) |
9835 | } |
9836 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADB_MEMORY_) ) { |
9837 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADB_MEMORY_]; |
9838 | DFA_PRODUCTION__SET_VALID(_ORI_RREGI__LOADB_MEMORY_, _OrI_rRegI__LoadB_memory__rule, c) |
9839 | } |
9840 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
9841 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+_kids[1]->_cost[RREGI]; |
9842 | DFA_PRODUCTION__SET_VALID(_ORI__LOADB_MEMORY__RREGI, _OrI__LoadB_memory__rRegI_rule, c) |
9843 | } |
9844 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
9845 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]+125; |
9846 | DFA_PRODUCTION__SET_VALID(RREGI, orI_rReg_mem_0_rule, c) |
9847 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9848 | DFA_PRODUCTION__SET_VALID(RAX_REGI, orI_rReg_mem_0_rule, c) |
9849 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, orI_rReg_mem_0_rule, c) |
9850 | DFA_PRODUCTION__SET_VALID(RBX_REGI, orI_rReg_mem_0_rule, c) |
9851 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, orI_rReg_mem_0_rule, c) |
9852 | DFA_PRODUCTION__SET_VALID(RCX_REGI, orI_rReg_mem_0_rule, c) |
9853 | DFA_PRODUCTION__SET_VALID(RDX_REGI, orI_rReg_mem_0_rule, c) |
9854 | DFA_PRODUCTION__SET_VALID(RDI_REGI, orI_rReg_mem_0_rule, c) |
9855 | } |
9856 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
9857 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
9858 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9859 | DFA_PRODUCTION__SET_VALID(RREGI, orI_rReg_mem_rule, c) |
9860 | } |
9861 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9862 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9863 | } |
9864 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9865 | DFA_PRODUCTION__SET_VALID(RAX_REGI, orI_rReg_mem_rule, c) |
9866 | } |
9867 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9868 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, orI_rReg_mem_rule, c) |
9869 | } |
9870 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9871 | DFA_PRODUCTION__SET_VALID(RBX_REGI, orI_rReg_mem_rule, c) |
9872 | } |
9873 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9874 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, orI_rReg_mem_rule, c) |
9875 | } |
9876 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9877 | DFA_PRODUCTION__SET_VALID(RCX_REGI, orI_rReg_mem_rule, c) |
9878 | } |
9879 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9880 | DFA_PRODUCTION__SET_VALID(RDX_REGI, orI_rReg_mem_rule, c) |
9881 | } |
9882 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9883 | DFA_PRODUCTION__SET_VALID(RDI_REGI, orI_rReg_mem_rule, c) |
9884 | } |
9885 | } |
9886 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
9887 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
9888 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9889 | DFA_PRODUCTION__SET_VALID(RREGI, orI_rReg_imm_rule, c) |
9890 | } |
9891 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9892 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9893 | } |
9894 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9895 | DFA_PRODUCTION__SET_VALID(RAX_REGI, orI_rReg_imm_rule, c) |
9896 | } |
9897 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9898 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, orI_rReg_imm_rule, c) |
9899 | } |
9900 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9901 | DFA_PRODUCTION__SET_VALID(RBX_REGI, orI_rReg_imm_rule, c) |
9902 | } |
9903 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9904 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, orI_rReg_imm_rule, c) |
9905 | } |
9906 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9907 | DFA_PRODUCTION__SET_VALID(RCX_REGI, orI_rReg_imm_rule, c) |
9908 | } |
9909 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9910 | DFA_PRODUCTION__SET_VALID(RDX_REGI, orI_rReg_imm_rule, c) |
9911 | } |
9912 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9913 | DFA_PRODUCTION__SET_VALID(RDI_REGI, orI_rReg_imm_rule, c) |
9914 | } |
9915 | } |
9916 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
9917 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
9918 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9919 | DFA_PRODUCTION__SET_VALID(RREGI, orI_rReg_rule, c) |
9920 | } |
9921 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9922 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9923 | } |
9924 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9925 | DFA_PRODUCTION__SET_VALID(RAX_REGI, orI_rReg_rule, c) |
9926 | } |
9927 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9928 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, orI_rReg_rule, c) |
9929 | } |
9930 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9931 | DFA_PRODUCTION__SET_VALID(RBX_REGI, orI_rReg_rule, c) |
9932 | } |
9933 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9934 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, orI_rReg_rule, c) |
9935 | } |
9936 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9937 | DFA_PRODUCTION__SET_VALID(RCX_REGI, orI_rReg_rule, c) |
9938 | } |
9939 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9940 | DFA_PRODUCTION__SET_VALID(RDX_REGI, orI_rReg_rule, c) |
9941 | } |
9942 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
9943 | DFA_PRODUCTION__SET_VALID(RDI_REGI, orI_rReg_rule, c) |
9944 | } |
9945 | } |
9946 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_NO_RCX_REGI_RCX_REGI) && |
9947 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
9948 | unsigned int c = _kids[0]->_cost[_LSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI]+_kids[1]->_cost[_URSHIFTI_NO_RCX_REGI_RCX_REGI]+100; |
9949 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9950 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rorI_rReg_Var_C32_0_rule, c) |
9951 | } |
9952 | } |
9953 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_NO_RCX_REGI_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI) && |
9954 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
9955 | unsigned int c = _kids[0]->_cost[_URSHIFTI_NO_RCX_REGI_RCX_REGI]+_kids[1]->_cost[_LSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI]+100; |
9956 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9957 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rorI_rReg_Var_C32_rule, c) |
9958 | } |
9959 | } |
9960 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_NO_RCX_REGI_RCX_REGI) && |
9961 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
9962 | unsigned int c = _kids[0]->_cost[_LSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI]+_kids[1]->_cost[_URSHIFTI_NO_RCX_REGI_RCX_REGI]+100; |
9963 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9964 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rorI_rReg_Var_C0_0_rule, c) |
9965 | } |
9966 | } |
9967 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_NO_RCX_REGI_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI) && |
9968 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
9969 | unsigned int c = _kids[0]->_cost[_URSHIFTI_NO_RCX_REGI_RCX_REGI]+_kids[1]->_cost[_LSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI]+100; |
9970 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9971 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rorI_rReg_Var_C0_rule, c) |
9972 | } |
9973 | } |
9974 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_RREGI_IMMI_M1) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_RREGI_IMMI1) && |
9975 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
9976 | unsigned int c = _kids[0]->_cost[_LSHIFTI_RREGI_IMMI_M1]+_kids[1]->_cost[_URSHIFTI_RREGI_IMMI1]+100; |
9977 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
9978 | DFA_PRODUCTION__SET_VALID(RREGI, rorI_rReg_i1_0_rule, c) |
9979 | } |
9980 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
9981 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
9982 | } |
9983 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
9984 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rorI_rReg_i1_0_rule, c) |
9985 | } |
9986 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
9987 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rorI_rReg_i1_0_rule, c) |
9988 | } |
9989 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
9990 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rorI_rReg_i1_0_rule, c) |
9991 | } |
9992 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
9993 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rorI_rReg_i1_0_rule, c) |
9994 | } |
9995 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
9996 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rorI_rReg_i1_0_rule, c) |
9997 | } |
9998 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
9999 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rorI_rReg_i1_0_rule, c) |
10000 | } |
10001 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10002 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rorI_rReg_i1_0_rule, c) |
10003 | } |
10004 | } |
10005 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_RREGI_IMMI1) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_RREGI_IMMI_M1) && |
10006 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10007 | unsigned int c = _kids[0]->_cost[_URSHIFTI_RREGI_IMMI1]+_kids[1]->_cost[_LSHIFTI_RREGI_IMMI_M1]+100; |
10008 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10009 | DFA_PRODUCTION__SET_VALID(RREGI, rorI_rReg_i1_rule, c) |
10010 | } |
10011 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10012 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10013 | } |
10014 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10015 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rorI_rReg_i1_rule, c) |
10016 | } |
10017 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10018 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rorI_rReg_i1_rule, c) |
10019 | } |
10020 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10021 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rorI_rReg_i1_rule, c) |
10022 | } |
10023 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10024 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rorI_rReg_i1_rule, c) |
10025 | } |
10026 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10027 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rorI_rReg_i1_rule, c) |
10028 | } |
10029 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10030 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rorI_rReg_i1_rule, c) |
10031 | } |
10032 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10033 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rorI_rReg_i1_rule, c) |
10034 | } |
10035 | } |
10036 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_NO_RCX_REGI_RCX_REGI) && |
10037 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
10038 | unsigned int c = _kids[0]->_cost[_URSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI]+_kids[1]->_cost[_LSHIFTI_NO_RCX_REGI_RCX_REGI]+100; |
10039 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10040 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_Var_C32_0_rule, c) |
10041 | } |
10042 | } |
10043 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_NO_RCX_REGI_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI) && |
10044 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
10045 | unsigned int c = _kids[0]->_cost[_LSHIFTI_NO_RCX_REGI_RCX_REGI]+_kids[1]->_cost[_URSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI]+100; |
10046 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10047 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_Var_C32_rule, c) |
10048 | } |
10049 | } |
10050 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_NO_RCX_REGI_RCX_REGI) && |
10051 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
10052 | unsigned int c = _kids[0]->_cost[_URSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI]+_kids[1]->_cost[_LSHIFTI_NO_RCX_REGI_RCX_REGI]+100; |
10053 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10054 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_Var_C0_0_rule, c) |
10055 | } |
10056 | } |
10057 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_NO_RCX_REGI_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI) && |
10058 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
10059 | unsigned int c = _kids[0]->_cost[_LSHIFTI_NO_RCX_REGI_RCX_REGI]+_kids[1]->_cost[_URSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI]+100; |
10060 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10061 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_Var_C0_rule, c) |
10062 | } |
10063 | } |
10064 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_RREGI_IMMI8) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_RREGI_IMMI8) && |
10065 | ( |
10066 | #line 9241 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10067 | 0 == ((n->in(1)->in(2)->get_int() + n->in(2)->in(2)->get_int()) & 0x1f) |
10068 | #line 10068 "dfa_x86.cpp" |
10069 | ) && /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10070 | unsigned int c = _kids[0]->_cost[_URSHIFTI_RREGI_IMMI8]+_kids[1]->_cost[_LSHIFTI_RREGI_IMMI8]+100; |
10071 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10072 | DFA_PRODUCTION__SET_VALID(RREGI, rolI_rReg_i8_0_rule, c) |
10073 | } |
10074 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10075 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10076 | } |
10077 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10078 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rolI_rReg_i8_0_rule, c) |
10079 | } |
10080 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10081 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_i8_0_rule, c) |
10082 | } |
10083 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10084 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rolI_rReg_i8_0_rule, c) |
10085 | } |
10086 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10087 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rolI_rReg_i8_0_rule, c) |
10088 | } |
10089 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10090 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rolI_rReg_i8_0_rule, c) |
10091 | } |
10092 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10093 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rolI_rReg_i8_0_rule, c) |
10094 | } |
10095 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10096 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rolI_rReg_i8_0_rule, c) |
10097 | } |
10098 | } |
10099 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_RREGI_IMMI8) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_RREGI_IMMI8) && |
10100 | ( |
10101 | #line 9241 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10102 | 0 == ((n->in(1)->in(2)->get_int() + n->in(2)->in(2)->get_int()) & 0x1f) |
10103 | #line 10103 "dfa_x86.cpp" |
10104 | ) && /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10105 | unsigned int c = _kids[0]->_cost[_LSHIFTI_RREGI_IMMI8]+_kids[1]->_cost[_URSHIFTI_RREGI_IMMI8]+100; |
10106 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10107 | DFA_PRODUCTION__SET_VALID(RREGI, rolI_rReg_i8_rule, c) |
10108 | } |
10109 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10110 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10111 | } |
10112 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10113 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rolI_rReg_i8_rule, c) |
10114 | } |
10115 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10116 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_i8_rule, c) |
10117 | } |
10118 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10119 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rolI_rReg_i8_rule, c) |
10120 | } |
10121 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10122 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rolI_rReg_i8_rule, c) |
10123 | } |
10124 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10125 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rolI_rReg_i8_rule, c) |
10126 | } |
10127 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10128 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rolI_rReg_i8_rule, c) |
10129 | } |
10130 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10131 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rolI_rReg_i8_rule, c) |
10132 | } |
10133 | } |
10134 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTI_RREGI_IMMI_M1) && STATE__VALID_CHILD(_kids[1], _LSHIFTI_RREGI_IMMI1) && |
10135 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10136 | unsigned int c = _kids[0]->_cost[_URSHIFTI_RREGI_IMMI_M1]+_kids[1]->_cost[_LSHIFTI_RREGI_IMMI1]+100; |
10137 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10138 | DFA_PRODUCTION__SET_VALID(RREGI, rolI_rReg_i1_0_rule, c) |
10139 | } |
10140 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10141 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10142 | } |
10143 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10144 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rolI_rReg_i1_0_rule, c) |
10145 | } |
10146 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10147 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_i1_0_rule, c) |
10148 | } |
10149 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10150 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rolI_rReg_i1_0_rule, c) |
10151 | } |
10152 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10153 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rolI_rReg_i1_0_rule, c) |
10154 | } |
10155 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10156 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rolI_rReg_i1_0_rule, c) |
10157 | } |
10158 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10159 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rolI_rReg_i1_0_rule, c) |
10160 | } |
10161 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10162 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rolI_rReg_i1_0_rule, c) |
10163 | } |
10164 | } |
10165 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_RREGI_IMMI1) && STATE__VALID_CHILD(_kids[1], _URSHIFTI_RREGI_IMMI_M1) && |
10166 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10167 | unsigned int c = _kids[0]->_cost[_LSHIFTI_RREGI_IMMI1]+_kids[1]->_cost[_URSHIFTI_RREGI_IMMI_M1]+100; |
10168 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10169 | DFA_PRODUCTION__SET_VALID(RREGI, rolI_rReg_i1_rule, c) |
10170 | } |
10171 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10172 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10173 | } |
10174 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10175 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rolI_rReg_i1_rule, c) |
10176 | } |
10177 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10178 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rolI_rReg_i1_rule, c) |
10179 | } |
10180 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10181 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rolI_rReg_i1_rule, c) |
10182 | } |
10183 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10184 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rolI_rReg_i1_rule, c) |
10185 | } |
10186 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10187 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rolI_rReg_i1_rule, c) |
10188 | } |
10189 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10190 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rolI_rReg_i1_rule, c) |
10191 | } |
10192 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10193 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rolI_rReg_i1_rule, c) |
10194 | } |
10195 | } |
10196 | } |
10197 | void State::_sub_Op_OrL(const Node *n){ |
10198 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
10199 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML32]; |
10200 | DFA_PRODUCTION__SET_VALID(_ORL__LOADL_MEMORY__IMML32, _OrL__LoadL_memory__immL32_rule, c) |
10201 | } |
10202 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
10203 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]; |
10204 | DFA_PRODUCTION__SET_VALID(_ORL_RREGL__LOADL_MEMORY_, _OrL_rRegL__LoadL_memory__rule, c) |
10205 | } |
10206 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10207 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]; |
10208 | DFA_PRODUCTION__SET_VALID(_ORL__LOADL_MEMORY__RREGL, _OrL__LoadL_memory__rRegL_rule, c) |
10209 | } |
10210 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10211 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]+125; |
10212 | DFA_PRODUCTION__SET_VALID(RREGL, orL_rReg_mem_0_rule, c) |
10213 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10214 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, orL_rReg_mem_0_rule, c) |
10215 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, orL_rReg_mem_0_rule, c) |
10216 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, orL_rReg_mem_0_rule, c) |
10217 | DFA_PRODUCTION__SET_VALID(RAX_REGL, orL_rReg_mem_0_rule, c) |
10218 | DFA_PRODUCTION__SET_VALID(RCX_REGL, orL_rReg_mem_0_rule, c) |
10219 | DFA_PRODUCTION__SET_VALID(RDX_REGL, orL_rReg_mem_0_rule, c) |
10220 | } |
10221 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
10222 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
10223 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10224 | DFA_PRODUCTION__SET_VALID(RREGL, orL_rReg_mem_rule, c) |
10225 | } |
10226 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10227 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10228 | } |
10229 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10230 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, orL_rReg_mem_rule, c) |
10231 | } |
10232 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10233 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, orL_rReg_mem_rule, c) |
10234 | } |
10235 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10236 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, orL_rReg_mem_rule, c) |
10237 | } |
10238 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10239 | DFA_PRODUCTION__SET_VALID(RAX_REGL, orL_rReg_mem_rule, c) |
10240 | } |
10241 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10242 | DFA_PRODUCTION__SET_VALID(RCX_REGL, orL_rReg_mem_rule, c) |
10243 | } |
10244 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10245 | DFA_PRODUCTION__SET_VALID(RDX_REGL, orL_rReg_mem_rule, c) |
10246 | } |
10247 | } |
10248 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
10249 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
10250 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10251 | DFA_PRODUCTION__SET_VALID(RREGL, orL_rReg_imm_rule, c) |
10252 | } |
10253 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10254 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10255 | } |
10256 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10257 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, orL_rReg_imm_rule, c) |
10258 | } |
10259 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10260 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, orL_rReg_imm_rule, c) |
10261 | } |
10262 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10263 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, orL_rReg_imm_rule, c) |
10264 | } |
10265 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10266 | DFA_PRODUCTION__SET_VALID(RAX_REGL, orL_rReg_imm_rule, c) |
10267 | } |
10268 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10269 | DFA_PRODUCTION__SET_VALID(RCX_REGL, orL_rReg_imm_rule, c) |
10270 | } |
10271 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10272 | DFA_PRODUCTION__SET_VALID(RDX_REGL, orL_rReg_imm_rule, c) |
10273 | } |
10274 | } |
10275 | if( STATE__VALID_CHILD(_kids[0], _CASTP2X_ANY_REGP_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10276 | unsigned int c = _kids[0]->_cost[_CASTP2X_ANY_REGP_]+_kids[1]->_cost[RREGL]+100; |
10277 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10278 | DFA_PRODUCTION__SET_VALID(RREGL, orL_rReg_castP2X_0_rule, c) |
10279 | } |
10280 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10281 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10282 | } |
10283 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10284 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, orL_rReg_castP2X_0_rule, c) |
10285 | } |
10286 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10287 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, orL_rReg_castP2X_0_rule, c) |
10288 | } |
10289 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10290 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, orL_rReg_castP2X_0_rule, c) |
10291 | } |
10292 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10293 | DFA_PRODUCTION__SET_VALID(RAX_REGL, orL_rReg_castP2X_0_rule, c) |
10294 | } |
10295 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10296 | DFA_PRODUCTION__SET_VALID(RCX_REGL, orL_rReg_castP2X_0_rule, c) |
10297 | } |
10298 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10299 | DFA_PRODUCTION__SET_VALID(RDX_REGL, orL_rReg_castP2X_0_rule, c) |
10300 | } |
10301 | } |
10302 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _CASTP2X_ANY_REGP_) ) { |
10303 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_CASTP2X_ANY_REGP_]+100; |
10304 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10305 | DFA_PRODUCTION__SET_VALID(RREGL, orL_rReg_castP2X_rule, c) |
10306 | } |
10307 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10308 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10309 | } |
10310 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10311 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, orL_rReg_castP2X_rule, c) |
10312 | } |
10313 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10314 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, orL_rReg_castP2X_rule, c) |
10315 | } |
10316 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10317 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, orL_rReg_castP2X_rule, c) |
10318 | } |
10319 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10320 | DFA_PRODUCTION__SET_VALID(RAX_REGL, orL_rReg_castP2X_rule, c) |
10321 | } |
10322 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10323 | DFA_PRODUCTION__SET_VALID(RCX_REGL, orL_rReg_castP2X_rule, c) |
10324 | } |
10325 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10326 | DFA_PRODUCTION__SET_VALID(RDX_REGL, orL_rReg_castP2X_rule, c) |
10327 | } |
10328 | } |
10329 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10330 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
10331 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10332 | DFA_PRODUCTION__SET_VALID(RREGL, orL_rReg_rule, c) |
10333 | } |
10334 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10335 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10336 | } |
10337 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10338 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, orL_rReg_rule, c) |
10339 | } |
10340 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10341 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, orL_rReg_rule, c) |
10342 | } |
10343 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10344 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, orL_rReg_rule, c) |
10345 | } |
10346 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10347 | DFA_PRODUCTION__SET_VALID(RAX_REGL, orL_rReg_rule, c) |
10348 | } |
10349 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10350 | DFA_PRODUCTION__SET_VALID(RCX_REGL, orL_rReg_rule, c) |
10351 | } |
10352 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10353 | DFA_PRODUCTION__SET_VALID(RDX_REGL, orL_rReg_rule, c) |
10354 | } |
10355 | } |
10356 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_NO_RCX_REGL_RCX_REGI) && |
10357 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
10358 | unsigned int c = _kids[0]->_cost[_LSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI]+_kids[1]->_cost[_URSHIFTL_NO_RCX_REGL_RCX_REGI]+100; |
10359 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10360 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rorL_rReg_Var_C64_0_rule, c) |
10361 | } |
10362 | } |
10363 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_NO_RCX_REGL_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI) && |
10364 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
10365 | unsigned int c = _kids[0]->_cost[_URSHIFTL_NO_RCX_REGL_RCX_REGI]+_kids[1]->_cost[_LSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI]+100; |
10366 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10367 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rorL_rReg_Var_C64_rule, c) |
10368 | } |
10369 | } |
10370 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_NO_RCX_REGL_RCX_REGI) && |
10371 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
10372 | unsigned int c = _kids[0]->_cost[_LSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI]+_kids[1]->_cost[_URSHIFTL_NO_RCX_REGL_RCX_REGI]+100; |
10373 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10374 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rorL_rReg_Var_C0_0_rule, c) |
10375 | } |
10376 | } |
10377 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_NO_RCX_REGL_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI) && |
10378 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
10379 | unsigned int c = _kids[0]->_cost[_URSHIFTL_NO_RCX_REGL_RCX_REGI]+_kids[1]->_cost[_LSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI]+100; |
10380 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10381 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rorL_rReg_Var_C0_rule, c) |
10382 | } |
10383 | } |
10384 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_RREGL_IMMI_M1) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_RREGL_IMMI1) && |
10385 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10386 | unsigned int c = _kids[0]->_cost[_LSHIFTL_RREGL_IMMI_M1]+_kids[1]->_cost[_URSHIFTL_RREGL_IMMI1]+100; |
10387 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10388 | DFA_PRODUCTION__SET_VALID(RREGL, rorL_rReg_i1_0_rule, c) |
10389 | } |
10390 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10391 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10392 | } |
10393 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10394 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rorL_rReg_i1_0_rule, c) |
10395 | } |
10396 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10397 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rorL_rReg_i1_0_rule, c) |
10398 | } |
10399 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10400 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rorL_rReg_i1_0_rule, c) |
10401 | } |
10402 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10403 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rorL_rReg_i1_0_rule, c) |
10404 | } |
10405 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10406 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rorL_rReg_i1_0_rule, c) |
10407 | } |
10408 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10409 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rorL_rReg_i1_0_rule, c) |
10410 | } |
10411 | } |
10412 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_RREGL_IMMI1) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI_M1) && |
10413 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10414 | unsigned int c = _kids[0]->_cost[_URSHIFTL_RREGL_IMMI1]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI_M1]+100; |
10415 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10416 | DFA_PRODUCTION__SET_VALID(RREGL, rorL_rReg_i1_rule, c) |
10417 | } |
10418 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10419 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10420 | } |
10421 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10422 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rorL_rReg_i1_rule, c) |
10423 | } |
10424 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10425 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rorL_rReg_i1_rule, c) |
10426 | } |
10427 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10428 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rorL_rReg_i1_rule, c) |
10429 | } |
10430 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10431 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rorL_rReg_i1_rule, c) |
10432 | } |
10433 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10434 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rorL_rReg_i1_rule, c) |
10435 | } |
10436 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10437 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rorL_rReg_i1_rule, c) |
10438 | } |
10439 | } |
10440 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_NO_RCX_REGL_RCX_REGI) && |
10441 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
10442 | unsigned int c = _kids[0]->_cost[_URSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI]+_kids[1]->_cost[_LSHIFTL_NO_RCX_REGL_RCX_REGI]+100; |
10443 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10444 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_Var_C64_0_rule, c) |
10445 | } |
10446 | } |
10447 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_NO_RCX_REGL_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI) && |
10448 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
10449 | unsigned int c = _kids[0]->_cost[_LSHIFTL_NO_RCX_REGL_RCX_REGI]+_kids[1]->_cost[_URSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI]+100; |
10450 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10451 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_Var_C64_rule, c) |
10452 | } |
10453 | } |
10454 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_NO_RCX_REGL_RCX_REGI) && |
10455 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_kids[1]->_leaf == _kids[1]->_kids[1]->_leaf) ) { |
10456 | unsigned int c = _kids[0]->_cost[_URSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI]+_kids[1]->_cost[_LSHIFTL_NO_RCX_REGL_RCX_REGI]+100; |
10457 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10458 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_Var_C0_0_rule, c) |
10459 | } |
10460 | } |
10461 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_NO_RCX_REGL_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI) && |
10462 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) && /*shift*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_kids[1]->_kids[1]->_leaf) ) { |
10463 | unsigned int c = _kids[0]->_cost[_LSHIFTL_NO_RCX_REGL_RCX_REGI]+_kids[1]->_cost[_URSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI]+100; |
10464 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10465 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_Var_C0_rule, c) |
10466 | } |
10467 | } |
10468 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_RREGL_IMMI8) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI8) && |
10469 | ( |
10470 | #line 9386 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10471 | 0 == ((n->in(1)->in(2)->get_int() + n->in(2)->in(2)->get_int()) & 0x3f) |
10472 | #line 10472 "dfa_x86.cpp" |
10473 | ) && /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10474 | unsigned int c = _kids[0]->_cost[_URSHIFTL_RREGL_IMMI8]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI8]+100; |
10475 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10476 | DFA_PRODUCTION__SET_VALID(RREGL, rolL_rReg_i8_0_rule, c) |
10477 | } |
10478 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10479 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10480 | } |
10481 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10482 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rolL_rReg_i8_0_rule, c) |
10483 | } |
10484 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10485 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rolL_rReg_i8_0_rule, c) |
10486 | } |
10487 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10488 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_i8_0_rule, c) |
10489 | } |
10490 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10491 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rolL_rReg_i8_0_rule, c) |
10492 | } |
10493 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10494 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rolL_rReg_i8_0_rule, c) |
10495 | } |
10496 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10497 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rolL_rReg_i8_0_rule, c) |
10498 | } |
10499 | } |
10500 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_RREGL_IMMI8) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_RREGL_IMMI8) && |
10501 | ( |
10502 | #line 9386 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10503 | 0 == ((n->in(1)->in(2)->get_int() + n->in(2)->in(2)->get_int()) & 0x3f) |
10504 | #line 10504 "dfa_x86.cpp" |
10505 | ) && /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10506 | unsigned int c = _kids[0]->_cost[_LSHIFTL_RREGL_IMMI8]+_kids[1]->_cost[_URSHIFTL_RREGL_IMMI8]+100; |
10507 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10508 | DFA_PRODUCTION__SET_VALID(RREGL, rolL_rReg_i8_rule, c) |
10509 | } |
10510 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10511 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10512 | } |
10513 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10514 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rolL_rReg_i8_rule, c) |
10515 | } |
10516 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10517 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rolL_rReg_i8_rule, c) |
10518 | } |
10519 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10520 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_i8_rule, c) |
10521 | } |
10522 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10523 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rolL_rReg_i8_rule, c) |
10524 | } |
10525 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10526 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rolL_rReg_i8_rule, c) |
10527 | } |
10528 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10529 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rolL_rReg_i8_rule, c) |
10530 | } |
10531 | } |
10532 | if( STATE__VALID_CHILD(_kids[0], _URSHIFTL_RREGL_IMMI_M1) && STATE__VALID_CHILD(_kids[1], _LSHIFTL_RREGL_IMMI1) && |
10533 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10534 | unsigned int c = _kids[0]->_cost[_URSHIFTL_RREGL_IMMI_M1]+_kids[1]->_cost[_LSHIFTL_RREGL_IMMI1]+100; |
10535 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10536 | DFA_PRODUCTION__SET_VALID(RREGL, rolL_rReg_i1_0_rule, c) |
10537 | } |
10538 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10539 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10540 | } |
10541 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10542 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rolL_rReg_i1_0_rule, c) |
10543 | } |
10544 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10545 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rolL_rReg_i1_0_rule, c) |
10546 | } |
10547 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10548 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_i1_0_rule, c) |
10549 | } |
10550 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10551 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rolL_rReg_i1_0_rule, c) |
10552 | } |
10553 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10554 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rolL_rReg_i1_0_rule, c) |
10555 | } |
10556 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10557 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rolL_rReg_i1_0_rule, c) |
10558 | } |
10559 | } |
10560 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTL_RREGL_IMMI1) && STATE__VALID_CHILD(_kids[1], _URSHIFTL_RREGL_IMMI_M1) && |
10561 | /*dst*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
10562 | unsigned int c = _kids[0]->_cost[_LSHIFTL_RREGL_IMMI1]+_kids[1]->_cost[_URSHIFTL_RREGL_IMMI_M1]+100; |
10563 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
10564 | DFA_PRODUCTION__SET_VALID(RREGL, rolL_rReg_i1_rule, c) |
10565 | } |
10566 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
10567 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
10568 | } |
10569 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
10570 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rolL_rReg_i1_rule, c) |
10571 | } |
10572 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
10573 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rolL_rReg_i1_rule, c) |
10574 | } |
10575 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
10576 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rolL_rReg_i1_rule, c) |
10577 | } |
10578 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
10579 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rolL_rReg_i1_rule, c) |
10580 | } |
10581 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
10582 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rolL_rReg_i1_rule, c) |
10583 | } |
10584 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
10585 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rolL_rReg_i1_rule, c) |
10586 | } |
10587 | } |
10588 | } |
10589 | void State::_sub_Op_OverflowAddI(const Node *n){ |
10590 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
10591 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[IMMI]+100; |
10592 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowAddI_rReg_imm_rule, c) |
10593 | } |
10594 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
10595 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[RREGI]+100; |
10596 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10597 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowAddI_rReg_rule, c) |
10598 | } |
10599 | } |
10600 | } |
10601 | void State::_sub_Op_OverflowSubI(const Node *n){ |
10602 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && STATE__VALID_CHILD(_kids[1], RAX_REGI) ) { |
10603 | unsigned int c = _kids[0]->_cost[IMMI0]+_kids[1]->_cost[RAX_REGI]+100; |
10604 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowNegI_rReg_rule, c) |
10605 | } |
10606 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
10607 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
10608 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10609 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowSubI_rReg_imm_rule, c) |
10610 | } |
10611 | } |
10612 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
10613 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
10614 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10615 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowSubI_rReg_rule, c) |
10616 | } |
10617 | } |
10618 | } |
10619 | void State::_sub_Op_OverflowMulI(const Node *n){ |
10620 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
10621 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
10622 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowMulI_rReg_imm_rule, c) |
10623 | } |
10624 | if( STATE__VALID_CHILD(_kids[0], RAX_REGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
10625 | unsigned int c = _kids[0]->_cost[RAX_REGI]+_kids[1]->_cost[RREGI]+100; |
10626 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10627 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowMulI_rReg_rule, c) |
10628 | } |
10629 | } |
10630 | } |
10631 | void State::_sub_Op_OverflowAddL(const Node *n){ |
10632 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
10633 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[IMML32]+100; |
10634 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowAddL_rReg_imm_rule, c) |
10635 | } |
10636 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10637 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[RREGL]+100; |
10638 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10639 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowAddL_rReg_rule, c) |
10640 | } |
10641 | } |
10642 | } |
10643 | void State::_sub_Op_OverflowSubL(const Node *n){ |
10644 | if( STATE__VALID_CHILD(_kids[0], IMML0) && STATE__VALID_CHILD(_kids[1], RAX_REGL) ) { |
10645 | unsigned int c = _kids[0]->_cost[IMML0]+_kids[1]->_cost[RAX_REGL]+100; |
10646 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowNegL_rReg_rule, c) |
10647 | } |
10648 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
10649 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
10650 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10651 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowSubL_rReg_imm_rule, c) |
10652 | } |
10653 | } |
10654 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10655 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
10656 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10657 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowSubL_rReg_rule, c) |
10658 | } |
10659 | } |
10660 | } |
10661 | void State::_sub_Op_OverflowMulL(const Node *n){ |
10662 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
10663 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
10664 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowMulL_rReg_imm_rule, c) |
10665 | } |
10666 | if( STATE__VALID_CHILD(_kids[0], RAX_REGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
10667 | unsigned int c = _kids[0]->_cost[RAX_REGL]+_kids[1]->_cost[RREGL]+100; |
10668 | if (STATE__NOT_YET_VALID(RFLAGSREG) || _cost[RFLAGSREG] > c) { |
10669 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, overflowMulL_rReg_rule, c) |
10670 | } |
10671 | } |
10672 | } |
10673 | void State::_sub_Op_PartialSubtypeCheck(const Node *n){ |
10674 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], RAX_REGP) ) { |
10675 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[RAX_REGP]; |
10676 | DFA_PRODUCTION__SET_VALID(_PARTIALSUBTYPECHECK_RSI_REGP_RAX_REGP, _PartialSubtypeCheck_rsi_RegP_rax_RegP_rule, c) |
10677 | } |
10678 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], RAX_REGP) ) { |
10679 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[RAX_REGP]+1100; |
10680 | DFA_PRODUCTION__SET_VALID(RDI_REGP, partialSubtypeCheck_rule, c) |
10681 | DFA_PRODUCTION__SET_VALID(ANY_REGP, partialSubtypeCheck_rule, c) |
10682 | DFA_PRODUCTION__SET_VALID(INDIRECT, partialSubtypeCheck_rule, c) |
10683 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
10684 | DFA_PRODUCTION__SET_VALID(RREGP, partialSubtypeCheck_rule, c) |
10685 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
10686 | DFA_PRODUCTION__SET_VALID(RAX_REGP, partialSubtypeCheck_rule, c) |
10687 | DFA_PRODUCTION__SET_VALID(RBX_REGP, partialSubtypeCheck_rule, c) |
10688 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, partialSubtypeCheck_rule, c) |
10689 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, partialSubtypeCheck_rule, c) |
10690 | DFA_PRODUCTION__SET_VALID(RSI_REGP, partialSubtypeCheck_rule, c) |
10691 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, partialSubtypeCheck_rule, c) |
10692 | DFA_PRODUCTION__SET_VALID(R15_REGP, partialSubtypeCheck_rule, c) |
10693 | } |
10694 | } |
10695 | void State::_sub_Op_PopCountI(const Node *n){ |
10696 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
10697 | ( |
10698 | #line 6769 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10699 | UsePopCountInstruction |
10700 | #line 10700 "dfa_x86.cpp" |
10701 | ) ) { |
10702 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
10703 | DFA_PRODUCTION__SET_VALID(RREGI, popCountI_mem_rule, c) |
10704 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10705 | DFA_PRODUCTION__SET_VALID(RAX_REGI, popCountI_mem_rule, c) |
10706 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, popCountI_mem_rule, c) |
10707 | DFA_PRODUCTION__SET_VALID(RBX_REGI, popCountI_mem_rule, c) |
10708 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, popCountI_mem_rule, c) |
10709 | DFA_PRODUCTION__SET_VALID(RCX_REGI, popCountI_mem_rule, c) |
10710 | DFA_PRODUCTION__SET_VALID(RDX_REGI, popCountI_mem_rule, c) |
10711 | DFA_PRODUCTION__SET_VALID(RDI_REGI, popCountI_mem_rule, c) |
10712 | } |
10713 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
10714 | ( |
10715 | #line 6757 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10716 | UsePopCountInstruction |
10717 | #line 10717 "dfa_x86.cpp" |
10718 | ) ) { |
10719 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
10720 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10721 | DFA_PRODUCTION__SET_VALID(RREGI, popCountI_rule, c) |
10722 | } |
10723 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10724 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10725 | } |
10726 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10727 | DFA_PRODUCTION__SET_VALID(RAX_REGI, popCountI_rule, c) |
10728 | } |
10729 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10730 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, popCountI_rule, c) |
10731 | } |
10732 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10733 | DFA_PRODUCTION__SET_VALID(RBX_REGI, popCountI_rule, c) |
10734 | } |
10735 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10736 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, popCountI_rule, c) |
10737 | } |
10738 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10739 | DFA_PRODUCTION__SET_VALID(RCX_REGI, popCountI_rule, c) |
10740 | } |
10741 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10742 | DFA_PRODUCTION__SET_VALID(RDX_REGI, popCountI_rule, c) |
10743 | } |
10744 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10745 | DFA_PRODUCTION__SET_VALID(RDI_REGI, popCountI_rule, c) |
10746 | } |
10747 | } |
10748 | } |
10749 | void State::_sub_Op_PopCountL(const Node *n){ |
10750 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
10751 | ( |
10752 | #line 6795 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10753 | UsePopCountInstruction |
10754 | #line 10754 "dfa_x86.cpp" |
10755 | ) ) { |
10756 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
10757 | DFA_PRODUCTION__SET_VALID(RREGI, popCountL_mem_rule, c) |
10758 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10759 | DFA_PRODUCTION__SET_VALID(RAX_REGI, popCountL_mem_rule, c) |
10760 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, popCountL_mem_rule, c) |
10761 | DFA_PRODUCTION__SET_VALID(RBX_REGI, popCountL_mem_rule, c) |
10762 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, popCountL_mem_rule, c) |
10763 | DFA_PRODUCTION__SET_VALID(RCX_REGI, popCountL_mem_rule, c) |
10764 | DFA_PRODUCTION__SET_VALID(RDX_REGI, popCountL_mem_rule, c) |
10765 | DFA_PRODUCTION__SET_VALID(RDI_REGI, popCountL_mem_rule, c) |
10766 | } |
10767 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
10768 | ( |
10769 | #line 6782 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10770 | UsePopCountInstruction |
10771 | #line 10771 "dfa_x86.cpp" |
10772 | ) ) { |
10773 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
10774 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10775 | DFA_PRODUCTION__SET_VALID(RREGI, popCountL_rule, c) |
10776 | } |
10777 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10778 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10779 | } |
10780 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10781 | DFA_PRODUCTION__SET_VALID(RAX_REGI, popCountL_rule, c) |
10782 | } |
10783 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10784 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, popCountL_rule, c) |
10785 | } |
10786 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10787 | DFA_PRODUCTION__SET_VALID(RBX_REGI, popCountL_rule, c) |
10788 | } |
10789 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10790 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, popCountL_rule, c) |
10791 | } |
10792 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10793 | DFA_PRODUCTION__SET_VALID(RCX_REGI, popCountL_rule, c) |
10794 | } |
10795 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10796 | DFA_PRODUCTION__SET_VALID(RDX_REGI, popCountL_rule, c) |
10797 | } |
10798 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10799 | DFA_PRODUCTION__SET_VALID(RDI_REGI, popCountL_rule, c) |
10800 | } |
10801 | } |
10802 | } |
10803 | void State::_sub_Op_PopCountVI(const Node *n){ |
10804 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
10805 | ( |
10806 | #line 9836 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
10807 | VM_Version::supports_vpopcntdq() && UsePopCountInstruction && n->as_Vector()->length() == 16 |
10808 | #line 10808 "dfa_x86.cpp" |
10809 | ) ) { |
10810 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
10811 | DFA_PRODUCTION__SET_VALID(VECZ, vpopcount16I_rule, c) |
10812 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
10813 | } |
10814 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
10815 | ( |
10816 | #line 9825 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
10817 | VM_Version::supports_vpopcntdq() && UsePopCountInstruction && n->as_Vector()->length() == 8 |
10818 | #line 10818 "dfa_x86.cpp" |
10819 | ) ) { |
10820 | unsigned int c = _kids[0]->_cost[VECY]+100; |
10821 | DFA_PRODUCTION__SET_VALID(VECY, vpopcount8I_rule, c) |
10822 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
10823 | } |
10824 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
10825 | ( |
10826 | #line 9814 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
10827 | VM_Version::supports_vpopcntdq() && UsePopCountInstruction && n->as_Vector()->length() == 4 |
10828 | #line 10828 "dfa_x86.cpp" |
10829 | ) ) { |
10830 | unsigned int c = _kids[0]->_cost[VECX]+100; |
10831 | DFA_PRODUCTION__SET_VALID(VECX, vpopcount4I_rule, c) |
10832 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
10833 | } |
10834 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
10835 | ( |
10836 | #line 9803 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
10837 | VM_Version::supports_vpopcntdq() && UsePopCountInstruction && n->as_Vector()->length() == 2 |
10838 | #line 10838 "dfa_x86.cpp" |
10839 | ) ) { |
10840 | unsigned int c = _kids[0]->_cost[VECD]+100; |
10841 | DFA_PRODUCTION__SET_VALID(VECD, vpopcount2I_rule, c) |
10842 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
10843 | } |
10844 | } |
10845 | void State::_sub_Op_PrefetchAllocation(const Node *n){ |
10846 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
10847 | ( |
10848 | #line 6143 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10849 | AllocatePrefetchInstr==2 |
10850 | #line 10850 "dfa_x86.cpp" |
10851 | ) ) { |
10852 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
10853 | DFA_PRODUCTION__SET_VALID(UNIVERSE, prefetchAllocT2_rule, c) |
10854 | } |
10855 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
10856 | ( |
10857 | #line 6131 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10858 | AllocatePrefetchInstr==1 |
10859 | #line 10859 "dfa_x86.cpp" |
10860 | ) ) { |
10861 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
10862 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
10863 | DFA_PRODUCTION__SET_VALID(UNIVERSE, prefetchAllocT0_rule, c) |
10864 | } |
10865 | } |
10866 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
10867 | ( |
10868 | #line 6119 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10869 | AllocatePrefetchInstr==0 |
10870 | #line 10870 "dfa_x86.cpp" |
10871 | ) ) { |
10872 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
10873 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
10874 | DFA_PRODUCTION__SET_VALID(UNIVERSE, prefetchAllocNTA_rule, c) |
10875 | } |
10876 | } |
10877 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
10878 | ( |
10879 | #line 6107 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
10880 | AllocatePrefetchInstr==3 |
10881 | #line 10881 "dfa_x86.cpp" |
10882 | ) ) { |
10883 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
10884 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
10885 | DFA_PRODUCTION__SET_VALID(UNIVERSE, prefetchAlloc_rule, c) |
10886 | } |
10887 | } |
10888 | } |
10889 | void State::_sub_Op_RShiftI(const Node *n){ |
10890 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_RREGI_IMMI_16) && STATE__VALID_CHILD(_kids[1], IMMI_16) && |
10891 | /*sixteen*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
10892 | unsigned int c = _kids[0]->_cost[_LSHIFTI_RREGI_IMMI_16]+_kids[1]->_cost[IMMI_16]+100; |
10893 | DFA_PRODUCTION__SET_VALID(RREGI, i2s_rule, c) |
10894 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10895 | DFA_PRODUCTION__SET_VALID(RAX_REGI, i2s_rule, c) |
10896 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, i2s_rule, c) |
10897 | DFA_PRODUCTION__SET_VALID(RBX_REGI, i2s_rule, c) |
10898 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, i2s_rule, c) |
10899 | DFA_PRODUCTION__SET_VALID(RCX_REGI, i2s_rule, c) |
10900 | DFA_PRODUCTION__SET_VALID(RDX_REGI, i2s_rule, c) |
10901 | DFA_PRODUCTION__SET_VALID(RDI_REGI, i2s_rule, c) |
10902 | } |
10903 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI_RREGI_IMMI_24) && STATE__VALID_CHILD(_kids[1], IMMI_24) && |
10904 | /*twentyfour*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
10905 | unsigned int c = _kids[0]->_cost[_LSHIFTI_RREGI_IMMI_24]+_kids[1]->_cost[IMMI_24]+100; |
10906 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10907 | DFA_PRODUCTION__SET_VALID(RREGI, i2b_rule, c) |
10908 | } |
10909 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10910 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10911 | } |
10912 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10913 | DFA_PRODUCTION__SET_VALID(RAX_REGI, i2b_rule, c) |
10914 | } |
10915 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10916 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, i2b_rule, c) |
10917 | } |
10918 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10919 | DFA_PRODUCTION__SET_VALID(RBX_REGI, i2b_rule, c) |
10920 | } |
10921 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10922 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, i2b_rule, c) |
10923 | } |
10924 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10925 | DFA_PRODUCTION__SET_VALID(RCX_REGI, i2b_rule, c) |
10926 | } |
10927 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10928 | DFA_PRODUCTION__SET_VALID(RDX_REGI, i2b_rule, c) |
10929 | } |
10930 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10931 | DFA_PRODUCTION__SET_VALID(RDI_REGI, i2b_rule, c) |
10932 | } |
10933 | } |
10934 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
10935 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RCX_REGI]; |
10936 | DFA_PRODUCTION__SET_VALID(_RSHIFTI__LOADI_MEMORY__RCX_REGI, _RShiftI__LoadI_memory__rcx_RegI_rule, c) |
10937 | } |
10938 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
10939 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RCX_REGI]+100; |
10940 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10941 | DFA_PRODUCTION__SET_VALID(RREGI, sarI_rReg_CL_rule, c) |
10942 | } |
10943 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10944 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10945 | } |
10946 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10947 | DFA_PRODUCTION__SET_VALID(RAX_REGI, sarI_rReg_CL_rule, c) |
10948 | } |
10949 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10950 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, sarI_rReg_CL_rule, c) |
10951 | } |
10952 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10953 | DFA_PRODUCTION__SET_VALID(RBX_REGI, sarI_rReg_CL_rule, c) |
10954 | } |
10955 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10956 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, sarI_rReg_CL_rule, c) |
10957 | } |
10958 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10959 | DFA_PRODUCTION__SET_VALID(RCX_REGI, sarI_rReg_CL_rule, c) |
10960 | } |
10961 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10962 | DFA_PRODUCTION__SET_VALID(RDX_REGI, sarI_rReg_CL_rule, c) |
10963 | } |
10964 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10965 | DFA_PRODUCTION__SET_VALID(RDI_REGI, sarI_rReg_CL_rule, c) |
10966 | } |
10967 | } |
10968 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
10969 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI8]; |
10970 | DFA_PRODUCTION__SET_VALID(_RSHIFTI__LOADI_MEMORY__IMMI8, _RShiftI__LoadI_memory__immI8_rule, c) |
10971 | } |
10972 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
10973 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI8]+100; |
10974 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
10975 | DFA_PRODUCTION__SET_VALID(RREGI, sarI_rReg_imm_rule, c) |
10976 | } |
10977 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
10978 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
10979 | } |
10980 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
10981 | DFA_PRODUCTION__SET_VALID(RAX_REGI, sarI_rReg_imm_rule, c) |
10982 | } |
10983 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
10984 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, sarI_rReg_imm_rule, c) |
10985 | } |
10986 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
10987 | DFA_PRODUCTION__SET_VALID(RBX_REGI, sarI_rReg_imm_rule, c) |
10988 | } |
10989 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
10990 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, sarI_rReg_imm_rule, c) |
10991 | } |
10992 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
10993 | DFA_PRODUCTION__SET_VALID(RCX_REGI, sarI_rReg_imm_rule, c) |
10994 | } |
10995 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
10996 | DFA_PRODUCTION__SET_VALID(RDX_REGI, sarI_rReg_imm_rule, c) |
10997 | } |
10998 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
10999 | DFA_PRODUCTION__SET_VALID(RDI_REGI, sarI_rReg_imm_rule, c) |
11000 | } |
11001 | } |
11002 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
11003 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI1]; |
11004 | DFA_PRODUCTION__SET_VALID(_RSHIFTI__LOADI_MEMORY__IMMI1, _RShiftI__LoadI_memory__immI1_rule, c) |
11005 | } |
11006 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
11007 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI1]+100; |
11008 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
11009 | DFA_PRODUCTION__SET_VALID(RREGI, sarI_rReg_1_rule, c) |
11010 | } |
11011 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
11012 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11013 | } |
11014 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
11015 | DFA_PRODUCTION__SET_VALID(RAX_REGI, sarI_rReg_1_rule, c) |
11016 | } |
11017 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
11018 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, sarI_rReg_1_rule, c) |
11019 | } |
11020 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
11021 | DFA_PRODUCTION__SET_VALID(RBX_REGI, sarI_rReg_1_rule, c) |
11022 | } |
11023 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
11024 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, sarI_rReg_1_rule, c) |
11025 | } |
11026 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
11027 | DFA_PRODUCTION__SET_VALID(RCX_REGI, sarI_rReg_1_rule, c) |
11028 | } |
11029 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
11030 | DFA_PRODUCTION__SET_VALID(RDX_REGI, sarI_rReg_1_rule, c) |
11031 | } |
11032 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
11033 | DFA_PRODUCTION__SET_VALID(RDI_REGI, sarI_rReg_1_rule, c) |
11034 | } |
11035 | } |
11036 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI__LOADI_MEMORY__IMMI_16) && STATE__VALID_CHILD(_kids[1], IMMI_16) && |
11037 | /*sixteen*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
11038 | unsigned int c = _kids[0]->_cost[_LSHIFTI__LOADI_MEMORY__IMMI_16]+_kids[1]->_cost[IMMI_16]+125; |
11039 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
11040 | DFA_PRODUCTION__SET_VALID(RREGI, loadI2S_rule, c) |
11041 | } |
11042 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
11043 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11044 | } |
11045 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
11046 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadI2S_rule, c) |
11047 | } |
11048 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
11049 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadI2S_rule, c) |
11050 | } |
11051 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
11052 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadI2S_rule, c) |
11053 | } |
11054 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
11055 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadI2S_rule, c) |
11056 | } |
11057 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
11058 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadI2S_rule, c) |
11059 | } |
11060 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
11061 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadI2S_rule, c) |
11062 | } |
11063 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
11064 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadI2S_rule, c) |
11065 | } |
11066 | } |
11067 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI__LOADI_MEMORY__IMMI_24) && STATE__VALID_CHILD(_kids[1], IMMI_24) && |
11068 | /*twentyfour*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
11069 | unsigned int c = _kids[0]->_cost[_LSHIFTI__LOADI_MEMORY__IMMI_24]+_kids[1]->_cost[IMMI_24]+125; |
11070 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
11071 | DFA_PRODUCTION__SET_VALID(RREGI, loadI2B_rule, c) |
11072 | } |
11073 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
11074 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11075 | } |
11076 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
11077 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadI2B_rule, c) |
11078 | } |
11079 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
11080 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadI2B_rule, c) |
11081 | } |
11082 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
11083 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadI2B_rule, c) |
11084 | } |
11085 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
11086 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadI2B_rule, c) |
11087 | } |
11088 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
11089 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadI2B_rule, c) |
11090 | } |
11091 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
11092 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadI2B_rule, c) |
11093 | } |
11094 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
11095 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadI2B_rule, c) |
11096 | } |
11097 | } |
11098 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI__LOADUS_MEMORY__IMMI_24) && STATE__VALID_CHILD(_kids[1], IMMI_24) && |
11099 | /*twentyfour*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
11100 | unsigned int c = _kids[0]->_cost[_LSHIFTI__LOADUS_MEMORY__IMMI_24]+_kids[1]->_cost[IMMI_24]+125; |
11101 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
11102 | DFA_PRODUCTION__SET_VALID(RREGI, loadUS2B_rule, c) |
11103 | } |
11104 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
11105 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11106 | } |
11107 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
11108 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadUS2B_rule, c) |
11109 | } |
11110 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
11111 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadUS2B_rule, c) |
11112 | } |
11113 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
11114 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadUS2B_rule, c) |
11115 | } |
11116 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
11117 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadUS2B_rule, c) |
11118 | } |
11119 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
11120 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadUS2B_rule, c) |
11121 | } |
11122 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
11123 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadUS2B_rule, c) |
11124 | } |
11125 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
11126 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadUS2B_rule, c) |
11127 | } |
11128 | } |
11129 | if( STATE__VALID_CHILD(_kids[0], _LSHIFTI__LOADS_MEMORY__IMMI_24) && STATE__VALID_CHILD(_kids[1], IMMI_24) && |
11130 | /*twentyfour*/(_kids[0]->_kids[1]->_leaf == _kids[1]->_leaf) ) { |
11131 | unsigned int c = _kids[0]->_cost[_LSHIFTI__LOADS_MEMORY__IMMI_24]+_kids[1]->_cost[IMMI_24]+125; |
11132 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
11133 | DFA_PRODUCTION__SET_VALID(RREGI, loadS2B_rule, c) |
11134 | } |
11135 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
11136 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11137 | } |
11138 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
11139 | DFA_PRODUCTION__SET_VALID(RAX_REGI, loadS2B_rule, c) |
11140 | } |
11141 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
11142 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, loadS2B_rule, c) |
11143 | } |
11144 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
11145 | DFA_PRODUCTION__SET_VALID(RBX_REGI, loadS2B_rule, c) |
11146 | } |
11147 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
11148 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, loadS2B_rule, c) |
11149 | } |
11150 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
11151 | DFA_PRODUCTION__SET_VALID(RCX_REGI, loadS2B_rule, c) |
11152 | } |
11153 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
11154 | DFA_PRODUCTION__SET_VALID(RDX_REGI, loadS2B_rule, c) |
11155 | } |
11156 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
11157 | DFA_PRODUCTION__SET_VALID(RDI_REGI, loadS2B_rule, c) |
11158 | } |
11159 | } |
11160 | } |
11161 | void State::_sub_Op_RShiftL(const Node *n){ |
11162 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
11163 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RCX_REGI]; |
11164 | DFA_PRODUCTION__SET_VALID(_RSHIFTL__LOADL_MEMORY__RCX_REGI, _RShiftL__LoadL_memory__rcx_RegI_rule, c) |
11165 | } |
11166 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
11167 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RCX_REGI]+100; |
11168 | DFA_PRODUCTION__SET_VALID(RREGL, sarL_rReg_CL_rule, c) |
11169 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
11170 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, sarL_rReg_CL_rule, c) |
11171 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, sarL_rReg_CL_rule, c) |
11172 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, sarL_rReg_CL_rule, c) |
11173 | DFA_PRODUCTION__SET_VALID(RAX_REGL, sarL_rReg_CL_rule, c) |
11174 | DFA_PRODUCTION__SET_VALID(RCX_REGL, sarL_rReg_CL_rule, c) |
11175 | DFA_PRODUCTION__SET_VALID(RDX_REGL, sarL_rReg_CL_rule, c) |
11176 | } |
11177 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
11178 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMMI8]; |
11179 | DFA_PRODUCTION__SET_VALID(_RSHIFTL__LOADL_MEMORY__IMMI8, _RShiftL__LoadL_memory__immI8_rule, c) |
11180 | } |
11181 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
11182 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI8]+100; |
11183 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
11184 | DFA_PRODUCTION__SET_VALID(RREGL, sarL_rReg_imm_rule, c) |
11185 | } |
11186 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
11187 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
11188 | } |
11189 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
11190 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, sarL_rReg_imm_rule, c) |
11191 | } |
11192 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
11193 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, sarL_rReg_imm_rule, c) |
11194 | } |
11195 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
11196 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, sarL_rReg_imm_rule, c) |
11197 | } |
11198 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
11199 | DFA_PRODUCTION__SET_VALID(RAX_REGL, sarL_rReg_imm_rule, c) |
11200 | } |
11201 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
11202 | DFA_PRODUCTION__SET_VALID(RCX_REGL, sarL_rReg_imm_rule, c) |
11203 | } |
11204 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
11205 | DFA_PRODUCTION__SET_VALID(RDX_REGL, sarL_rReg_imm_rule, c) |
11206 | } |
11207 | } |
11208 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
11209 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMMI1]; |
11210 | DFA_PRODUCTION__SET_VALID(_RSHIFTL__LOADL_MEMORY__IMMI1, _RShiftL__LoadL_memory__immI1_rule, c) |
11211 | } |
11212 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
11213 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI1]+100; |
11214 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
11215 | DFA_PRODUCTION__SET_VALID(RREGL, sarL_rReg_1_rule, c) |
11216 | } |
11217 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
11218 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
11219 | } |
11220 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
11221 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, sarL_rReg_1_rule, c) |
11222 | } |
11223 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
11224 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, sarL_rReg_1_rule, c) |
11225 | } |
11226 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
11227 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, sarL_rReg_1_rule, c) |
11228 | } |
11229 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
11230 | DFA_PRODUCTION__SET_VALID(RAX_REGL, sarL_rReg_1_rule, c) |
11231 | } |
11232 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
11233 | DFA_PRODUCTION__SET_VALID(RCX_REGL, sarL_rReg_1_rule, c) |
11234 | } |
11235 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
11236 | DFA_PRODUCTION__SET_VALID(RDX_REGL, sarL_rReg_1_rule, c) |
11237 | } |
11238 | } |
11239 | } |
11240 | void State::_sub_Op_Rethrow(const Node *n){ |
11241 | { |
11242 | unsigned int c = 100; |
11243 | DFA_PRODUCTION__SET_VALID(UNIVERSE, RethrowException_rule, c) |
11244 | } |
11245 | } |
11246 | void State::_sub_Op_Return(const Node *n){ |
11247 | { |
11248 | unsigned int c = 100; |
11249 | DFA_PRODUCTION__SET_VALID(UNIVERSE, Ret_rule, c) |
11250 | } |
11251 | } |
11252 | void State::_sub_Op_RoundDouble(const Node *n){ |
11253 | if( STATE__VALID_CHILD(_kids[0], REGD) ) { |
11254 | unsigned int c = _kids[0]->_cost[REGD]; |
11255 | DFA_PRODUCTION__SET_VALID(REGD, roundDouble_nop_rule, c) |
11256 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
11257 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
11258 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
11259 | } |
11260 | } |
11261 | void State::_sub_Op_RoundFloat(const Node *n){ |
11262 | if( STATE__VALID_CHILD(_kids[0], REGF) ) { |
11263 | unsigned int c = _kids[0]->_cost[REGF]; |
11264 | DFA_PRODUCTION__SET_VALID(REGF, roundFloat_nop_rule, c) |
11265 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
11266 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
11267 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
11268 | } |
11269 | } |
11270 | void State::_sub_Op_SafePoint(const Node *n){ |
11271 | if( STATE__VALID_CHILD(_kids[0], RREGP) && |
11272 | ( |
11273 | #line 12791 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11274 | SafepointMechanism::uses_thread_local_poll() |
11275 | #line 11275 "dfa_x86.cpp" |
11276 | ) ) { |
11277 | unsigned int c = _kids[0]->_cost[RREGP]+125; |
11278 | DFA_PRODUCTION__SET_VALID(UNIVERSE, safePoint_poll_tls_rule, c) |
11279 | } |
11280 | if( STATE__VALID_CHILD(_kids[0], RREGP) && |
11281 | ( |
11282 | #line 12775 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11283 | Assembler::is_polling_page_far() && SafepointMechanism::uses_global_page_poll() |
11284 | #line 11284 "dfa_x86.cpp" |
11285 | ) ) { |
11286 | unsigned int c = _kids[0]->_cost[RREGP]+125; |
11287 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11288 | DFA_PRODUCTION__SET_VALID(UNIVERSE, safePoint_poll_far_rule, c) |
11289 | } |
11290 | } |
11291 | if( ( |
11292 | #line 12759 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11293 | !Assembler::is_polling_page_far() && SafepointMechanism::uses_global_page_poll() |
11294 | #line 11294 "dfa_x86.cpp" |
11295 | ) ) { |
11296 | unsigned int c = 125; |
11297 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11298 | DFA_PRODUCTION__SET_VALID(UNIVERSE, safePoint_poll_rule, c) |
11299 | } |
11300 | } |
11301 | } |
11302 | void State::_sub_Op_ShenandoahCompareAndExchangeP(const Node *n){ |
11303 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
11304 | ( |
11305 | #line 97 "/workspace/jdk13/src/hotspot/cpu/x86/gc/shenandoah/shenandoah_x86_64.ad" |
11306 | VM_Version::supports_cx8() |
11307 | #line 11307 "dfa_x86.cpp" |
11308 | ) ) { |
11309 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+1000; |
11310 | DFA_PRODUCTION__SET_VALID(RAX_REGP, compareAndExchangeP_shenandoah_rule, c) |
11311 | DFA_PRODUCTION__SET_VALID(ANY_REGP, compareAndExchangeP_shenandoah_rule, c) |
11312 | DFA_PRODUCTION__SET_VALID(INDIRECT, compareAndExchangeP_shenandoah_rule, c) |
11313 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
11314 | DFA_PRODUCTION__SET_VALID(RREGP, compareAndExchangeP_shenandoah_rule, c) |
11315 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
11316 | DFA_PRODUCTION__SET_VALID(RBX_REGP, compareAndExchangeP_shenandoah_rule, c) |
11317 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, compareAndExchangeP_shenandoah_rule, c) |
11318 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, compareAndExchangeP_shenandoah_rule, c) |
11319 | DFA_PRODUCTION__SET_VALID(RSI_REGP, compareAndExchangeP_shenandoah_rule, c) |
11320 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, compareAndExchangeP_shenandoah_rule, c) |
11321 | DFA_PRODUCTION__SET_VALID(RDI_REGP, compareAndExchangeP_shenandoah_rule, c) |
11322 | DFA_PRODUCTION__SET_VALID(R15_REGP, compareAndExchangeP_shenandoah_rule, c) |
11323 | } |
11324 | } |
11325 | void State::_sub_Op_ShenandoahCompareAndExchangeN(const Node *n){ |
11326 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGN_RREGN) ) { |
11327 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGN_RREGN]+100; |
11328 | DFA_PRODUCTION__SET_VALID(RAX_REGN, compareAndExchangeN_shenandoah_rule, c) |
11329 | } |
11330 | } |
11331 | void State::_sub_Op_ShenandoahCompareAndSwapN(const Node *n){ |
11332 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGN_RREGN) ) { |
11333 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGN_RREGN]+100; |
11334 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapN_shenandoah_rule, c) |
11335 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11336 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapN_shenandoah_rule, c) |
11337 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapN_shenandoah_rule, c) |
11338 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapN_shenandoah_rule, c) |
11339 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapN_shenandoah_rule, c) |
11340 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapN_shenandoah_rule, c) |
11341 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapN_shenandoah_rule, c) |
11342 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapN_shenandoah_rule, c) |
11343 | } |
11344 | } |
11345 | void State::_sub_Op_ShenandoahCompareAndSwapP(const Node *n){ |
11346 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
11347 | ( |
11348 | #line 35 "/workspace/jdk13/src/hotspot/cpu/x86/gc/shenandoah/shenandoah_x86_64.ad" |
11349 | VM_Version::supports_cx8() |
11350 | #line 11350 "dfa_x86.cpp" |
11351 | ) ) { |
11352 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
11353 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapP_shenandoah_rule, c) |
11354 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11355 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapP_shenandoah_rule, c) |
11356 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapP_shenandoah_rule, c) |
11357 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapP_shenandoah_rule, c) |
11358 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapP_shenandoah_rule, c) |
11359 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapP_shenandoah_rule, c) |
11360 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapP_shenandoah_rule, c) |
11361 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapP_shenandoah_rule, c) |
11362 | } |
11363 | } |
11364 | void State::_sub_Op_ShenandoahWeakCompareAndSwapN(const Node *n){ |
11365 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGN_RREGN) ) { |
11366 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGN_RREGN]+100; |
11367 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapN_shenandoah_0_rule, c) |
11368 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11369 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11370 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11371 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11372 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11373 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11374 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11375 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapN_shenandoah_0_rule, c) |
11376 | } |
11377 | } |
11378 | void State::_sub_Op_ShenandoahWeakCompareAndSwapP(const Node *n){ |
11379 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) && |
11380 | ( |
11381 | #line 35 "/workspace/jdk13/src/hotspot/cpu/x86/gc/shenandoah/shenandoah_x86_64.ad" |
11382 | VM_Version::supports_cx8() |
11383 | #line 11383 "dfa_x86.cpp" |
11384 | ) ) { |
11385 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
11386 | DFA_PRODUCTION__SET_VALID(RREGI, compareAndSwapP_shenandoah_0_rule, c) |
11387 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
11388 | DFA_PRODUCTION__SET_VALID(RAX_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11389 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11390 | DFA_PRODUCTION__SET_VALID(RBX_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11391 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11392 | DFA_PRODUCTION__SET_VALID(RCX_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11393 | DFA_PRODUCTION__SET_VALID(RDX_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11394 | DFA_PRODUCTION__SET_VALID(RDI_REGI, compareAndSwapP_shenandoah_0_rule, c) |
11395 | } |
11396 | } |
11397 | void State::_sub_Op_SqrtD(const Node *n){ |
11398 | if( STATE__VALID_CHILD(_kids[0], IMMD) && |
11399 | ( |
11400 | #line 2840 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
11401 | UseSSE>=2 |
11402 | #line 11402 "dfa_x86.cpp" |
11403 | ) ) { |
11404 | unsigned int c = _kids[0]->_cost[IMMD]+150; |
11405 | DFA_PRODUCTION__SET_VALID(REGD, sqrtD_imm_rule, c) |
11406 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
11407 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
11408 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
11409 | } |
11410 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && |
11411 | ( |
11412 | #line 2828 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
11413 | UseSSE>=2 |
11414 | #line 11414 "dfa_x86.cpp" |
11415 | ) ) { |
11416 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+150; |
11417 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
11418 | DFA_PRODUCTION__SET_VALID(REGD, sqrtD_mem_rule, c) |
11419 | } |
11420 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
11421 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
11422 | } |
11423 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
11424 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
11425 | } |
11426 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
11427 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
11428 | } |
11429 | } |
11430 | if( STATE__VALID_CHILD(_kids[0], REGD) && |
11431 | ( |
11432 | #line 2816 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
11433 | UseSSE>=2 |
11434 | #line 11434 "dfa_x86.cpp" |
11435 | ) ) { |
11436 | unsigned int c = _kids[0]->_cost[REGD]+150; |
11437 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
11438 | DFA_PRODUCTION__SET_VALID(REGD, sqrtD_reg_rule, c) |
11439 | } |
11440 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
11441 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
11442 | } |
11443 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
11444 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
11445 | } |
11446 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
11447 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
11448 | } |
11449 | } |
11450 | } |
11451 | void State::_sub_Op_SqrtF(const Node *n){ |
11452 | if( STATE__VALID_CHILD(_kids[0], IMMF) && |
11453 | ( |
11454 | #line 2804 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
11455 | UseSSE>=1 |
11456 | #line 11456 "dfa_x86.cpp" |
11457 | ) ) { |
11458 | unsigned int c = _kids[0]->_cost[IMMF]+150; |
11459 | DFA_PRODUCTION__SET_VALID(REGF, sqrtF_imm_rule, c) |
11460 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
11461 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
11462 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
11463 | } |
11464 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
11465 | ( |
11466 | #line 2792 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
11467 | UseSSE>=1 |
11468 | #line 11468 "dfa_x86.cpp" |
11469 | ) ) { |
11470 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+150; |
11471 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
11472 | DFA_PRODUCTION__SET_VALID(REGF, sqrtF_mem_rule, c) |
11473 | } |
11474 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
11475 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
11476 | } |
11477 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
11478 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
11479 | } |
11480 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
11481 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
11482 | } |
11483 | } |
11484 | if( STATE__VALID_CHILD(_kids[0], REGF) && |
11485 | ( |
11486 | #line 2780 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
11487 | UseSSE>=1 |
11488 | #line 11488 "dfa_x86.cpp" |
11489 | ) ) { |
11490 | unsigned int c = _kids[0]->_cost[REGF]+150; |
11491 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
11492 | DFA_PRODUCTION__SET_VALID(REGF, sqrtF_reg_rule, c) |
11493 | } |
11494 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
11495 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
11496 | } |
11497 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
11498 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
11499 | } |
11500 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
11501 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
11502 | } |
11503 | } |
11504 | } |
11505 | void State::_sub_Op_StoreB(const Node *n){ |
11506 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORI_RREGI__LOADB_MEMORY_) && |
11507 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11508 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORI_RREGI__LOADB_MEMORY_]+150; |
11509 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorB_mem_rReg_0_rule, c) |
11510 | } |
11511 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORI__LOADB_MEMORY__RREGI) && |
11512 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11513 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORI__LOADB_MEMORY__RREGI]+150; |
11514 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11515 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorB_mem_rReg_rule, c) |
11516 | } |
11517 | } |
11518 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORI_RREGI__LOADB_MEMORY_) && |
11519 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11520 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORI_RREGI__LOADB_MEMORY_]+150; |
11521 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11522 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orB_mem_rReg_0_rule, c) |
11523 | } |
11524 | } |
11525 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORI__LOADB_MEMORY__RREGI) && |
11526 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11527 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORI__LOADB_MEMORY__RREGI]+150; |
11528 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11529 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orB_mem_rReg_rule, c) |
11530 | } |
11531 | } |
11532 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDI_RREGI__LOADB_MEMORY_) && |
11533 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11534 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDI_RREGI__LOADB_MEMORY_]+150; |
11535 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11536 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andB_mem_rReg_0_rule, c) |
11537 | } |
11538 | } |
11539 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDI__LOADB_MEMORY__RREGI) && |
11540 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11541 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDI__LOADB_MEMORY__RREGI]+150; |
11542 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11543 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andB_mem_rReg_rule, c) |
11544 | } |
11545 | } |
11546 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
11547 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI8]+150; |
11548 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11549 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmB_rule, c) |
11550 | } |
11551 | } |
11552 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI0) && |
11553 | ( |
11554 | #line 6387 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11555 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
11556 | #line 11556 "dfa_x86.cpp" |
11557 | ) ) { |
11558 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI0]+125; |
11559 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11560 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmB0_rule, c) |
11561 | } |
11562 | } |
11563 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
11564 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+125; |
11565 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11566 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeB_rule, c) |
11567 | } |
11568 | } |
11569 | } |
11570 | void State::_sub_Op_StoreC(const Node *n){ |
11571 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI16) && |
11572 | ( |
11573 | #line 6374 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11574 | UseStoreImmI16 |
11575 | #line 11575 "dfa_x86.cpp" |
11576 | ) ) { |
11577 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI16]+150; |
11578 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmI16_rule, c) |
11579 | } |
11580 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI0) && |
11581 | ( |
11582 | #line 6361 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11583 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
11584 | #line 11584 "dfa_x86.cpp" |
11585 | ) ) { |
11586 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI0]+125; |
11587 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11588 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmC0_rule, c) |
11589 | } |
11590 | } |
11591 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
11592 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+125; |
11593 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11594 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeC_rule, c) |
11595 | } |
11596 | } |
11597 | } |
11598 | void State::_sub_Op_StoreCM(const Node *n){ |
11599 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI0) ) { |
11600 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI0]+150; |
11601 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmCM0_rule, c) |
11602 | } |
11603 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI0) && |
11604 | ( |
11605 | #line 6412 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11606 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
11607 | #line 11607 "dfa_x86.cpp" |
11608 | ) ) { |
11609 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI0]+125; |
11610 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11611 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmCM0_reg_rule, c) |
11612 | } |
11613 | } |
11614 | } |
11615 | void State::_sub_Op_StorePConditional(const Node *n){ |
11616 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGP_RREGP) ) { |
11617 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGP_RREGP]+100; |
11618 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, storePConditional_rule, c) |
11619 | } |
11620 | } |
11621 | void State::_sub_Op_StoreIConditional(const Node *n){ |
11622 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGI_RREGI) ) { |
11623 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGI_RREGI]+100; |
11624 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, storeIConditional_rule, c) |
11625 | } |
11626 | } |
11627 | void State::_sub_Op_StoreLConditional(const Node *n){ |
11628 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _BINARY_RAX_REGL_RREGL) ) { |
11629 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_BINARY_RAX_REGL_RREGL]+100; |
11630 | DFA_PRODUCTION__SET_VALID(RFLAGSREG, storeLConditional_rule, c) |
11631 | } |
11632 | } |
11633 | void State::_sub_Op_StoreD(const Node *n){ |
11634 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMD0) && |
11635 | ( |
11636 | #line 6500 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11637 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
11638 | #line 11638 "dfa_x86.cpp" |
11639 | ) ) { |
11640 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMD0]+25; |
11641 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeD0_rule, c) |
11642 | } |
11643 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMD0) && |
11644 | ( |
11645 | #line 6488 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11646 | !UseCompressedOops || (CompressedOops::base() != NULL) |
11647 | #line 11647 "dfa_x86.cpp" |
11648 | ) ) { |
11649 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMD0]+50; |
11650 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11651 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeD0_imm_rule, c) |
11652 | } |
11653 | } |
11654 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], REGD) ) { |
11655 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[REGD]+95; |
11656 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11657 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeD_rule, c) |
11658 | } |
11659 | } |
11660 | } |
11661 | void State::_sub_Op_StoreF(const Node *n){ |
11662 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMF) ) { |
11663 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMF]+50; |
11664 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeF_imm_rule, c) |
11665 | } |
11666 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMF0) && |
11667 | ( |
11668 | #line 6450 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11669 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
11670 | #line 11670 "dfa_x86.cpp" |
11671 | ) ) { |
11672 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMF0]+25; |
11673 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11674 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeF0_rule, c) |
11675 | } |
11676 | } |
11677 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], REGF) ) { |
11678 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[REGF]+95; |
11679 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11680 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeF_rule, c) |
11681 | } |
11682 | } |
11683 | } |
11684 | void State::_sub_Op_StoreI(const Node *n){ |
11685 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORI__LOADI_MEMORY__IMMI) && |
11686 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11687 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORI__LOADI_MEMORY__IMMI]+125; |
11688 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorI_mem_imm_rule, c) |
11689 | } |
11690 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORI_RREGI__LOADI_MEMORY_) && |
11691 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11692 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORI_RREGI__LOADI_MEMORY_]+150; |
11693 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11694 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorI_mem_rReg_0_rule, c) |
11695 | } |
11696 | } |
11697 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORI__LOADI_MEMORY__RREGI) && |
11698 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11699 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORI__LOADI_MEMORY__RREGI]+150; |
11700 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11701 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorI_mem_rReg_rule, c) |
11702 | } |
11703 | } |
11704 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORI__LOADI_MEMORY__IMMI) && |
11705 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11706 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORI__LOADI_MEMORY__IMMI]+125; |
11707 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11708 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orI_mem_imm_rule, c) |
11709 | } |
11710 | } |
11711 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORI_RREGI__LOADI_MEMORY_) && |
11712 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11713 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORI_RREGI__LOADI_MEMORY_]+150; |
11714 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11715 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orI_mem_rReg_0_rule, c) |
11716 | } |
11717 | } |
11718 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORI__LOADI_MEMORY__RREGI) && |
11719 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11720 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORI__LOADI_MEMORY__RREGI]+150; |
11721 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11722 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orI_mem_rReg_rule, c) |
11723 | } |
11724 | } |
11725 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDI__LOADI_MEMORY__IMMI) && |
11726 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11727 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDI__LOADI_MEMORY__IMMI]+125; |
11728 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11729 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andI_mem_imm_rule, c) |
11730 | } |
11731 | } |
11732 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDI_RREGI__LOADI_MEMORY_) && |
11733 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11734 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDI_RREGI__LOADI_MEMORY_]+150; |
11735 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11736 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andI_mem_rReg_0_rule, c) |
11737 | } |
11738 | } |
11739 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDI__LOADI_MEMORY__RREGI) && |
11740 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11741 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDI__LOADI_MEMORY__RREGI]+150; |
11742 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11743 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andI_mem_rReg_rule, c) |
11744 | } |
11745 | } |
11746 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _URSHIFTI__LOADI_MEMORY__RCX_REGI) && |
11747 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11748 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_URSHIFTI__LOADI_MEMORY__RCX_REGI]+100; |
11749 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11750 | DFA_PRODUCTION__SET_VALID(UNIVERSE, shrI_mem_CL_rule, c) |
11751 | } |
11752 | } |
11753 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _URSHIFTI__LOADI_MEMORY__IMMI8) && |
11754 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11755 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_URSHIFTI__LOADI_MEMORY__IMMI8]+100; |
11756 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11757 | DFA_PRODUCTION__SET_VALID(UNIVERSE, shrI_mem_imm_rule, c) |
11758 | } |
11759 | } |
11760 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _URSHIFTI__LOADI_MEMORY__IMMI1) && |
11761 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11762 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_URSHIFTI__LOADI_MEMORY__IMMI1]+100; |
11763 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11764 | DFA_PRODUCTION__SET_VALID(UNIVERSE, shrI_mem_1_rule, c) |
11765 | } |
11766 | } |
11767 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _RSHIFTI__LOADI_MEMORY__RCX_REGI) && |
11768 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11769 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_RSHIFTI__LOADI_MEMORY__RCX_REGI]+100; |
11770 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11771 | DFA_PRODUCTION__SET_VALID(UNIVERSE, sarI_mem_CL_rule, c) |
11772 | } |
11773 | } |
11774 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _RSHIFTI__LOADI_MEMORY__IMMI8) && |
11775 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11776 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_RSHIFTI__LOADI_MEMORY__IMMI8]+100; |
11777 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11778 | DFA_PRODUCTION__SET_VALID(UNIVERSE, sarI_mem_imm_rule, c) |
11779 | } |
11780 | } |
11781 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _RSHIFTI__LOADI_MEMORY__IMMI1) && |
11782 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11783 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_RSHIFTI__LOADI_MEMORY__IMMI1]+100; |
11784 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11785 | DFA_PRODUCTION__SET_VALID(UNIVERSE, sarI_mem_1_rule, c) |
11786 | } |
11787 | } |
11788 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _LSHIFTI__LOADI_MEMORY__RCX_REGI) && |
11789 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11790 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_LSHIFTI__LOADI_MEMORY__RCX_REGI]+100; |
11791 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11792 | DFA_PRODUCTION__SET_VALID(UNIVERSE, salI_mem_CL_rule, c) |
11793 | } |
11794 | } |
11795 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _LSHIFTI__LOADI_MEMORY__IMMI8) && |
11796 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11797 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_LSHIFTI__LOADI_MEMORY__IMMI8]+100; |
11798 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11799 | DFA_PRODUCTION__SET_VALID(UNIVERSE, salI_mem_imm_rule, c) |
11800 | } |
11801 | } |
11802 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _LSHIFTI__LOADI_MEMORY__IMMI1) && |
11803 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11804 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_LSHIFTI__LOADI_MEMORY__IMMI1]+100; |
11805 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11806 | DFA_PRODUCTION__SET_VALID(UNIVERSE, salI_mem_1_rule, c) |
11807 | } |
11808 | } |
11809 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0__LOADI_MEMORY_) && |
11810 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11811 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_SUBI_IMMI0__LOADI_MEMORY_]+100; |
11812 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11813 | DFA_PRODUCTION__SET_VALID(UNIVERSE, negI_mem_rule, c) |
11814 | } |
11815 | } |
11816 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _SUBI__LOADI_MEMORY__IMMI) && |
11817 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11818 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_SUBI__LOADI_MEMORY__IMMI]+125; |
11819 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11820 | DFA_PRODUCTION__SET_VALID(UNIVERSE, subI_mem_imm_rule, c) |
11821 | } |
11822 | } |
11823 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _SUBI__LOADI_MEMORY__RREGI) && |
11824 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11825 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_SUBI__LOADI_MEMORY__RREGI]+150; |
11826 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11827 | DFA_PRODUCTION__SET_VALID(UNIVERSE, subI_mem_rReg_rule, c) |
11828 | } |
11829 | } |
11830 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDI__LOADI_MEMORY__IMMI_M1) && |
11831 | ( |
11832 | #line 7515 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11833 | UseIncDec |
11834 | #line 11834 "dfa_x86.cpp" |
11835 | ) && /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11836 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDI__LOADI_MEMORY__IMMI_M1]+125; |
11837 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11838 | DFA_PRODUCTION__SET_VALID(UNIVERSE, decI_mem_rule, c) |
11839 | } |
11840 | } |
11841 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDI__LOADI_MEMORY__IMMI1) && |
11842 | ( |
11843 | #line 7488 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11844 | UseIncDec |
11845 | #line 11845 "dfa_x86.cpp" |
11846 | ) && /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11847 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDI__LOADI_MEMORY__IMMI1]+125; |
11848 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11849 | DFA_PRODUCTION__SET_VALID(UNIVERSE, incI_mem_rule, c) |
11850 | } |
11851 | } |
11852 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDI__LOADI_MEMORY__IMMI) && |
11853 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11854 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDI__LOADI_MEMORY__IMMI]+125; |
11855 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11856 | DFA_PRODUCTION__SET_VALID(UNIVERSE, addI_mem_imm_rule, c) |
11857 | } |
11858 | } |
11859 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDI_RREGI__LOADI_MEMORY_) && |
11860 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11861 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDI_RREGI__LOADI_MEMORY_]+150; |
11862 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11863 | DFA_PRODUCTION__SET_VALID(UNIVERSE, addI_mem_rReg_0_rule, c) |
11864 | } |
11865 | } |
11866 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDI__LOADI_MEMORY__RREGI) && |
11867 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11868 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDI__LOADI_MEMORY__RREGI]+150; |
11869 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11870 | DFA_PRODUCTION__SET_VALID(UNIVERSE, addI_mem_rReg_rule, c) |
11871 | } |
11872 | } |
11873 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
11874 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI]+150; |
11875 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11876 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmI_rule, c) |
11877 | } |
11878 | } |
11879 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMI0) && |
11880 | ( |
11881 | #line 6311 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
11882 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
11883 | #line 11883 "dfa_x86.cpp" |
11884 | ) ) { |
11885 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMI0]+125; |
11886 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11887 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmI0_rule, c) |
11888 | } |
11889 | } |
11890 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
11891 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGI]+125; |
11892 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11893 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeI_rule, c) |
11894 | } |
11895 | } |
11896 | } |
11897 | void State::_sub_Op_StoreL(const Node *n){ |
11898 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORL__LOADL_MEMORY__IMML32) && |
11899 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11900 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORL__LOADL_MEMORY__IMML32]+125; |
11901 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorL_mem_imm_rule, c) |
11902 | } |
11903 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORL_RREGL__LOADL_MEMORY_) && |
11904 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11905 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORL_RREGL__LOADL_MEMORY_]+150; |
11906 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11907 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorL_mem_rReg_0_rule, c) |
11908 | } |
11909 | } |
11910 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _XORL__LOADL_MEMORY__RREGL) && |
11911 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11912 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_XORL__LOADL_MEMORY__RREGL]+150; |
11913 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11914 | DFA_PRODUCTION__SET_VALID(UNIVERSE, xorL_mem_rReg_rule, c) |
11915 | } |
11916 | } |
11917 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORL__LOADL_MEMORY__IMML32) && |
11918 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11919 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORL__LOADL_MEMORY__IMML32]+125; |
11920 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11921 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orL_mem_imm_rule, c) |
11922 | } |
11923 | } |
11924 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORL_RREGL__LOADL_MEMORY_) && |
11925 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11926 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORL_RREGL__LOADL_MEMORY_]+150; |
11927 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11928 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orL_mem_rReg_0_rule, c) |
11929 | } |
11930 | } |
11931 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ORL__LOADL_MEMORY__RREGL) && |
11932 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11933 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ORL__LOADL_MEMORY__RREGL]+150; |
11934 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11935 | DFA_PRODUCTION__SET_VALID(UNIVERSE, orL_mem_rReg_rule, c) |
11936 | } |
11937 | } |
11938 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDL__LOADL_MEMORY__IMML32) && |
11939 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11940 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDL__LOADL_MEMORY__IMML32]+125; |
11941 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11942 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andL_mem_imm_rule, c) |
11943 | } |
11944 | } |
11945 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDL_RREGL__LOADL_MEMORY_) && |
11946 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
11947 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDL_RREGL__LOADL_MEMORY_]+150; |
11948 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11949 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andL_mem_rReg_0_rule, c) |
11950 | } |
11951 | } |
11952 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ANDL__LOADL_MEMORY__RREGL) && |
11953 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11954 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ANDL__LOADL_MEMORY__RREGL]+150; |
11955 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11956 | DFA_PRODUCTION__SET_VALID(UNIVERSE, andL_mem_rReg_rule, c) |
11957 | } |
11958 | } |
11959 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _URSHIFTL__LOADL_MEMORY__RCX_REGI) && |
11960 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11961 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_URSHIFTL__LOADL_MEMORY__RCX_REGI]+100; |
11962 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11963 | DFA_PRODUCTION__SET_VALID(UNIVERSE, shrL_mem_CL_rule, c) |
11964 | } |
11965 | } |
11966 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _URSHIFTL__LOADL_MEMORY__IMMI8) && |
11967 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11968 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_URSHIFTL__LOADL_MEMORY__IMMI8]+100; |
11969 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11970 | DFA_PRODUCTION__SET_VALID(UNIVERSE, shrL_mem_imm_rule, c) |
11971 | } |
11972 | } |
11973 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _URSHIFTL__LOADL_MEMORY__IMMI1) && |
11974 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11975 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_URSHIFTL__LOADL_MEMORY__IMMI1]+100; |
11976 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11977 | DFA_PRODUCTION__SET_VALID(UNIVERSE, shrL_mem_1_rule, c) |
11978 | } |
11979 | } |
11980 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _RSHIFTL__LOADL_MEMORY__RCX_REGI) && |
11981 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11982 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_RSHIFTL__LOADL_MEMORY__RCX_REGI]+100; |
11983 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11984 | DFA_PRODUCTION__SET_VALID(UNIVERSE, sarL_mem_CL_rule, c) |
11985 | } |
11986 | } |
11987 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _RSHIFTL__LOADL_MEMORY__IMMI8) && |
11988 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11989 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_RSHIFTL__LOADL_MEMORY__IMMI8]+100; |
11990 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11991 | DFA_PRODUCTION__SET_VALID(UNIVERSE, sarL_mem_imm_rule, c) |
11992 | } |
11993 | } |
11994 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _RSHIFTL__LOADL_MEMORY__IMMI1) && |
11995 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
11996 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_RSHIFTL__LOADL_MEMORY__IMMI1]+100; |
11997 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
11998 | DFA_PRODUCTION__SET_VALID(UNIVERSE, sarL_mem_1_rule, c) |
11999 | } |
12000 | } |
12001 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _LSHIFTL__LOADL_MEMORY__RCX_REGI) && |
12002 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12003 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_LSHIFTL__LOADL_MEMORY__RCX_REGI]+100; |
12004 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12005 | DFA_PRODUCTION__SET_VALID(UNIVERSE, salL_mem_CL_rule, c) |
12006 | } |
12007 | } |
12008 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _LSHIFTL__LOADL_MEMORY__IMMI8) && |
12009 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12010 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_LSHIFTL__LOADL_MEMORY__IMMI8]+100; |
12011 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12012 | DFA_PRODUCTION__SET_VALID(UNIVERSE, salL_mem_imm_rule, c) |
12013 | } |
12014 | } |
12015 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _LSHIFTL__LOADL_MEMORY__IMMI1) && |
12016 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12017 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_LSHIFTL__LOADL_MEMORY__IMMI1]+100; |
12018 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12019 | DFA_PRODUCTION__SET_VALID(UNIVERSE, salL_mem_1_rule, c) |
12020 | } |
12021 | } |
12022 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _SUBL_IMML0__LOADL_MEMORY_) && |
12023 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
12024 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_SUBL_IMML0__LOADL_MEMORY_]+100; |
12025 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12026 | DFA_PRODUCTION__SET_VALID(UNIVERSE, negL_mem_rule, c) |
12027 | } |
12028 | } |
12029 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _SUBL__LOADL_MEMORY__IMML32) && |
12030 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12031 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_SUBL__LOADL_MEMORY__IMML32]+125; |
12032 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12033 | DFA_PRODUCTION__SET_VALID(UNIVERSE, subL_mem_imm_rule, c) |
12034 | } |
12035 | } |
12036 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _SUBL__LOADL_MEMORY__RREGL) && |
12037 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12038 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_SUBL__LOADL_MEMORY__RREGL]+150; |
12039 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12040 | DFA_PRODUCTION__SET_VALID(UNIVERSE, subL_mem_rReg_rule, c) |
12041 | } |
12042 | } |
12043 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDL__LOADL_MEMORY__IMML_M1) && |
12044 | ( |
12045 | #line 7637 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12046 | UseIncDec |
12047 | #line 12047 "dfa_x86.cpp" |
12048 | ) && /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12049 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDL__LOADL_MEMORY__IMML_M1]+125; |
12050 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12051 | DFA_PRODUCTION__SET_VALID(UNIVERSE, decL_mem_rule, c) |
12052 | } |
12053 | } |
12054 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDL__LOADL_MEMORY__IMML1) && |
12055 | ( |
12056 | #line 7610 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12057 | UseIncDec |
12058 | #line 12058 "dfa_x86.cpp" |
12059 | ) && /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12060 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDL__LOADL_MEMORY__IMML1]+125; |
12061 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12062 | DFA_PRODUCTION__SET_VALID(UNIVERSE, incL_mem_rule, c) |
12063 | } |
12064 | } |
12065 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDL__LOADL_MEMORY__IMML32) && |
12066 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12067 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDL__LOADL_MEMORY__IMML32]+125; |
12068 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12069 | DFA_PRODUCTION__SET_VALID(UNIVERSE, addL_mem_imm_rule, c) |
12070 | } |
12071 | } |
12072 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDL_RREGL__LOADL_MEMORY_) && |
12073 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[1]->_kids[0]->_leaf) ) { |
12074 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDL_RREGL__LOADL_MEMORY_]+150; |
12075 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12076 | DFA_PRODUCTION__SET_VALID(UNIVERSE, addL_mem_rReg_0_rule, c) |
12077 | } |
12078 | } |
12079 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], _ADDL__LOADL_MEMORY__RREGL) && |
12080 | /*dst*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
12081 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[_ADDL__LOADL_MEMORY__RREGL]+150; |
12082 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12083 | DFA_PRODUCTION__SET_VALID(UNIVERSE, addL_mem_rReg_rule, c) |
12084 | } |
12085 | } |
12086 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
12087 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMML32]+150; |
12088 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12089 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmL_rule, c) |
12090 | } |
12091 | } |
12092 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMML0) && |
12093 | ( |
12094 | #line 6336 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12095 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
12096 | #line 12096 "dfa_x86.cpp" |
12097 | ) ) { |
12098 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMML0]+125; |
12099 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12100 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmL0_rule, c) |
12101 | } |
12102 | } |
12103 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
12104 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGL]+125; |
12105 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12106 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeL_rule, c) |
12107 | } |
12108 | } |
12109 | } |
12110 | void State::_sub_Op_StoreP(const Node *n){ |
12111 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMP31) ) { |
12112 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMP31]+150; |
12113 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmP_rule, c) |
12114 | } |
12115 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMP0) && |
12116 | ( |
12117 | #line 6218 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12118 | UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL) |
12119 | #line 12119 "dfa_x86.cpp" |
12120 | ) ) { |
12121 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMP0]+125; |
12122 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12123 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmP0_rule, c) |
12124 | } |
12125 | } |
12126 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], ANY_REGP) ) { |
12127 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[ANY_REGP]+125; |
12128 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12129 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeP_rule, c) |
12130 | } |
12131 | } |
12132 | } |
12133 | void State::_sub_Op_StoreN(const Node *n){ |
12134 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMN) ) { |
12135 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMN]+150; |
12136 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmN_rule, c) |
12137 | } |
12138 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMN0) && |
12139 | ( |
12140 | #line 6268 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12141 | CompressedOops::base() == NULL && CompressedKlassPointers::base() == NULL |
12142 | #line 12142 "dfa_x86.cpp" |
12143 | ) ) { |
12144 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMN0]+125; |
12145 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12146 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmN0_rule, c) |
12147 | } |
12148 | } |
12149 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGN) ) { |
12150 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGN]+125; |
12151 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12152 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeN_rule, c) |
12153 | } |
12154 | } |
12155 | } |
12156 | void State::_sub_Op_StoreNKlass(const Node *n){ |
12157 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], IMMNKLASS) ) { |
12158 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[IMMNKLASS]+150; |
12159 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeImmNKlass_rule, c) |
12160 | } |
12161 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], RREGN) ) { |
12162 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[RREGN]+125; |
12163 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
12164 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeNKlass_rule, c) |
12165 | } |
12166 | } |
12167 | } |
12168 | void State::_sub_Op_StrComp(const Node *n){ |
12169 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RSI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RDI_REGP_RCX_REGI) && |
12170 | ( |
12171 | #line 11349 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12172 | ((StrCompNode*)n)->encoding() == StrIntrinsicNode::UL |
12173 | #line 12173 "dfa_x86.cpp" |
12174 | ) ) { |
12175 | unsigned int c = _kids[0]->_cost[_BINARY_RSI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RDI_REGP_RCX_REGI]+100; |
12176 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_compareUL_rule, c) |
12177 | DFA_PRODUCTION__SET_VALID(RREGI, string_compareUL_rule, c) |
12178 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12179 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_compareUL_rule, c) |
12180 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_compareUL_rule, c) |
12181 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_compareUL_rule, c) |
12182 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_compareUL_rule, c) |
12183 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_compareUL_rule, c) |
12184 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_compareUL_rule, c) |
12185 | } |
12186 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_RDX_REGI) && |
12187 | ( |
12188 | #line 11333 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12189 | ((StrCompNode*)n)->encoding() == StrIntrinsicNode::LU |
12190 | #line 12190 "dfa_x86.cpp" |
12191 | ) ) { |
12192 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RCX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_RDX_REGI]+100; |
12193 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12194 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_compareLU_rule, c) |
12195 | } |
12196 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12197 | DFA_PRODUCTION__SET_VALID(RREGI, string_compareLU_rule, c) |
12198 | } |
12199 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12200 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12201 | } |
12202 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12203 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_compareLU_rule, c) |
12204 | } |
12205 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12206 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_compareLU_rule, c) |
12207 | } |
12208 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12209 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_compareLU_rule, c) |
12210 | } |
12211 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12212 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_compareLU_rule, c) |
12213 | } |
12214 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12215 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_compareLU_rule, c) |
12216 | } |
12217 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12218 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_compareLU_rule, c) |
12219 | } |
12220 | } |
12221 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_RDX_REGI) && |
12222 | ( |
12223 | #line 11317 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12224 | ((StrCompNode*)n)->encoding() == StrIntrinsicNode::UU |
12225 | #line 12225 "dfa_x86.cpp" |
12226 | ) ) { |
12227 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RCX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_RDX_REGI]+100; |
12228 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12229 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_compareU_rule, c) |
12230 | } |
12231 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12232 | DFA_PRODUCTION__SET_VALID(RREGI, string_compareU_rule, c) |
12233 | } |
12234 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12235 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12236 | } |
12237 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12238 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_compareU_rule, c) |
12239 | } |
12240 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12241 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_compareU_rule, c) |
12242 | } |
12243 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12244 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_compareU_rule, c) |
12245 | } |
12246 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12247 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_compareU_rule, c) |
12248 | } |
12249 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12250 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_compareU_rule, c) |
12251 | } |
12252 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12253 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_compareU_rule, c) |
12254 | } |
12255 | } |
12256 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_RDX_REGI) && |
12257 | ( |
12258 | #line 11301 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12259 | ((StrCompNode*)n)->encoding() == StrIntrinsicNode::LL |
12260 | #line 12260 "dfa_x86.cpp" |
12261 | ) ) { |
12262 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RCX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_RDX_REGI]+100; |
12263 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12264 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_compareL_rule, c) |
12265 | } |
12266 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12267 | DFA_PRODUCTION__SET_VALID(RREGI, string_compareL_rule, c) |
12268 | } |
12269 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12270 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12271 | } |
12272 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12273 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_compareL_rule, c) |
12274 | } |
12275 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12276 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_compareL_rule, c) |
12277 | } |
12278 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12279 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_compareL_rule, c) |
12280 | } |
12281 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12282 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_compareL_rule, c) |
12283 | } |
12284 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12285 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_compareL_rule, c) |
12286 | } |
12287 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12288 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_compareL_rule, c) |
12289 | } |
12290 | } |
12291 | } |
12292 | void State::_sub_Op_StrCompressedCopy(const Node *n){ |
12293 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], _BINARY_RDI_REGP_RDX_REGI) ) { |
12294 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[_BINARY_RDI_REGP_RDX_REGI]+100; |
12295 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_compress_rule, c) |
12296 | DFA_PRODUCTION__SET_VALID(RREGI, string_compress_rule, c) |
12297 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12298 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_compress_rule, c) |
12299 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_compress_rule, c) |
12300 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_compress_rule, c) |
12301 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_compress_rule, c) |
12302 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_compress_rule, c) |
12303 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_compress_rule, c) |
12304 | } |
12305 | } |
12306 | void State::_sub_Op_StrEquals(const Node *n){ |
12307 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RSI_REGP) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
12308 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RSI_REGP]+_kids[1]->_cost[RCX_REGI]+100; |
12309 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_equals_rule, c) |
12310 | DFA_PRODUCTION__SET_VALID(RREGI, string_equals_rule, c) |
12311 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12312 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_equals_rule, c) |
12313 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_equals_rule, c) |
12314 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_equals_rule, c) |
12315 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_equals_rule, c) |
12316 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_equals_rule, c) |
12317 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_equals_rule, c) |
12318 | } |
12319 | } |
12320 | void State::_sub_Op_StrIndexOf(const Node *n){ |
12321 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_RAX_REGI) && |
12322 | ( |
12323 | #line 11486 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12324 | UseSSE42Intrinsics && (((StrIndexOfNode*)n)->encoding() == StrIntrinsicNode::UL) |
12325 | #line 12325 "dfa_x86.cpp" |
12326 | ) ) { |
12327 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_RAX_REGI]+100; |
12328 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexofUL_rule, c) |
12329 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexofUL_rule, c) |
12330 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12331 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexofUL_rule, c) |
12332 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexofUL_rule, c) |
12333 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexofUL_rule, c) |
12334 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexofUL_rule, c) |
12335 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexofUL_rule, c) |
12336 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexofUL_rule, c) |
12337 | } |
12338 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_RAX_REGI) && |
12339 | ( |
12340 | #line 11469 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12341 | UseSSE42Intrinsics && (((StrIndexOfNode*)n)->encoding() == StrIntrinsicNode::UU) |
12342 | #line 12342 "dfa_x86.cpp" |
12343 | ) ) { |
12344 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_RAX_REGI]+100; |
12345 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12346 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexofU_rule, c) |
12347 | } |
12348 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12349 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexofU_rule, c) |
12350 | } |
12351 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12352 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12353 | } |
12354 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12355 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexofU_rule, c) |
12356 | } |
12357 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12358 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexofU_rule, c) |
12359 | } |
12360 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12361 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexofU_rule, c) |
12362 | } |
12363 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12364 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexofU_rule, c) |
12365 | } |
12366 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12367 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexofU_rule, c) |
12368 | } |
12369 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12370 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexofU_rule, c) |
12371 | } |
12372 | } |
12373 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_RAX_REGI) && |
12374 | ( |
12375 | #line 11452 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12376 | UseSSE42Intrinsics && (((StrIndexOfNode*)n)->encoding() == StrIntrinsicNode::LL) |
12377 | #line 12377 "dfa_x86.cpp" |
12378 | ) ) { |
12379 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_RAX_REGI]+100; |
12380 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12381 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexofL_rule, c) |
12382 | } |
12383 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12384 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexofL_rule, c) |
12385 | } |
12386 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12387 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12388 | } |
12389 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12390 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexofL_rule, c) |
12391 | } |
12392 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12393 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexofL_rule, c) |
12394 | } |
12395 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12396 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexofL_rule, c) |
12397 | } |
12398 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12399 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexofL_rule, c) |
12400 | } |
12401 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12402 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexofL_rule, c) |
12403 | } |
12404 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12405 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexofL_rule, c) |
12406 | } |
12407 | } |
12408 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_IMMI) && |
12409 | ( |
12410 | #line 11424 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12411 | UseSSE42Intrinsics && (((StrIndexOfNode*)n)->encoding() == StrIntrinsicNode::UL) |
12412 | #line 12412 "dfa_x86.cpp" |
12413 | ) ) { |
12414 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_IMMI]+100; |
12415 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12416 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexof_conUL_rule, c) |
12417 | } |
12418 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12419 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexof_conUL_rule, c) |
12420 | } |
12421 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12422 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12423 | } |
12424 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12425 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexof_conUL_rule, c) |
12426 | } |
12427 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12428 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexof_conUL_rule, c) |
12429 | } |
12430 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12431 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexof_conUL_rule, c) |
12432 | } |
12433 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12434 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexof_conUL_rule, c) |
12435 | } |
12436 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12437 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexof_conUL_rule, c) |
12438 | } |
12439 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12440 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexof_conUL_rule, c) |
12441 | } |
12442 | } |
12443 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_IMMI) && |
12444 | ( |
12445 | #line 11395 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12446 | UseSSE42Intrinsics && (((StrIndexOfNode*)n)->encoding() == StrIntrinsicNode::UU) |
12447 | #line 12447 "dfa_x86.cpp" |
12448 | ) ) { |
12449 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_IMMI]+100; |
12450 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12451 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexof_conU_rule, c) |
12452 | } |
12453 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12454 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexof_conU_rule, c) |
12455 | } |
12456 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12457 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12458 | } |
12459 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12460 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexof_conU_rule, c) |
12461 | } |
12462 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12463 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexof_conU_rule, c) |
12464 | } |
12465 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12466 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexof_conU_rule, c) |
12467 | } |
12468 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12469 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexof_conU_rule, c) |
12470 | } |
12471 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12472 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexof_conU_rule, c) |
12473 | } |
12474 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12475 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexof_conU_rule, c) |
12476 | } |
12477 | } |
12478 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], _BINARY_RSI_REGP_IMMI) && |
12479 | ( |
12480 | #line 11366 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12481 | UseSSE42Intrinsics && (((StrIndexOfNode*)n)->encoding() == StrIntrinsicNode::LL) |
12482 | #line 12482 "dfa_x86.cpp" |
12483 | ) ) { |
12484 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[_BINARY_RSI_REGP_IMMI]+100; |
12485 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12486 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexof_conL_rule, c) |
12487 | } |
12488 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12489 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexof_conL_rule, c) |
12490 | } |
12491 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12492 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12493 | } |
12494 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12495 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexof_conL_rule, c) |
12496 | } |
12497 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12498 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexof_conL_rule, c) |
12499 | } |
12500 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12501 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexof_conL_rule, c) |
12502 | } |
12503 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12504 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexof_conL_rule, c) |
12505 | } |
12506 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12507 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexof_conL_rule, c) |
12508 | } |
12509 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12510 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexof_conL_rule, c) |
12511 | } |
12512 | } |
12513 | } |
12514 | void State::_sub_Op_StrIndexOfChar(const Node *n){ |
12515 | if( STATE__VALID_CHILD(_kids[0], _BINARY_RDI_REGP_RDX_REGI) && STATE__VALID_CHILD(_kids[1], RAX_REGI) && |
12516 | ( |
12517 | #line 11503 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
12518 | UseSSE42Intrinsics |
12519 | #line 12519 "dfa_x86.cpp" |
12520 | ) ) { |
12521 | unsigned int c = _kids[0]->_cost[_BINARY_RDI_REGP_RDX_REGI]+_kids[1]->_cost[RAX_REGI]+100; |
12522 | DFA_PRODUCTION__SET_VALID(RBX_REGI, string_indexofU_char_rule, c) |
12523 | DFA_PRODUCTION__SET_VALID(RREGI, string_indexofU_char_rule, c) |
12524 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12525 | DFA_PRODUCTION__SET_VALID(RAX_REGI, string_indexofU_char_rule, c) |
12526 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, string_indexofU_char_rule, c) |
12527 | DFA_PRODUCTION__SET_VALID(RCX_REGI, string_indexofU_char_rule, c) |
12528 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, string_indexofU_char_rule, c) |
12529 | DFA_PRODUCTION__SET_VALID(RDX_REGI, string_indexofU_char_rule, c) |
12530 | DFA_PRODUCTION__SET_VALID(RDI_REGI, string_indexofU_char_rule, c) |
12531 | } |
12532 | } |
12533 | void State::_sub_Op_StrInflatedCopy(const Node *n){ |
12534 | if( STATE__VALID_CHILD(_kids[0], RSI_REGP) && STATE__VALID_CHILD(_kids[1], _BINARY_RDI_REGP_RDX_REGI) ) { |
12535 | unsigned int c = _kids[0]->_cost[RSI_REGP]+_kids[1]->_cost[_BINARY_RDI_REGP_RDX_REGI]+100; |
12536 | DFA_PRODUCTION__SET_VALID(UNIVERSE, string_inflate_rule, c) |
12537 | } |
12538 | } |
12539 | void State::_sub_Op_SubD(const Node *n){ |
12540 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
12541 | ( |
12542 | #line 2386 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12543 | UseAVX > 0 |
12544 | #line 12544 "dfa_x86.cpp" |
12545 | ) ) { |
12546 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
12547 | DFA_PRODUCTION__SET_VALID(REGD, subD_reg_imm_rule, c) |
12548 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
12549 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
12550 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
12551 | } |
12552 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
12553 | ( |
12554 | #line 2374 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12555 | UseAVX > 0 |
12556 | #line 12556 "dfa_x86.cpp" |
12557 | ) ) { |
12558 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
12559 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
12560 | DFA_PRODUCTION__SET_VALID(REGD, subD_reg_mem_rule, c) |
12561 | } |
12562 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
12563 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
12564 | } |
12565 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
12566 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
12567 | } |
12568 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
12569 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
12570 | } |
12571 | } |
12572 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
12573 | ( |
12574 | #line 2362 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12575 | UseAVX > 0 |
12576 | #line 12576 "dfa_x86.cpp" |
12577 | ) ) { |
12578 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
12579 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
12580 | DFA_PRODUCTION__SET_VALID(REGD, subD_reg_reg_rule, c) |
12581 | } |
12582 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
12583 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
12584 | } |
12585 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
12586 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
12587 | } |
12588 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
12589 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
12590 | } |
12591 | } |
12592 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], IMMD) && |
12593 | ( |
12594 | #line 2351 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12595 | (UseSSE>=2) && (UseAVX == 0) |
12596 | #line 12596 "dfa_x86.cpp" |
12597 | ) ) { |
12598 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[IMMD]+150; |
12599 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
12600 | DFA_PRODUCTION__SET_VALID(REGD, subD_imm_rule, c) |
12601 | } |
12602 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
12603 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
12604 | } |
12605 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
12606 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
12607 | } |
12608 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
12609 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
12610 | } |
12611 | } |
12612 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], _LOADD_MEMORY_) && |
12613 | ( |
12614 | #line 2339 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12615 | (UseSSE>=2) && (UseAVX == 0) |
12616 | #line 12616 "dfa_x86.cpp" |
12617 | ) ) { |
12618 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[_LOADD_MEMORY_]+150; |
12619 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
12620 | DFA_PRODUCTION__SET_VALID(REGD, subD_mem_rule, c) |
12621 | } |
12622 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
12623 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
12624 | } |
12625 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
12626 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
12627 | } |
12628 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
12629 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
12630 | } |
12631 | } |
12632 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], REGD) && |
12633 | ( |
12634 | #line 2327 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12635 | (UseSSE>=2) && (UseAVX == 0) |
12636 | #line 12636 "dfa_x86.cpp" |
12637 | ) ) { |
12638 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[REGD]+150; |
12639 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
12640 | DFA_PRODUCTION__SET_VALID(REGD, subD_reg_rule, c) |
12641 | } |
12642 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
12643 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
12644 | } |
12645 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
12646 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
12647 | } |
12648 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
12649 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
12650 | } |
12651 | } |
12652 | } |
12653 | void State::_sub_Op_SubF(const Node *n){ |
12654 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
12655 | ( |
12656 | #line 2315 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12657 | UseAVX > 0 |
12658 | #line 12658 "dfa_x86.cpp" |
12659 | ) ) { |
12660 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
12661 | DFA_PRODUCTION__SET_VALID(REGF, subF_reg_imm_rule, c) |
12662 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
12663 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
12664 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
12665 | } |
12666 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
12667 | ( |
12668 | #line 2303 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12669 | UseAVX > 0 |
12670 | #line 12670 "dfa_x86.cpp" |
12671 | ) ) { |
12672 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
12673 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
12674 | DFA_PRODUCTION__SET_VALID(REGF, subF_reg_mem_rule, c) |
12675 | } |
12676 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
12677 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
12678 | } |
12679 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
12680 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
12681 | } |
12682 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
12683 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
12684 | } |
12685 | } |
12686 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
12687 | ( |
12688 | #line 2291 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12689 | UseAVX > 0 |
12690 | #line 12690 "dfa_x86.cpp" |
12691 | ) ) { |
12692 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
12693 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
12694 | DFA_PRODUCTION__SET_VALID(REGF, subF_reg_reg_rule, c) |
12695 | } |
12696 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
12697 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
12698 | } |
12699 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
12700 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
12701 | } |
12702 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
12703 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
12704 | } |
12705 | } |
12706 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], IMMF) && |
12707 | ( |
12708 | #line 2280 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12709 | (UseSSE>=1) && (UseAVX == 0) |
12710 | #line 12710 "dfa_x86.cpp" |
12711 | ) ) { |
12712 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[IMMF]+150; |
12713 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
12714 | DFA_PRODUCTION__SET_VALID(REGF, subF_imm_rule, c) |
12715 | } |
12716 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
12717 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
12718 | } |
12719 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
12720 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
12721 | } |
12722 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
12723 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
12724 | } |
12725 | } |
12726 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], _LOADF_MEMORY_) && |
12727 | ( |
12728 | #line 2268 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12729 | (UseSSE>=1) && (UseAVX == 0) |
12730 | #line 12730 "dfa_x86.cpp" |
12731 | ) ) { |
12732 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[_LOADF_MEMORY_]+150; |
12733 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
12734 | DFA_PRODUCTION__SET_VALID(REGF, subF_mem_rule, c) |
12735 | } |
12736 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
12737 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
12738 | } |
12739 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
12740 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
12741 | } |
12742 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
12743 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
12744 | } |
12745 | } |
12746 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], REGF) && |
12747 | ( |
12748 | #line 2256 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
12749 | (UseSSE>=1) && (UseAVX == 0) |
12750 | #line 12750 "dfa_x86.cpp" |
12751 | ) ) { |
12752 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[REGF]+150; |
12753 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
12754 | DFA_PRODUCTION__SET_VALID(REGF, subF_reg_rule, c) |
12755 | } |
12756 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
12757 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
12758 | } |
12759 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
12760 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
12761 | } |
12762 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
12763 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
12764 | } |
12765 | } |
12766 | } |
12767 | void State::_sub_Op_SubI(const Node *n){ |
12768 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
12769 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]; |
12770 | DFA_PRODUCTION__SET_VALID(_SUBI_RREGI_RREGI, _SubI_rRegI_rRegI_rule, c) |
12771 | } |
12772 | if( STATE__VALID_CHILD(_kids[0], IMMI_64) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
12773 | unsigned int c = _kids[0]->_cost[IMMI_64]+_kids[1]->_cost[RCX_REGI]; |
12774 | DFA_PRODUCTION__SET_VALID(_SUBI_IMMI_64_RCX_REGI, _SubI_immI_64_rcx_RegI_rule, c) |
12775 | } |
12776 | if( STATE__VALID_CHILD(_kids[0], IMMI_32) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
12777 | unsigned int c = _kids[0]->_cost[IMMI_32]+_kids[1]->_cost[RCX_REGI]; |
12778 | DFA_PRODUCTION__SET_VALID(_SUBI_IMMI_32_RCX_REGI, _SubI_immI_32_rcx_RegI_rule, c) |
12779 | } |
12780 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
12781 | unsigned int c = _kids[0]->_cost[IMMI0]+_kids[1]->_cost[RCX_REGI]; |
12782 | DFA_PRODUCTION__SET_VALID(_SUBI_IMMI0_RCX_REGI, _SubI_immI0_rcx_RegI_rule, c) |
12783 | } |
12784 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
12785 | unsigned int c = _kids[0]->_cost[IMMI0]+_kids[1]->_cost[_LOADI_MEMORY_]; |
12786 | DFA_PRODUCTION__SET_VALID(_SUBI_IMMI0__LOADI_MEMORY_, _SubI_immI0__LoadI_memory__rule, c) |
12787 | } |
12788 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
12789 | unsigned int c = _kids[0]->_cost[IMMI0]+_kids[1]->_cost[RREGI]+100; |
12790 | DFA_PRODUCTION__SET_VALID(RREGI, negI_rReg_rule, c) |
12791 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12792 | DFA_PRODUCTION__SET_VALID(RAX_REGI, negI_rReg_rule, c) |
12793 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, negI_rReg_rule, c) |
12794 | DFA_PRODUCTION__SET_VALID(RBX_REGI, negI_rReg_rule, c) |
12795 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, negI_rReg_rule, c) |
12796 | DFA_PRODUCTION__SET_VALID(RCX_REGI, negI_rReg_rule, c) |
12797 | DFA_PRODUCTION__SET_VALID(RDX_REGI, negI_rReg_rule, c) |
12798 | DFA_PRODUCTION__SET_VALID(RDI_REGI, negI_rReg_rule, c) |
12799 | } |
12800 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
12801 | unsigned int c = _kids[0]->_cost[IMMI0]+_kids[1]->_cost[RREGI]; |
12802 | DFA_PRODUCTION__SET_VALID(_SUBI_IMMI0_RREGI, _SubI_immI0_rRegI_rule, c) |
12803 | } |
12804 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
12805 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI]; |
12806 | DFA_PRODUCTION__SET_VALID(_SUBI__LOADI_MEMORY__IMMI, _SubI__LoadI_memory__immI_rule, c) |
12807 | } |
12808 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
12809 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]; |
12810 | DFA_PRODUCTION__SET_VALID(_SUBI__LOADI_MEMORY__RREGI, _SubI__LoadI_memory__rRegI_rule, c) |
12811 | } |
12812 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
12813 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
12814 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12815 | DFA_PRODUCTION__SET_VALID(RREGI, subI_rReg_mem_rule, c) |
12816 | } |
12817 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12818 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12819 | } |
12820 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12821 | DFA_PRODUCTION__SET_VALID(RAX_REGI, subI_rReg_mem_rule, c) |
12822 | } |
12823 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12824 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, subI_rReg_mem_rule, c) |
12825 | } |
12826 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12827 | DFA_PRODUCTION__SET_VALID(RBX_REGI, subI_rReg_mem_rule, c) |
12828 | } |
12829 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12830 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, subI_rReg_mem_rule, c) |
12831 | } |
12832 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12833 | DFA_PRODUCTION__SET_VALID(RCX_REGI, subI_rReg_mem_rule, c) |
12834 | } |
12835 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12836 | DFA_PRODUCTION__SET_VALID(RDX_REGI, subI_rReg_mem_rule, c) |
12837 | } |
12838 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12839 | DFA_PRODUCTION__SET_VALID(RDI_REGI, subI_rReg_mem_rule, c) |
12840 | } |
12841 | } |
12842 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
12843 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
12844 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12845 | DFA_PRODUCTION__SET_VALID(RREGI, subI_rReg_imm_rule, c) |
12846 | } |
12847 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12848 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12849 | } |
12850 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12851 | DFA_PRODUCTION__SET_VALID(RAX_REGI, subI_rReg_imm_rule, c) |
12852 | } |
12853 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12854 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, subI_rReg_imm_rule, c) |
12855 | } |
12856 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12857 | DFA_PRODUCTION__SET_VALID(RBX_REGI, subI_rReg_imm_rule, c) |
12858 | } |
12859 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12860 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, subI_rReg_imm_rule, c) |
12861 | } |
12862 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12863 | DFA_PRODUCTION__SET_VALID(RCX_REGI, subI_rReg_imm_rule, c) |
12864 | } |
12865 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12866 | DFA_PRODUCTION__SET_VALID(RDX_REGI, subI_rReg_imm_rule, c) |
12867 | } |
12868 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12869 | DFA_PRODUCTION__SET_VALID(RDI_REGI, subI_rReg_imm_rule, c) |
12870 | } |
12871 | } |
12872 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
12873 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
12874 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
12875 | DFA_PRODUCTION__SET_VALID(RREGI, subI_rReg_rule, c) |
12876 | } |
12877 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
12878 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12879 | } |
12880 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
12881 | DFA_PRODUCTION__SET_VALID(RAX_REGI, subI_rReg_rule, c) |
12882 | } |
12883 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
12884 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, subI_rReg_rule, c) |
12885 | } |
12886 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
12887 | DFA_PRODUCTION__SET_VALID(RBX_REGI, subI_rReg_rule, c) |
12888 | } |
12889 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
12890 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, subI_rReg_rule, c) |
12891 | } |
12892 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
12893 | DFA_PRODUCTION__SET_VALID(RCX_REGI, subI_rReg_rule, c) |
12894 | } |
12895 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
12896 | DFA_PRODUCTION__SET_VALID(RDX_REGI, subI_rReg_rule, c) |
12897 | } |
12898 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
12899 | DFA_PRODUCTION__SET_VALID(RDI_REGI, subI_rReg_rule, c) |
12900 | } |
12901 | } |
12902 | } |
12903 | void State::_sub_Op_SubL(const Node *n){ |
12904 | if( STATE__VALID_CHILD(_kids[0], IMML0) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
12905 | unsigned int c = _kids[0]->_cost[IMML0]+_kids[1]->_cost[RREGL]; |
12906 | DFA_PRODUCTION__SET_VALID(_SUBL_IMML0_RREGL, _SubL_immL0_rRegL_rule, c) |
12907 | } |
12908 | if( STATE__VALID_CHILD(_kids[0], IMML0) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
12909 | unsigned int c = _kids[0]->_cost[IMML0]+_kids[1]->_cost[_LOADL_MEMORY_]; |
12910 | DFA_PRODUCTION__SET_VALID(_SUBL_IMML0__LOADL_MEMORY_, _SubL_immL0__LoadL_memory__rule, c) |
12911 | } |
12912 | if( STATE__VALID_CHILD(_kids[0], IMML0) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
12913 | unsigned int c = _kids[0]->_cost[IMML0]+_kids[1]->_cost[RREGL]+100; |
12914 | DFA_PRODUCTION__SET_VALID(RREGL, negL_rReg_rule, c) |
12915 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
12916 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, negL_rReg_rule, c) |
12917 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, negL_rReg_rule, c) |
12918 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, negL_rReg_rule, c) |
12919 | DFA_PRODUCTION__SET_VALID(RAX_REGL, negL_rReg_rule, c) |
12920 | DFA_PRODUCTION__SET_VALID(RCX_REGL, negL_rReg_rule, c) |
12921 | DFA_PRODUCTION__SET_VALID(RDX_REGL, negL_rReg_rule, c) |
12922 | } |
12923 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
12924 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML32]; |
12925 | DFA_PRODUCTION__SET_VALID(_SUBL__LOADL_MEMORY__IMML32, _SubL__LoadL_memory__immL32_rule, c) |
12926 | } |
12927 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
12928 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]; |
12929 | DFA_PRODUCTION__SET_VALID(_SUBL__LOADL_MEMORY__RREGL, _SubL__LoadL_memory__rRegL_rule, c) |
12930 | } |
12931 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
12932 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
12933 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
12934 | DFA_PRODUCTION__SET_VALID(RREGL, subL_rReg_mem_rule, c) |
12935 | } |
12936 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
12937 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
12938 | } |
12939 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
12940 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, subL_rReg_mem_rule, c) |
12941 | } |
12942 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
12943 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, subL_rReg_mem_rule, c) |
12944 | } |
12945 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
12946 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, subL_rReg_mem_rule, c) |
12947 | } |
12948 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
12949 | DFA_PRODUCTION__SET_VALID(RAX_REGL, subL_rReg_mem_rule, c) |
12950 | } |
12951 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
12952 | DFA_PRODUCTION__SET_VALID(RCX_REGL, subL_rReg_mem_rule, c) |
12953 | } |
12954 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
12955 | DFA_PRODUCTION__SET_VALID(RDX_REGL, subL_rReg_mem_rule, c) |
12956 | } |
12957 | } |
12958 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
12959 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMML32]+100; |
12960 | DFA_PRODUCTION__SET_VALID(RREGI, subL_rReg_imm_rule, c) |
12961 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
12962 | DFA_PRODUCTION__SET_VALID(RAX_REGI, subL_rReg_imm_rule, c) |
12963 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, subL_rReg_imm_rule, c) |
12964 | DFA_PRODUCTION__SET_VALID(RBX_REGI, subL_rReg_imm_rule, c) |
12965 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, subL_rReg_imm_rule, c) |
12966 | DFA_PRODUCTION__SET_VALID(RCX_REGI, subL_rReg_imm_rule, c) |
12967 | DFA_PRODUCTION__SET_VALID(RDX_REGI, subL_rReg_imm_rule, c) |
12968 | DFA_PRODUCTION__SET_VALID(RDI_REGI, subL_rReg_imm_rule, c) |
12969 | } |
12970 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
12971 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
12972 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
12973 | DFA_PRODUCTION__SET_VALID(RREGL, subL_rReg_rule, c) |
12974 | } |
12975 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
12976 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
12977 | } |
12978 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
12979 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, subL_rReg_rule, c) |
12980 | } |
12981 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
12982 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, subL_rReg_rule, c) |
12983 | } |
12984 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
12985 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, subL_rReg_rule, c) |
12986 | } |
12987 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
12988 | DFA_PRODUCTION__SET_VALID(RAX_REGL, subL_rReg_rule, c) |
12989 | } |
12990 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
12991 | DFA_PRODUCTION__SET_VALID(RCX_REGL, subL_rReg_rule, c) |
12992 | } |
12993 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
12994 | DFA_PRODUCTION__SET_VALID(RDX_REGL, subL_rReg_rule, c) |
12995 | } |
12996 | } |
12997 | } |
12998 | void State::_sub_Op_TailCall(const Node *n){ |
12999 | if( STATE__VALID_CHILD(_kids[0], NO_RBP_REGP) && STATE__VALID_CHILD(_kids[1], RBX_REGP) ) { |
13000 | unsigned int c = _kids[0]->_cost[NO_RBP_REGP]+_kids[1]->_cost[RBX_REGP]+300; |
13001 | DFA_PRODUCTION__SET_VALID(UNIVERSE, TailCalljmpInd_rule, c) |
13002 | } |
13003 | } |
13004 | void State::_sub_Op_TailJump(const Node *n){ |
13005 | if( STATE__VALID_CHILD(_kids[0], NO_RBP_REGP) && STATE__VALID_CHILD(_kids[1], RAX_REGP) ) { |
13006 | unsigned int c = _kids[0]->_cost[NO_RBP_REGP]+_kids[1]->_cost[RAX_REGP]+300; |
13007 | DFA_PRODUCTION__SET_VALID(UNIVERSE, tailjmpInd_rule, c) |
13008 | } |
13009 | } |
13010 | void State::_sub_Op_ThreadLocal(const Node *n){ |
13011 | { |
13012 | unsigned int c = 100; |
13013 | DFA_PRODUCTION__SET_VALID(R15_REGP, tlsLoadP_rule, c) |
13014 | DFA_PRODUCTION__SET_VALID(ANY_REGP, tlsLoadP_rule, c) |
13015 | DFA_PRODUCTION__SET_VALID(INDIRECT, tlsLoadP_rule, c) |
13016 | DFA_PRODUCTION__SET_VALID(MEMORY, indirect_rule, c) |
13017 | DFA_PRODUCTION__SET_VALID(RREGP, tlsLoadP_rule, c) |
13018 | DFA_PRODUCTION__SET_VALID(STACKSLOTP, storeSSP_rule, c+100) |
13019 | DFA_PRODUCTION__SET_VALID(RAX_REGP, tlsLoadP_rule, c) |
13020 | DFA_PRODUCTION__SET_VALID(RBX_REGP, tlsLoadP_rule, c) |
13021 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGP, tlsLoadP_rule, c) |
13022 | DFA_PRODUCTION__SET_VALID(NO_RBP_REGP, tlsLoadP_rule, c) |
13023 | DFA_PRODUCTION__SET_VALID(RSI_REGP, tlsLoadP_rule, c) |
13024 | DFA_PRODUCTION__SET_VALID(NO_RAX_RBX_REGP, tlsLoadP_rule, c) |
13025 | DFA_PRODUCTION__SET_VALID(RDI_REGP, tlsLoadP_rule, c) |
13026 | } |
13027 | } |
13028 | void State::_sub_Op_URShiftI(const Node *n){ |
13029 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGI) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
13030 | unsigned int c = _kids[0]->_cost[NO_RCX_REGI]+_kids[1]->_cost[RCX_REGI]; |
13031 | DFA_PRODUCTION__SET_VALID(_URSHIFTI_NO_RCX_REGI_RCX_REGI, _URShiftI_no_rcx_RegI_rcx_RegI_rule, c) |
13032 | } |
13033 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
13034 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI1]; |
13035 | DFA_PRODUCTION__SET_VALID(_URSHIFTI_RREGI_IMMI1, _URShiftI_rRegI_immI1_rule, c) |
13036 | } |
13037 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI_32_RCX_REGI) ) { |
13038 | unsigned int c = _kids[0]->_cost[NO_RCX_REGI]+_kids[1]->_cost[_SUBI_IMMI_32_RCX_REGI]; |
13039 | DFA_PRODUCTION__SET_VALID(_URSHIFTI_NO_RCX_REGI__SUBI_IMMI_32_RCX_REGI, _URShiftI_no_rcx_RegI__SubI_immI_32_rcx_RegI_rule, c) |
13040 | } |
13041 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGI) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0_RCX_REGI) ) { |
13042 | unsigned int c = _kids[0]->_cost[NO_RCX_REGI]+_kids[1]->_cost[_SUBI_IMMI0_RCX_REGI]; |
13043 | DFA_PRODUCTION__SET_VALID(_URSHIFTI_NO_RCX_REGI__SUBI_IMMI0_RCX_REGI, _URShiftI_no_rcx_RegI__SubI_immI0_rcx_RegI_rule, c) |
13044 | } |
13045 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
13046 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI8]; |
13047 | DFA_PRODUCTION__SET_VALID(_URSHIFTI_RREGI_IMMI8, _URShiftI_rRegI_immI8_rule, c) |
13048 | } |
13049 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
13050 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_M1]; |
13051 | DFA_PRODUCTION__SET_VALID(_URSHIFTI_RREGI_IMMI_M1, _URShiftI_rRegI_immI_M1_rule, c) |
13052 | } |
13053 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
13054 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RCX_REGI]; |
13055 | DFA_PRODUCTION__SET_VALID(_URSHIFTI__LOADI_MEMORY__RCX_REGI, _URShiftI__LoadI_memory__rcx_RegI_rule, c) |
13056 | } |
13057 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
13058 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RCX_REGI]+100; |
13059 | DFA_PRODUCTION__SET_VALID(RREGI, shrI_rReg_CL_rule, c) |
13060 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13061 | DFA_PRODUCTION__SET_VALID(RAX_REGI, shrI_rReg_CL_rule, c) |
13062 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, shrI_rReg_CL_rule, c) |
13063 | DFA_PRODUCTION__SET_VALID(RBX_REGI, shrI_rReg_CL_rule, c) |
13064 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, shrI_rReg_CL_rule, c) |
13065 | DFA_PRODUCTION__SET_VALID(RCX_REGI, shrI_rReg_CL_rule, c) |
13066 | DFA_PRODUCTION__SET_VALID(RDX_REGI, shrI_rReg_CL_rule, c) |
13067 | DFA_PRODUCTION__SET_VALID(RDI_REGI, shrI_rReg_CL_rule, c) |
13068 | } |
13069 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
13070 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI8]; |
13071 | DFA_PRODUCTION__SET_VALID(_URSHIFTI__LOADI_MEMORY__IMMI8, _URShiftI__LoadI_memory__immI8_rule, c) |
13072 | } |
13073 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
13074 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI8]+100; |
13075 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13076 | DFA_PRODUCTION__SET_VALID(RREGI, shrI_rReg_imm_rule, c) |
13077 | } |
13078 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13079 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13080 | } |
13081 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13082 | DFA_PRODUCTION__SET_VALID(RAX_REGI, shrI_rReg_imm_rule, c) |
13083 | } |
13084 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13085 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, shrI_rReg_imm_rule, c) |
13086 | } |
13087 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13088 | DFA_PRODUCTION__SET_VALID(RBX_REGI, shrI_rReg_imm_rule, c) |
13089 | } |
13090 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13091 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, shrI_rReg_imm_rule, c) |
13092 | } |
13093 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13094 | DFA_PRODUCTION__SET_VALID(RCX_REGI, shrI_rReg_imm_rule, c) |
13095 | } |
13096 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13097 | DFA_PRODUCTION__SET_VALID(RDX_REGI, shrI_rReg_imm_rule, c) |
13098 | } |
13099 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13100 | DFA_PRODUCTION__SET_VALID(RDI_REGI, shrI_rReg_imm_rule, c) |
13101 | } |
13102 | } |
13103 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
13104 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI1]; |
13105 | DFA_PRODUCTION__SET_VALID(_URSHIFTI__LOADI_MEMORY__IMMI1, _URShiftI__LoadI_memory__immI1_rule, c) |
13106 | } |
13107 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
13108 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI1]+100; |
13109 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13110 | DFA_PRODUCTION__SET_VALID(RREGI, shrI_rReg_1_rule, c) |
13111 | } |
13112 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13113 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13114 | } |
13115 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13116 | DFA_PRODUCTION__SET_VALID(RAX_REGI, shrI_rReg_1_rule, c) |
13117 | } |
13118 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13119 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, shrI_rReg_1_rule, c) |
13120 | } |
13121 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13122 | DFA_PRODUCTION__SET_VALID(RBX_REGI, shrI_rReg_1_rule, c) |
13123 | } |
13124 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13125 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, shrI_rReg_1_rule, c) |
13126 | } |
13127 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13128 | DFA_PRODUCTION__SET_VALID(RCX_REGI, shrI_rReg_1_rule, c) |
13129 | } |
13130 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13131 | DFA_PRODUCTION__SET_VALID(RDX_REGI, shrI_rReg_1_rule, c) |
13132 | } |
13133 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13134 | DFA_PRODUCTION__SET_VALID(RDI_REGI, shrI_rReg_1_rule, c) |
13135 | } |
13136 | } |
13137 | } |
13138 | void State::_sub_Op_URShiftL(const Node *n){ |
13139 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGL) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
13140 | unsigned int c = _kids[0]->_cost[NO_RCX_REGL]+_kids[1]->_cost[RCX_REGI]; |
13141 | DFA_PRODUCTION__SET_VALID(_URSHIFTL_NO_RCX_REGL_RCX_REGI, _URShiftL_no_rcx_RegL_rcx_RegI_rule, c) |
13142 | } |
13143 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
13144 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI1]; |
13145 | DFA_PRODUCTION__SET_VALID(_URSHIFTL_RREGL_IMMI1, _URShiftL_rRegL_immI1_rule, c) |
13146 | } |
13147 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGL) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI_64_RCX_REGI) ) { |
13148 | unsigned int c = _kids[0]->_cost[NO_RCX_REGL]+_kids[1]->_cost[_SUBI_IMMI_64_RCX_REGI]; |
13149 | DFA_PRODUCTION__SET_VALID(_URSHIFTL_NO_RCX_REGL__SUBI_IMMI_64_RCX_REGI, _URShiftL_no_rcx_RegL__SubI_immI_64_rcx_RegI_rule, c) |
13150 | } |
13151 | if( STATE__VALID_CHILD(_kids[0], NO_RCX_REGL) && STATE__VALID_CHILD(_kids[1], _SUBI_IMMI0_RCX_REGI) ) { |
13152 | unsigned int c = _kids[0]->_cost[NO_RCX_REGL]+_kids[1]->_cost[_SUBI_IMMI0_RCX_REGI]; |
13153 | DFA_PRODUCTION__SET_VALID(_URSHIFTL_NO_RCX_REGL__SUBI_IMMI0_RCX_REGI, _URShiftL_no_rcx_RegL__SubI_immI0_rcx_RegI_rule, c) |
13154 | } |
13155 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
13156 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI8]; |
13157 | DFA_PRODUCTION__SET_VALID(_URSHIFTL_RREGL_IMMI8, _URShiftL_rRegL_immI8_rule, c) |
13158 | } |
13159 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
13160 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI_M1]; |
13161 | DFA_PRODUCTION__SET_VALID(_URSHIFTL_RREGL_IMMI_M1, _URShiftL_rRegL_immI_M1_rule, c) |
13162 | } |
13163 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
13164 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RCX_REGI]; |
13165 | DFA_PRODUCTION__SET_VALID(_URSHIFTL__LOADL_MEMORY__RCX_REGI, _URShiftL__LoadL_memory__rcx_RegI_rule, c) |
13166 | } |
13167 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RCX_REGI) ) { |
13168 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RCX_REGI]+100; |
13169 | DFA_PRODUCTION__SET_VALID(RREGL, shrL_rReg_CL_rule, c) |
13170 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13171 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, shrL_rReg_CL_rule, c) |
13172 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, shrL_rReg_CL_rule, c) |
13173 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, shrL_rReg_CL_rule, c) |
13174 | DFA_PRODUCTION__SET_VALID(RAX_REGL, shrL_rReg_CL_rule, c) |
13175 | DFA_PRODUCTION__SET_VALID(RCX_REGL, shrL_rReg_CL_rule, c) |
13176 | DFA_PRODUCTION__SET_VALID(RDX_REGL, shrL_rReg_CL_rule, c) |
13177 | } |
13178 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
13179 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMMI8]; |
13180 | DFA_PRODUCTION__SET_VALID(_URSHIFTL__LOADL_MEMORY__IMMI8, _URShiftL__LoadL_memory__immI8_rule, c) |
13181 | } |
13182 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI8) ) { |
13183 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI8]+100; |
13184 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13185 | DFA_PRODUCTION__SET_VALID(RREGL, shrL_rReg_imm_rule, c) |
13186 | } |
13187 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13188 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13189 | } |
13190 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13191 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, shrL_rReg_imm_rule, c) |
13192 | } |
13193 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13194 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, shrL_rReg_imm_rule, c) |
13195 | } |
13196 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13197 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, shrL_rReg_imm_rule, c) |
13198 | } |
13199 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13200 | DFA_PRODUCTION__SET_VALID(RAX_REGL, shrL_rReg_imm_rule, c) |
13201 | } |
13202 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13203 | DFA_PRODUCTION__SET_VALID(RCX_REGL, shrL_rReg_imm_rule, c) |
13204 | } |
13205 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13206 | DFA_PRODUCTION__SET_VALID(RDX_REGL, shrL_rReg_imm_rule, c) |
13207 | } |
13208 | } |
13209 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
13210 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMMI1]; |
13211 | DFA_PRODUCTION__SET_VALID(_URSHIFTL__LOADL_MEMORY__IMMI1, _URShiftL__LoadL_memory__immI1_rule, c) |
13212 | } |
13213 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMMI1) ) { |
13214 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMMI1]+100; |
13215 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13216 | DFA_PRODUCTION__SET_VALID(RREGL, shrL_rReg_1_rule, c) |
13217 | } |
13218 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13219 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13220 | } |
13221 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13222 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, shrL_rReg_1_rule, c) |
13223 | } |
13224 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13225 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, shrL_rReg_1_rule, c) |
13226 | } |
13227 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13228 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, shrL_rReg_1_rule, c) |
13229 | } |
13230 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13231 | DFA_PRODUCTION__SET_VALID(RAX_REGL, shrL_rReg_1_rule, c) |
13232 | } |
13233 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13234 | DFA_PRODUCTION__SET_VALID(RCX_REGL, shrL_rReg_1_rule, c) |
13235 | } |
13236 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13237 | DFA_PRODUCTION__SET_VALID(RDX_REGL, shrL_rReg_1_rule, c) |
13238 | } |
13239 | } |
13240 | } |
13241 | void State::_sub_Op_XorI(const Node *n){ |
13242 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
13243 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[IMMI]; |
13244 | DFA_PRODUCTION__SET_VALID(_XORI__LOADI_MEMORY__IMMI, _XorI__LoadI_memory__immI_rule, c) |
13245 | } |
13246 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
13247 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]; |
13248 | DFA_PRODUCTION__SET_VALID(_XORI_RREGI__LOADI_MEMORY_, _XorI_rRegI__LoadI_memory__rule, c) |
13249 | } |
13250 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
13251 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]; |
13252 | DFA_PRODUCTION__SET_VALID(_XORI__LOADI_MEMORY__RREGI, _XorI__LoadI_memory__rRegI_rule, c) |
13253 | } |
13254 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADB_MEMORY_) ) { |
13255 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADB_MEMORY_]; |
13256 | DFA_PRODUCTION__SET_VALID(_XORI_RREGI__LOADB_MEMORY_, _XorI_rRegI__LoadB_memory__rule, c) |
13257 | } |
13258 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
13259 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+_kids[1]->_cost[RREGI]; |
13260 | DFA_PRODUCTION__SET_VALID(_XORI__LOADB_MEMORY__RREGI, _XorI__LoadB_memory__rRegI_rule, c) |
13261 | } |
13262 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
13263 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[RREGI]+125; |
13264 | DFA_PRODUCTION__SET_VALID(RREGI, xorI_rReg_mem_0_rule, c) |
13265 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13266 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xorI_rReg_mem_0_rule, c) |
13267 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xorI_rReg_mem_0_rule, c) |
13268 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xorI_rReg_mem_0_rule, c) |
13269 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xorI_rReg_mem_0_rule, c) |
13270 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xorI_rReg_mem_0_rule, c) |
13271 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xorI_rReg_mem_0_rule, c) |
13272 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xorI_rReg_mem_0_rule, c) |
13273 | } |
13274 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) ) { |
13275 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
13276 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13277 | DFA_PRODUCTION__SET_VALID(RREGI, xorI_rReg_mem_rule, c) |
13278 | } |
13279 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13280 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13281 | } |
13282 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13283 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xorI_rReg_mem_rule, c) |
13284 | } |
13285 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13286 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xorI_rReg_mem_rule, c) |
13287 | } |
13288 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13289 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xorI_rReg_mem_rule, c) |
13290 | } |
13291 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13292 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xorI_rReg_mem_rule, c) |
13293 | } |
13294 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13295 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xorI_rReg_mem_rule, c) |
13296 | } |
13297 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13298 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xorI_rReg_mem_rule, c) |
13299 | } |
13300 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13301 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xorI_rReg_mem_rule, c) |
13302 | } |
13303 | } |
13304 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI) ) { |
13305 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI]+100; |
13306 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13307 | DFA_PRODUCTION__SET_VALID(RREGI, xorI_rReg_imm_rule, c) |
13308 | } |
13309 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13310 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13311 | } |
13312 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13313 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xorI_rReg_imm_rule, c) |
13314 | } |
13315 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13316 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xorI_rReg_imm_rule, c) |
13317 | } |
13318 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13319 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xorI_rReg_imm_rule, c) |
13320 | } |
13321 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13322 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xorI_rReg_imm_rule, c) |
13323 | } |
13324 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13325 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xorI_rReg_imm_rule, c) |
13326 | } |
13327 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13328 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xorI_rReg_imm_rule, c) |
13329 | } |
13330 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13331 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xorI_rReg_imm_rule, c) |
13332 | } |
13333 | } |
13334 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
13335 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_M1]+100; |
13336 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13337 | DFA_PRODUCTION__SET_VALID(RREGI, xorI_rReg_im1_rule, c) |
13338 | } |
13339 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13340 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13341 | } |
13342 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13343 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xorI_rReg_im1_rule, c) |
13344 | } |
13345 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13346 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xorI_rReg_im1_rule, c) |
13347 | } |
13348 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13349 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xorI_rReg_im1_rule, c) |
13350 | } |
13351 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13352 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xorI_rReg_im1_rule, c) |
13353 | } |
13354 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13355 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xorI_rReg_im1_rule, c) |
13356 | } |
13357 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13358 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xorI_rReg_im1_rule, c) |
13359 | } |
13360 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13361 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xorI_rReg_im1_rule, c) |
13362 | } |
13363 | } |
13364 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], RREGI) ) { |
13365 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[RREGI]+100; |
13366 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13367 | DFA_PRODUCTION__SET_VALID(RREGI, xorI_rReg_rule, c) |
13368 | } |
13369 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13370 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13371 | } |
13372 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13373 | DFA_PRODUCTION__SET_VALID(RAX_REGI, xorI_rReg_rule, c) |
13374 | } |
13375 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13376 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, xorI_rReg_rule, c) |
13377 | } |
13378 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13379 | DFA_PRODUCTION__SET_VALID(RBX_REGI, xorI_rReg_rule, c) |
13380 | } |
13381 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13382 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, xorI_rReg_rule, c) |
13383 | } |
13384 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13385 | DFA_PRODUCTION__SET_VALID(RCX_REGI, xorI_rReg_rule, c) |
13386 | } |
13387 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13388 | DFA_PRODUCTION__SET_VALID(RDX_REGI, xorI_rReg_rule, c) |
13389 | } |
13390 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13391 | DFA_PRODUCTION__SET_VALID(RDI_REGI, xorI_rReg_rule, c) |
13392 | } |
13393 | } |
13394 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], _ADDI_RREGI_IMMI_M1) && |
13395 | ( |
13396 | #line 9685 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13397 | UseBMI1Instructions |
13398 | #line 13398 "dfa_x86.cpp" |
13399 | ) && /*src*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
13400 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[_ADDI_RREGI_IMMI_M1]+100; |
13401 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13402 | DFA_PRODUCTION__SET_VALID(RREGI, blsmskI_rReg_rReg_0_rule, c) |
13403 | } |
13404 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13405 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13406 | } |
13407 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13408 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsmskI_rReg_rReg_0_rule, c) |
13409 | } |
13410 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13411 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsmskI_rReg_rReg_0_rule, c) |
13412 | } |
13413 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13414 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsmskI_rReg_rReg_0_rule, c) |
13415 | } |
13416 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13417 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsmskI_rReg_rReg_0_rule, c) |
13418 | } |
13419 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13420 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsmskI_rReg_rReg_0_rule, c) |
13421 | } |
13422 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13423 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsmskI_rReg_rReg_0_rule, c) |
13424 | } |
13425 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13426 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsmskI_rReg_rReg_0_rule, c) |
13427 | } |
13428 | } |
13429 | if( STATE__VALID_CHILD(_kids[0], _ADDI_RREGI_IMMI_M1) && STATE__VALID_CHILD(_kids[1], RREGI) && |
13430 | ( |
13431 | #line 9685 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13432 | UseBMI1Instructions |
13433 | #line 13433 "dfa_x86.cpp" |
13434 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_leaf) ) { |
13435 | unsigned int c = _kids[0]->_cost[_ADDI_RREGI_IMMI_M1]+_kids[1]->_cost[RREGI]+100; |
13436 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13437 | DFA_PRODUCTION__SET_VALID(RREGI, blsmskI_rReg_rReg_rule, c) |
13438 | } |
13439 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13440 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13441 | } |
13442 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13443 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsmskI_rReg_rReg_rule, c) |
13444 | } |
13445 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13446 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsmskI_rReg_rReg_rule, c) |
13447 | } |
13448 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13449 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsmskI_rReg_rReg_rule, c) |
13450 | } |
13451 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13452 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsmskI_rReg_rReg_rule, c) |
13453 | } |
13454 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13455 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsmskI_rReg_rReg_rule, c) |
13456 | } |
13457 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13458 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsmskI_rReg_rReg_rule, c) |
13459 | } |
13460 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13461 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsmskI_rReg_rReg_rule, c) |
13462 | } |
13463 | } |
13464 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && STATE__VALID_CHILD(_kids[1], _ADDI__LOADI_MEMORY__IMMI_M1) && |
13465 | ( |
13466 | #line 9670 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13467 | UseBMI1Instructions |
13468 | #line 13468 "dfa_x86.cpp" |
13469 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
13470 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+_kids[1]->_cost[_ADDI__LOADI_MEMORY__IMMI_M1]+125; |
13471 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13472 | DFA_PRODUCTION__SET_VALID(RREGI, blsmskI_rReg_mem_0_rule, c) |
13473 | } |
13474 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13475 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13476 | } |
13477 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13478 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsmskI_rReg_mem_0_rule, c) |
13479 | } |
13480 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13481 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsmskI_rReg_mem_0_rule, c) |
13482 | } |
13483 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13484 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsmskI_rReg_mem_0_rule, c) |
13485 | } |
13486 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13487 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsmskI_rReg_mem_0_rule, c) |
13488 | } |
13489 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13490 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsmskI_rReg_mem_0_rule, c) |
13491 | } |
13492 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13493 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsmskI_rReg_mem_0_rule, c) |
13494 | } |
13495 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13496 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsmskI_rReg_mem_0_rule, c) |
13497 | } |
13498 | } |
13499 | if( STATE__VALID_CHILD(_kids[0], _ADDI__LOADI_MEMORY__IMMI_M1) && STATE__VALID_CHILD(_kids[1], _LOADI_MEMORY_) && |
13500 | ( |
13501 | #line 9670 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13502 | UseBMI1Instructions |
13503 | #line 13503 "dfa_x86.cpp" |
13504 | ) && /*src*/(_kids[0]->_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
13505 | unsigned int c = _kids[0]->_cost[_ADDI__LOADI_MEMORY__IMMI_M1]+_kids[1]->_cost[_LOADI_MEMORY_]+125; |
13506 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
13507 | DFA_PRODUCTION__SET_VALID(RREGI, blsmskI_rReg_mem_rule, c) |
13508 | } |
13509 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
13510 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
13511 | } |
13512 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
13513 | DFA_PRODUCTION__SET_VALID(RAX_REGI, blsmskI_rReg_mem_rule, c) |
13514 | } |
13515 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
13516 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, blsmskI_rReg_mem_rule, c) |
13517 | } |
13518 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
13519 | DFA_PRODUCTION__SET_VALID(RBX_REGI, blsmskI_rReg_mem_rule, c) |
13520 | } |
13521 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
13522 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, blsmskI_rReg_mem_rule, c) |
13523 | } |
13524 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
13525 | DFA_PRODUCTION__SET_VALID(RCX_REGI, blsmskI_rReg_mem_rule, c) |
13526 | } |
13527 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
13528 | DFA_PRODUCTION__SET_VALID(RDX_REGI, blsmskI_rReg_mem_rule, c) |
13529 | } |
13530 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
13531 | DFA_PRODUCTION__SET_VALID(RDI_REGI, blsmskI_rReg_mem_rule, c) |
13532 | } |
13533 | } |
13534 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], IMMI_M1) ) { |
13535 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[IMMI_M1]; |
13536 | DFA_PRODUCTION__SET_VALID(_XORI_RREGI_IMMI_M1, _XorI_rRegI_immI_M1_rule, c) |
13537 | } |
13538 | } |
13539 | void State::_sub_Op_XorL(const Node *n){ |
13540 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
13541 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[IMML32]; |
13542 | DFA_PRODUCTION__SET_VALID(_XORL__LOADL_MEMORY__IMML32, _XorL__LoadL_memory__immL32_rule, c) |
13543 | } |
13544 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
13545 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]; |
13546 | DFA_PRODUCTION__SET_VALID(_XORL_RREGL__LOADL_MEMORY_, _XorL_rRegL__LoadL_memory__rule, c) |
13547 | } |
13548 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
13549 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]; |
13550 | DFA_PRODUCTION__SET_VALID(_XORL__LOADL_MEMORY__RREGL, _XorL__LoadL_memory__rRegL_rule, c) |
13551 | } |
13552 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
13553 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[RREGL]+125; |
13554 | DFA_PRODUCTION__SET_VALID(RREGL, xorL_rReg_mem_0_rule, c) |
13555 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13556 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xorL_rReg_mem_0_rule, c) |
13557 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xorL_rReg_mem_0_rule, c) |
13558 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xorL_rReg_mem_0_rule, c) |
13559 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xorL_rReg_mem_0_rule, c) |
13560 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xorL_rReg_mem_0_rule, c) |
13561 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xorL_rReg_mem_0_rule, c) |
13562 | } |
13563 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) ) { |
13564 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
13565 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13566 | DFA_PRODUCTION__SET_VALID(RREGL, xorL_rReg_mem_rule, c) |
13567 | } |
13568 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13569 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13570 | } |
13571 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13572 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xorL_rReg_mem_rule, c) |
13573 | } |
13574 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13575 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xorL_rReg_mem_rule, c) |
13576 | } |
13577 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13578 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xorL_rReg_mem_rule, c) |
13579 | } |
13580 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13581 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xorL_rReg_mem_rule, c) |
13582 | } |
13583 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13584 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xorL_rReg_mem_rule, c) |
13585 | } |
13586 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13587 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xorL_rReg_mem_rule, c) |
13588 | } |
13589 | } |
13590 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML32) ) { |
13591 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML32]+100; |
13592 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13593 | DFA_PRODUCTION__SET_VALID(RREGL, xorL_rReg_imm_rule, c) |
13594 | } |
13595 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13596 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13597 | } |
13598 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13599 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xorL_rReg_imm_rule, c) |
13600 | } |
13601 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13602 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xorL_rReg_imm_rule, c) |
13603 | } |
13604 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13605 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xorL_rReg_imm_rule, c) |
13606 | } |
13607 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13608 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xorL_rReg_imm_rule, c) |
13609 | } |
13610 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13611 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xorL_rReg_imm_rule, c) |
13612 | } |
13613 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13614 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xorL_rReg_imm_rule, c) |
13615 | } |
13616 | } |
13617 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_M1) ) { |
13618 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_M1]+100; |
13619 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13620 | DFA_PRODUCTION__SET_VALID(RREGL, xorL_rReg_im1_rule, c) |
13621 | } |
13622 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13623 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13624 | } |
13625 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13626 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xorL_rReg_im1_rule, c) |
13627 | } |
13628 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13629 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xorL_rReg_im1_rule, c) |
13630 | } |
13631 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13632 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xorL_rReg_im1_rule, c) |
13633 | } |
13634 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13635 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xorL_rReg_im1_rule, c) |
13636 | } |
13637 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13638 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xorL_rReg_im1_rule, c) |
13639 | } |
13640 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13641 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xorL_rReg_im1_rule, c) |
13642 | } |
13643 | } |
13644 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], RREGL) ) { |
13645 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[RREGL]+100; |
13646 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13647 | DFA_PRODUCTION__SET_VALID(RREGL, xorL_rReg_rule, c) |
13648 | } |
13649 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13650 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13651 | } |
13652 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13653 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, xorL_rReg_rule, c) |
13654 | } |
13655 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13656 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, xorL_rReg_rule, c) |
13657 | } |
13658 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13659 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, xorL_rReg_rule, c) |
13660 | } |
13661 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13662 | DFA_PRODUCTION__SET_VALID(RAX_REGL, xorL_rReg_rule, c) |
13663 | } |
13664 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13665 | DFA_PRODUCTION__SET_VALID(RCX_REGL, xorL_rReg_rule, c) |
13666 | } |
13667 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13668 | DFA_PRODUCTION__SET_VALID(RDX_REGL, xorL_rReg_rule, c) |
13669 | } |
13670 | } |
13671 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], _ADDL_RREGL_IMML_M1) && |
13672 | ( |
13673 | #line 10056 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13674 | UseBMI1Instructions |
13675 | #line 13675 "dfa_x86.cpp" |
13676 | ) && /*src*/(_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
13677 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[_ADDL_RREGL_IMML_M1]+100; |
13678 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13679 | DFA_PRODUCTION__SET_VALID(RREGL, blsmskL_rReg_rReg_0_rule, c) |
13680 | } |
13681 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13682 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13683 | } |
13684 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13685 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsmskL_rReg_rReg_0_rule, c) |
13686 | } |
13687 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13688 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsmskL_rReg_rReg_0_rule, c) |
13689 | } |
13690 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13691 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsmskL_rReg_rReg_0_rule, c) |
13692 | } |
13693 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13694 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsmskL_rReg_rReg_0_rule, c) |
13695 | } |
13696 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13697 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsmskL_rReg_rReg_0_rule, c) |
13698 | } |
13699 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13700 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsmskL_rReg_rReg_0_rule, c) |
13701 | } |
13702 | } |
13703 | if( STATE__VALID_CHILD(_kids[0], _ADDL_RREGL_IMML_M1) && STATE__VALID_CHILD(_kids[1], RREGL) && |
13704 | ( |
13705 | #line 10056 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13706 | UseBMI1Instructions |
13707 | #line 13707 "dfa_x86.cpp" |
13708 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_leaf) ) { |
13709 | unsigned int c = _kids[0]->_cost[_ADDL_RREGL_IMML_M1]+_kids[1]->_cost[RREGL]+100; |
13710 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13711 | DFA_PRODUCTION__SET_VALID(RREGL, blsmskL_rReg_rReg_rule, c) |
13712 | } |
13713 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13714 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13715 | } |
13716 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13717 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsmskL_rReg_rReg_rule, c) |
13718 | } |
13719 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13720 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsmskL_rReg_rReg_rule, c) |
13721 | } |
13722 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13723 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsmskL_rReg_rReg_rule, c) |
13724 | } |
13725 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13726 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsmskL_rReg_rReg_rule, c) |
13727 | } |
13728 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13729 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsmskL_rReg_rReg_rule, c) |
13730 | } |
13731 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13732 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsmskL_rReg_rReg_rule, c) |
13733 | } |
13734 | } |
13735 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && STATE__VALID_CHILD(_kids[1], _ADDL__LOADL_MEMORY__IMML_M1) && |
13736 | ( |
13737 | #line 10041 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13738 | UseBMI1Instructions |
13739 | #line 13739 "dfa_x86.cpp" |
13740 | ) && /*src*/(_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_kids[0]->_leaf) ) { |
13741 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+_kids[1]->_cost[_ADDL__LOADL_MEMORY__IMML_M1]+125; |
13742 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13743 | DFA_PRODUCTION__SET_VALID(RREGL, blsmskL_rReg_mem_0_rule, c) |
13744 | } |
13745 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13746 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13747 | } |
13748 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13749 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsmskL_rReg_mem_0_rule, c) |
13750 | } |
13751 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13752 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsmskL_rReg_mem_0_rule, c) |
13753 | } |
13754 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13755 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsmskL_rReg_mem_0_rule, c) |
13756 | } |
13757 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13758 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsmskL_rReg_mem_0_rule, c) |
13759 | } |
13760 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13761 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsmskL_rReg_mem_0_rule, c) |
13762 | } |
13763 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13764 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsmskL_rReg_mem_0_rule, c) |
13765 | } |
13766 | } |
13767 | if( STATE__VALID_CHILD(_kids[0], _ADDL__LOADL_MEMORY__IMML_M1) && STATE__VALID_CHILD(_kids[1], _LOADL_MEMORY_) && |
13768 | ( |
13769 | #line 10041 "/workspace/jdk13/src/hotspot/cpu/x86/x86_64.ad" |
13770 | UseBMI1Instructions |
13771 | #line 13771 "dfa_x86.cpp" |
13772 | ) && /*src*/(_kids[0]->_kids[0]->_kids[0]->_leaf == _kids[1]->_kids[0]->_leaf) ) { |
13773 | unsigned int c = _kids[0]->_cost[_ADDL__LOADL_MEMORY__IMML_M1]+_kids[1]->_cost[_LOADL_MEMORY_]+125; |
13774 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
13775 | DFA_PRODUCTION__SET_VALID(RREGL, blsmskL_rReg_mem_rule, c) |
13776 | } |
13777 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
13778 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
13779 | } |
13780 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
13781 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, blsmskL_rReg_mem_rule, c) |
13782 | } |
13783 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
13784 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, blsmskL_rReg_mem_rule, c) |
13785 | } |
13786 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
13787 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, blsmskL_rReg_mem_rule, c) |
13788 | } |
13789 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
13790 | DFA_PRODUCTION__SET_VALID(RAX_REGL, blsmskL_rReg_mem_rule, c) |
13791 | } |
13792 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
13793 | DFA_PRODUCTION__SET_VALID(RCX_REGL, blsmskL_rReg_mem_rule, c) |
13794 | } |
13795 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
13796 | DFA_PRODUCTION__SET_VALID(RDX_REGL, blsmskL_rReg_mem_rule, c) |
13797 | } |
13798 | } |
13799 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], IMML_M1) ) { |
13800 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[IMML_M1]; |
13801 | DFA_PRODUCTION__SET_VALID(_XORL_RREGL_IMML_M1, _XorL_rRegL_immL_M1_rule, c) |
13802 | } |
13803 | } |
13804 | void State::_sub_Op_AddVB(const Node *n){ |
13805 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
13806 | ( |
13807 | #line 6089 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13808 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 64 |
13809 | #line 13809 "dfa_x86.cpp" |
13810 | ) ) { |
13811 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
13812 | DFA_PRODUCTION__SET_VALID(VECZ, vadd64B_mem_0_rule, c) |
13813 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
13814 | } |
13815 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
13816 | ( |
13817 | #line 6089 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13818 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 64 |
13819 | #line 13819 "dfa_x86.cpp" |
13820 | ) ) { |
13821 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
13822 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
13823 | DFA_PRODUCTION__SET_VALID(VECZ, vadd64B_mem_rule, c) |
13824 | } |
13825 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
13826 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
13827 | } |
13828 | } |
13829 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
13830 | ( |
13831 | #line 6078 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13832 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 64 |
13833 | #line 13833 "dfa_x86.cpp" |
13834 | ) ) { |
13835 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
13836 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
13837 | DFA_PRODUCTION__SET_VALID(VECZ, vadd64B_reg_rule, c) |
13838 | } |
13839 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
13840 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
13841 | } |
13842 | } |
13843 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
13844 | ( |
13845 | #line 6067 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13846 | UseAVX > 1 && n->as_Vector()->length() == 32 |
13847 | #line 13847 "dfa_x86.cpp" |
13848 | ) ) { |
13849 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
13850 | DFA_PRODUCTION__SET_VALID(VECY, vadd32B_mem_0_rule, c) |
13851 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
13852 | } |
13853 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
13854 | ( |
13855 | #line 6067 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13856 | UseAVX > 1 && n->as_Vector()->length() == 32 |
13857 | #line 13857 "dfa_x86.cpp" |
13858 | ) ) { |
13859 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
13860 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
13861 | DFA_PRODUCTION__SET_VALID(VECY, vadd32B_mem_rule, c) |
13862 | } |
13863 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
13864 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
13865 | } |
13866 | } |
13867 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
13868 | ( |
13869 | #line 6056 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13870 | UseAVX > 1 && n->as_Vector()->length() == 32 |
13871 | #line 13871 "dfa_x86.cpp" |
13872 | ) ) { |
13873 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
13874 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
13875 | DFA_PRODUCTION__SET_VALID(VECY, vadd32B_reg_rule, c) |
13876 | } |
13877 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
13878 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
13879 | } |
13880 | } |
13881 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
13882 | ( |
13883 | #line 6045 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13884 | UseAVX > 0 && n->as_Vector()->length() == 16 |
13885 | #line 13885 "dfa_x86.cpp" |
13886 | ) ) { |
13887 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
13888 | DFA_PRODUCTION__SET_VALID(VECX, vadd16B_mem_0_rule, c) |
13889 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
13890 | } |
13891 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
13892 | ( |
13893 | #line 6045 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13894 | UseAVX > 0 && n->as_Vector()->length() == 16 |
13895 | #line 13895 "dfa_x86.cpp" |
13896 | ) ) { |
13897 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
13898 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
13899 | DFA_PRODUCTION__SET_VALID(VECX, vadd16B_mem_rule, c) |
13900 | } |
13901 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
13902 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
13903 | } |
13904 | } |
13905 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
13906 | ( |
13907 | #line 6034 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13908 | UseAVX > 0 && n->as_Vector()->length() == 16 |
13909 | #line 13909 "dfa_x86.cpp" |
13910 | ) ) { |
13911 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
13912 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
13913 | DFA_PRODUCTION__SET_VALID(VECX, vadd16B_reg_rule, c) |
13914 | } |
13915 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
13916 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
13917 | } |
13918 | } |
13919 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
13920 | ( |
13921 | #line 6024 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13922 | UseAVX == 0 && n->as_Vector()->length() == 16 |
13923 | #line 13923 "dfa_x86.cpp" |
13924 | ) ) { |
13925 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
13926 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
13927 | DFA_PRODUCTION__SET_VALID(VECX, vadd16B_rule, c) |
13928 | } |
13929 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
13930 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
13931 | } |
13932 | } |
13933 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
13934 | ( |
13935 | #line 6013 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13936 | UseAVX > 0 && n->as_Vector()->length() == 8 |
13937 | #line 13937 "dfa_x86.cpp" |
13938 | ) ) { |
13939 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
13940 | DFA_PRODUCTION__SET_VALID(VECD, vadd8B_mem_0_rule, c) |
13941 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
13942 | } |
13943 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
13944 | ( |
13945 | #line 6013 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13946 | UseAVX > 0 && n->as_Vector()->length() == 8 |
13947 | #line 13947 "dfa_x86.cpp" |
13948 | ) ) { |
13949 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
13950 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
13951 | DFA_PRODUCTION__SET_VALID(VECD, vadd8B_mem_rule, c) |
13952 | } |
13953 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
13954 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
13955 | } |
13956 | } |
13957 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
13958 | ( |
13959 | #line 6001 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13960 | UseAVX > 0 && n->as_Vector()->length() == 8 |
13961 | #line 13961 "dfa_x86.cpp" |
13962 | ) ) { |
13963 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
13964 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
13965 | DFA_PRODUCTION__SET_VALID(VECD, vadd8B_reg_rule, c) |
13966 | } |
13967 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
13968 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
13969 | } |
13970 | } |
13971 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
13972 | ( |
13973 | #line 5991 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13974 | UseAVX == 0 && n->as_Vector()->length() == 8 |
13975 | #line 13975 "dfa_x86.cpp" |
13976 | ) ) { |
13977 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
13978 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
13979 | DFA_PRODUCTION__SET_VALID(VECD, vadd8B_rule, c) |
13980 | } |
13981 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
13982 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
13983 | } |
13984 | } |
13985 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECS) && |
13986 | ( |
13987 | #line 5980 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13988 | UseAVX > 0 && n->as_Vector()->length() == 4 |
13989 | #line 13989 "dfa_x86.cpp" |
13990 | ) ) { |
13991 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECS]+100; |
13992 | DFA_PRODUCTION__SET_VALID(VECS, vadd4B_mem_0_rule, c) |
13993 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
13994 | } |
13995 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
13996 | ( |
13997 | #line 5980 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
13998 | UseAVX > 0 && n->as_Vector()->length() == 4 |
13999 | #line 13999 "dfa_x86.cpp" |
14000 | ) ) { |
14001 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14002 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
14003 | DFA_PRODUCTION__SET_VALID(VECS, vadd4B_mem_rule, c) |
14004 | } |
14005 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
14006 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14007 | } |
14008 | } |
14009 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
14010 | ( |
14011 | #line 5968 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14012 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14013 | #line 14013 "dfa_x86.cpp" |
14014 | ) ) { |
14015 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
14016 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
14017 | DFA_PRODUCTION__SET_VALID(VECS, vadd4B_reg_rule, c) |
14018 | } |
14019 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
14020 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14021 | } |
14022 | } |
14023 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
14024 | ( |
14025 | #line 5958 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14026 | UseAVX == 0 && n->as_Vector()->length() == 4 |
14027 | #line 14027 "dfa_x86.cpp" |
14028 | ) ) { |
14029 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
14030 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
14031 | DFA_PRODUCTION__SET_VALID(VECS, vadd4B_rule, c) |
14032 | } |
14033 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
14034 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14035 | } |
14036 | } |
14037 | } |
14038 | void State::_sub_Op_AddVS(const Node *n){ |
14039 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14040 | ( |
14041 | #line 6230 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14042 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
14043 | #line 14043 "dfa_x86.cpp" |
14044 | ) ) { |
14045 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
14046 | DFA_PRODUCTION__SET_VALID(VECZ, vadd32S_mem_0_rule, c) |
14047 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14048 | } |
14049 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14050 | ( |
14051 | #line 6230 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14052 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
14053 | #line 14053 "dfa_x86.cpp" |
14054 | ) ) { |
14055 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14056 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14057 | DFA_PRODUCTION__SET_VALID(VECZ, vadd32S_mem_rule, c) |
14058 | } |
14059 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14060 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14061 | } |
14062 | } |
14063 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14064 | ( |
14065 | #line 6219 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14066 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
14067 | #line 14067 "dfa_x86.cpp" |
14068 | ) ) { |
14069 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
14070 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14071 | DFA_PRODUCTION__SET_VALID(VECZ, vadd32S_reg_rule, c) |
14072 | } |
14073 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14074 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14075 | } |
14076 | } |
14077 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
14078 | ( |
14079 | #line 6208 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14080 | UseAVX > 1 && n->as_Vector()->length() == 16 |
14081 | #line 14081 "dfa_x86.cpp" |
14082 | ) ) { |
14083 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
14084 | DFA_PRODUCTION__SET_VALID(VECY, vadd16S_mem_0_rule, c) |
14085 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14086 | } |
14087 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14088 | ( |
14089 | #line 6208 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14090 | UseAVX > 1 && n->as_Vector()->length() == 16 |
14091 | #line 14091 "dfa_x86.cpp" |
14092 | ) ) { |
14093 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14094 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14095 | DFA_PRODUCTION__SET_VALID(VECY, vadd16S_mem_rule, c) |
14096 | } |
14097 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14098 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14099 | } |
14100 | } |
14101 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
14102 | ( |
14103 | #line 6197 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14104 | UseAVX > 1 && n->as_Vector()->length() == 16 |
14105 | #line 14105 "dfa_x86.cpp" |
14106 | ) ) { |
14107 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
14108 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14109 | DFA_PRODUCTION__SET_VALID(VECY, vadd16S_reg_rule, c) |
14110 | } |
14111 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14112 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14113 | } |
14114 | } |
14115 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
14116 | ( |
14117 | #line 6186 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14118 | UseAVX > 0 && n->as_Vector()->length() == 8 |
14119 | #line 14119 "dfa_x86.cpp" |
14120 | ) ) { |
14121 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
14122 | DFA_PRODUCTION__SET_VALID(VECX, vadd8S_mem_0_rule, c) |
14123 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14124 | } |
14125 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14126 | ( |
14127 | #line 6186 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14128 | UseAVX > 0 && n->as_Vector()->length() == 8 |
14129 | #line 14129 "dfa_x86.cpp" |
14130 | ) ) { |
14131 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14132 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14133 | DFA_PRODUCTION__SET_VALID(VECX, vadd8S_mem_rule, c) |
14134 | } |
14135 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14136 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14137 | } |
14138 | } |
14139 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14140 | ( |
14141 | #line 6175 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14142 | UseAVX > 0 && n->as_Vector()->length() == 8 |
14143 | #line 14143 "dfa_x86.cpp" |
14144 | ) ) { |
14145 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
14146 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14147 | DFA_PRODUCTION__SET_VALID(VECX, vadd8S_reg_rule, c) |
14148 | } |
14149 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14150 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14151 | } |
14152 | } |
14153 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14154 | ( |
14155 | #line 6165 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14156 | UseAVX == 0 && n->as_Vector()->length() == 8 |
14157 | #line 14157 "dfa_x86.cpp" |
14158 | ) ) { |
14159 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
14160 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14161 | DFA_PRODUCTION__SET_VALID(VECX, vadd8S_rule, c) |
14162 | } |
14163 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14164 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14165 | } |
14166 | } |
14167 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
14168 | ( |
14169 | #line 6154 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14170 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14171 | #line 14171 "dfa_x86.cpp" |
14172 | ) ) { |
14173 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
14174 | DFA_PRODUCTION__SET_VALID(VECD, vadd4S_mem_0_rule, c) |
14175 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14176 | } |
14177 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14178 | ( |
14179 | #line 6154 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14180 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14181 | #line 14181 "dfa_x86.cpp" |
14182 | ) ) { |
14183 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14184 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14185 | DFA_PRODUCTION__SET_VALID(VECD, vadd4S_mem_rule, c) |
14186 | } |
14187 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14188 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14189 | } |
14190 | } |
14191 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
14192 | ( |
14193 | #line 6143 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14194 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14195 | #line 14195 "dfa_x86.cpp" |
14196 | ) ) { |
14197 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
14198 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14199 | DFA_PRODUCTION__SET_VALID(VECD, vadd4S_reg_rule, c) |
14200 | } |
14201 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14202 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14203 | } |
14204 | } |
14205 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
14206 | ( |
14207 | #line 6133 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14208 | UseAVX == 0 && n->as_Vector()->length() == 4 |
14209 | #line 14209 "dfa_x86.cpp" |
14210 | ) ) { |
14211 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
14212 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14213 | DFA_PRODUCTION__SET_VALID(VECD, vadd4S_rule, c) |
14214 | } |
14215 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14216 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14217 | } |
14218 | } |
14219 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECS) && |
14220 | ( |
14221 | #line 6122 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14222 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14223 | #line 14223 "dfa_x86.cpp" |
14224 | ) ) { |
14225 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECS]+100; |
14226 | DFA_PRODUCTION__SET_VALID(VECS, vadd2S_mem_0_rule, c) |
14227 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14228 | } |
14229 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14230 | ( |
14231 | #line 6122 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14232 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14233 | #line 14233 "dfa_x86.cpp" |
14234 | ) ) { |
14235 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14236 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
14237 | DFA_PRODUCTION__SET_VALID(VECS, vadd2S_mem_rule, c) |
14238 | } |
14239 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
14240 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14241 | } |
14242 | } |
14243 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
14244 | ( |
14245 | #line 6111 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14246 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14247 | #line 14247 "dfa_x86.cpp" |
14248 | ) ) { |
14249 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
14250 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
14251 | DFA_PRODUCTION__SET_VALID(VECS, vadd2S_reg_rule, c) |
14252 | } |
14253 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
14254 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14255 | } |
14256 | } |
14257 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
14258 | ( |
14259 | #line 6101 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14260 | UseAVX == 0 && n->as_Vector()->length() == 2 |
14261 | #line 14261 "dfa_x86.cpp" |
14262 | ) ) { |
14263 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
14264 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
14265 | DFA_PRODUCTION__SET_VALID(VECS, vadd2S_rule, c) |
14266 | } |
14267 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
14268 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
14269 | } |
14270 | } |
14271 | } |
14272 | void State::_sub_Op_AddVI(const Node *n){ |
14273 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _MULADDVS2VI_VECZ_VECZ) && |
14274 | ( |
14275 | #line 9789 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14276 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 16 |
14277 | #line 14277 "dfa_x86.cpp" |
14278 | ) ) { |
14279 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_MULADDVS2VI_VECZ_VECZ]+10; |
14280 | DFA_PRODUCTION__SET_VALID(VECZ, vmuladdadd32S16I_reg_0_rule, c) |
14281 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14282 | } |
14283 | if( STATE__VALID_CHILD(_kids[0], _MULADDVS2VI_VECZ_VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14284 | ( |
14285 | #line 9789 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14286 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 16 |
14287 | #line 14287 "dfa_x86.cpp" |
14288 | ) ) { |
14289 | unsigned int c = _kids[0]->_cost[_MULADDVS2VI_VECZ_VECZ]+_kids[1]->_cost[VECZ]+10; |
14290 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14291 | DFA_PRODUCTION__SET_VALID(VECZ, vmuladdadd32S16I_reg_rule, c) |
14292 | } |
14293 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14294 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14295 | } |
14296 | } |
14297 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _MULADDVS2VI_VECY_VECY) && |
14298 | ( |
14299 | #line 9777 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14300 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 8 |
14301 | #line 14301 "dfa_x86.cpp" |
14302 | ) ) { |
14303 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_MULADDVS2VI_VECY_VECY]+10; |
14304 | DFA_PRODUCTION__SET_VALID(VECY, vmuladdadd16S8I_reg_0_rule, c) |
14305 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14306 | } |
14307 | if( STATE__VALID_CHILD(_kids[0], _MULADDVS2VI_VECY_VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
14308 | ( |
14309 | #line 9777 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14310 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 8 |
14311 | #line 14311 "dfa_x86.cpp" |
14312 | ) ) { |
14313 | unsigned int c = _kids[0]->_cost[_MULADDVS2VI_VECY_VECY]+_kids[1]->_cost[VECY]+10; |
14314 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14315 | DFA_PRODUCTION__SET_VALID(VECY, vmuladdadd16S8I_reg_rule, c) |
14316 | } |
14317 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14318 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14319 | } |
14320 | } |
14321 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _MULADDVS2VI_VECX_VECX) && |
14322 | ( |
14323 | #line 9765 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14324 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 4 |
14325 | #line 14325 "dfa_x86.cpp" |
14326 | ) ) { |
14327 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_MULADDVS2VI_VECX_VECX]+10; |
14328 | DFA_PRODUCTION__SET_VALID(VECX, vmuladdadd8S4I_reg_0_rule, c) |
14329 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14330 | } |
14331 | if( STATE__VALID_CHILD(_kids[0], _MULADDVS2VI_VECX_VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14332 | ( |
14333 | #line 9765 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14334 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 4 |
14335 | #line 14335 "dfa_x86.cpp" |
14336 | ) ) { |
14337 | unsigned int c = _kids[0]->_cost[_MULADDVS2VI_VECX_VECX]+_kids[1]->_cost[VECX]+10; |
14338 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14339 | DFA_PRODUCTION__SET_VALID(VECX, vmuladdadd8S4I_reg_rule, c) |
14340 | } |
14341 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14342 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14343 | } |
14344 | } |
14345 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _MULADDVS2VI_VECD_VECD) && |
14346 | ( |
14347 | #line 9753 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14348 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 2 |
14349 | #line 14349 "dfa_x86.cpp" |
14350 | ) ) { |
14351 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_MULADDVS2VI_VECD_VECD]+10; |
14352 | DFA_PRODUCTION__SET_VALID(VECD, vmuladdadd4S2I_reg_0_rule, c) |
14353 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14354 | } |
14355 | if( STATE__VALID_CHILD(_kids[0], _MULADDVS2VI_VECD_VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
14356 | ( |
14357 | #line 9753 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14358 | VM_Version::supports_vnni() && UseAVX > 2 && n->as_Vector()->length() == 2 |
14359 | #line 14359 "dfa_x86.cpp" |
14360 | ) ) { |
14361 | unsigned int c = _kids[0]->_cost[_MULADDVS2VI_VECD_VECD]+_kids[1]->_cost[VECD]+10; |
14362 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14363 | DFA_PRODUCTION__SET_VALID(VECD, vmuladdadd4S2I_reg_rule, c) |
14364 | } |
14365 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14366 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14367 | } |
14368 | } |
14369 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14370 | ( |
14371 | #line 6339 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14372 | UseAVX > 2 && n->as_Vector()->length() == 16 |
14373 | #line 14373 "dfa_x86.cpp" |
14374 | ) ) { |
14375 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
14376 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14377 | DFA_PRODUCTION__SET_VALID(VECZ, vadd16I_mem_0_rule, c) |
14378 | } |
14379 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14380 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14381 | } |
14382 | } |
14383 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14384 | ( |
14385 | #line 6339 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14386 | UseAVX > 2 && n->as_Vector()->length() == 16 |
14387 | #line 14387 "dfa_x86.cpp" |
14388 | ) ) { |
14389 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14390 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14391 | DFA_PRODUCTION__SET_VALID(VECZ, vadd16I_mem_rule, c) |
14392 | } |
14393 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14394 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14395 | } |
14396 | } |
14397 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14398 | ( |
14399 | #line 6328 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14400 | UseAVX > 2 && n->as_Vector()->length() == 16 |
14401 | #line 14401 "dfa_x86.cpp" |
14402 | ) ) { |
14403 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
14404 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14405 | DFA_PRODUCTION__SET_VALID(VECZ, vadd16I_reg_rule, c) |
14406 | } |
14407 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14408 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14409 | } |
14410 | } |
14411 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
14412 | ( |
14413 | #line 6317 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14414 | UseAVX > 1 && n->as_Vector()->length() == 8 |
14415 | #line 14415 "dfa_x86.cpp" |
14416 | ) ) { |
14417 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
14418 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14419 | DFA_PRODUCTION__SET_VALID(VECY, vadd8I_mem_0_rule, c) |
14420 | } |
14421 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14422 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14423 | } |
14424 | } |
14425 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14426 | ( |
14427 | #line 6317 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14428 | UseAVX > 1 && n->as_Vector()->length() == 8 |
14429 | #line 14429 "dfa_x86.cpp" |
14430 | ) ) { |
14431 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14432 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14433 | DFA_PRODUCTION__SET_VALID(VECY, vadd8I_mem_rule, c) |
14434 | } |
14435 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14436 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14437 | } |
14438 | } |
14439 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
14440 | ( |
14441 | #line 6306 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14442 | UseAVX > 1 && n->as_Vector()->length() == 8 |
14443 | #line 14443 "dfa_x86.cpp" |
14444 | ) ) { |
14445 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
14446 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14447 | DFA_PRODUCTION__SET_VALID(VECY, vadd8I_reg_rule, c) |
14448 | } |
14449 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14450 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14451 | } |
14452 | } |
14453 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
14454 | ( |
14455 | #line 6295 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14456 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14457 | #line 14457 "dfa_x86.cpp" |
14458 | ) ) { |
14459 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
14460 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14461 | DFA_PRODUCTION__SET_VALID(VECX, vadd4I_mem_0_rule, c) |
14462 | } |
14463 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14464 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14465 | } |
14466 | } |
14467 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14468 | ( |
14469 | #line 6295 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14470 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14471 | #line 14471 "dfa_x86.cpp" |
14472 | ) ) { |
14473 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14474 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14475 | DFA_PRODUCTION__SET_VALID(VECX, vadd4I_mem_rule, c) |
14476 | } |
14477 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14478 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14479 | } |
14480 | } |
14481 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14482 | ( |
14483 | #line 6284 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14484 | UseAVX > 0 && n->as_Vector()->length() == 4 |
14485 | #line 14485 "dfa_x86.cpp" |
14486 | ) ) { |
14487 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
14488 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14489 | DFA_PRODUCTION__SET_VALID(VECX, vadd4I_reg_rule, c) |
14490 | } |
14491 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14492 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14493 | } |
14494 | } |
14495 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14496 | ( |
14497 | #line 6274 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14498 | UseAVX == 0 && n->as_Vector()->length() == 4 |
14499 | #line 14499 "dfa_x86.cpp" |
14500 | ) ) { |
14501 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
14502 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14503 | DFA_PRODUCTION__SET_VALID(VECX, vadd4I_rule, c) |
14504 | } |
14505 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14506 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14507 | } |
14508 | } |
14509 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
14510 | ( |
14511 | #line 6263 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14512 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14513 | #line 14513 "dfa_x86.cpp" |
14514 | ) ) { |
14515 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
14516 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14517 | DFA_PRODUCTION__SET_VALID(VECD, vadd2I_mem_0_rule, c) |
14518 | } |
14519 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14520 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14521 | } |
14522 | } |
14523 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14524 | ( |
14525 | #line 6263 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14526 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14527 | #line 14527 "dfa_x86.cpp" |
14528 | ) ) { |
14529 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14530 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14531 | DFA_PRODUCTION__SET_VALID(VECD, vadd2I_mem_rule, c) |
14532 | } |
14533 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14534 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14535 | } |
14536 | } |
14537 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
14538 | ( |
14539 | #line 6252 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14540 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14541 | #line 14541 "dfa_x86.cpp" |
14542 | ) ) { |
14543 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
14544 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14545 | DFA_PRODUCTION__SET_VALID(VECD, vadd2I_reg_rule, c) |
14546 | } |
14547 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14548 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14549 | } |
14550 | } |
14551 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
14552 | ( |
14553 | #line 6242 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14554 | UseAVX == 0 && n->as_Vector()->length() == 2 |
14555 | #line 14555 "dfa_x86.cpp" |
14556 | ) ) { |
14557 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
14558 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
14559 | DFA_PRODUCTION__SET_VALID(VECD, vadd2I_rule, c) |
14560 | } |
14561 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
14562 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
14563 | } |
14564 | } |
14565 | } |
14566 | void State::_sub_Op_AddReductionVI(const Node *n){ |
14567 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
14568 | ( |
14569 | #line 5079 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14570 | UseAVX > 2 |
14571 | #line 14571 "dfa_x86.cpp" |
14572 | ) ) { |
14573 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[LEGVECZ]+100; |
14574 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd16I_reduction_reg_evex_rule, c) |
14575 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14576 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14577 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14578 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14579 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14580 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14581 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14582 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd16I_reduction_reg_evex_rule, c) |
14583 | } |
14584 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECY) && |
14585 | ( |
14586 | #line 5051 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14587 | UseAVX > 2 |
14588 | #line 14588 "dfa_x86.cpp" |
14589 | ) ) { |
14590 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECY]+100; |
14591 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14592 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd8I_reduction_reg_evex_rule, c) |
14593 | } |
14594 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14595 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14596 | } |
14597 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14598 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14599 | } |
14600 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14601 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14602 | } |
14603 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14604 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14605 | } |
14606 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14607 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14608 | } |
14609 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14610 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14611 | } |
14612 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14613 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14614 | } |
14615 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14616 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd8I_reduction_reg_evex_rule, c) |
14617 | } |
14618 | } |
14619 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECY) && |
14620 | ( |
14621 | #line 5027 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14622 | VM_Version::supports_avxonly() |
14623 | #line 14623 "dfa_x86.cpp" |
14624 | ) ) { |
14625 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECY]+100; |
14626 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14627 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd8I_reduction_reg_rule, c) |
14628 | } |
14629 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14630 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14631 | } |
14632 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14633 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd8I_reduction_reg_rule, c) |
14634 | } |
14635 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14636 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd8I_reduction_reg_rule, c) |
14637 | } |
14638 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14639 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd8I_reduction_reg_rule, c) |
14640 | } |
14641 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14642 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd8I_reduction_reg_rule, c) |
14643 | } |
14644 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14645 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd8I_reduction_reg_rule, c) |
14646 | } |
14647 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14648 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd8I_reduction_reg_rule, c) |
14649 | } |
14650 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14651 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd8I_reduction_reg_rule, c) |
14652 | } |
14653 | } |
14654 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECX) && |
14655 | ( |
14656 | #line 5003 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14657 | UseAVX > 2 |
14658 | #line 14658 "dfa_x86.cpp" |
14659 | ) ) { |
14660 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECX]+100; |
14661 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14662 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd4I_reduction_reg_evex_rule, c) |
14663 | } |
14664 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14665 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14666 | } |
14667 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14668 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14669 | } |
14670 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14671 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14672 | } |
14673 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14674 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14675 | } |
14676 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14677 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14678 | } |
14679 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14680 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14681 | } |
14682 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14683 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14684 | } |
14685 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14686 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd4I_reduction_reg_evex_rule, c) |
14687 | } |
14688 | } |
14689 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECX) && |
14690 | ( |
14691 | #line 4983 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14692 | VM_Version::supports_avxonly() |
14693 | #line 14693 "dfa_x86.cpp" |
14694 | ) ) { |
14695 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECX]+100; |
14696 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14697 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd4I_reduction_reg_rule, c) |
14698 | } |
14699 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14700 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14701 | } |
14702 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14703 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd4I_reduction_reg_rule, c) |
14704 | } |
14705 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14706 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd4I_reduction_reg_rule, c) |
14707 | } |
14708 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14709 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd4I_reduction_reg_rule, c) |
14710 | } |
14711 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14712 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd4I_reduction_reg_rule, c) |
14713 | } |
14714 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14715 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd4I_reduction_reg_rule, c) |
14716 | } |
14717 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14718 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd4I_reduction_reg_rule, c) |
14719 | } |
14720 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14721 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd4I_reduction_reg_rule, c) |
14722 | } |
14723 | } |
14724 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECX) && |
14725 | ( |
14726 | #line 4962 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14727 | UseSSE > 2 && UseAVX == 0 |
14728 | #line 14728 "dfa_x86.cpp" |
14729 | ) ) { |
14730 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECX]+100; |
14731 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14732 | DFA_PRODUCTION__SET_VALID(RREGI, rsadd4I_reduction_reg_rule, c) |
14733 | } |
14734 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14735 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14736 | } |
14737 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14738 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rsadd4I_reduction_reg_rule, c) |
14739 | } |
14740 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14741 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rsadd4I_reduction_reg_rule, c) |
14742 | } |
14743 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14744 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rsadd4I_reduction_reg_rule, c) |
14745 | } |
14746 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14747 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rsadd4I_reduction_reg_rule, c) |
14748 | } |
14749 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14750 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rsadd4I_reduction_reg_rule, c) |
14751 | } |
14752 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14753 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rsadd4I_reduction_reg_rule, c) |
14754 | } |
14755 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14756 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rsadd4I_reduction_reg_rule, c) |
14757 | } |
14758 | } |
14759 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECD) && |
14760 | ( |
14761 | #line 4942 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14762 | UseAVX > 2 |
14763 | #line 14763 "dfa_x86.cpp" |
14764 | ) ) { |
14765 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECD]+100; |
14766 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14767 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd2I_reduction_reg_evex_rule, c) |
14768 | } |
14769 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14770 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14771 | } |
14772 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14773 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14774 | } |
14775 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14776 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14777 | } |
14778 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14779 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14780 | } |
14781 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14782 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14783 | } |
14784 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14785 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14786 | } |
14787 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14788 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14789 | } |
14790 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14791 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd2I_reduction_reg_evex_rule, c) |
14792 | } |
14793 | } |
14794 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECD) && |
14795 | ( |
14796 | #line 4924 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14797 | VM_Version::supports_avxonly() |
14798 | #line 14798 "dfa_x86.cpp" |
14799 | ) ) { |
14800 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECD]+100; |
14801 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14802 | DFA_PRODUCTION__SET_VALID(RREGI, rvadd2I_reduction_reg_rule, c) |
14803 | } |
14804 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14805 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14806 | } |
14807 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14808 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvadd2I_reduction_reg_rule, c) |
14809 | } |
14810 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14811 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvadd2I_reduction_reg_rule, c) |
14812 | } |
14813 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14814 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvadd2I_reduction_reg_rule, c) |
14815 | } |
14816 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14817 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvadd2I_reduction_reg_rule, c) |
14818 | } |
14819 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14820 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvadd2I_reduction_reg_rule, c) |
14821 | } |
14822 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14823 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvadd2I_reduction_reg_rule, c) |
14824 | } |
14825 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14826 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvadd2I_reduction_reg_rule, c) |
14827 | } |
14828 | } |
14829 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECD) && |
14830 | ( |
14831 | #line 4905 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14832 | UseSSE > 2 && UseAVX == 0 |
14833 | #line 14833 "dfa_x86.cpp" |
14834 | ) ) { |
14835 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECD]+100; |
14836 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
14837 | DFA_PRODUCTION__SET_VALID(RREGI, rsadd2I_reduction_reg_rule, c) |
14838 | } |
14839 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
14840 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
14841 | } |
14842 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
14843 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rsadd2I_reduction_reg_rule, c) |
14844 | } |
14845 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
14846 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rsadd2I_reduction_reg_rule, c) |
14847 | } |
14848 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
14849 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rsadd2I_reduction_reg_rule, c) |
14850 | } |
14851 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
14852 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rsadd2I_reduction_reg_rule, c) |
14853 | } |
14854 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
14855 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rsadd2I_reduction_reg_rule, c) |
14856 | } |
14857 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
14858 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rsadd2I_reduction_reg_rule, c) |
14859 | } |
14860 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
14861 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rsadd2I_reduction_reg_rule, c) |
14862 | } |
14863 | } |
14864 | } |
14865 | void State::_sub_Op_AddVL(const Node *n){ |
14866 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14867 | ( |
14868 | #line 6416 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14869 | UseAVX > 2 && n->as_Vector()->length() == 8 |
14870 | #line 14870 "dfa_x86.cpp" |
14871 | ) ) { |
14872 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
14873 | DFA_PRODUCTION__SET_VALID(VECZ, vadd8L_mem_0_rule, c) |
14874 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14875 | } |
14876 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14877 | ( |
14878 | #line 6416 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14879 | UseAVX > 2 && n->as_Vector()->length() == 8 |
14880 | #line 14880 "dfa_x86.cpp" |
14881 | ) ) { |
14882 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14883 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14884 | DFA_PRODUCTION__SET_VALID(VECZ, vadd8L_mem_rule, c) |
14885 | } |
14886 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14887 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14888 | } |
14889 | } |
14890 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
14891 | ( |
14892 | #line 6405 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14893 | UseAVX > 2 && n->as_Vector()->length() == 8 |
14894 | #line 14894 "dfa_x86.cpp" |
14895 | ) ) { |
14896 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
14897 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
14898 | DFA_PRODUCTION__SET_VALID(VECZ, vadd8L_reg_rule, c) |
14899 | } |
14900 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
14901 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
14902 | } |
14903 | } |
14904 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
14905 | ( |
14906 | #line 6394 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14907 | UseAVX > 1 && n->as_Vector()->length() == 4 |
14908 | #line 14908 "dfa_x86.cpp" |
14909 | ) ) { |
14910 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
14911 | DFA_PRODUCTION__SET_VALID(VECY, vadd4L_mem_0_rule, c) |
14912 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14913 | } |
14914 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14915 | ( |
14916 | #line 6394 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14917 | UseAVX > 1 && n->as_Vector()->length() == 4 |
14918 | #line 14918 "dfa_x86.cpp" |
14919 | ) ) { |
14920 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14921 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14922 | DFA_PRODUCTION__SET_VALID(VECY, vadd4L_mem_rule, c) |
14923 | } |
14924 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14925 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14926 | } |
14927 | } |
14928 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
14929 | ( |
14930 | #line 6383 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14931 | UseAVX > 1 && n->as_Vector()->length() == 4 |
14932 | #line 14932 "dfa_x86.cpp" |
14933 | ) ) { |
14934 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
14935 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
14936 | DFA_PRODUCTION__SET_VALID(VECY, vadd4L_reg_rule, c) |
14937 | } |
14938 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
14939 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
14940 | } |
14941 | } |
14942 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
14943 | ( |
14944 | #line 6372 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14945 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14946 | #line 14946 "dfa_x86.cpp" |
14947 | ) ) { |
14948 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
14949 | DFA_PRODUCTION__SET_VALID(VECX, vadd2L_mem_0_rule, c) |
14950 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14951 | } |
14952 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
14953 | ( |
14954 | #line 6372 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14955 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14956 | #line 14956 "dfa_x86.cpp" |
14957 | ) ) { |
14958 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
14959 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14960 | DFA_PRODUCTION__SET_VALID(VECX, vadd2L_mem_rule, c) |
14961 | } |
14962 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14963 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14964 | } |
14965 | } |
14966 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14967 | ( |
14968 | #line 6361 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14969 | UseAVX > 0 && n->as_Vector()->length() == 2 |
14970 | #line 14970 "dfa_x86.cpp" |
14971 | ) ) { |
14972 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
14973 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14974 | DFA_PRODUCTION__SET_VALID(VECX, vadd2L_reg_rule, c) |
14975 | } |
14976 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14977 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14978 | } |
14979 | } |
14980 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
14981 | ( |
14982 | #line 6351 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14983 | UseAVX == 0 && n->as_Vector()->length() == 2 |
14984 | #line 14984 "dfa_x86.cpp" |
14985 | ) ) { |
14986 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
14987 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
14988 | DFA_PRODUCTION__SET_VALID(VECX, vadd2L_rule, c) |
14989 | } |
14990 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
14991 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
14992 | } |
14993 | } |
14994 | } |
14995 | void State::_sub_Op_AddReductionVL(const Node *n){ |
14996 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
14997 | ( |
14998 | #line 5153 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
14999 | UseAVX > 2 |
15000 | #line 15000 "dfa_x86.cpp" |
15001 | ) ) { |
15002 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[LEGVECZ]+100; |
15003 | DFA_PRODUCTION__SET_VALID(RREGL, rvadd8L_reduction_reg_rule, c) |
15004 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
15005 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rvadd8L_reduction_reg_rule, c) |
15006 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rvadd8L_reduction_reg_rule, c) |
15007 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rvadd8L_reduction_reg_rule, c) |
15008 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rvadd8L_reduction_reg_rule, c) |
15009 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rvadd8L_reduction_reg_rule, c) |
15010 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rvadd8L_reduction_reg_rule, c) |
15011 | } |
15012 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], VECY) && |
15013 | ( |
15014 | #line 5130 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15015 | UseAVX > 2 |
15016 | #line 15016 "dfa_x86.cpp" |
15017 | ) ) { |
15018 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[VECY]+100; |
15019 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
15020 | DFA_PRODUCTION__SET_VALID(RREGL, rvadd4L_reduction_reg_rule, c) |
15021 | } |
15022 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
15023 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
15024 | } |
15025 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
15026 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rvadd4L_reduction_reg_rule, c) |
15027 | } |
15028 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
15029 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rvadd4L_reduction_reg_rule, c) |
15030 | } |
15031 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
15032 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rvadd4L_reduction_reg_rule, c) |
15033 | } |
15034 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
15035 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rvadd4L_reduction_reg_rule, c) |
15036 | } |
15037 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
15038 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rvadd4L_reduction_reg_rule, c) |
15039 | } |
15040 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
15041 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rvadd4L_reduction_reg_rule, c) |
15042 | } |
15043 | } |
15044 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], VECX) && |
15045 | ( |
15046 | #line 5111 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15047 | UseAVX > 2 |
15048 | #line 15048 "dfa_x86.cpp" |
15049 | ) ) { |
15050 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[VECX]+100; |
15051 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
15052 | DFA_PRODUCTION__SET_VALID(RREGL, rvadd2L_reduction_reg_rule, c) |
15053 | } |
15054 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
15055 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
15056 | } |
15057 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
15058 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rvadd2L_reduction_reg_rule, c) |
15059 | } |
15060 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
15061 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rvadd2L_reduction_reg_rule, c) |
15062 | } |
15063 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
15064 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rvadd2L_reduction_reg_rule, c) |
15065 | } |
15066 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
15067 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rvadd2L_reduction_reg_rule, c) |
15068 | } |
15069 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
15070 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rvadd2L_reduction_reg_rule, c) |
15071 | } |
15072 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
15073 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rvadd2L_reduction_reg_rule, c) |
15074 | } |
15075 | } |
15076 | } |
15077 | void State::_sub_Op_AddVF(const Node *n){ |
15078 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15079 | ( |
15080 | #line 6525 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15081 | UseAVX > 2 && n->as_Vector()->length() == 16 |
15082 | #line 15082 "dfa_x86.cpp" |
15083 | ) ) { |
15084 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
15085 | DFA_PRODUCTION__SET_VALID(VECZ, vadd16F_mem_0_rule, c) |
15086 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15087 | } |
15088 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15089 | ( |
15090 | #line 6525 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15091 | UseAVX > 2 && n->as_Vector()->length() == 16 |
15092 | #line 15092 "dfa_x86.cpp" |
15093 | ) ) { |
15094 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15095 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15096 | DFA_PRODUCTION__SET_VALID(VECZ, vadd16F_mem_rule, c) |
15097 | } |
15098 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15099 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15100 | } |
15101 | } |
15102 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15103 | ( |
15104 | #line 6514 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15105 | UseAVX > 2 && n->as_Vector()->length() == 16 |
15106 | #line 15106 "dfa_x86.cpp" |
15107 | ) ) { |
15108 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
15109 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15110 | DFA_PRODUCTION__SET_VALID(VECZ, vadd16F_reg_rule, c) |
15111 | } |
15112 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15113 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15114 | } |
15115 | } |
15116 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
15117 | ( |
15118 | #line 6503 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15119 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15120 | #line 15120 "dfa_x86.cpp" |
15121 | ) ) { |
15122 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
15123 | DFA_PRODUCTION__SET_VALID(VECY, vadd8F_mem_0_rule, c) |
15124 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15125 | } |
15126 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15127 | ( |
15128 | #line 6503 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15129 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15130 | #line 15130 "dfa_x86.cpp" |
15131 | ) ) { |
15132 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15133 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15134 | DFA_PRODUCTION__SET_VALID(VECY, vadd8F_mem_rule, c) |
15135 | } |
15136 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15137 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15138 | } |
15139 | } |
15140 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
15141 | ( |
15142 | #line 6492 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15143 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15144 | #line 15144 "dfa_x86.cpp" |
15145 | ) ) { |
15146 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
15147 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15148 | DFA_PRODUCTION__SET_VALID(VECY, vadd8F_reg_rule, c) |
15149 | } |
15150 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15151 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15152 | } |
15153 | } |
15154 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
15155 | ( |
15156 | #line 6481 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15157 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15158 | #line 15158 "dfa_x86.cpp" |
15159 | ) ) { |
15160 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
15161 | DFA_PRODUCTION__SET_VALID(VECX, vadd4F_mem_0_rule, c) |
15162 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15163 | } |
15164 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15165 | ( |
15166 | #line 6481 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15167 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15168 | #line 15168 "dfa_x86.cpp" |
15169 | ) ) { |
15170 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15171 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15172 | DFA_PRODUCTION__SET_VALID(VECX, vadd4F_mem_rule, c) |
15173 | } |
15174 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15175 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15176 | } |
15177 | } |
15178 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15179 | ( |
15180 | #line 6470 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15181 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15182 | #line 15182 "dfa_x86.cpp" |
15183 | ) ) { |
15184 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15185 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15186 | DFA_PRODUCTION__SET_VALID(VECX, vadd4F_reg_rule, c) |
15187 | } |
15188 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15189 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15190 | } |
15191 | } |
15192 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15193 | ( |
15194 | #line 6460 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15195 | UseAVX == 0 && n->as_Vector()->length() == 4 |
15196 | #line 15196 "dfa_x86.cpp" |
15197 | ) ) { |
15198 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15199 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15200 | DFA_PRODUCTION__SET_VALID(VECX, vadd4F_rule, c) |
15201 | } |
15202 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15203 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15204 | } |
15205 | } |
15206 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
15207 | ( |
15208 | #line 6449 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15209 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15210 | #line 15210 "dfa_x86.cpp" |
15211 | ) ) { |
15212 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
15213 | DFA_PRODUCTION__SET_VALID(VECD, vadd2F_mem_0_rule, c) |
15214 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15215 | } |
15216 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15217 | ( |
15218 | #line 6449 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15219 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15220 | #line 15220 "dfa_x86.cpp" |
15221 | ) ) { |
15222 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15223 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15224 | DFA_PRODUCTION__SET_VALID(VECD, vadd2F_mem_rule, c) |
15225 | } |
15226 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15227 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15228 | } |
15229 | } |
15230 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
15231 | ( |
15232 | #line 6438 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15233 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15234 | #line 15234 "dfa_x86.cpp" |
15235 | ) ) { |
15236 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
15237 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15238 | DFA_PRODUCTION__SET_VALID(VECD, vadd2F_reg_rule, c) |
15239 | } |
15240 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15241 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15242 | } |
15243 | } |
15244 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
15245 | ( |
15246 | #line 6428 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15247 | UseAVX == 0 && n->as_Vector()->length() == 2 |
15248 | #line 15248 "dfa_x86.cpp" |
15249 | ) ) { |
15250 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
15251 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15252 | DFA_PRODUCTION__SET_VALID(VECD, vadd2F_rule, c) |
15253 | } |
15254 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15255 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15256 | } |
15257 | } |
15258 | } |
15259 | void State::_sub_Op_AddReductionVF(const Node *n){ |
15260 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
15261 | ( |
15262 | #line 5296 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15263 | UseAVX > 2 |
15264 | #line 15264 "dfa_x86.cpp" |
15265 | ) ) { |
15266 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[LEGVECZ]+100; |
15267 | DFA_PRODUCTION__SET_VALID(REGF, radd16F_reduction_reg_rule, c) |
15268 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
15269 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
15270 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
15271 | } |
15272 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECY) && |
15273 | ( |
15274 | #line 5257 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15275 | UseAVX > 0 |
15276 | #line 15276 "dfa_x86.cpp" |
15277 | ) ) { |
15278 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECY]+100; |
15279 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
15280 | DFA_PRODUCTION__SET_VALID(REGF, radd8F_reduction_reg_rule, c) |
15281 | } |
15282 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
15283 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
15284 | } |
15285 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
15286 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
15287 | } |
15288 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
15289 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
15290 | } |
15291 | } |
15292 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECX) && |
15293 | ( |
15294 | #line 5234 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15295 | UseAVX > 0 |
15296 | #line 15296 "dfa_x86.cpp" |
15297 | ) ) { |
15298 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECX]+100; |
15299 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
15300 | DFA_PRODUCTION__SET_VALID(REGF, rvadd4F_reduction_reg_rule, c) |
15301 | } |
15302 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
15303 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
15304 | } |
15305 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
15306 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
15307 | } |
15308 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
15309 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
15310 | } |
15311 | } |
15312 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECX) && |
15313 | ( |
15314 | #line 5211 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15315 | UseSSE >= 1 && UseAVX == 0 |
15316 | #line 15316 "dfa_x86.cpp" |
15317 | ) ) { |
15318 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECX]+100; |
15319 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
15320 | DFA_PRODUCTION__SET_VALID(REGF, rsadd4F_reduction_reg_rule, c) |
15321 | } |
15322 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
15323 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
15324 | } |
15325 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
15326 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
15327 | } |
15328 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
15329 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
15330 | } |
15331 | } |
15332 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECD) && |
15333 | ( |
15334 | #line 5196 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15335 | UseAVX > 0 |
15336 | #line 15336 "dfa_x86.cpp" |
15337 | ) ) { |
15338 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECD]+100; |
15339 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
15340 | DFA_PRODUCTION__SET_VALID(REGF, rvadd2F_reduction_reg_rule, c) |
15341 | } |
15342 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
15343 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
15344 | } |
15345 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
15346 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
15347 | } |
15348 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
15349 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
15350 | } |
15351 | } |
15352 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECD) && |
15353 | ( |
15354 | #line 5181 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15355 | UseSSE >= 1 && UseAVX == 0 |
15356 | #line 15356 "dfa_x86.cpp" |
15357 | ) ) { |
15358 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECD]+100; |
15359 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
15360 | DFA_PRODUCTION__SET_VALID(REGF, rsadd2F_reduction_reg_rule, c) |
15361 | } |
15362 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
15363 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
15364 | } |
15365 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
15366 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
15367 | } |
15368 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
15369 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
15370 | } |
15371 | } |
15372 | } |
15373 | void State::_sub_Op_AddVD(const Node *n){ |
15374 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15375 | ( |
15376 | #line 6602 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15377 | UseAVX > 2 && n->as_Vector()->length() == 8 |
15378 | #line 15378 "dfa_x86.cpp" |
15379 | ) ) { |
15380 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
15381 | DFA_PRODUCTION__SET_VALID(VECZ, vadd8D_mem_0_rule, c) |
15382 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15383 | } |
15384 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15385 | ( |
15386 | #line 6602 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15387 | UseAVX > 2 && n->as_Vector()->length() == 8 |
15388 | #line 15388 "dfa_x86.cpp" |
15389 | ) ) { |
15390 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15391 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15392 | DFA_PRODUCTION__SET_VALID(VECZ, vadd8D_mem_rule, c) |
15393 | } |
15394 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15395 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15396 | } |
15397 | } |
15398 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15399 | ( |
15400 | #line 6591 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15401 | UseAVX > 2 && n->as_Vector()->length() == 8 |
15402 | #line 15402 "dfa_x86.cpp" |
15403 | ) ) { |
15404 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
15405 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15406 | DFA_PRODUCTION__SET_VALID(VECZ, vadd8D_reg_rule, c) |
15407 | } |
15408 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15409 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15410 | } |
15411 | } |
15412 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
15413 | ( |
15414 | #line 6580 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15415 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15416 | #line 15416 "dfa_x86.cpp" |
15417 | ) ) { |
15418 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
15419 | DFA_PRODUCTION__SET_VALID(VECY, vadd4D_mem_0_rule, c) |
15420 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15421 | } |
15422 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15423 | ( |
15424 | #line 6580 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15425 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15426 | #line 15426 "dfa_x86.cpp" |
15427 | ) ) { |
15428 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15429 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15430 | DFA_PRODUCTION__SET_VALID(VECY, vadd4D_mem_rule, c) |
15431 | } |
15432 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15433 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15434 | } |
15435 | } |
15436 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
15437 | ( |
15438 | #line 6569 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15439 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15440 | #line 15440 "dfa_x86.cpp" |
15441 | ) ) { |
15442 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
15443 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15444 | DFA_PRODUCTION__SET_VALID(VECY, vadd4D_reg_rule, c) |
15445 | } |
15446 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15447 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15448 | } |
15449 | } |
15450 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
15451 | ( |
15452 | #line 6558 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15453 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15454 | #line 15454 "dfa_x86.cpp" |
15455 | ) ) { |
15456 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
15457 | DFA_PRODUCTION__SET_VALID(VECX, vadd2D_mem_0_rule, c) |
15458 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15459 | } |
15460 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15461 | ( |
15462 | #line 6558 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15463 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15464 | #line 15464 "dfa_x86.cpp" |
15465 | ) ) { |
15466 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15467 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15468 | DFA_PRODUCTION__SET_VALID(VECX, vadd2D_mem_rule, c) |
15469 | } |
15470 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15471 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15472 | } |
15473 | } |
15474 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15475 | ( |
15476 | #line 6547 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15477 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15478 | #line 15478 "dfa_x86.cpp" |
15479 | ) ) { |
15480 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15481 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15482 | DFA_PRODUCTION__SET_VALID(VECX, vadd2D_reg_rule, c) |
15483 | } |
15484 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15485 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15486 | } |
15487 | } |
15488 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15489 | ( |
15490 | #line 6537 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15491 | UseAVX == 0 && n->as_Vector()->length() == 2 |
15492 | #line 15492 "dfa_x86.cpp" |
15493 | ) ) { |
15494 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15495 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15496 | DFA_PRODUCTION__SET_VALID(VECX, vadd2D_rule, c) |
15497 | } |
15498 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15499 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15500 | } |
15501 | } |
15502 | } |
15503 | void State::_sub_Op_AddReductionVD(const Node *n){ |
15504 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
15505 | ( |
15506 | #line 5420 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15507 | UseAVX > 2 |
15508 | #line 15508 "dfa_x86.cpp" |
15509 | ) ) { |
15510 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[LEGVECZ]+100; |
15511 | DFA_PRODUCTION__SET_VALID(REGD, rvadd8D_reduction_reg_rule, c) |
15512 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
15513 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
15514 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
15515 | } |
15516 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], VECY) && |
15517 | ( |
15518 | #line 5397 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15519 | UseAVX > 0 |
15520 | #line 15520 "dfa_x86.cpp" |
15521 | ) ) { |
15522 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[VECY]+100; |
15523 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
15524 | DFA_PRODUCTION__SET_VALID(REGD, rvadd4D_reduction_reg_rule, c) |
15525 | } |
15526 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
15527 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
15528 | } |
15529 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
15530 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
15531 | } |
15532 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
15533 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
15534 | } |
15535 | } |
15536 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], VECX) && |
15537 | ( |
15538 | #line 5382 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15539 | UseAVX > 0 |
15540 | #line 15540 "dfa_x86.cpp" |
15541 | ) ) { |
15542 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[VECX]+100; |
15543 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
15544 | DFA_PRODUCTION__SET_VALID(REGD, rvadd2D_reduction_reg_rule, c) |
15545 | } |
15546 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
15547 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
15548 | } |
15549 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
15550 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
15551 | } |
15552 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
15553 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
15554 | } |
15555 | } |
15556 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], VECX) && |
15557 | ( |
15558 | #line 5367 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15559 | UseSSE >= 1 && UseAVX == 0 |
15560 | #line 15560 "dfa_x86.cpp" |
15561 | ) ) { |
15562 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[VECX]+100; |
15563 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
15564 | DFA_PRODUCTION__SET_VALID(REGD, rsadd2D_reduction_reg_rule, c) |
15565 | } |
15566 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
15567 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
15568 | } |
15569 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
15570 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
15571 | } |
15572 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
15573 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
15574 | } |
15575 | } |
15576 | } |
15577 | void State::_sub_Op_SubVB(const Node *n){ |
15578 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15579 | ( |
15580 | #line 6745 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15581 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 64 |
15582 | #line 15582 "dfa_x86.cpp" |
15583 | ) ) { |
15584 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15585 | DFA_PRODUCTION__SET_VALID(VECZ, vsub64B_mem_rule, c) |
15586 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15587 | } |
15588 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15589 | ( |
15590 | #line 6734 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15591 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 64 |
15592 | #line 15592 "dfa_x86.cpp" |
15593 | ) ) { |
15594 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
15595 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15596 | DFA_PRODUCTION__SET_VALID(VECZ, vsub64B_reg_rule, c) |
15597 | } |
15598 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15599 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15600 | } |
15601 | } |
15602 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15603 | ( |
15604 | #line 6723 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15605 | UseAVX > 1 && n->as_Vector()->length() == 32 |
15606 | #line 15606 "dfa_x86.cpp" |
15607 | ) ) { |
15608 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15609 | DFA_PRODUCTION__SET_VALID(VECY, vsub32B_mem_rule, c) |
15610 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15611 | } |
15612 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
15613 | ( |
15614 | #line 6712 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15615 | UseAVX > 1 && n->as_Vector()->length() == 32 |
15616 | #line 15616 "dfa_x86.cpp" |
15617 | ) ) { |
15618 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
15619 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15620 | DFA_PRODUCTION__SET_VALID(VECY, vsub32B_reg_rule, c) |
15621 | } |
15622 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15623 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15624 | } |
15625 | } |
15626 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15627 | ( |
15628 | #line 6701 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15629 | UseAVX > 0 && n->as_Vector()->length() == 16 |
15630 | #line 15630 "dfa_x86.cpp" |
15631 | ) ) { |
15632 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15633 | DFA_PRODUCTION__SET_VALID(VECX, vsub16B_mem_rule, c) |
15634 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15635 | } |
15636 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15637 | ( |
15638 | #line 6690 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15639 | UseAVX > 0 && n->as_Vector()->length() == 16 |
15640 | #line 15640 "dfa_x86.cpp" |
15641 | ) ) { |
15642 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15643 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15644 | DFA_PRODUCTION__SET_VALID(VECX, vsub16B_reg_rule, c) |
15645 | } |
15646 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15647 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15648 | } |
15649 | } |
15650 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15651 | ( |
15652 | #line 6680 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15653 | UseAVX == 0 && n->as_Vector()->length() == 16 |
15654 | #line 15654 "dfa_x86.cpp" |
15655 | ) ) { |
15656 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15657 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15658 | DFA_PRODUCTION__SET_VALID(VECX, vsub16B_rule, c) |
15659 | } |
15660 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15661 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15662 | } |
15663 | } |
15664 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15665 | ( |
15666 | #line 6669 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15667 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15668 | #line 15668 "dfa_x86.cpp" |
15669 | ) ) { |
15670 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15671 | DFA_PRODUCTION__SET_VALID(VECD, vsub8B_mem_rule, c) |
15672 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15673 | } |
15674 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
15675 | ( |
15676 | #line 6658 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15677 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15678 | #line 15678 "dfa_x86.cpp" |
15679 | ) ) { |
15680 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
15681 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15682 | DFA_PRODUCTION__SET_VALID(VECD, vsub8B_reg_rule, c) |
15683 | } |
15684 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15685 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15686 | } |
15687 | } |
15688 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
15689 | ( |
15690 | #line 6648 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15691 | UseAVX == 0 && n->as_Vector()->length() == 8 |
15692 | #line 15692 "dfa_x86.cpp" |
15693 | ) ) { |
15694 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
15695 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15696 | DFA_PRODUCTION__SET_VALID(VECD, vsub8B_rule, c) |
15697 | } |
15698 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15699 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15700 | } |
15701 | } |
15702 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15703 | ( |
15704 | #line 6637 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15705 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15706 | #line 15706 "dfa_x86.cpp" |
15707 | ) ) { |
15708 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15709 | DFA_PRODUCTION__SET_VALID(VECS, vsub4B_mem_rule, c) |
15710 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
15711 | } |
15712 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
15713 | ( |
15714 | #line 6626 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15715 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15716 | #line 15716 "dfa_x86.cpp" |
15717 | ) ) { |
15718 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
15719 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
15720 | DFA_PRODUCTION__SET_VALID(VECS, vsub4B_reg_rule, c) |
15721 | } |
15722 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
15723 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
15724 | } |
15725 | } |
15726 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
15727 | ( |
15728 | #line 6616 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15729 | UseAVX == 0 && n->as_Vector()->length() == 4 |
15730 | #line 15730 "dfa_x86.cpp" |
15731 | ) ) { |
15732 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
15733 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
15734 | DFA_PRODUCTION__SET_VALID(VECS, vsub4B_rule, c) |
15735 | } |
15736 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
15737 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
15738 | } |
15739 | } |
15740 | } |
15741 | void State::_sub_Op_SubVS(const Node *n){ |
15742 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15743 | ( |
15744 | #line 6886 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15745 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
15746 | #line 15746 "dfa_x86.cpp" |
15747 | ) ) { |
15748 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15749 | DFA_PRODUCTION__SET_VALID(VECZ, vsub32S_mem_rule, c) |
15750 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15751 | } |
15752 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15753 | ( |
15754 | #line 6875 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15755 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
15756 | #line 15756 "dfa_x86.cpp" |
15757 | ) ) { |
15758 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
15759 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15760 | DFA_PRODUCTION__SET_VALID(VECZ, vsub32S_reg_rule, c) |
15761 | } |
15762 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15763 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15764 | } |
15765 | } |
15766 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15767 | ( |
15768 | #line 6864 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15769 | UseAVX > 1 && n->as_Vector()->length() == 16 |
15770 | #line 15770 "dfa_x86.cpp" |
15771 | ) ) { |
15772 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15773 | DFA_PRODUCTION__SET_VALID(VECY, vsub16S_mem_rule, c) |
15774 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15775 | } |
15776 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
15777 | ( |
15778 | #line 6853 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15779 | UseAVX > 1 && n->as_Vector()->length() == 16 |
15780 | #line 15780 "dfa_x86.cpp" |
15781 | ) ) { |
15782 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
15783 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15784 | DFA_PRODUCTION__SET_VALID(VECY, vsub16S_reg_rule, c) |
15785 | } |
15786 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15787 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15788 | } |
15789 | } |
15790 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15791 | ( |
15792 | #line 6842 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15793 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15794 | #line 15794 "dfa_x86.cpp" |
15795 | ) ) { |
15796 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15797 | DFA_PRODUCTION__SET_VALID(VECX, vsub8S_mem_rule, c) |
15798 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15799 | } |
15800 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15801 | ( |
15802 | #line 6831 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15803 | UseAVX > 0 && n->as_Vector()->length() == 8 |
15804 | #line 15804 "dfa_x86.cpp" |
15805 | ) ) { |
15806 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15807 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15808 | DFA_PRODUCTION__SET_VALID(VECX, vsub8S_reg_rule, c) |
15809 | } |
15810 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15811 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15812 | } |
15813 | } |
15814 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15815 | ( |
15816 | #line 6821 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15817 | UseAVX == 0 && n->as_Vector()->length() == 8 |
15818 | #line 15818 "dfa_x86.cpp" |
15819 | ) ) { |
15820 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15821 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15822 | DFA_PRODUCTION__SET_VALID(VECX, vsub8S_rule, c) |
15823 | } |
15824 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15825 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15826 | } |
15827 | } |
15828 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15829 | ( |
15830 | #line 6810 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15831 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15832 | #line 15832 "dfa_x86.cpp" |
15833 | ) ) { |
15834 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15835 | DFA_PRODUCTION__SET_VALID(VECD, vsub4S_mem_rule, c) |
15836 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15837 | } |
15838 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
15839 | ( |
15840 | #line 6799 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15841 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15842 | #line 15842 "dfa_x86.cpp" |
15843 | ) ) { |
15844 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
15845 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15846 | DFA_PRODUCTION__SET_VALID(VECD, vsub4S_reg_rule, c) |
15847 | } |
15848 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15849 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15850 | } |
15851 | } |
15852 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
15853 | ( |
15854 | #line 6789 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15855 | UseAVX == 0 && n->as_Vector()->length() == 4 |
15856 | #line 15856 "dfa_x86.cpp" |
15857 | ) ) { |
15858 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
15859 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
15860 | DFA_PRODUCTION__SET_VALID(VECD, vsub4S_rule, c) |
15861 | } |
15862 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
15863 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
15864 | } |
15865 | } |
15866 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15867 | ( |
15868 | #line 6778 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15869 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15870 | #line 15870 "dfa_x86.cpp" |
15871 | ) ) { |
15872 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15873 | DFA_PRODUCTION__SET_VALID(VECS, vsub2S_mem_rule, c) |
15874 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
15875 | } |
15876 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
15877 | ( |
15878 | #line 6767 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15879 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15880 | #line 15880 "dfa_x86.cpp" |
15881 | ) ) { |
15882 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
15883 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
15884 | DFA_PRODUCTION__SET_VALID(VECS, vsub2S_reg_rule, c) |
15885 | } |
15886 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
15887 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
15888 | } |
15889 | } |
15890 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
15891 | ( |
15892 | #line 6757 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15893 | UseAVX == 0 && n->as_Vector()->length() == 2 |
15894 | #line 15894 "dfa_x86.cpp" |
15895 | ) ) { |
15896 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
15897 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
15898 | DFA_PRODUCTION__SET_VALID(VECS, vsub2S_rule, c) |
15899 | } |
15900 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
15901 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
15902 | } |
15903 | } |
15904 | } |
15905 | void State::_sub_Op_SubVI(const Node *n){ |
15906 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15907 | ( |
15908 | #line 6995 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15909 | UseAVX > 2 && n->as_Vector()->length() == 16 |
15910 | #line 15910 "dfa_x86.cpp" |
15911 | ) ) { |
15912 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15913 | DFA_PRODUCTION__SET_VALID(VECZ, vsub16I_mem_rule, c) |
15914 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15915 | } |
15916 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
15917 | ( |
15918 | #line 6984 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15919 | UseAVX > 2 && n->as_Vector()->length() == 16 |
15920 | #line 15920 "dfa_x86.cpp" |
15921 | ) ) { |
15922 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
15923 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
15924 | DFA_PRODUCTION__SET_VALID(VECZ, vsub16I_reg_rule, c) |
15925 | } |
15926 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
15927 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
15928 | } |
15929 | } |
15930 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15931 | ( |
15932 | #line 6973 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15933 | UseAVX > 1 && n->as_Vector()->length() == 8 |
15934 | #line 15934 "dfa_x86.cpp" |
15935 | ) ) { |
15936 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15937 | DFA_PRODUCTION__SET_VALID(VECY, vsub8I_mem_rule, c) |
15938 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15939 | } |
15940 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
15941 | ( |
15942 | #line 6962 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15943 | UseAVX > 1 && n->as_Vector()->length() == 8 |
15944 | #line 15944 "dfa_x86.cpp" |
15945 | ) ) { |
15946 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
15947 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
15948 | DFA_PRODUCTION__SET_VALID(VECY, vsub8I_reg_rule, c) |
15949 | } |
15950 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
15951 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
15952 | } |
15953 | } |
15954 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15955 | ( |
15956 | #line 6951 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15957 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15958 | #line 15958 "dfa_x86.cpp" |
15959 | ) ) { |
15960 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15961 | DFA_PRODUCTION__SET_VALID(VECX, vsub4I_mem_rule, c) |
15962 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15963 | } |
15964 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15965 | ( |
15966 | #line 6940 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15967 | UseAVX > 0 && n->as_Vector()->length() == 4 |
15968 | #line 15968 "dfa_x86.cpp" |
15969 | ) ) { |
15970 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15971 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15972 | DFA_PRODUCTION__SET_VALID(VECX, vsub4I_reg_rule, c) |
15973 | } |
15974 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15975 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15976 | } |
15977 | } |
15978 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
15979 | ( |
15980 | #line 6930 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15981 | UseAVX == 0 && n->as_Vector()->length() == 4 |
15982 | #line 15982 "dfa_x86.cpp" |
15983 | ) ) { |
15984 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
15985 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
15986 | DFA_PRODUCTION__SET_VALID(VECX, vsub4I_rule, c) |
15987 | } |
15988 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
15989 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
15990 | } |
15991 | } |
15992 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
15993 | ( |
15994 | #line 6919 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
15995 | UseAVX > 0 && n->as_Vector()->length() == 2 |
15996 | #line 15996 "dfa_x86.cpp" |
15997 | ) ) { |
15998 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
15999 | DFA_PRODUCTION__SET_VALID(VECD, vsub2I_mem_rule, c) |
16000 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16001 | } |
16002 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16003 | ( |
16004 | #line 6908 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16005 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16006 | #line 16006 "dfa_x86.cpp" |
16007 | ) ) { |
16008 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16009 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16010 | DFA_PRODUCTION__SET_VALID(VECD, vsub2I_reg_rule, c) |
16011 | } |
16012 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16013 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16014 | } |
16015 | } |
16016 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16017 | ( |
16018 | #line 6898 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16019 | UseAVX == 0 && n->as_Vector()->length() == 2 |
16020 | #line 16020 "dfa_x86.cpp" |
16021 | ) ) { |
16022 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16023 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16024 | DFA_PRODUCTION__SET_VALID(VECD, vsub2I_rule, c) |
16025 | } |
16026 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16027 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16028 | } |
16029 | } |
16030 | } |
16031 | void State::_sub_Op_SubVL(const Node *n){ |
16032 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16033 | ( |
16034 | #line 7072 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16035 | UseAVX > 2 && n->as_Vector()->length() == 8 |
16036 | #line 16036 "dfa_x86.cpp" |
16037 | ) ) { |
16038 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16039 | DFA_PRODUCTION__SET_VALID(VECZ, vsub8L_mem_rule, c) |
16040 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16041 | } |
16042 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16043 | ( |
16044 | #line 7061 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16045 | UseAVX > 2 && n->as_Vector()->length() == 8 |
16046 | #line 16046 "dfa_x86.cpp" |
16047 | ) ) { |
16048 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
16049 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16050 | DFA_PRODUCTION__SET_VALID(VECZ, vsub8L_reg_rule, c) |
16051 | } |
16052 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16053 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16054 | } |
16055 | } |
16056 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16057 | ( |
16058 | #line 7050 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16059 | UseAVX > 1 && n->as_Vector()->length() == 4 |
16060 | #line 16060 "dfa_x86.cpp" |
16061 | ) ) { |
16062 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16063 | DFA_PRODUCTION__SET_VALID(VECY, vsub4L_mem_rule, c) |
16064 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16065 | } |
16066 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
16067 | ( |
16068 | #line 7039 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16069 | UseAVX > 1 && n->as_Vector()->length() == 4 |
16070 | #line 16070 "dfa_x86.cpp" |
16071 | ) ) { |
16072 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
16073 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16074 | DFA_PRODUCTION__SET_VALID(VECY, vsub4L_reg_rule, c) |
16075 | } |
16076 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16077 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16078 | } |
16079 | } |
16080 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16081 | ( |
16082 | #line 7028 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16083 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16084 | #line 16084 "dfa_x86.cpp" |
16085 | ) ) { |
16086 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16087 | DFA_PRODUCTION__SET_VALID(VECX, vsub2L_mem_rule, c) |
16088 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16089 | } |
16090 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16091 | ( |
16092 | #line 7017 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16093 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16094 | #line 16094 "dfa_x86.cpp" |
16095 | ) ) { |
16096 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16097 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16098 | DFA_PRODUCTION__SET_VALID(VECX, vsub2L_reg_rule, c) |
16099 | } |
16100 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16101 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16102 | } |
16103 | } |
16104 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16105 | ( |
16106 | #line 7007 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16107 | UseAVX == 0 && n->as_Vector()->length() == 2 |
16108 | #line 16108 "dfa_x86.cpp" |
16109 | ) ) { |
16110 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16111 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16112 | DFA_PRODUCTION__SET_VALID(VECX, vsub2L_rule, c) |
16113 | } |
16114 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16115 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16116 | } |
16117 | } |
16118 | } |
16119 | void State::_sub_Op_SubVF(const Node *n){ |
16120 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16121 | ( |
16122 | #line 7181 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16123 | UseAVX > 2 && n->as_Vector()->length() == 16 |
16124 | #line 16124 "dfa_x86.cpp" |
16125 | ) ) { |
16126 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16127 | DFA_PRODUCTION__SET_VALID(VECZ, vsub16F_mem_rule, c) |
16128 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16129 | } |
16130 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16131 | ( |
16132 | #line 7170 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16133 | UseAVX > 2 && n->as_Vector()->length() == 16 |
16134 | #line 16134 "dfa_x86.cpp" |
16135 | ) ) { |
16136 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
16137 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16138 | DFA_PRODUCTION__SET_VALID(VECZ, vsub16F_reg_rule, c) |
16139 | } |
16140 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16141 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16142 | } |
16143 | } |
16144 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16145 | ( |
16146 | #line 7159 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16147 | UseAVX > 0 && n->as_Vector()->length() == 8 |
16148 | #line 16148 "dfa_x86.cpp" |
16149 | ) ) { |
16150 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16151 | DFA_PRODUCTION__SET_VALID(VECY, vsub8F_mem_rule, c) |
16152 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16153 | } |
16154 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
16155 | ( |
16156 | #line 7148 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16157 | UseAVX > 0 && n->as_Vector()->length() == 8 |
16158 | #line 16158 "dfa_x86.cpp" |
16159 | ) ) { |
16160 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
16161 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16162 | DFA_PRODUCTION__SET_VALID(VECY, vsub8F_reg_rule, c) |
16163 | } |
16164 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16165 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16166 | } |
16167 | } |
16168 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16169 | ( |
16170 | #line 7137 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16171 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16172 | #line 16172 "dfa_x86.cpp" |
16173 | ) ) { |
16174 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16175 | DFA_PRODUCTION__SET_VALID(VECX, vsub4F_mem_rule, c) |
16176 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16177 | } |
16178 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16179 | ( |
16180 | #line 7126 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16181 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16182 | #line 16182 "dfa_x86.cpp" |
16183 | ) ) { |
16184 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16185 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16186 | DFA_PRODUCTION__SET_VALID(VECX, vsub4F_reg_rule, c) |
16187 | } |
16188 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16189 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16190 | } |
16191 | } |
16192 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16193 | ( |
16194 | #line 7116 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16195 | UseAVX == 0 && n->as_Vector()->length() == 4 |
16196 | #line 16196 "dfa_x86.cpp" |
16197 | ) ) { |
16198 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16199 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16200 | DFA_PRODUCTION__SET_VALID(VECX, vsub4F_rule, c) |
16201 | } |
16202 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16203 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16204 | } |
16205 | } |
16206 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16207 | ( |
16208 | #line 7105 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16209 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16210 | #line 16210 "dfa_x86.cpp" |
16211 | ) ) { |
16212 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16213 | DFA_PRODUCTION__SET_VALID(VECD, vsub2F_mem_rule, c) |
16214 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16215 | } |
16216 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16217 | ( |
16218 | #line 7094 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16219 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16220 | #line 16220 "dfa_x86.cpp" |
16221 | ) ) { |
16222 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16223 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16224 | DFA_PRODUCTION__SET_VALID(VECD, vsub2F_reg_rule, c) |
16225 | } |
16226 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16227 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16228 | } |
16229 | } |
16230 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16231 | ( |
16232 | #line 7084 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16233 | UseAVX == 0 && n->as_Vector()->length() == 2 |
16234 | #line 16234 "dfa_x86.cpp" |
16235 | ) ) { |
16236 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16237 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16238 | DFA_PRODUCTION__SET_VALID(VECD, vsub2F_rule, c) |
16239 | } |
16240 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16241 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16242 | } |
16243 | } |
16244 | } |
16245 | void State::_sub_Op_SubVD(const Node *n){ |
16246 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16247 | ( |
16248 | #line 7258 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16249 | UseAVX > 2 && n->as_Vector()->length() == 8 |
16250 | #line 16250 "dfa_x86.cpp" |
16251 | ) ) { |
16252 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16253 | DFA_PRODUCTION__SET_VALID(VECZ, vsub8D_mem_rule, c) |
16254 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16255 | } |
16256 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16257 | ( |
16258 | #line 7247 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16259 | UseAVX > 2 && n->as_Vector()->length() == 8 |
16260 | #line 16260 "dfa_x86.cpp" |
16261 | ) ) { |
16262 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
16263 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16264 | DFA_PRODUCTION__SET_VALID(VECZ, vsub8D_reg_rule, c) |
16265 | } |
16266 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16267 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16268 | } |
16269 | } |
16270 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16271 | ( |
16272 | #line 7236 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16273 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16274 | #line 16274 "dfa_x86.cpp" |
16275 | ) ) { |
16276 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16277 | DFA_PRODUCTION__SET_VALID(VECY, vsub4D_mem_rule, c) |
16278 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16279 | } |
16280 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
16281 | ( |
16282 | #line 7225 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16283 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16284 | #line 16284 "dfa_x86.cpp" |
16285 | ) ) { |
16286 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
16287 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16288 | DFA_PRODUCTION__SET_VALID(VECY, vsub4D_reg_rule, c) |
16289 | } |
16290 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16291 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16292 | } |
16293 | } |
16294 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16295 | ( |
16296 | #line 7214 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16297 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16298 | #line 16298 "dfa_x86.cpp" |
16299 | ) ) { |
16300 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16301 | DFA_PRODUCTION__SET_VALID(VECX, vsub2D_mem_rule, c) |
16302 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16303 | } |
16304 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16305 | ( |
16306 | #line 7203 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16307 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16308 | #line 16308 "dfa_x86.cpp" |
16309 | ) ) { |
16310 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16311 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16312 | DFA_PRODUCTION__SET_VALID(VECX, vsub2D_reg_rule, c) |
16313 | } |
16314 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16315 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16316 | } |
16317 | } |
16318 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16319 | ( |
16320 | #line 7193 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16321 | UseAVX == 0 && n->as_Vector()->length() == 2 |
16322 | #line 16322 "dfa_x86.cpp" |
16323 | ) ) { |
16324 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16325 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16326 | DFA_PRODUCTION__SET_VALID(VECX, vsub2D_rule, c) |
16327 | } |
16328 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16329 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16330 | } |
16331 | } |
16332 | } |
16333 | void State::_sub_Op_MulVB(const Node *n){ |
16334 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16335 | ( |
16336 | #line 7409 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16337 | UseAVX > 2 && n->as_Vector()->length() == 64 |
16338 | #line 16338 "dfa_x86.cpp" |
16339 | ) ) { |
16340 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
16341 | DFA_PRODUCTION__SET_VALID(VECZ, vmul64B_reg_avx_rule, c) |
16342 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16343 | } |
16344 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
16345 | ( |
16346 | #line 7371 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16347 | UseAVX > 1 && n->as_Vector()->length() == 32 |
16348 | #line 16348 "dfa_x86.cpp" |
16349 | ) ) { |
16350 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
16351 | DFA_PRODUCTION__SET_VALID(VECY, vmul32B_reg_avx_rule, c) |
16352 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16353 | } |
16354 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16355 | ( |
16356 | #line 7347 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16357 | UseAVX > 1 && n->as_Vector()->length() == 16 |
16358 | #line 16358 "dfa_x86.cpp" |
16359 | ) ) { |
16360 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16361 | DFA_PRODUCTION__SET_VALID(VECX, vmul16B_reg_avx_rule, c) |
16362 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16363 | } |
16364 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16365 | ( |
16366 | #line 7314 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16367 | UseSSE > 3 && n->as_Vector()->length() == 16 |
16368 | #line 16368 "dfa_x86.cpp" |
16369 | ) ) { |
16370 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16371 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16372 | DFA_PRODUCTION__SET_VALID(VECX, mul16B_reg_rule, c) |
16373 | } |
16374 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16375 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16376 | } |
16377 | } |
16378 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16379 | ( |
16380 | #line 7293 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16381 | UseSSE > 3 && n->as_Vector()->length() == 8 |
16382 | #line 16382 "dfa_x86.cpp" |
16383 | ) ) { |
16384 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16385 | DFA_PRODUCTION__SET_VALID(VECD, mul8B_reg_rule, c) |
16386 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16387 | } |
16388 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
16389 | ( |
16390 | #line 7272 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16391 | UseSSE > 3 && n->as_Vector()->length() == 4 |
16392 | #line 16392 "dfa_x86.cpp" |
16393 | ) ) { |
16394 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
16395 | DFA_PRODUCTION__SET_VALID(VECS, mul4B_reg_rule, c) |
16396 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
16397 | } |
16398 | } |
16399 | void State::_sub_Op_MulVS(const Node *n){ |
16400 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16401 | ( |
16402 | #line 7581 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16403 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
16404 | #line 16404 "dfa_x86.cpp" |
16405 | ) ) { |
16406 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
16407 | DFA_PRODUCTION__SET_VALID(VECZ, vmul32S_mem_0_rule, c) |
16408 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16409 | } |
16410 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16411 | ( |
16412 | #line 7581 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16413 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
16414 | #line 16414 "dfa_x86.cpp" |
16415 | ) ) { |
16416 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16417 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16418 | DFA_PRODUCTION__SET_VALID(VECZ, vmul32S_mem_rule, c) |
16419 | } |
16420 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16421 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16422 | } |
16423 | } |
16424 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16425 | ( |
16426 | #line 7570 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16427 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
16428 | #line 16428 "dfa_x86.cpp" |
16429 | ) ) { |
16430 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
16431 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16432 | DFA_PRODUCTION__SET_VALID(VECZ, vmul32S_reg_rule, c) |
16433 | } |
16434 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16435 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16436 | } |
16437 | } |
16438 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
16439 | ( |
16440 | #line 7559 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16441 | UseAVX > 1 && n->as_Vector()->length() == 16 |
16442 | #line 16442 "dfa_x86.cpp" |
16443 | ) ) { |
16444 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
16445 | DFA_PRODUCTION__SET_VALID(VECY, vmul16S_mem_0_rule, c) |
16446 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16447 | } |
16448 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16449 | ( |
16450 | #line 7559 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16451 | UseAVX > 1 && n->as_Vector()->length() == 16 |
16452 | #line 16452 "dfa_x86.cpp" |
16453 | ) ) { |
16454 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16455 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16456 | DFA_PRODUCTION__SET_VALID(VECY, vmul16S_mem_rule, c) |
16457 | } |
16458 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16459 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16460 | } |
16461 | } |
16462 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
16463 | ( |
16464 | #line 7548 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16465 | UseAVX > 1 && n->as_Vector()->length() == 16 |
16466 | #line 16466 "dfa_x86.cpp" |
16467 | ) ) { |
16468 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
16469 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16470 | DFA_PRODUCTION__SET_VALID(VECY, vmul16S_reg_rule, c) |
16471 | } |
16472 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16473 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16474 | } |
16475 | } |
16476 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
16477 | ( |
16478 | #line 7537 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16479 | UseAVX > 0 && n->as_Vector()->length() == 8 |
16480 | #line 16480 "dfa_x86.cpp" |
16481 | ) ) { |
16482 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
16483 | DFA_PRODUCTION__SET_VALID(VECX, vmul8S_mem_0_rule, c) |
16484 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16485 | } |
16486 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16487 | ( |
16488 | #line 7537 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16489 | UseAVX > 0 && n->as_Vector()->length() == 8 |
16490 | #line 16490 "dfa_x86.cpp" |
16491 | ) ) { |
16492 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16493 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16494 | DFA_PRODUCTION__SET_VALID(VECX, vmul8S_mem_rule, c) |
16495 | } |
16496 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16497 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16498 | } |
16499 | } |
16500 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16501 | ( |
16502 | #line 7526 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16503 | UseAVX > 0 && n->as_Vector()->length() == 8 |
16504 | #line 16504 "dfa_x86.cpp" |
16505 | ) ) { |
16506 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16507 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16508 | DFA_PRODUCTION__SET_VALID(VECX, vmul8S_reg_rule, c) |
16509 | } |
16510 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16511 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16512 | } |
16513 | } |
16514 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16515 | ( |
16516 | #line 7516 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16517 | UseAVX == 0 && n->as_Vector()->length() == 8 |
16518 | #line 16518 "dfa_x86.cpp" |
16519 | ) ) { |
16520 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16521 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16522 | DFA_PRODUCTION__SET_VALID(VECX, vmul8S_rule, c) |
16523 | } |
16524 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16525 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16526 | } |
16527 | } |
16528 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
16529 | ( |
16530 | #line 7505 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16531 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16532 | #line 16532 "dfa_x86.cpp" |
16533 | ) ) { |
16534 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
16535 | DFA_PRODUCTION__SET_VALID(VECD, vmul4S_mem_0_rule, c) |
16536 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16537 | } |
16538 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16539 | ( |
16540 | #line 7505 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16541 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16542 | #line 16542 "dfa_x86.cpp" |
16543 | ) ) { |
16544 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16545 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16546 | DFA_PRODUCTION__SET_VALID(VECD, vmul4S_mem_rule, c) |
16547 | } |
16548 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16549 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16550 | } |
16551 | } |
16552 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16553 | ( |
16554 | #line 7494 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16555 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16556 | #line 16556 "dfa_x86.cpp" |
16557 | ) ) { |
16558 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16559 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16560 | DFA_PRODUCTION__SET_VALID(VECD, vmul4S_reg_rule, c) |
16561 | } |
16562 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16563 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16564 | } |
16565 | } |
16566 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16567 | ( |
16568 | #line 7484 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16569 | UseAVX == 0 && n->as_Vector()->length() == 4 |
16570 | #line 16570 "dfa_x86.cpp" |
16571 | ) ) { |
16572 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16573 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16574 | DFA_PRODUCTION__SET_VALID(VECD, vmul4S_rule, c) |
16575 | } |
16576 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16577 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16578 | } |
16579 | } |
16580 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECS) && |
16581 | ( |
16582 | #line 7473 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16583 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16584 | #line 16584 "dfa_x86.cpp" |
16585 | ) ) { |
16586 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECS]+100; |
16587 | DFA_PRODUCTION__SET_VALID(VECS, vmul2S_mem_0_rule, c) |
16588 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
16589 | } |
16590 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16591 | ( |
16592 | #line 7473 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16593 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16594 | #line 16594 "dfa_x86.cpp" |
16595 | ) ) { |
16596 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16597 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
16598 | DFA_PRODUCTION__SET_VALID(VECS, vmul2S_mem_rule, c) |
16599 | } |
16600 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
16601 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
16602 | } |
16603 | } |
16604 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
16605 | ( |
16606 | #line 7462 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16607 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16608 | #line 16608 "dfa_x86.cpp" |
16609 | ) ) { |
16610 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
16611 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
16612 | DFA_PRODUCTION__SET_VALID(VECS, vmul2S_reg_rule, c) |
16613 | } |
16614 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
16615 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
16616 | } |
16617 | } |
16618 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
16619 | ( |
16620 | #line 7452 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16621 | UseAVX == 0 && n->as_Vector()->length() == 2 |
16622 | #line 16622 "dfa_x86.cpp" |
16623 | ) ) { |
16624 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
16625 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
16626 | DFA_PRODUCTION__SET_VALID(VECS, vmul2S_rule, c) |
16627 | } |
16628 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
16629 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
16630 | } |
16631 | } |
16632 | } |
16633 | void State::_sub_Op_MulVI(const Node *n){ |
16634 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16635 | ( |
16636 | #line 7756 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16637 | UseAVX > 2 && n->as_Vector()->length() == 16 |
16638 | #line 16638 "dfa_x86.cpp" |
16639 | ) ) { |
16640 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
16641 | DFA_PRODUCTION__SET_VALID(VECZ, vmul16I_mem_0_rule, c) |
16642 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16643 | } |
16644 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16645 | ( |
16646 | #line 7756 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16647 | UseAVX > 2 && n->as_Vector()->length() == 16 |
16648 | #line 16648 "dfa_x86.cpp" |
16649 | ) ) { |
16650 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16651 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16652 | DFA_PRODUCTION__SET_VALID(VECZ, vmul16I_mem_rule, c) |
16653 | } |
16654 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16655 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16656 | } |
16657 | } |
16658 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
16659 | ( |
16660 | #line 7745 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16661 | UseAVX > 2 && n->as_Vector()->length() == 16 |
16662 | #line 16662 "dfa_x86.cpp" |
16663 | ) ) { |
16664 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
16665 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
16666 | DFA_PRODUCTION__SET_VALID(VECZ, vmul16I_reg_rule, c) |
16667 | } |
16668 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
16669 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
16670 | } |
16671 | } |
16672 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
16673 | ( |
16674 | #line 7734 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16675 | UseAVX > 1 && n->as_Vector()->length() == 8 |
16676 | #line 16676 "dfa_x86.cpp" |
16677 | ) ) { |
16678 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
16679 | DFA_PRODUCTION__SET_VALID(VECY, vmul8I_mem_0_rule, c) |
16680 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16681 | } |
16682 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16683 | ( |
16684 | #line 7734 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16685 | UseAVX > 1 && n->as_Vector()->length() == 8 |
16686 | #line 16686 "dfa_x86.cpp" |
16687 | ) ) { |
16688 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16689 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16690 | DFA_PRODUCTION__SET_VALID(VECY, vmul8I_mem_rule, c) |
16691 | } |
16692 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16693 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16694 | } |
16695 | } |
16696 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
16697 | ( |
16698 | #line 7723 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16699 | UseAVX > 1 && n->as_Vector()->length() == 8 |
16700 | #line 16700 "dfa_x86.cpp" |
16701 | ) ) { |
16702 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
16703 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
16704 | DFA_PRODUCTION__SET_VALID(VECY, vmul8I_reg_rule, c) |
16705 | } |
16706 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
16707 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
16708 | } |
16709 | } |
16710 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
16711 | ( |
16712 | #line 7646 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16713 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16714 | #line 16714 "dfa_x86.cpp" |
16715 | ) ) { |
16716 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
16717 | DFA_PRODUCTION__SET_VALID(VECX, vmul4I_mem_0_rule, c) |
16718 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16719 | } |
16720 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16721 | ( |
16722 | #line 7646 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16723 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16724 | #line 16724 "dfa_x86.cpp" |
16725 | ) ) { |
16726 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16727 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16728 | DFA_PRODUCTION__SET_VALID(VECX, vmul4I_mem_rule, c) |
16729 | } |
16730 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16731 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16732 | } |
16733 | } |
16734 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16735 | ( |
16736 | #line 7635 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16737 | UseAVX > 0 && n->as_Vector()->length() == 4 |
16738 | #line 16738 "dfa_x86.cpp" |
16739 | ) ) { |
16740 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16741 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16742 | DFA_PRODUCTION__SET_VALID(VECX, vmul4I_reg_rule, c) |
16743 | } |
16744 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16745 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16746 | } |
16747 | } |
16748 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
16749 | ( |
16750 | #line 7625 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16751 | UseSSE > 3 && n->as_Vector()->length() == 4 |
16752 | #line 16752 "dfa_x86.cpp" |
16753 | ) ) { |
16754 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
16755 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
16756 | DFA_PRODUCTION__SET_VALID(VECX, vmul4I_rule, c) |
16757 | } |
16758 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
16759 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
16760 | } |
16761 | } |
16762 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
16763 | ( |
16764 | #line 7614 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16765 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16766 | #line 16766 "dfa_x86.cpp" |
16767 | ) ) { |
16768 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
16769 | DFA_PRODUCTION__SET_VALID(VECD, vmul2I_mem_0_rule, c) |
16770 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16771 | } |
16772 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
16773 | ( |
16774 | #line 7614 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16775 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16776 | #line 16776 "dfa_x86.cpp" |
16777 | ) ) { |
16778 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
16779 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16780 | DFA_PRODUCTION__SET_VALID(VECD, vmul2I_mem_rule, c) |
16781 | } |
16782 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16783 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16784 | } |
16785 | } |
16786 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16787 | ( |
16788 | #line 7603 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16789 | UseAVX > 0 && n->as_Vector()->length() == 2 |
16790 | #line 16790 "dfa_x86.cpp" |
16791 | ) ) { |
16792 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16793 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16794 | DFA_PRODUCTION__SET_VALID(VECD, vmul2I_reg_rule, c) |
16795 | } |
16796 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16797 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16798 | } |
16799 | } |
16800 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
16801 | ( |
16802 | #line 7593 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16803 | UseSSE > 3 && n->as_Vector()->length() == 2 |
16804 | #line 16804 "dfa_x86.cpp" |
16805 | ) ) { |
16806 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
16807 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
16808 | DFA_PRODUCTION__SET_VALID(VECD, vmul2I_rule, c) |
16809 | } |
16810 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
16811 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
16812 | } |
16813 | } |
16814 | } |
16815 | void State::_sub_Op_MulReductionVI(const Node *n){ |
16816 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
16817 | ( |
16818 | #line 5573 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16819 | UseAVX > 2 |
16820 | #line 16820 "dfa_x86.cpp" |
16821 | ) ) { |
16822 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[LEGVECZ]+100; |
16823 | DFA_PRODUCTION__SET_VALID(RREGI, rvmul16I_reduction_reg_rule, c) |
16824 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
16825 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvmul16I_reduction_reg_rule, c) |
16826 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvmul16I_reduction_reg_rule, c) |
16827 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvmul16I_reduction_reg_rule, c) |
16828 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvmul16I_reduction_reg_rule, c) |
16829 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvmul16I_reduction_reg_rule, c) |
16830 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvmul16I_reduction_reg_rule, c) |
16831 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvmul16I_reduction_reg_rule, c) |
16832 | } |
16833 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECY) && |
16834 | ( |
16835 | #line 5545 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16836 | UseAVX > 1 |
16837 | #line 16837 "dfa_x86.cpp" |
16838 | ) ) { |
16839 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECY]+100; |
16840 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
16841 | DFA_PRODUCTION__SET_VALID(RREGI, rvmul8I_reduction_reg_rule, c) |
16842 | } |
16843 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
16844 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
16845 | } |
16846 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
16847 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvmul8I_reduction_reg_rule, c) |
16848 | } |
16849 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
16850 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvmul8I_reduction_reg_rule, c) |
16851 | } |
16852 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
16853 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvmul8I_reduction_reg_rule, c) |
16854 | } |
16855 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
16856 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvmul8I_reduction_reg_rule, c) |
16857 | } |
16858 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
16859 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvmul8I_reduction_reg_rule, c) |
16860 | } |
16861 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
16862 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvmul8I_reduction_reg_rule, c) |
16863 | } |
16864 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
16865 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvmul8I_reduction_reg_rule, c) |
16866 | } |
16867 | } |
16868 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECX) && |
16869 | ( |
16870 | #line 5521 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16871 | UseAVX > 0 |
16872 | #line 16872 "dfa_x86.cpp" |
16873 | ) ) { |
16874 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECX]+100; |
16875 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
16876 | DFA_PRODUCTION__SET_VALID(RREGI, rvmul4I_reduction_reg_rule, c) |
16877 | } |
16878 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
16879 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
16880 | } |
16881 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
16882 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvmul4I_reduction_reg_rule, c) |
16883 | } |
16884 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
16885 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvmul4I_reduction_reg_rule, c) |
16886 | } |
16887 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
16888 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvmul4I_reduction_reg_rule, c) |
16889 | } |
16890 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
16891 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvmul4I_reduction_reg_rule, c) |
16892 | } |
16893 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
16894 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvmul4I_reduction_reg_rule, c) |
16895 | } |
16896 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
16897 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvmul4I_reduction_reg_rule, c) |
16898 | } |
16899 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
16900 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvmul4I_reduction_reg_rule, c) |
16901 | } |
16902 | } |
16903 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECX) && |
16904 | ( |
16905 | #line 5498 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16906 | UseSSE > 3 && UseAVX == 0 |
16907 | #line 16907 "dfa_x86.cpp" |
16908 | ) ) { |
16909 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECX]+100; |
16910 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
16911 | DFA_PRODUCTION__SET_VALID(RREGI, rsmul4I_reduction_reg_rule, c) |
16912 | } |
16913 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
16914 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
16915 | } |
16916 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
16917 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rsmul4I_reduction_reg_rule, c) |
16918 | } |
16919 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
16920 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rsmul4I_reduction_reg_rule, c) |
16921 | } |
16922 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
16923 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rsmul4I_reduction_reg_rule, c) |
16924 | } |
16925 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
16926 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rsmul4I_reduction_reg_rule, c) |
16927 | } |
16928 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
16929 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rsmul4I_reduction_reg_rule, c) |
16930 | } |
16931 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
16932 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rsmul4I_reduction_reg_rule, c) |
16933 | } |
16934 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
16935 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rsmul4I_reduction_reg_rule, c) |
16936 | } |
16937 | } |
16938 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECD) && |
16939 | ( |
16940 | #line 5478 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16941 | UseAVX > 0 |
16942 | #line 16942 "dfa_x86.cpp" |
16943 | ) ) { |
16944 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECD]+100; |
16945 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
16946 | DFA_PRODUCTION__SET_VALID(RREGI, rvmul2I_reduction_reg_rule, c) |
16947 | } |
16948 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
16949 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
16950 | } |
16951 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
16952 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rvmul2I_reduction_reg_rule, c) |
16953 | } |
16954 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
16955 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rvmul2I_reduction_reg_rule, c) |
16956 | } |
16957 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
16958 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rvmul2I_reduction_reg_rule, c) |
16959 | } |
16960 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
16961 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rvmul2I_reduction_reg_rule, c) |
16962 | } |
16963 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
16964 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rvmul2I_reduction_reg_rule, c) |
16965 | } |
16966 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
16967 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rvmul2I_reduction_reg_rule, c) |
16968 | } |
16969 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
16970 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rvmul2I_reduction_reg_rule, c) |
16971 | } |
16972 | } |
16973 | if( STATE__VALID_CHILD(_kids[0], RREGI) && STATE__VALID_CHILD(_kids[1], VECD) && |
16974 | ( |
16975 | #line 5459 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
16976 | UseSSE > 3 && UseAVX == 0 |
16977 | #line 16977 "dfa_x86.cpp" |
16978 | ) ) { |
16979 | unsigned int c = _kids[0]->_cost[RREGI]+_kids[1]->_cost[VECD]+100; |
16980 | if (STATE__NOT_YET_VALID(RREGI) || _cost[RREGI] > c) { |
16981 | DFA_PRODUCTION__SET_VALID(RREGI, rsmul2I_reduction_reg_rule, c) |
16982 | } |
16983 | if (STATE__NOT_YET_VALID(STACKSLOTI) || _cost[STACKSLOTI] > c+100) { |
16984 | DFA_PRODUCTION__SET_VALID(STACKSLOTI, storeSSI_rule, c+100) |
16985 | } |
16986 | if (STATE__NOT_YET_VALID(RAX_REGI) || _cost[RAX_REGI] > c) { |
16987 | DFA_PRODUCTION__SET_VALID(RAX_REGI, rsmul2I_reduction_reg_rule, c) |
16988 | } |
16989 | if (STATE__NOT_YET_VALID(NO_RCX_REGI) || _cost[NO_RCX_REGI] > c) { |
16990 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGI, rsmul2I_reduction_reg_rule, c) |
16991 | } |
16992 | if (STATE__NOT_YET_VALID(RBX_REGI) || _cost[RBX_REGI] > c) { |
16993 | DFA_PRODUCTION__SET_VALID(RBX_REGI, rsmul2I_reduction_reg_rule, c) |
16994 | } |
16995 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGI) || _cost[NO_RAX_RDX_REGI] > c) { |
16996 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGI, rsmul2I_reduction_reg_rule, c) |
16997 | } |
16998 | if (STATE__NOT_YET_VALID(RCX_REGI) || _cost[RCX_REGI] > c) { |
16999 | DFA_PRODUCTION__SET_VALID(RCX_REGI, rsmul2I_reduction_reg_rule, c) |
17000 | } |
17001 | if (STATE__NOT_YET_VALID(RDX_REGI) || _cost[RDX_REGI] > c) { |
17002 | DFA_PRODUCTION__SET_VALID(RDX_REGI, rsmul2I_reduction_reg_rule, c) |
17003 | } |
17004 | if (STATE__NOT_YET_VALID(RDI_REGI) || _cost[RDI_REGI] > c) { |
17005 | DFA_PRODUCTION__SET_VALID(RDI_REGI, rsmul2I_reduction_reg_rule, c) |
17006 | } |
17007 | } |
17008 | } |
17009 | void State::_sub_Op_MulVL(const Node *n){ |
17010 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17011 | ( |
17012 | #line 7712 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17013 | UseAVX > 2 && n->as_Vector()->length() == 8 && VM_Version::supports_avx512dq() |
17014 | #line 17014 "dfa_x86.cpp" |
17015 | ) ) { |
17016 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
17017 | DFA_PRODUCTION__SET_VALID(VECZ, vmul8L_mem_0_rule, c) |
17018 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17019 | } |
17020 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17021 | ( |
17022 | #line 7712 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17023 | UseAVX > 2 && n->as_Vector()->length() == 8 && VM_Version::supports_avx512dq() |
17024 | #line 17024 "dfa_x86.cpp" |
17025 | ) ) { |
17026 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17027 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17028 | DFA_PRODUCTION__SET_VALID(VECZ, vmul8L_mem_rule, c) |
17029 | } |
17030 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17031 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17032 | } |
17033 | } |
17034 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17035 | ( |
17036 | #line 7701 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17037 | UseAVX > 2 && n->as_Vector()->length() == 8 && VM_Version::supports_avx512dq() |
17038 | #line 17038 "dfa_x86.cpp" |
17039 | ) ) { |
17040 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
17041 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17042 | DFA_PRODUCTION__SET_VALID(VECZ, vmul8L_reg_rule, c) |
17043 | } |
17044 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17045 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17046 | } |
17047 | } |
17048 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
17049 | ( |
17050 | #line 7690 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17051 | UseAVX > 2 && n->as_Vector()->length() == 4 && VM_Version::supports_avx512dq() |
17052 | #line 17052 "dfa_x86.cpp" |
17053 | ) ) { |
17054 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
17055 | DFA_PRODUCTION__SET_VALID(VECY, vmul4L_mem_0_rule, c) |
17056 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17057 | } |
17058 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17059 | ( |
17060 | #line 7690 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17061 | UseAVX > 2 && n->as_Vector()->length() == 4 && VM_Version::supports_avx512dq() |
17062 | #line 17062 "dfa_x86.cpp" |
17063 | ) ) { |
17064 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17065 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17066 | DFA_PRODUCTION__SET_VALID(VECY, vmul4L_mem_rule, c) |
17067 | } |
17068 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17069 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17070 | } |
17071 | } |
17072 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
17073 | ( |
17074 | #line 7679 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17075 | UseAVX > 2 && n->as_Vector()->length() == 4 && VM_Version::supports_avx512dq() |
17076 | #line 17076 "dfa_x86.cpp" |
17077 | ) ) { |
17078 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
17079 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17080 | DFA_PRODUCTION__SET_VALID(VECY, vmul4L_reg_rule, c) |
17081 | } |
17082 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17083 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17084 | } |
17085 | } |
17086 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
17087 | ( |
17088 | #line 7668 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17089 | UseAVX > 2 && n->as_Vector()->length() == 2 && VM_Version::supports_avx512dq() |
17090 | #line 17090 "dfa_x86.cpp" |
17091 | ) ) { |
17092 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
17093 | DFA_PRODUCTION__SET_VALID(VECX, vmul2L_mem_0_rule, c) |
17094 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17095 | } |
17096 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17097 | ( |
17098 | #line 7668 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17099 | UseAVX > 2 && n->as_Vector()->length() == 2 && VM_Version::supports_avx512dq() |
17100 | #line 17100 "dfa_x86.cpp" |
17101 | ) ) { |
17102 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17103 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17104 | DFA_PRODUCTION__SET_VALID(VECX, vmul2L_mem_rule, c) |
17105 | } |
17106 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17107 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17108 | } |
17109 | } |
17110 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17111 | ( |
17112 | #line 7657 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17113 | UseAVX > 2 && n->as_Vector()->length() == 2 && VM_Version::supports_avx512dq() |
17114 | #line 17114 "dfa_x86.cpp" |
17115 | ) ) { |
17116 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17117 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17118 | DFA_PRODUCTION__SET_VALID(VECX, vmul2L_reg_rule, c) |
17119 | } |
17120 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17121 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17122 | } |
17123 | } |
17124 | } |
17125 | void State::_sub_Op_MulReductionVL(const Node *n){ |
17126 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
17127 | ( |
17128 | #line 5647 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17129 | UseAVX > 2 && VM_Version::supports_avx512dq() |
17130 | #line 17130 "dfa_x86.cpp" |
17131 | ) ) { |
17132 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[LEGVECZ]+100; |
17133 | DFA_PRODUCTION__SET_VALID(RREGL, rvmul8L_reduction_reg_rule, c) |
17134 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
17135 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rvmul8L_reduction_reg_rule, c) |
17136 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rvmul8L_reduction_reg_rule, c) |
17137 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rvmul8L_reduction_reg_rule, c) |
17138 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rvmul8L_reduction_reg_rule, c) |
17139 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rvmul8L_reduction_reg_rule, c) |
17140 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rvmul8L_reduction_reg_rule, c) |
17141 | } |
17142 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], VECY) && |
17143 | ( |
17144 | #line 5624 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17145 | UseAVX > 2 && VM_Version::supports_avx512dq() |
17146 | #line 17146 "dfa_x86.cpp" |
17147 | ) ) { |
17148 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[VECY]+100; |
17149 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
17150 | DFA_PRODUCTION__SET_VALID(RREGL, rvmul4L_reduction_reg_rule, c) |
17151 | } |
17152 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
17153 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
17154 | } |
17155 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
17156 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rvmul4L_reduction_reg_rule, c) |
17157 | } |
17158 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
17159 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rvmul4L_reduction_reg_rule, c) |
17160 | } |
17161 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
17162 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rvmul4L_reduction_reg_rule, c) |
17163 | } |
17164 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
17165 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rvmul4L_reduction_reg_rule, c) |
17166 | } |
17167 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
17168 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rvmul4L_reduction_reg_rule, c) |
17169 | } |
17170 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
17171 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rvmul4L_reduction_reg_rule, c) |
17172 | } |
17173 | } |
17174 | if( STATE__VALID_CHILD(_kids[0], RREGL) && STATE__VALID_CHILD(_kids[1], VECX) && |
17175 | ( |
17176 | #line 5605 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17177 | UseAVX > 2 && VM_Version::supports_avx512dq() |
17178 | #line 17178 "dfa_x86.cpp" |
17179 | ) ) { |
17180 | unsigned int c = _kids[0]->_cost[RREGL]+_kids[1]->_cost[VECX]+100; |
17181 | if (STATE__NOT_YET_VALID(RREGL) || _cost[RREGL] > c) { |
17182 | DFA_PRODUCTION__SET_VALID(RREGL, rvmul2L_reduction_reg_rule, c) |
17183 | } |
17184 | if (STATE__NOT_YET_VALID(STACKSLOTL) || _cost[STACKSLOTL] > c+100) { |
17185 | DFA_PRODUCTION__SET_VALID(STACKSLOTL, storeSSL_rule, c+100) |
17186 | } |
17187 | if (STATE__NOT_YET_VALID(NO_RAX_RDX_REGL) || _cost[NO_RAX_RDX_REGL] > c) { |
17188 | DFA_PRODUCTION__SET_VALID(NO_RAX_RDX_REGL, rvmul2L_reduction_reg_rule, c) |
17189 | } |
17190 | if (STATE__NOT_YET_VALID(NO_RAX_REGL) || _cost[NO_RAX_REGL] > c) { |
17191 | DFA_PRODUCTION__SET_VALID(NO_RAX_REGL, rvmul2L_reduction_reg_rule, c) |
17192 | } |
17193 | if (STATE__NOT_YET_VALID(NO_RCX_REGL) || _cost[NO_RCX_REGL] > c) { |
17194 | DFA_PRODUCTION__SET_VALID(NO_RCX_REGL, rvmul2L_reduction_reg_rule, c) |
17195 | } |
17196 | if (STATE__NOT_YET_VALID(RAX_REGL) || _cost[RAX_REGL] > c) { |
17197 | DFA_PRODUCTION__SET_VALID(RAX_REGL, rvmul2L_reduction_reg_rule, c) |
17198 | } |
17199 | if (STATE__NOT_YET_VALID(RCX_REGL) || _cost[RCX_REGL] > c) { |
17200 | DFA_PRODUCTION__SET_VALID(RCX_REGL, rvmul2L_reduction_reg_rule, c) |
17201 | } |
17202 | if (STATE__NOT_YET_VALID(RDX_REGL) || _cost[RDX_REGL] > c) { |
17203 | DFA_PRODUCTION__SET_VALID(RDX_REGL, rvmul2L_reduction_reg_rule, c) |
17204 | } |
17205 | } |
17206 | } |
17207 | void State::_sub_Op_MulVF(const Node *n){ |
17208 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17209 | ( |
17210 | #line 7865 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17211 | UseAVX > 2 && n->as_Vector()->length() == 16 |
17212 | #line 17212 "dfa_x86.cpp" |
17213 | ) ) { |
17214 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
17215 | DFA_PRODUCTION__SET_VALID(VECZ, vmul16F_mem_0_rule, c) |
17216 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17217 | } |
17218 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17219 | ( |
17220 | #line 7865 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17221 | UseAVX > 2 && n->as_Vector()->length() == 16 |
17222 | #line 17222 "dfa_x86.cpp" |
17223 | ) ) { |
17224 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17225 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17226 | DFA_PRODUCTION__SET_VALID(VECZ, vmul16F_mem_rule, c) |
17227 | } |
17228 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17229 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17230 | } |
17231 | } |
17232 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17233 | ( |
17234 | #line 7854 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17235 | UseAVX > 2 && n->as_Vector()->length() == 16 |
17236 | #line 17236 "dfa_x86.cpp" |
17237 | ) ) { |
17238 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
17239 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17240 | DFA_PRODUCTION__SET_VALID(VECZ, vmul16F_reg_rule, c) |
17241 | } |
17242 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17243 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17244 | } |
17245 | } |
17246 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
17247 | ( |
17248 | #line 7843 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17249 | UseAVX > 0 && n->as_Vector()->length() == 8 |
17250 | #line 17250 "dfa_x86.cpp" |
17251 | ) ) { |
17252 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
17253 | DFA_PRODUCTION__SET_VALID(VECY, vmul8F_mem_0_rule, c) |
17254 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17255 | } |
17256 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17257 | ( |
17258 | #line 7843 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17259 | UseAVX > 0 && n->as_Vector()->length() == 8 |
17260 | #line 17260 "dfa_x86.cpp" |
17261 | ) ) { |
17262 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17263 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17264 | DFA_PRODUCTION__SET_VALID(VECY, vmul8F_mem_rule, c) |
17265 | } |
17266 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17267 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17268 | } |
17269 | } |
17270 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
17271 | ( |
17272 | #line 7832 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17273 | UseAVX > 0 && n->as_Vector()->length() == 8 |
17274 | #line 17274 "dfa_x86.cpp" |
17275 | ) ) { |
17276 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
17277 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17278 | DFA_PRODUCTION__SET_VALID(VECY, vmul8F_reg_rule, c) |
17279 | } |
17280 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17281 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17282 | } |
17283 | } |
17284 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
17285 | ( |
17286 | #line 7821 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17287 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17288 | #line 17288 "dfa_x86.cpp" |
17289 | ) ) { |
17290 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
17291 | DFA_PRODUCTION__SET_VALID(VECX, vmul4F_mem_0_rule, c) |
17292 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17293 | } |
17294 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17295 | ( |
17296 | #line 7821 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17297 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17298 | #line 17298 "dfa_x86.cpp" |
17299 | ) ) { |
17300 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17301 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17302 | DFA_PRODUCTION__SET_VALID(VECX, vmul4F_mem_rule, c) |
17303 | } |
17304 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17305 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17306 | } |
17307 | } |
17308 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17309 | ( |
17310 | #line 7810 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17311 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17312 | #line 17312 "dfa_x86.cpp" |
17313 | ) ) { |
17314 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17315 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17316 | DFA_PRODUCTION__SET_VALID(VECX, vmul4F_reg_rule, c) |
17317 | } |
17318 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17319 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17320 | } |
17321 | } |
17322 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17323 | ( |
17324 | #line 7800 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17325 | UseAVX == 0 && n->as_Vector()->length() == 4 |
17326 | #line 17326 "dfa_x86.cpp" |
17327 | ) ) { |
17328 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17329 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17330 | DFA_PRODUCTION__SET_VALID(VECX, vmul4F_rule, c) |
17331 | } |
17332 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17333 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17334 | } |
17335 | } |
17336 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
17337 | ( |
17338 | #line 7789 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17339 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17340 | #line 17340 "dfa_x86.cpp" |
17341 | ) ) { |
17342 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
17343 | DFA_PRODUCTION__SET_VALID(VECD, vmul2F_mem_0_rule, c) |
17344 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
17345 | } |
17346 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17347 | ( |
17348 | #line 7789 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17349 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17350 | #line 17350 "dfa_x86.cpp" |
17351 | ) ) { |
17352 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17353 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
17354 | DFA_PRODUCTION__SET_VALID(VECD, vmul2F_mem_rule, c) |
17355 | } |
17356 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
17357 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
17358 | } |
17359 | } |
17360 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
17361 | ( |
17362 | #line 7778 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17363 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17364 | #line 17364 "dfa_x86.cpp" |
17365 | ) ) { |
17366 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
17367 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
17368 | DFA_PRODUCTION__SET_VALID(VECD, vmul2F_reg_rule, c) |
17369 | } |
17370 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
17371 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
17372 | } |
17373 | } |
17374 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
17375 | ( |
17376 | #line 7768 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17377 | UseAVX == 0 && n->as_Vector()->length() == 2 |
17378 | #line 17378 "dfa_x86.cpp" |
17379 | ) ) { |
17380 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
17381 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
17382 | DFA_PRODUCTION__SET_VALID(VECD, vmul2F_rule, c) |
17383 | } |
17384 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
17385 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
17386 | } |
17387 | } |
17388 | } |
17389 | void State::_sub_Op_MulReductionVF(const Node *n){ |
17390 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
17391 | ( |
17392 | #line 5790 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17393 | UseAVX > 2 |
17394 | #line 17394 "dfa_x86.cpp" |
17395 | ) ) { |
17396 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[LEGVECZ]+100; |
17397 | DFA_PRODUCTION__SET_VALID(REGF, rvmul16F_reduction_reg_rule, c) |
17398 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
17399 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
17400 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
17401 | } |
17402 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECY) && |
17403 | ( |
17404 | #line 5751 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17405 | UseAVX > 0 |
17406 | #line 17406 "dfa_x86.cpp" |
17407 | ) ) { |
17408 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECY]+100; |
17409 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
17410 | DFA_PRODUCTION__SET_VALID(REGF, rvmul8F_reduction_reg_rule, c) |
17411 | } |
17412 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
17413 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
17414 | } |
17415 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
17416 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
17417 | } |
17418 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
17419 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
17420 | } |
17421 | } |
17422 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECX) && |
17423 | ( |
17424 | #line 5728 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17425 | UseAVX > 0 |
17426 | #line 17426 "dfa_x86.cpp" |
17427 | ) ) { |
17428 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECX]+100; |
17429 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
17430 | DFA_PRODUCTION__SET_VALID(REGF, rvmul4F_reduction_reg_rule, c) |
17431 | } |
17432 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
17433 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
17434 | } |
17435 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
17436 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
17437 | } |
17438 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
17439 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
17440 | } |
17441 | } |
17442 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECX) && |
17443 | ( |
17444 | #line 5705 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17445 | UseSSE >= 1 && UseAVX == 0 |
17446 | #line 17446 "dfa_x86.cpp" |
17447 | ) ) { |
17448 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECX]+100; |
17449 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
17450 | DFA_PRODUCTION__SET_VALID(REGF, rsmul4F_reduction_reg_rule, c) |
17451 | } |
17452 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
17453 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
17454 | } |
17455 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
17456 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
17457 | } |
17458 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
17459 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
17460 | } |
17461 | } |
17462 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECD) && |
17463 | ( |
17464 | #line 5690 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17465 | UseAVX > 0 |
17466 | #line 17466 "dfa_x86.cpp" |
17467 | ) ) { |
17468 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECD]+100; |
17469 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
17470 | DFA_PRODUCTION__SET_VALID(REGF, rvmul2F_reduction_reg_rule, c) |
17471 | } |
17472 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
17473 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
17474 | } |
17475 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
17476 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
17477 | } |
17478 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
17479 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
17480 | } |
17481 | } |
17482 | if( STATE__VALID_CHILD(_kids[0], REGF) && STATE__VALID_CHILD(_kids[1], VECD) && |
17483 | ( |
17484 | #line 5675 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17485 | UseSSE >= 1 && UseAVX == 0 |
17486 | #line 17486 "dfa_x86.cpp" |
17487 | ) ) { |
17488 | unsigned int c = _kids[0]->_cost[REGF]+_kids[1]->_cost[VECD]+100; |
17489 | if (STATE__NOT_YET_VALID(REGF) || _cost[REGF] > c) { |
17490 | DFA_PRODUCTION__SET_VALID(REGF, rsmul2F_reduction_rule, c) |
17491 | } |
17492 | if (STATE__NOT_YET_VALID(VLREGF) || _cost[VLREGF] > c+100) { |
17493 | DFA_PRODUCTION__SET_VALID(VLREGF, MoveF2VL_rule, c+100) |
17494 | } |
17495 | if (STATE__NOT_YET_VALID(LEGREGF) || _cost[LEGREGF] > c+100) { |
17496 | DFA_PRODUCTION__SET_VALID(LEGREGF, MoveF2LEG_rule, c+100) |
17497 | } |
17498 | if (STATE__NOT_YET_VALID(STACKSLOTF) || _cost[STACKSLOTF] > c+95) { |
17499 | DFA_PRODUCTION__SET_VALID(STACKSLOTF, storeSSF_rule, c+95) |
17500 | } |
17501 | } |
17502 | } |
17503 | void State::_sub_Op_MulVD(const Node *n){ |
17504 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17505 | ( |
17506 | #line 7942 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17507 | UseAVX > 2 && n->as_Vector()->length() == 8 |
17508 | #line 17508 "dfa_x86.cpp" |
17509 | ) ) { |
17510 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
17511 | DFA_PRODUCTION__SET_VALID(VECZ, vmul8D_mem_0_rule, c) |
17512 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17513 | } |
17514 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17515 | ( |
17516 | #line 7942 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17517 | UseAVX > 2 && n->as_Vector()->length() == 8 |
17518 | #line 17518 "dfa_x86.cpp" |
17519 | ) ) { |
17520 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17521 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17522 | DFA_PRODUCTION__SET_VALID(VECZ, vmul8D_mem_rule, c) |
17523 | } |
17524 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17525 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17526 | } |
17527 | } |
17528 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17529 | ( |
17530 | #line 7931 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17531 | UseAVX > 2 && n->as_Vector()->length() == 8 |
17532 | #line 17532 "dfa_x86.cpp" |
17533 | ) ) { |
17534 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
17535 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17536 | DFA_PRODUCTION__SET_VALID(VECZ, vmul8D_reg_rule, c) |
17537 | } |
17538 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17539 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17540 | } |
17541 | } |
17542 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
17543 | ( |
17544 | #line 7920 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17545 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17546 | #line 17546 "dfa_x86.cpp" |
17547 | ) ) { |
17548 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
17549 | DFA_PRODUCTION__SET_VALID(VECY, vmul4D_mem_0_rule, c) |
17550 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17551 | } |
17552 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17553 | ( |
17554 | #line 7920 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17555 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17556 | #line 17556 "dfa_x86.cpp" |
17557 | ) ) { |
17558 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17559 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17560 | DFA_PRODUCTION__SET_VALID(VECY, vmul4D_mem_rule, c) |
17561 | } |
17562 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17563 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17564 | } |
17565 | } |
17566 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
17567 | ( |
17568 | #line 7909 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17569 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17570 | #line 17570 "dfa_x86.cpp" |
17571 | ) ) { |
17572 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
17573 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17574 | DFA_PRODUCTION__SET_VALID(VECY, vmul4D_reg_rule, c) |
17575 | } |
17576 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17577 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17578 | } |
17579 | } |
17580 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
17581 | ( |
17582 | #line 7898 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17583 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17584 | #line 17584 "dfa_x86.cpp" |
17585 | ) ) { |
17586 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
17587 | DFA_PRODUCTION__SET_VALID(VECX, vmul2D_mem_0_rule, c) |
17588 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17589 | } |
17590 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17591 | ( |
17592 | #line 7898 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17593 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17594 | #line 17594 "dfa_x86.cpp" |
17595 | ) ) { |
17596 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17597 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17598 | DFA_PRODUCTION__SET_VALID(VECX, vmul2D_mem_rule, c) |
17599 | } |
17600 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17601 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17602 | } |
17603 | } |
17604 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17605 | ( |
17606 | #line 7887 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17607 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17608 | #line 17608 "dfa_x86.cpp" |
17609 | ) ) { |
17610 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17611 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17612 | DFA_PRODUCTION__SET_VALID(VECX, vmul2D_reg_rule, c) |
17613 | } |
17614 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17615 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17616 | } |
17617 | } |
17618 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17619 | ( |
17620 | #line 7877 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17621 | UseAVX == 0 && n->as_Vector()->length() == 2 |
17622 | #line 17622 "dfa_x86.cpp" |
17623 | ) ) { |
17624 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17625 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17626 | DFA_PRODUCTION__SET_VALID(VECX, vmul2D_rule, c) |
17627 | } |
17628 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17629 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17630 | } |
17631 | } |
17632 | } |
17633 | void State::_sub_Op_MulReductionVD(const Node *n){ |
17634 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], LEGVECZ) && |
17635 | ( |
17636 | #line 5914 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17637 | UseAVX > 2 |
17638 | #line 17638 "dfa_x86.cpp" |
17639 | ) ) { |
17640 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[LEGVECZ]+100; |
17641 | DFA_PRODUCTION__SET_VALID(REGD, rvmul8D_reduction_reg_rule, c) |
17642 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
17643 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
17644 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
17645 | } |
17646 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], VECY) && |
17647 | ( |
17648 | #line 5891 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17649 | UseAVX > 0 |
17650 | #line 17650 "dfa_x86.cpp" |
17651 | ) ) { |
17652 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[VECY]+100; |
17653 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
17654 | DFA_PRODUCTION__SET_VALID(REGD, rvmul4D_reduction_reg_rule, c) |
17655 | } |
17656 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
17657 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
17658 | } |
17659 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
17660 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
17661 | } |
17662 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
17663 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
17664 | } |
17665 | } |
17666 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], VECX) && |
17667 | ( |
17668 | #line 5876 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17669 | UseAVX > 0 |
17670 | #line 17670 "dfa_x86.cpp" |
17671 | ) ) { |
17672 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[VECX]+100; |
17673 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
17674 | DFA_PRODUCTION__SET_VALID(REGD, rvmul2D_reduction_reg_rule, c) |
17675 | } |
17676 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
17677 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
17678 | } |
17679 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
17680 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
17681 | } |
17682 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
17683 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
17684 | } |
17685 | } |
17686 | if( STATE__VALID_CHILD(_kids[0], REGD) && STATE__VALID_CHILD(_kids[1], VECX) && |
17687 | ( |
17688 | #line 5861 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17689 | UseSSE >= 1 && UseAVX == 0 |
17690 | #line 17690 "dfa_x86.cpp" |
17691 | ) ) { |
17692 | unsigned int c = _kids[0]->_cost[REGD]+_kids[1]->_cost[VECX]+100; |
17693 | if (STATE__NOT_YET_VALID(REGD) || _cost[REGD] > c) { |
17694 | DFA_PRODUCTION__SET_VALID(REGD, rsmul2D_reduction_reg_rule, c) |
17695 | } |
17696 | if (STATE__NOT_YET_VALID(VLREGD) || _cost[VLREGD] > c+100) { |
17697 | DFA_PRODUCTION__SET_VALID(VLREGD, MoveD2VL_rule, c+100) |
17698 | } |
17699 | if (STATE__NOT_YET_VALID(LEGREGD) || _cost[LEGREGD] > c+100) { |
17700 | DFA_PRODUCTION__SET_VALID(LEGREGD, MoveD2LEG_rule, c+100) |
17701 | } |
17702 | if (STATE__NOT_YET_VALID(STACKSLOTD) || _cost[STACKSLOTD] > c+95) { |
17703 | DFA_PRODUCTION__SET_VALID(STACKSLOTD, storeSSD_rule, c+95) |
17704 | } |
17705 | } |
17706 | } |
17707 | void State::_sub_Op_MulAddVS2VI(const Node *n){ |
17708 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) ) { |
17709 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]; |
17710 | DFA_PRODUCTION__SET_VALID(_MULADDVS2VI_VECZ_VECZ, _MulAddVS2VI_vecZ_vecZ_rule, c) |
17711 | } |
17712 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) ) { |
17713 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]; |
17714 | DFA_PRODUCTION__SET_VALID(_MULADDVS2VI_VECY_VECY, _MulAddVS2VI_vecY_vecY_rule, c) |
17715 | } |
17716 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) ) { |
17717 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]; |
17718 | DFA_PRODUCTION__SET_VALID(_MULADDVS2VI_VECX_VECX, _MulAddVS2VI_vecX_vecX_rule, c) |
17719 | } |
17720 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) ) { |
17721 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]; |
17722 | DFA_PRODUCTION__SET_VALID(_MULADDVS2VI_VECD_VECD, _MulAddVS2VI_vecD_vecD_rule, c) |
17723 | } |
17724 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17725 | ( |
17726 | #line 9740 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17727 | UseAVX > 2 && n->as_Vector()->length() == 16 |
17728 | #line 17728 "dfa_x86.cpp" |
17729 | ) ) { |
17730 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
17731 | DFA_PRODUCTION__SET_VALID(VECZ, vmuladd32S16I_reg_rule, c) |
17732 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17733 | } |
17734 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
17735 | ( |
17736 | #line 9729 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17737 | UseAVX > 1 && n->as_Vector()->length() == 8 |
17738 | #line 17738 "dfa_x86.cpp" |
17739 | ) ) { |
17740 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
17741 | DFA_PRODUCTION__SET_VALID(VECY, vmuladd16S8I_reg_rule, c) |
17742 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17743 | } |
17744 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17745 | ( |
17746 | #line 9718 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17747 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17748 | #line 17748 "dfa_x86.cpp" |
17749 | ) ) { |
17750 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17751 | DFA_PRODUCTION__SET_VALID(VECX, vmuladd8S4I_reg_rule, c) |
17752 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17753 | } |
17754 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
17755 | ( |
17756 | #line 9708 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17757 | UseSSE >= 2 && UseAVX == 0 && n->as_Vector()->length() == 4 |
17758 | #line 17758 "dfa_x86.cpp" |
17759 | ) ) { |
17760 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
17761 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17762 | DFA_PRODUCTION__SET_VALID(VECX, smuladd8S4I_reg_rule, c) |
17763 | } |
17764 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17765 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17766 | } |
17767 | } |
17768 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
17769 | ( |
17770 | #line 9697 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17771 | UseAVX > 0 && n->as_Vector()->length() == 2 |
17772 | #line 17772 "dfa_x86.cpp" |
17773 | ) ) { |
17774 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
17775 | DFA_PRODUCTION__SET_VALID(VECD, vmuladd4S2I_reg_rule, c) |
17776 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
17777 | } |
17778 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
17779 | ( |
17780 | #line 9687 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17781 | UseSSE >= 2 && UseAVX == 0 && n->as_Vector()->length() == 2 |
17782 | #line 17782 "dfa_x86.cpp" |
17783 | ) ) { |
17784 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
17785 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
17786 | DFA_PRODUCTION__SET_VALID(VECD, smuladd4S2I_reg_rule, c) |
17787 | } |
17788 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
17789 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
17790 | } |
17791 | } |
17792 | } |
17793 | void State::_sub_Op_FmaVD(const Node *n){ |
17794 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _BINARY_VECZ__LOADVECTOR_MEMORY_) && |
17795 | ( |
17796 | #line 9595 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17797 | UseFMA && n->as_Vector()->length() == 8 |
17798 | #line 17798 "dfa_x86.cpp" |
17799 | ) ) { |
17800 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_BINARY_VECZ__LOADVECTOR_MEMORY_]+150; |
17801 | DFA_PRODUCTION__SET_VALID(VECZ, vfma8D_mem_rule, c) |
17802 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17803 | } |
17804 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _BINARY_VECZ_VECZ) && |
17805 | ( |
17806 | #line 9582 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17807 | UseFMA && n->as_Vector()->length() == 8 |
17808 | #line 17808 "dfa_x86.cpp" |
17809 | ) ) { |
17810 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_BINARY_VECZ_VECZ]+150; |
17811 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17812 | DFA_PRODUCTION__SET_VALID(VECZ, vfma8D_reg_rule, c) |
17813 | } |
17814 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17815 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17816 | } |
17817 | } |
17818 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _BINARY_VECY__LOADVECTOR_MEMORY_) && |
17819 | ( |
17820 | #line 9569 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17821 | UseFMA && n->as_Vector()->length() == 4 |
17822 | #line 17822 "dfa_x86.cpp" |
17823 | ) ) { |
17824 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_BINARY_VECY__LOADVECTOR_MEMORY_]+150; |
17825 | DFA_PRODUCTION__SET_VALID(VECY, vfma4D_mem_rule, c) |
17826 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17827 | } |
17828 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _BINARY_VECY_VECY) && |
17829 | ( |
17830 | #line 9556 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17831 | UseFMA && n->as_Vector()->length() == 4 |
17832 | #line 17832 "dfa_x86.cpp" |
17833 | ) ) { |
17834 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_BINARY_VECY_VECY]+150; |
17835 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17836 | DFA_PRODUCTION__SET_VALID(VECY, vfma4D_reg_rule, c) |
17837 | } |
17838 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17839 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17840 | } |
17841 | } |
17842 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _BINARY_VECX__LOADVECTOR_MEMORY_) && |
17843 | ( |
17844 | #line 9542 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17845 | UseFMA && n->as_Vector()->length() == 2 |
17846 | #line 17846 "dfa_x86.cpp" |
17847 | ) ) { |
17848 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_BINARY_VECX__LOADVECTOR_MEMORY_]+150; |
17849 | DFA_PRODUCTION__SET_VALID(VECX, vfma2D_mem_rule, c) |
17850 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17851 | } |
17852 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _BINARY_VECX_VECX) && |
17853 | ( |
17854 | #line 9529 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17855 | UseFMA && n->as_Vector()->length() == 2 |
17856 | #line 17856 "dfa_x86.cpp" |
17857 | ) ) { |
17858 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_BINARY_VECX_VECX]+150; |
17859 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17860 | DFA_PRODUCTION__SET_VALID(VECX, vfma2D_reg_rule, c) |
17861 | } |
17862 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17863 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17864 | } |
17865 | } |
17866 | } |
17867 | void State::_sub_Op_FmaVF(const Node *n){ |
17868 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _BINARY_VECZ__LOADVECTOR_MEMORY_) && |
17869 | ( |
17870 | #line 9673 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17871 | UseFMA && n->as_Vector()->length() == 16 |
17872 | #line 17872 "dfa_x86.cpp" |
17873 | ) ) { |
17874 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_BINARY_VECZ__LOADVECTOR_MEMORY_]+150; |
17875 | DFA_PRODUCTION__SET_VALID(VECZ, vfma16F_mem_rule, c) |
17876 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17877 | } |
17878 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _BINARY_VECZ_VECZ) && |
17879 | ( |
17880 | #line 9660 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17881 | UseFMA && n->as_Vector()->length() == 16 |
17882 | #line 17882 "dfa_x86.cpp" |
17883 | ) ) { |
17884 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_BINARY_VECZ_VECZ]+150; |
17885 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17886 | DFA_PRODUCTION__SET_VALID(VECZ, vfma16F_reg_rule, c) |
17887 | } |
17888 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17889 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17890 | } |
17891 | } |
17892 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _BINARY_VECY__LOADVECTOR_MEMORY_) && |
17893 | ( |
17894 | #line 9647 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17895 | UseFMA && n->as_Vector()->length() == 8 |
17896 | #line 17896 "dfa_x86.cpp" |
17897 | ) ) { |
17898 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_BINARY_VECY__LOADVECTOR_MEMORY_]+150; |
17899 | DFA_PRODUCTION__SET_VALID(VECY, vfma8F_mem_rule, c) |
17900 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17901 | } |
17902 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _BINARY_VECY_VECY) && |
17903 | ( |
17904 | #line 9634 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17905 | UseFMA && n->as_Vector()->length() == 8 |
17906 | #line 17906 "dfa_x86.cpp" |
17907 | ) ) { |
17908 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_BINARY_VECY_VECY]+150; |
17909 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17910 | DFA_PRODUCTION__SET_VALID(VECY, vfma8F_reg_rule, c) |
17911 | } |
17912 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17913 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17914 | } |
17915 | } |
17916 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _BINARY_VECX__LOADVECTOR_MEMORY_) && |
17917 | ( |
17918 | #line 9621 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17919 | UseFMA && n->as_Vector()->length() == 4 |
17920 | #line 17920 "dfa_x86.cpp" |
17921 | ) ) { |
17922 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_BINARY_VECX__LOADVECTOR_MEMORY_]+150; |
17923 | DFA_PRODUCTION__SET_VALID(VECX, vfma4F_mem_rule, c) |
17924 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17925 | } |
17926 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _BINARY_VECX_VECX) && |
17927 | ( |
17928 | #line 9608 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17929 | UseFMA && n->as_Vector()->length() == 4 |
17930 | #line 17930 "dfa_x86.cpp" |
17931 | ) ) { |
17932 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_BINARY_VECX_VECX]+150; |
17933 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
17934 | DFA_PRODUCTION__SET_VALID(VECX, vfma4F_reg_rule, c) |
17935 | } |
17936 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
17937 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17938 | } |
17939 | } |
17940 | } |
17941 | void State::_sub_Op_DivVF(const Node *n){ |
17942 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17943 | ( |
17944 | #line 8085 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17945 | UseAVX > 0 && n->as_Vector()->length() == 16 |
17946 | #line 17946 "dfa_x86.cpp" |
17947 | ) ) { |
17948 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17949 | DFA_PRODUCTION__SET_VALID(VECZ, vdiv16F_mem_rule, c) |
17950 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17951 | } |
17952 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
17953 | ( |
17954 | #line 8074 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17955 | UseAVX > 0 && n->as_Vector()->length() == 16 |
17956 | #line 17956 "dfa_x86.cpp" |
17957 | ) ) { |
17958 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
17959 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
17960 | DFA_PRODUCTION__SET_VALID(VECZ, vdiv16F_reg_rule, c) |
17961 | } |
17962 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
17963 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
17964 | } |
17965 | } |
17966 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17967 | ( |
17968 | #line 8063 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17969 | UseAVX > 0 && n->as_Vector()->length() == 8 |
17970 | #line 17970 "dfa_x86.cpp" |
17971 | ) ) { |
17972 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17973 | DFA_PRODUCTION__SET_VALID(VECY, vdiv8F_mem_rule, c) |
17974 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17975 | } |
17976 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
17977 | ( |
17978 | #line 8052 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17979 | UseAVX > 0 && n->as_Vector()->length() == 8 |
17980 | #line 17980 "dfa_x86.cpp" |
17981 | ) ) { |
17982 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
17983 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
17984 | DFA_PRODUCTION__SET_VALID(VECY, vdiv8F_reg_rule, c) |
17985 | } |
17986 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
17987 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
17988 | } |
17989 | } |
17990 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
17991 | ( |
17992 | #line 8041 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
17993 | UseAVX > 0 && n->as_Vector()->length() == 4 |
17994 | #line 17994 "dfa_x86.cpp" |
17995 | ) ) { |
17996 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
17997 | DFA_PRODUCTION__SET_VALID(VECX, vdiv4F_mem_rule, c) |
17998 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
17999 | } |
18000 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
18001 | ( |
18002 | #line 8030 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18003 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18004 | #line 18004 "dfa_x86.cpp" |
18005 | ) ) { |
18006 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
18007 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18008 | DFA_PRODUCTION__SET_VALID(VECX, vdiv4F_reg_rule, c) |
18009 | } |
18010 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18011 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18012 | } |
18013 | } |
18014 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
18015 | ( |
18016 | #line 8020 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18017 | UseAVX == 0 && n->as_Vector()->length() == 4 |
18018 | #line 18018 "dfa_x86.cpp" |
18019 | ) ) { |
18020 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
18021 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18022 | DFA_PRODUCTION__SET_VALID(VECX, vdiv4F_rule, c) |
18023 | } |
18024 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18025 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18026 | } |
18027 | } |
18028 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
18029 | ( |
18030 | #line 8009 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18031 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18032 | #line 18032 "dfa_x86.cpp" |
18033 | ) ) { |
18034 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
18035 | DFA_PRODUCTION__SET_VALID(VECD, vdiv2F_mem_rule, c) |
18036 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18037 | } |
18038 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
18039 | ( |
18040 | #line 7998 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18041 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18042 | #line 18042 "dfa_x86.cpp" |
18043 | ) ) { |
18044 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
18045 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
18046 | DFA_PRODUCTION__SET_VALID(VECD, vdiv2F_reg_rule, c) |
18047 | } |
18048 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
18049 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18050 | } |
18051 | } |
18052 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
18053 | ( |
18054 | #line 7988 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18055 | UseAVX == 0 && n->as_Vector()->length() == 2 |
18056 | #line 18056 "dfa_x86.cpp" |
18057 | ) ) { |
18058 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
18059 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
18060 | DFA_PRODUCTION__SET_VALID(VECD, vdiv2F_rule, c) |
18061 | } |
18062 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
18063 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18064 | } |
18065 | } |
18066 | } |
18067 | void State::_sub_Op_DivVD(const Node *n){ |
18068 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
18069 | ( |
18070 | #line 8162 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18071 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18072 | #line 18072 "dfa_x86.cpp" |
18073 | ) ) { |
18074 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
18075 | DFA_PRODUCTION__SET_VALID(VECZ, vdiv8D_mem_rule, c) |
18076 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18077 | } |
18078 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
18079 | ( |
18080 | #line 8151 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18081 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18082 | #line 18082 "dfa_x86.cpp" |
18083 | ) ) { |
18084 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
18085 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
18086 | DFA_PRODUCTION__SET_VALID(VECZ, vdiv8D_reg_rule, c) |
18087 | } |
18088 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
18089 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18090 | } |
18091 | } |
18092 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
18093 | ( |
18094 | #line 8140 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18095 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18096 | #line 18096 "dfa_x86.cpp" |
18097 | ) ) { |
18098 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
18099 | DFA_PRODUCTION__SET_VALID(VECY, vdiv4D_mem_rule, c) |
18100 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18101 | } |
18102 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
18103 | ( |
18104 | #line 8129 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18105 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18106 | #line 18106 "dfa_x86.cpp" |
18107 | ) ) { |
18108 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
18109 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
18110 | DFA_PRODUCTION__SET_VALID(VECY, vdiv4D_reg_rule, c) |
18111 | } |
18112 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
18113 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18114 | } |
18115 | } |
18116 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
18117 | ( |
18118 | #line 8118 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18119 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18120 | #line 18120 "dfa_x86.cpp" |
18121 | ) ) { |
18122 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
18123 | DFA_PRODUCTION__SET_VALID(VECX, vdiv2D_mem_rule, c) |
18124 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18125 | } |
18126 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
18127 | ( |
18128 | #line 8107 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18129 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18130 | #line 18130 "dfa_x86.cpp" |
18131 | ) ) { |
18132 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
18133 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18134 | DFA_PRODUCTION__SET_VALID(VECX, vdiv2D_reg_rule, c) |
18135 | } |
18136 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18137 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18138 | } |
18139 | } |
18140 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
18141 | ( |
18142 | #line 8097 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18143 | UseAVX == 0 && n->as_Vector()->length() == 2 |
18144 | #line 18144 "dfa_x86.cpp" |
18145 | ) ) { |
18146 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
18147 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18148 | DFA_PRODUCTION__SET_VALID(VECX, vdiv2D_rule, c) |
18149 | } |
18150 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18151 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18152 | } |
18153 | } |
18154 | } |
18155 | void State::_sub_Op_AbsVB(const Node *n){ |
18156 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18157 | ( |
18158 | #line 9284 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18159 | UseAVX > 2 && n->as_Vector()->length() == 64 |
18160 | #line 18160 "dfa_x86.cpp" |
18161 | ) ) { |
18162 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18163 | DFA_PRODUCTION__SET_VALID(VECZ, vabs64B_reg_rule, c) |
18164 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18165 | } |
18166 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18167 | ( |
18168 | #line 9273 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18169 | UseAVX > 1 && n->as_Vector()->length() == 32 |
18170 | #line 18170 "dfa_x86.cpp" |
18171 | ) ) { |
18172 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18173 | DFA_PRODUCTION__SET_VALID(VECY, vabs32B_reg_rule, c) |
18174 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18175 | } |
18176 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18177 | ( |
18178 | #line 9263 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18179 | UseSSE > 2 && n->as_Vector()->length() == 16 |
18180 | #line 18180 "dfa_x86.cpp" |
18181 | ) ) { |
18182 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18183 | DFA_PRODUCTION__SET_VALID(VECX, vabs16B_reg_rule, c) |
18184 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18185 | } |
18186 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18187 | ( |
18188 | #line 9253 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18189 | UseSSE > 2 && n->as_Vector()->length() == 8 |
18190 | #line 18190 "dfa_x86.cpp" |
18191 | ) ) { |
18192 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18193 | DFA_PRODUCTION__SET_VALID(VECD, vabs8B_reg_rule, c) |
18194 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18195 | } |
18196 | if( STATE__VALID_CHILD(_kids[0], VECS) && |
18197 | ( |
18198 | #line 9243 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18199 | UseSSE > 2 && n->as_Vector()->length() == 4 |
18200 | #line 18200 "dfa_x86.cpp" |
18201 | ) ) { |
18202 | unsigned int c = _kids[0]->_cost[VECS]+100; |
18203 | DFA_PRODUCTION__SET_VALID(VECS, vabs4B_reg_rule, c) |
18204 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18205 | } |
18206 | } |
18207 | void State::_sub_Op_AbsVS(const Node *n){ |
18208 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18209 | ( |
18210 | #line 9336 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18211 | UseAVX > 2 && n->as_Vector()->length() == 32 |
18212 | #line 18212 "dfa_x86.cpp" |
18213 | ) ) { |
18214 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18215 | DFA_PRODUCTION__SET_VALID(VECZ, vabs32S_reg_rule, c) |
18216 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18217 | } |
18218 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18219 | ( |
18220 | #line 9325 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18221 | UseAVX > 1 && n->as_Vector()->length() == 16 |
18222 | #line 18222 "dfa_x86.cpp" |
18223 | ) ) { |
18224 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18225 | DFA_PRODUCTION__SET_VALID(VECY, vabs16S_reg_rule, c) |
18226 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18227 | } |
18228 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18229 | ( |
18230 | #line 9315 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18231 | UseSSE > 2 && n->as_Vector()->length() == 8 |
18232 | #line 18232 "dfa_x86.cpp" |
18233 | ) ) { |
18234 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18235 | DFA_PRODUCTION__SET_VALID(VECX, vabs8S_reg_rule, c) |
18236 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18237 | } |
18238 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18239 | ( |
18240 | #line 9305 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18241 | UseSSE > 2 && n->as_Vector()->length() == 4 |
18242 | #line 18242 "dfa_x86.cpp" |
18243 | ) ) { |
18244 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18245 | DFA_PRODUCTION__SET_VALID(VECD, vabs4S_reg_rule, c) |
18246 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18247 | } |
18248 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18249 | ( |
18250 | #line 9295 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18251 | UseSSE > 2 && n->as_Vector()->length() == 2 |
18252 | #line 18252 "dfa_x86.cpp" |
18253 | ) ) { |
18254 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18255 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
18256 | DFA_PRODUCTION__SET_VALID(VECD, vabs2S_reg_rule, c) |
18257 | } |
18258 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
18259 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18260 | } |
18261 | } |
18262 | } |
18263 | void State::_sub_Op_AbsVI(const Node *n){ |
18264 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18265 | ( |
18266 | #line 9378 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18267 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18268 | #line 18268 "dfa_x86.cpp" |
18269 | ) ) { |
18270 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18271 | DFA_PRODUCTION__SET_VALID(VECZ, vabs16I_reg_rule, c) |
18272 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18273 | } |
18274 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18275 | ( |
18276 | #line 9367 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18277 | UseAVX > 0 && n->as_Vector()->length() == 8 |
18278 | #line 18278 "dfa_x86.cpp" |
18279 | ) ) { |
18280 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18281 | DFA_PRODUCTION__SET_VALID(VECY, vabs8I_reg_rule, c) |
18282 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18283 | } |
18284 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18285 | ( |
18286 | #line 9357 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18287 | UseSSE > 2 && n->as_Vector()->length() == 4 |
18288 | #line 18288 "dfa_x86.cpp" |
18289 | ) ) { |
18290 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18291 | DFA_PRODUCTION__SET_VALID(VECX, vabs4I_reg_rule, c) |
18292 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18293 | } |
18294 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18295 | ( |
18296 | #line 9347 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18297 | UseSSE > 2 && n->as_Vector()->length() == 2 |
18298 | #line 18298 "dfa_x86.cpp" |
18299 | ) ) { |
18300 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18301 | DFA_PRODUCTION__SET_VALID(VECD, vabs2I_reg_rule, c) |
18302 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18303 | } |
18304 | } |
18305 | void State::_sub_Op_AbsVL(const Node *n){ |
18306 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18307 | ( |
18308 | #line 9411 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18309 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18310 | #line 18310 "dfa_x86.cpp" |
18311 | ) ) { |
18312 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18313 | DFA_PRODUCTION__SET_VALID(VECZ, vabs8L_reg_rule, c) |
18314 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18315 | } |
18316 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18317 | ( |
18318 | #line 9400 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18319 | UseAVX > 2 && n->as_Vector()->length() == 4 |
18320 | #line 18320 "dfa_x86.cpp" |
18321 | ) ) { |
18322 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18323 | DFA_PRODUCTION__SET_VALID(VECY, vabs4L_reg_rule, c) |
18324 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18325 | } |
18326 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18327 | ( |
18328 | #line 9389 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18329 | UseAVX > 2 && n->as_Vector()->length() == 2 |
18330 | #line 18330 "dfa_x86.cpp" |
18331 | ) ) { |
18332 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18333 | DFA_PRODUCTION__SET_VALID(VECX, vabs2L_reg_rule, c) |
18334 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18335 | } |
18336 | } |
18337 | void State::_sub_Op_AbsVF(const Node *n){ |
18338 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18339 | ( |
18340 | #line 9511 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18341 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18342 | #line 18342 "dfa_x86.cpp" |
18343 | ) ) { |
18344 | unsigned int c = _kids[0]->_cost[VECZ]+150; |
18345 | DFA_PRODUCTION__SET_VALID(VECZ, vabsneg16F_rule, c) |
18346 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18347 | } |
18348 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18349 | ( |
18350 | #line 9496 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18351 | UseAVX > 0 && n->as_Vector()->length() == 8 |
18352 | #line 18352 "dfa_x86.cpp" |
18353 | ) ) { |
18354 | unsigned int c = _kids[0]->_cost[VECY]+150; |
18355 | DFA_PRODUCTION__SET_VALID(VECY, vabsneg8F_rule, c) |
18356 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18357 | } |
18358 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18359 | ( |
18360 | #line 9482 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18361 | UseSSE > 0 && n->as_Vector()->length() == 4 |
18362 | #line 18362 "dfa_x86.cpp" |
18363 | ) ) { |
18364 | unsigned int c = _kids[0]->_cost[VECX]+150; |
18365 | DFA_PRODUCTION__SET_VALID(VECX, vabsneg4F_rule, c) |
18366 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18367 | } |
18368 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18369 | ( |
18370 | #line 9467 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18371 | UseSSE > 0 && n->as_Vector()->length() == 2 |
18372 | #line 18372 "dfa_x86.cpp" |
18373 | ) ) { |
18374 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18375 | DFA_PRODUCTION__SET_VALID(VECD, vabsneg2F_rule, c) |
18376 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18377 | } |
18378 | } |
18379 | void State::_sub_Op_AbsVD(const Node *n){ |
18380 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18381 | ( |
18382 | #line 9453 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18383 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18384 | #line 18384 "dfa_x86.cpp" |
18385 | ) ) { |
18386 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18387 | DFA_PRODUCTION__SET_VALID(VECZ, vabsneg8D_rule, c) |
18388 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18389 | } |
18390 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18391 | ( |
18392 | #line 9439 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18393 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18394 | #line 18394 "dfa_x86.cpp" |
18395 | ) ) { |
18396 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18397 | DFA_PRODUCTION__SET_VALID(VECY, vabsneg4D_rule, c) |
18398 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18399 | } |
18400 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18401 | ( |
18402 | #line 9424 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18403 | UseSSE >= 2 && n->as_Vector()->length() == 2 |
18404 | #line 18404 "dfa_x86.cpp" |
18405 | ) ) { |
18406 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18407 | DFA_PRODUCTION__SET_VALID(VECX, vabsneg2D_rule, c) |
18408 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18409 | } |
18410 | } |
18411 | void State::_sub_Op_NegVF(const Node *n){ |
18412 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18413 | ( |
18414 | #line 9511 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18415 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18416 | #line 18416 "dfa_x86.cpp" |
18417 | ) ) { |
18418 | unsigned int c = _kids[0]->_cost[VECZ]+150; |
18419 | DFA_PRODUCTION__SET_VALID(VECZ, vabsneg16F_0_rule, c) |
18420 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18421 | } |
18422 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18423 | ( |
18424 | #line 9496 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18425 | UseAVX > 0 && n->as_Vector()->length() == 8 |
18426 | #line 18426 "dfa_x86.cpp" |
18427 | ) ) { |
18428 | unsigned int c = _kids[0]->_cost[VECY]+150; |
18429 | DFA_PRODUCTION__SET_VALID(VECY, vabsneg8F_0_rule, c) |
18430 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18431 | } |
18432 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18433 | ( |
18434 | #line 9482 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18435 | UseSSE > 0 && n->as_Vector()->length() == 4 |
18436 | #line 18436 "dfa_x86.cpp" |
18437 | ) ) { |
18438 | unsigned int c = _kids[0]->_cost[VECX]+150; |
18439 | DFA_PRODUCTION__SET_VALID(VECX, vabsneg4F_0_rule, c) |
18440 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18441 | } |
18442 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18443 | ( |
18444 | #line 9467 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18445 | UseSSE > 0 && n->as_Vector()->length() == 2 |
18446 | #line 18446 "dfa_x86.cpp" |
18447 | ) ) { |
18448 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18449 | DFA_PRODUCTION__SET_VALID(VECD, vabsneg2F_0_rule, c) |
18450 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18451 | } |
18452 | } |
18453 | void State::_sub_Op_NegVD(const Node *n){ |
18454 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18455 | ( |
18456 | #line 9453 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18457 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18458 | #line 18458 "dfa_x86.cpp" |
18459 | ) ) { |
18460 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18461 | DFA_PRODUCTION__SET_VALID(VECZ, vabsneg8D_0_rule, c) |
18462 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18463 | } |
18464 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18465 | ( |
18466 | #line 9439 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18467 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18468 | #line 18468 "dfa_x86.cpp" |
18469 | ) ) { |
18470 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18471 | DFA_PRODUCTION__SET_VALID(VECY, vabsneg4D_0_rule, c) |
18472 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18473 | } |
18474 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18475 | ( |
18476 | #line 9424 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18477 | UseSSE >= 2 && n->as_Vector()->length() == 2 |
18478 | #line 18478 "dfa_x86.cpp" |
18479 | ) ) { |
18480 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18481 | DFA_PRODUCTION__SET_VALID(VECX, vabsneg2D_0_rule, c) |
18482 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18483 | } |
18484 | } |
18485 | void State::_sub_Op_SqrtVD(const Node *n){ |
18486 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18487 | ( |
18488 | #line 8231 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18489 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18490 | #line 18490 "dfa_x86.cpp" |
18491 | ) ) { |
18492 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18493 | DFA_PRODUCTION__SET_VALID(VECZ, vsqrt8D_mem_rule, c) |
18494 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18495 | } |
18496 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18497 | ( |
18498 | #line 8220 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18499 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18500 | #line 18500 "dfa_x86.cpp" |
18501 | ) ) { |
18502 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18503 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
18504 | DFA_PRODUCTION__SET_VALID(VECZ, vsqrt8D_reg_rule, c) |
18505 | } |
18506 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
18507 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18508 | } |
18509 | } |
18510 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18511 | ( |
18512 | #line 8209 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18513 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18514 | #line 18514 "dfa_x86.cpp" |
18515 | ) ) { |
18516 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18517 | DFA_PRODUCTION__SET_VALID(VECY, vsqrt4D_mem_rule, c) |
18518 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18519 | } |
18520 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18521 | ( |
18522 | #line 8198 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18523 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18524 | #line 18524 "dfa_x86.cpp" |
18525 | ) ) { |
18526 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18527 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
18528 | DFA_PRODUCTION__SET_VALID(VECY, vsqrt4D_reg_rule, c) |
18529 | } |
18530 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
18531 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18532 | } |
18533 | } |
18534 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18535 | ( |
18536 | #line 8187 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18537 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18538 | #line 18538 "dfa_x86.cpp" |
18539 | ) ) { |
18540 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18541 | DFA_PRODUCTION__SET_VALID(VECX, vsqrt2D_mem_rule, c) |
18542 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18543 | } |
18544 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18545 | ( |
18546 | #line 8176 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18547 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18548 | #line 18548 "dfa_x86.cpp" |
18549 | ) ) { |
18550 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18551 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18552 | DFA_PRODUCTION__SET_VALID(VECX, vsqrt2D_reg_rule, c) |
18553 | } |
18554 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18555 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18556 | } |
18557 | } |
18558 | } |
18559 | void State::_sub_Op_SqrtVF(const Node *n){ |
18560 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18561 | ( |
18562 | #line 8319 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18563 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18564 | #line 18564 "dfa_x86.cpp" |
18565 | ) ) { |
18566 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18567 | DFA_PRODUCTION__SET_VALID(VECZ, vsqrt16F_mem_rule, c) |
18568 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18569 | } |
18570 | if( STATE__VALID_CHILD(_kids[0], VECZ) && |
18571 | ( |
18572 | #line 8308 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18573 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18574 | #line 18574 "dfa_x86.cpp" |
18575 | ) ) { |
18576 | unsigned int c = _kids[0]->_cost[VECZ]+100; |
18577 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
18578 | DFA_PRODUCTION__SET_VALID(VECZ, vsqrt16F_reg_rule, c) |
18579 | } |
18580 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
18581 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18582 | } |
18583 | } |
18584 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18585 | ( |
18586 | #line 8297 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18587 | UseAVX > 0 && n->as_Vector()->length() == 8 |
18588 | #line 18588 "dfa_x86.cpp" |
18589 | ) ) { |
18590 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18591 | DFA_PRODUCTION__SET_VALID(VECY, vsqrt8F_mem_rule, c) |
18592 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18593 | } |
18594 | if( STATE__VALID_CHILD(_kids[0], VECY) && |
18595 | ( |
18596 | #line 8286 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18597 | UseAVX > 0 && n->as_Vector()->length() == 8 |
18598 | #line 18598 "dfa_x86.cpp" |
18599 | ) ) { |
18600 | unsigned int c = _kids[0]->_cost[VECY]+100; |
18601 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
18602 | DFA_PRODUCTION__SET_VALID(VECY, vsqrt8F_reg_rule, c) |
18603 | } |
18604 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
18605 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18606 | } |
18607 | } |
18608 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18609 | ( |
18610 | #line 8275 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18611 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18612 | #line 18612 "dfa_x86.cpp" |
18613 | ) ) { |
18614 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18615 | DFA_PRODUCTION__SET_VALID(VECX, vsqrt4F_mem_rule, c) |
18616 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18617 | } |
18618 | if( STATE__VALID_CHILD(_kids[0], VECX) && |
18619 | ( |
18620 | #line 8264 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18621 | UseAVX > 0 && n->as_Vector()->length() == 4 |
18622 | #line 18622 "dfa_x86.cpp" |
18623 | ) ) { |
18624 | unsigned int c = _kids[0]->_cost[VECX]+100; |
18625 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18626 | DFA_PRODUCTION__SET_VALID(VECX, vsqrt4F_reg_rule, c) |
18627 | } |
18628 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18629 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18630 | } |
18631 | } |
18632 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && |
18633 | ( |
18634 | #line 8253 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18635 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18636 | #line 18636 "dfa_x86.cpp" |
18637 | ) ) { |
18638 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+100; |
18639 | DFA_PRODUCTION__SET_VALID(VECD, vsqrt2F_mem_rule, c) |
18640 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18641 | } |
18642 | if( STATE__VALID_CHILD(_kids[0], VECD) && |
18643 | ( |
18644 | #line 8242 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18645 | UseAVX > 0 && n->as_Vector()->length() == 2 |
18646 | #line 18646 "dfa_x86.cpp" |
18647 | ) ) { |
18648 | unsigned int c = _kids[0]->_cost[VECD]+100; |
18649 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
18650 | DFA_PRODUCTION__SET_VALID(VECD, vsqrt2F_reg_rule, c) |
18651 | } |
18652 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
18653 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18654 | } |
18655 | } |
18656 | } |
18657 | void State::_sub_Op_LShiftCntV(const Node *n){ |
18658 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
18659 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
18660 | DFA_PRODUCTION__SET_VALID(VECS, vshiftcnt_rule, c) |
18661 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18662 | } |
18663 | } |
18664 | void State::_sub_Op_RShiftCntV(const Node *n){ |
18665 | if( STATE__VALID_CHILD(_kids[0], RREGI) ) { |
18666 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
18667 | DFA_PRODUCTION__SET_VALID(VECS, vshiftcnt_0_rule, c) |
18668 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18669 | } |
18670 | } |
18671 | void State::_sub_Op_LShiftVB(const Node *n){ |
18672 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18673 | ( |
18674 | #line 8490 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18675 | UseAVX > 2 && n->as_Vector()->length() == 64 |
18676 | #line 18676 "dfa_x86.cpp" |
18677 | ) ) { |
18678 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18679 | DFA_PRODUCTION__SET_VALID(VECZ, vshift64B_avx_rule, c) |
18680 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18681 | } |
18682 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18683 | ( |
18684 | #line 8458 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18685 | UseAVX > 1 && n->as_Vector()->length() == 32 |
18686 | #line 18686 "dfa_x86.cpp" |
18687 | ) ) { |
18688 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18689 | DFA_PRODUCTION__SET_VALID(VECY, vshift32B_avx_rule, c) |
18690 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18691 | } |
18692 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18693 | ( |
18694 | #line 8434 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18695 | UseAVX > 1 && n->as_Vector()->length() == 16 |
18696 | #line 18696 "dfa_x86.cpp" |
18697 | ) ) { |
18698 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18699 | DFA_PRODUCTION__SET_VALID(VECX, vshift16B_avx_rule, c) |
18700 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18701 | } |
18702 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18703 | ( |
18704 | #line 8403 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18705 | UseSSE > 3 && UseAVX <= 1 && n->as_Vector()->length() == 16 |
18706 | #line 18706 "dfa_x86.cpp" |
18707 | ) ) { |
18708 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18709 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18710 | DFA_PRODUCTION__SET_VALID(VECX, vshift16B_rule, c) |
18711 | } |
18712 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18713 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18714 | } |
18715 | } |
18716 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
18717 | ( |
18718 | #line 8380 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18719 | UseSSE > 3 && n->as_Vector()->length() == 8 |
18720 | #line 18720 "dfa_x86.cpp" |
18721 | ) ) { |
18722 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
18723 | DFA_PRODUCTION__SET_VALID(VECD, vshift8B_rule, c) |
18724 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18725 | } |
18726 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
18727 | ( |
18728 | #line 8357 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18729 | UseSSE > 3 && n->as_Vector()->length() == 4 |
18730 | #line 18730 "dfa_x86.cpp" |
18731 | ) ) { |
18732 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
18733 | DFA_PRODUCTION__SET_VALID(VECS, vshift4B_rule, c) |
18734 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18735 | } |
18736 | } |
18737 | void State::_sub_Op_LShiftVS(const Node *n){ |
18738 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18739 | ( |
18740 | #line 8612 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18741 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
18742 | #line 18742 "dfa_x86.cpp" |
18743 | ) ) { |
18744 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18745 | DFA_PRODUCTION__SET_VALID(VECZ, vshift32S_rule, c) |
18746 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18747 | } |
18748 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18749 | ( |
18750 | #line 8597 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18751 | UseAVX > 1 && n->as_Vector()->length() == 16 |
18752 | #line 18752 "dfa_x86.cpp" |
18753 | ) ) { |
18754 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18755 | DFA_PRODUCTION__SET_VALID(VECY, vshift16S_rule, c) |
18756 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18757 | } |
18758 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18759 | ( |
18760 | #line 8576 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18761 | n->as_Vector()->length() == 8 |
18762 | #line 18762 "dfa_x86.cpp" |
18763 | ) ) { |
18764 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18765 | DFA_PRODUCTION__SET_VALID(VECX, vshift8S_rule, c) |
18766 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18767 | } |
18768 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
18769 | ( |
18770 | #line 8554 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18771 | n->as_Vector()->length() == 4 |
18772 | #line 18772 "dfa_x86.cpp" |
18773 | ) ) { |
18774 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
18775 | DFA_PRODUCTION__SET_VALID(VECD, vshift4S_rule, c) |
18776 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18777 | } |
18778 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
18779 | ( |
18780 | #line 8533 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18781 | n->as_Vector()->length() == 2 |
18782 | #line 18782 "dfa_x86.cpp" |
18783 | ) ) { |
18784 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
18785 | DFA_PRODUCTION__SET_VALID(VECS, vshist2S_rule, c) |
18786 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18787 | } |
18788 | } |
18789 | void State::_sub_Op_LShiftVI(const Node *n){ |
18790 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18791 | ( |
18792 | #line 8685 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18793 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18794 | #line 18794 "dfa_x86.cpp" |
18795 | ) ) { |
18796 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18797 | DFA_PRODUCTION__SET_VALID(VECZ, vshift16I_rule, c) |
18798 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18799 | } |
18800 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18801 | ( |
18802 | #line 8670 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18803 | UseAVX > 1 && n->as_Vector()->length() == 8 |
18804 | #line 18804 "dfa_x86.cpp" |
18805 | ) ) { |
18806 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18807 | DFA_PRODUCTION__SET_VALID(VECY, vshift8I_rule, c) |
18808 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18809 | } |
18810 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18811 | ( |
18812 | #line 8649 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18813 | n->as_Vector()->length() == 4 |
18814 | #line 18814 "dfa_x86.cpp" |
18815 | ) ) { |
18816 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18817 | DFA_PRODUCTION__SET_VALID(VECX, vshift4I_rule, c) |
18818 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18819 | } |
18820 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
18821 | ( |
18822 | #line 8628 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18823 | n->as_Vector()->length() == 2 |
18824 | #line 18824 "dfa_x86.cpp" |
18825 | ) ) { |
18826 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
18827 | DFA_PRODUCTION__SET_VALID(VECD, vshift2I_rule, c) |
18828 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18829 | } |
18830 | } |
18831 | void State::_sub_Op_LShiftVL(const Node *n){ |
18832 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18833 | ( |
18834 | #line 8735 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18835 | UseAVX > 2 && n->as_Vector()->length() == 8 |
18836 | #line 18836 "dfa_x86.cpp" |
18837 | ) ) { |
18838 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18839 | DFA_PRODUCTION__SET_VALID(VECZ, vshift8L_rule, c) |
18840 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18841 | } |
18842 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18843 | ( |
18844 | #line 8721 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18845 | UseAVX > 1 && n->as_Vector()->length() == 4 |
18846 | #line 18846 "dfa_x86.cpp" |
18847 | ) ) { |
18848 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18849 | DFA_PRODUCTION__SET_VALID(VECY, vshift4L_rule, c) |
18850 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18851 | } |
18852 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18853 | ( |
18854 | #line 8701 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18855 | n->as_Vector()->length() == 2 |
18856 | #line 18856 "dfa_x86.cpp" |
18857 | ) ) { |
18858 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18859 | DFA_PRODUCTION__SET_VALID(VECX, vshift2L_rule, c) |
18860 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18861 | } |
18862 | } |
18863 | void State::_sub_Op_RShiftVB(const Node *n){ |
18864 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18865 | ( |
18866 | #line 8490 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18867 | UseAVX > 2 && n->as_Vector()->length() == 64 |
18868 | #line 18868 "dfa_x86.cpp" |
18869 | ) ) { |
18870 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18871 | DFA_PRODUCTION__SET_VALID(VECZ, vshift64B_avx_0_rule, c) |
18872 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18873 | } |
18874 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18875 | ( |
18876 | #line 8458 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18877 | UseAVX > 1 && n->as_Vector()->length() == 32 |
18878 | #line 18878 "dfa_x86.cpp" |
18879 | ) ) { |
18880 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18881 | DFA_PRODUCTION__SET_VALID(VECY, vshift32B_avx_0_rule, c) |
18882 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18883 | } |
18884 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18885 | ( |
18886 | #line 8434 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18887 | UseAVX > 1 && n->as_Vector()->length() == 16 |
18888 | #line 18888 "dfa_x86.cpp" |
18889 | ) ) { |
18890 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18891 | DFA_PRODUCTION__SET_VALID(VECX, vshift16B_avx_0_rule, c) |
18892 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18893 | } |
18894 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18895 | ( |
18896 | #line 8403 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18897 | UseSSE > 3 && UseAVX <= 1 && n->as_Vector()->length() == 16 |
18898 | #line 18898 "dfa_x86.cpp" |
18899 | ) ) { |
18900 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18901 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
18902 | DFA_PRODUCTION__SET_VALID(VECX, vshift16B_0_rule, c) |
18903 | } |
18904 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
18905 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18906 | } |
18907 | } |
18908 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
18909 | ( |
18910 | #line 8380 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18911 | UseSSE > 3 && n->as_Vector()->length() == 8 |
18912 | #line 18912 "dfa_x86.cpp" |
18913 | ) ) { |
18914 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
18915 | DFA_PRODUCTION__SET_VALID(VECD, vshift8B_0_rule, c) |
18916 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18917 | } |
18918 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
18919 | ( |
18920 | #line 8357 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18921 | UseSSE > 3 && n->as_Vector()->length() == 4 |
18922 | #line 18922 "dfa_x86.cpp" |
18923 | ) ) { |
18924 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
18925 | DFA_PRODUCTION__SET_VALID(VECS, vshift4B_0_rule, c) |
18926 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18927 | } |
18928 | } |
18929 | void State::_sub_Op_RShiftVS(const Node *n){ |
18930 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18931 | ( |
18932 | #line 8612 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18933 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
18934 | #line 18934 "dfa_x86.cpp" |
18935 | ) ) { |
18936 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18937 | DFA_PRODUCTION__SET_VALID(VECZ, vshift32S_0_rule, c) |
18938 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18939 | } |
18940 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18941 | ( |
18942 | #line 8597 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18943 | UseAVX > 1 && n->as_Vector()->length() == 16 |
18944 | #line 18944 "dfa_x86.cpp" |
18945 | ) ) { |
18946 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18947 | DFA_PRODUCTION__SET_VALID(VECY, vshift16S_0_rule, c) |
18948 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
18949 | } |
18950 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
18951 | ( |
18952 | #line 8576 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18953 | n->as_Vector()->length() == 8 |
18954 | #line 18954 "dfa_x86.cpp" |
18955 | ) ) { |
18956 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
18957 | DFA_PRODUCTION__SET_VALID(VECX, vshift8S_0_rule, c) |
18958 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
18959 | } |
18960 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
18961 | ( |
18962 | #line 8554 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18963 | n->as_Vector()->length() == 4 |
18964 | #line 18964 "dfa_x86.cpp" |
18965 | ) ) { |
18966 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
18967 | DFA_PRODUCTION__SET_VALID(VECD, vshift4S_0_rule, c) |
18968 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
18969 | } |
18970 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
18971 | ( |
18972 | #line 8533 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18973 | n->as_Vector()->length() == 2 |
18974 | #line 18974 "dfa_x86.cpp" |
18975 | ) ) { |
18976 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
18977 | DFA_PRODUCTION__SET_VALID(VECS, vshist2S_0_rule, c) |
18978 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
18979 | } |
18980 | } |
18981 | void State::_sub_Op_RShiftVI(const Node *n){ |
18982 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
18983 | ( |
18984 | #line 8685 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18985 | UseAVX > 2 && n->as_Vector()->length() == 16 |
18986 | #line 18986 "dfa_x86.cpp" |
18987 | ) ) { |
18988 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
18989 | DFA_PRODUCTION__SET_VALID(VECZ, vshift16I_0_rule, c) |
18990 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
18991 | } |
18992 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
18993 | ( |
18994 | #line 8670 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
18995 | UseAVX > 1 && n->as_Vector()->length() == 8 |
18996 | #line 18996 "dfa_x86.cpp" |
18997 | ) ) { |
18998 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
18999 | DFA_PRODUCTION__SET_VALID(VECY, vshift8I_0_rule, c) |
19000 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19001 | } |
19002 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19003 | ( |
19004 | #line 8649 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19005 | n->as_Vector()->length() == 4 |
19006 | #line 19006 "dfa_x86.cpp" |
19007 | ) ) { |
19008 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19009 | DFA_PRODUCTION__SET_VALID(VECX, vshift4I_0_rule, c) |
19010 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19011 | } |
19012 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
19013 | ( |
19014 | #line 8628 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19015 | n->as_Vector()->length() == 2 |
19016 | #line 19016 "dfa_x86.cpp" |
19017 | ) ) { |
19018 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
19019 | DFA_PRODUCTION__SET_VALID(VECD, vshift2I_0_rule, c) |
19020 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19021 | } |
19022 | } |
19023 | void State::_sub_Op_RShiftVL(const Node *n){ |
19024 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
19025 | ( |
19026 | #line 8804 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19027 | UseAVX > 2 && n->as_Vector()->length() == 4 |
19028 | #line 19028 "dfa_x86.cpp" |
19029 | ) ) { |
19030 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
19031 | DFA_PRODUCTION__SET_VALID(VECY, vsra4L_reg_evex_rule, c) |
19032 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19033 | } |
19034 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
19035 | ( |
19036 | #line 8784 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19037 | UseAVX > 1 && n->as_Vector()->length() == 4 |
19038 | #line 19038 "dfa_x86.cpp" |
19039 | ) ) { |
19040 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
19041 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19042 | DFA_PRODUCTION__SET_VALID(VECY, vsra4L_reg_rule, c) |
19043 | } |
19044 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19045 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19046 | } |
19047 | } |
19048 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19049 | ( |
19050 | #line 8773 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19051 | UseAVX > 2 && n->as_Vector()->length() == 2 |
19052 | #line 19052 "dfa_x86.cpp" |
19053 | ) ) { |
19054 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19055 | DFA_PRODUCTION__SET_VALID(VECX, vsra2L_reg_evex_rule, c) |
19056 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19057 | } |
19058 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19059 | ( |
19060 | #line 8752 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19061 | UseSSE >= 2 && n->as_Vector()->length() == 2 |
19062 | #line 19062 "dfa_x86.cpp" |
19063 | ) ) { |
19064 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19065 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19066 | DFA_PRODUCTION__SET_VALID(VECX, vsra2L_reg_rule, c) |
19067 | } |
19068 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19069 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19070 | } |
19071 | } |
19072 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
19073 | ( |
19074 | #line 8735 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19075 | UseAVX > 2 && n->as_Vector()->length() == 8 |
19076 | #line 19076 "dfa_x86.cpp" |
19077 | ) ) { |
19078 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
19079 | DFA_PRODUCTION__SET_VALID(VECZ, vshift8L_0_rule, c) |
19080 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19081 | } |
19082 | } |
19083 | void State::_sub_Op_URShiftVB(const Node *n){ |
19084 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
19085 | ( |
19086 | #line 8490 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19087 | UseAVX > 2 && n->as_Vector()->length() == 64 |
19088 | #line 19088 "dfa_x86.cpp" |
19089 | ) ) { |
19090 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
19091 | DFA_PRODUCTION__SET_VALID(VECZ, vshift64B_avx_1_rule, c) |
19092 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19093 | } |
19094 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
19095 | ( |
19096 | #line 8458 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19097 | UseAVX > 1 && n->as_Vector()->length() == 32 |
19098 | #line 19098 "dfa_x86.cpp" |
19099 | ) ) { |
19100 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
19101 | DFA_PRODUCTION__SET_VALID(VECY, vshift32B_avx_1_rule, c) |
19102 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19103 | } |
19104 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19105 | ( |
19106 | #line 8434 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19107 | UseAVX > 1 && n->as_Vector()->length() == 16 |
19108 | #line 19108 "dfa_x86.cpp" |
19109 | ) ) { |
19110 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19111 | DFA_PRODUCTION__SET_VALID(VECX, vshift16B_avx_1_rule, c) |
19112 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19113 | } |
19114 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19115 | ( |
19116 | #line 8403 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19117 | UseSSE > 3 && UseAVX <= 1 && n->as_Vector()->length() == 16 |
19118 | #line 19118 "dfa_x86.cpp" |
19119 | ) ) { |
19120 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19121 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19122 | DFA_PRODUCTION__SET_VALID(VECX, vshift16B_1_rule, c) |
19123 | } |
19124 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19125 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19126 | } |
19127 | } |
19128 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
19129 | ( |
19130 | #line 8380 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19131 | UseSSE > 3 && n->as_Vector()->length() == 8 |
19132 | #line 19132 "dfa_x86.cpp" |
19133 | ) ) { |
19134 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
19135 | DFA_PRODUCTION__SET_VALID(VECD, vshift8B_1_rule, c) |
19136 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19137 | } |
19138 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19139 | ( |
19140 | #line 8357 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19141 | UseSSE > 3 && n->as_Vector()->length() == 4 |
19142 | #line 19142 "dfa_x86.cpp" |
19143 | ) ) { |
19144 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19145 | DFA_PRODUCTION__SET_VALID(VECS, vshift4B_1_rule, c) |
19146 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19147 | } |
19148 | } |
19149 | void State::_sub_Op_URShiftVS(const Node *n){ |
19150 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
19151 | ( |
19152 | #line 8612 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19153 | UseAVX > 2 && VM_Version::supports_avx512bw() && n->as_Vector()->length() == 32 |
19154 | #line 19154 "dfa_x86.cpp" |
19155 | ) ) { |
19156 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
19157 | DFA_PRODUCTION__SET_VALID(VECZ, vshift32S_1_rule, c) |
19158 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19159 | } |
19160 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
19161 | ( |
19162 | #line 8597 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19163 | UseAVX > 1 && n->as_Vector()->length() == 16 |
19164 | #line 19164 "dfa_x86.cpp" |
19165 | ) ) { |
19166 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
19167 | DFA_PRODUCTION__SET_VALID(VECY, vshift16S_1_rule, c) |
19168 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19169 | } |
19170 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19171 | ( |
19172 | #line 8576 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19173 | n->as_Vector()->length() == 8 |
19174 | #line 19174 "dfa_x86.cpp" |
19175 | ) ) { |
19176 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19177 | DFA_PRODUCTION__SET_VALID(VECX, vshift8S_1_rule, c) |
19178 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19179 | } |
19180 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
19181 | ( |
19182 | #line 8554 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19183 | n->as_Vector()->length() == 4 |
19184 | #line 19184 "dfa_x86.cpp" |
19185 | ) ) { |
19186 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
19187 | DFA_PRODUCTION__SET_VALID(VECD, vshift4S_1_rule, c) |
19188 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19189 | } |
19190 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19191 | ( |
19192 | #line 8533 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19193 | n->as_Vector()->length() == 2 |
19194 | #line 19194 "dfa_x86.cpp" |
19195 | ) ) { |
19196 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19197 | DFA_PRODUCTION__SET_VALID(VECS, vshist2S_1_rule, c) |
19198 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19199 | } |
19200 | } |
19201 | void State::_sub_Op_URShiftVI(const Node *n){ |
19202 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
19203 | ( |
19204 | #line 8685 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19205 | UseAVX > 2 && n->as_Vector()->length() == 16 |
19206 | #line 19206 "dfa_x86.cpp" |
19207 | ) ) { |
19208 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
19209 | DFA_PRODUCTION__SET_VALID(VECZ, vshift16I_1_rule, c) |
19210 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19211 | } |
19212 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
19213 | ( |
19214 | #line 8670 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19215 | UseAVX > 1 && n->as_Vector()->length() == 8 |
19216 | #line 19216 "dfa_x86.cpp" |
19217 | ) ) { |
19218 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
19219 | DFA_PRODUCTION__SET_VALID(VECY, vshift8I_1_rule, c) |
19220 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19221 | } |
19222 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19223 | ( |
19224 | #line 8649 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19225 | n->as_Vector()->length() == 4 |
19226 | #line 19226 "dfa_x86.cpp" |
19227 | ) ) { |
19228 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19229 | DFA_PRODUCTION__SET_VALID(VECX, vshift4I_1_rule, c) |
19230 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19231 | } |
19232 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECS) && |
19233 | ( |
19234 | #line 8628 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19235 | n->as_Vector()->length() == 2 |
19236 | #line 19236 "dfa_x86.cpp" |
19237 | ) ) { |
19238 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECS]+100; |
19239 | DFA_PRODUCTION__SET_VALID(VECD, vshift2I_1_rule, c) |
19240 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19241 | } |
19242 | } |
19243 | void State::_sub_Op_URShiftVL(const Node *n){ |
19244 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECS) && |
19245 | ( |
19246 | #line 8735 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19247 | UseAVX > 2 && n->as_Vector()->length() == 8 |
19248 | #line 19248 "dfa_x86.cpp" |
19249 | ) ) { |
19250 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECS]+100; |
19251 | DFA_PRODUCTION__SET_VALID(VECZ, vshift8L_1_rule, c) |
19252 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19253 | } |
19254 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECS) && |
19255 | ( |
19256 | #line 8721 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19257 | UseAVX > 1 && n->as_Vector()->length() == 4 |
19258 | #line 19258 "dfa_x86.cpp" |
19259 | ) ) { |
19260 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECS]+100; |
19261 | DFA_PRODUCTION__SET_VALID(VECY, vshift4L_0_rule, c) |
19262 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19263 | } |
19264 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECS) && |
19265 | ( |
19266 | #line 8701 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19267 | n->as_Vector()->length() == 2 |
19268 | #line 19268 "dfa_x86.cpp" |
19269 | ) ) { |
19270 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECS]+100; |
19271 | DFA_PRODUCTION__SET_VALID(VECX, vshift2L_0_rule, c) |
19272 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19273 | } |
19274 | } |
19275 | void State::_sub_Op_AndV(const Node *n){ |
19276 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
19277 | ( |
19278 | #line 8946 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19279 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19280 | #line 19280 "dfa_x86.cpp" |
19281 | ) ) { |
19282 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
19283 | DFA_PRODUCTION__SET_VALID(VECZ, vand64B_mem_0_rule, c) |
19284 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19285 | } |
19286 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19287 | ( |
19288 | #line 8946 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19289 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19290 | #line 19290 "dfa_x86.cpp" |
19291 | ) ) { |
19292 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19293 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
19294 | DFA_PRODUCTION__SET_VALID(VECZ, vand64B_mem_rule, c) |
19295 | } |
19296 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
19297 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19298 | } |
19299 | } |
19300 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
19301 | ( |
19302 | #line 8935 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19303 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19304 | #line 19304 "dfa_x86.cpp" |
19305 | ) ) { |
19306 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
19307 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
19308 | DFA_PRODUCTION__SET_VALID(VECZ, vand64B_reg_rule, c) |
19309 | } |
19310 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
19311 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19312 | } |
19313 | } |
19314 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
19315 | ( |
19316 | #line 8924 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19317 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19318 | #line 19318 "dfa_x86.cpp" |
19319 | ) ) { |
19320 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
19321 | DFA_PRODUCTION__SET_VALID(VECY, vand32B_mem_0_rule, c) |
19322 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19323 | } |
19324 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19325 | ( |
19326 | #line 8924 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19327 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19328 | #line 19328 "dfa_x86.cpp" |
19329 | ) ) { |
19330 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19331 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19332 | DFA_PRODUCTION__SET_VALID(VECY, vand32B_mem_rule, c) |
19333 | } |
19334 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19335 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19336 | } |
19337 | } |
19338 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
19339 | ( |
19340 | #line 8913 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19341 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19342 | #line 19342 "dfa_x86.cpp" |
19343 | ) ) { |
19344 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
19345 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19346 | DFA_PRODUCTION__SET_VALID(VECY, vand32B_reg_rule, c) |
19347 | } |
19348 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19349 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19350 | } |
19351 | } |
19352 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
19353 | ( |
19354 | #line 8902 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19355 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19356 | #line 19356 "dfa_x86.cpp" |
19357 | ) ) { |
19358 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
19359 | DFA_PRODUCTION__SET_VALID(VECX, vand16B_mem_0_rule, c) |
19360 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19361 | } |
19362 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19363 | ( |
19364 | #line 8902 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19365 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19366 | #line 19366 "dfa_x86.cpp" |
19367 | ) ) { |
19368 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19369 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19370 | DFA_PRODUCTION__SET_VALID(VECX, vand16B_mem_rule, c) |
19371 | } |
19372 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19373 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19374 | } |
19375 | } |
19376 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
19377 | ( |
19378 | #line 8891 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19379 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19380 | #line 19380 "dfa_x86.cpp" |
19381 | ) ) { |
19382 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
19383 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19384 | DFA_PRODUCTION__SET_VALID(VECX, vand16B_reg_rule, c) |
19385 | } |
19386 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19387 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19388 | } |
19389 | } |
19390 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
19391 | ( |
19392 | #line 8881 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19393 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 16 |
19394 | #line 19394 "dfa_x86.cpp" |
19395 | ) ) { |
19396 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
19397 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19398 | DFA_PRODUCTION__SET_VALID(VECX, vand16B_rule, c) |
19399 | } |
19400 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19401 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19402 | } |
19403 | } |
19404 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
19405 | ( |
19406 | #line 8870 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19407 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19408 | #line 19408 "dfa_x86.cpp" |
19409 | ) ) { |
19410 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
19411 | DFA_PRODUCTION__SET_VALID(VECD, vand8B_mem_0_rule, c) |
19412 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19413 | } |
19414 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19415 | ( |
19416 | #line 8870 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19417 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19418 | #line 19418 "dfa_x86.cpp" |
19419 | ) ) { |
19420 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19421 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19422 | DFA_PRODUCTION__SET_VALID(VECD, vand8B_mem_rule, c) |
19423 | } |
19424 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19425 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19426 | } |
19427 | } |
19428 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
19429 | ( |
19430 | #line 8859 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19431 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19432 | #line 19432 "dfa_x86.cpp" |
19433 | ) ) { |
19434 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
19435 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19436 | DFA_PRODUCTION__SET_VALID(VECD, vand8B_reg_rule, c) |
19437 | } |
19438 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19439 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19440 | } |
19441 | } |
19442 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
19443 | ( |
19444 | #line 8849 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19445 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 8 |
19446 | #line 19446 "dfa_x86.cpp" |
19447 | ) ) { |
19448 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
19449 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19450 | DFA_PRODUCTION__SET_VALID(VECD, vand8B_rule, c) |
19451 | } |
19452 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19453 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19454 | } |
19455 | } |
19456 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECS) && |
19457 | ( |
19458 | #line 8838 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19459 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19460 | #line 19460 "dfa_x86.cpp" |
19461 | ) ) { |
19462 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECS]+100; |
19463 | DFA_PRODUCTION__SET_VALID(VECS, vand4B_mem_0_rule, c) |
19464 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19465 | } |
19466 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19467 | ( |
19468 | #line 8838 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19469 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19470 | #line 19470 "dfa_x86.cpp" |
19471 | ) ) { |
19472 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19473 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19474 | DFA_PRODUCTION__SET_VALID(VECS, vand4B_mem_rule, c) |
19475 | } |
19476 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19477 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19478 | } |
19479 | } |
19480 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19481 | ( |
19482 | #line 8827 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19483 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19484 | #line 19484 "dfa_x86.cpp" |
19485 | ) ) { |
19486 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19487 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19488 | DFA_PRODUCTION__SET_VALID(VECS, vand4B_reg_rule, c) |
19489 | } |
19490 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19491 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19492 | } |
19493 | } |
19494 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19495 | ( |
19496 | #line 8817 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19497 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 4 |
19498 | #line 19498 "dfa_x86.cpp" |
19499 | ) ) { |
19500 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19501 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19502 | DFA_PRODUCTION__SET_VALID(VECS, vand4B_rule, c) |
19503 | } |
19504 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19505 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19506 | } |
19507 | } |
19508 | } |
19509 | void State::_sub_Op_OrV(const Node *n){ |
19510 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
19511 | ( |
19512 | #line 9088 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19513 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19514 | #line 19514 "dfa_x86.cpp" |
19515 | ) ) { |
19516 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
19517 | DFA_PRODUCTION__SET_VALID(VECZ, vor64B_mem_0_rule, c) |
19518 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19519 | } |
19520 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19521 | ( |
19522 | #line 9088 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19523 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19524 | #line 19524 "dfa_x86.cpp" |
19525 | ) ) { |
19526 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19527 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
19528 | DFA_PRODUCTION__SET_VALID(VECZ, vor64B_mem_rule, c) |
19529 | } |
19530 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
19531 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19532 | } |
19533 | } |
19534 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
19535 | ( |
19536 | #line 9077 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19537 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19538 | #line 19538 "dfa_x86.cpp" |
19539 | ) ) { |
19540 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
19541 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
19542 | DFA_PRODUCTION__SET_VALID(VECZ, vor64B_reg_rule, c) |
19543 | } |
19544 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
19545 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19546 | } |
19547 | } |
19548 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
19549 | ( |
19550 | #line 9066 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19551 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19552 | #line 19552 "dfa_x86.cpp" |
19553 | ) ) { |
19554 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
19555 | DFA_PRODUCTION__SET_VALID(VECY, vor32B_mem_0_rule, c) |
19556 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19557 | } |
19558 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19559 | ( |
19560 | #line 9066 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19561 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19562 | #line 19562 "dfa_x86.cpp" |
19563 | ) ) { |
19564 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19565 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19566 | DFA_PRODUCTION__SET_VALID(VECY, vor32B_mem_rule, c) |
19567 | } |
19568 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19569 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19570 | } |
19571 | } |
19572 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
19573 | ( |
19574 | #line 9055 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19575 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19576 | #line 19576 "dfa_x86.cpp" |
19577 | ) ) { |
19578 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
19579 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19580 | DFA_PRODUCTION__SET_VALID(VECY, vor32B_reg_rule, c) |
19581 | } |
19582 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19583 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19584 | } |
19585 | } |
19586 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
19587 | ( |
19588 | #line 9044 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19589 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19590 | #line 19590 "dfa_x86.cpp" |
19591 | ) ) { |
19592 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
19593 | DFA_PRODUCTION__SET_VALID(VECX, vor16B_mem_0_rule, c) |
19594 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19595 | } |
19596 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19597 | ( |
19598 | #line 9044 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19599 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19600 | #line 19600 "dfa_x86.cpp" |
19601 | ) ) { |
19602 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19603 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19604 | DFA_PRODUCTION__SET_VALID(VECX, vor16B_mem_rule, c) |
19605 | } |
19606 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19607 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19608 | } |
19609 | } |
19610 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
19611 | ( |
19612 | #line 9033 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19613 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19614 | #line 19614 "dfa_x86.cpp" |
19615 | ) ) { |
19616 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
19617 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19618 | DFA_PRODUCTION__SET_VALID(VECX, vor16B_reg_rule, c) |
19619 | } |
19620 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19621 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19622 | } |
19623 | } |
19624 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
19625 | ( |
19626 | #line 9023 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19627 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 16 |
19628 | #line 19628 "dfa_x86.cpp" |
19629 | ) ) { |
19630 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
19631 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19632 | DFA_PRODUCTION__SET_VALID(VECX, vor16B_rule, c) |
19633 | } |
19634 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19635 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19636 | } |
19637 | } |
19638 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
19639 | ( |
19640 | #line 9012 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19641 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19642 | #line 19642 "dfa_x86.cpp" |
19643 | ) ) { |
19644 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
19645 | DFA_PRODUCTION__SET_VALID(VECD, vor8B_mem_0_rule, c) |
19646 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19647 | } |
19648 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19649 | ( |
19650 | #line 9012 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19651 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19652 | #line 19652 "dfa_x86.cpp" |
19653 | ) ) { |
19654 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19655 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19656 | DFA_PRODUCTION__SET_VALID(VECD, vor8B_mem_rule, c) |
19657 | } |
19658 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19659 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19660 | } |
19661 | } |
19662 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
19663 | ( |
19664 | #line 9001 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19665 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19666 | #line 19666 "dfa_x86.cpp" |
19667 | ) ) { |
19668 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
19669 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19670 | DFA_PRODUCTION__SET_VALID(VECD, vor8B_reg_rule, c) |
19671 | } |
19672 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19673 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19674 | } |
19675 | } |
19676 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
19677 | ( |
19678 | #line 8991 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19679 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 8 |
19680 | #line 19680 "dfa_x86.cpp" |
19681 | ) ) { |
19682 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
19683 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19684 | DFA_PRODUCTION__SET_VALID(VECD, vor8B_rule, c) |
19685 | } |
19686 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19687 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19688 | } |
19689 | } |
19690 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECS) && |
19691 | ( |
19692 | #line 8980 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19693 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19694 | #line 19694 "dfa_x86.cpp" |
19695 | ) ) { |
19696 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECS]+100; |
19697 | DFA_PRODUCTION__SET_VALID(VECS, vor4B_mem_0_rule, c) |
19698 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19699 | } |
19700 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19701 | ( |
19702 | #line 8980 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19703 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19704 | #line 19704 "dfa_x86.cpp" |
19705 | ) ) { |
19706 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19707 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19708 | DFA_PRODUCTION__SET_VALID(VECS, vor4B_mem_rule, c) |
19709 | } |
19710 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19711 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19712 | } |
19713 | } |
19714 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19715 | ( |
19716 | #line 8969 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19717 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19718 | #line 19718 "dfa_x86.cpp" |
19719 | ) ) { |
19720 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19721 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19722 | DFA_PRODUCTION__SET_VALID(VECS, vor4B_reg_rule, c) |
19723 | } |
19724 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19725 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19726 | } |
19727 | } |
19728 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19729 | ( |
19730 | #line 8959 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19731 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 4 |
19732 | #line 19732 "dfa_x86.cpp" |
19733 | ) ) { |
19734 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19735 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19736 | DFA_PRODUCTION__SET_VALID(VECS, vor4B_rule, c) |
19737 | } |
19738 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19739 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19740 | } |
19741 | } |
19742 | } |
19743 | void State::_sub_Op_XorV(const Node *n){ |
19744 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECZ) && |
19745 | ( |
19746 | #line 9230 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19747 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19748 | #line 19748 "dfa_x86.cpp" |
19749 | ) ) { |
19750 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECZ]+100; |
19751 | DFA_PRODUCTION__SET_VALID(VECZ, vxor64B_mem_0_rule, c) |
19752 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19753 | } |
19754 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19755 | ( |
19756 | #line 9230 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19757 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19758 | #line 19758 "dfa_x86.cpp" |
19759 | ) ) { |
19760 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19761 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
19762 | DFA_PRODUCTION__SET_VALID(VECZ, vxor64B_mem_rule, c) |
19763 | } |
19764 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
19765 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19766 | } |
19767 | } |
19768 | if( STATE__VALID_CHILD(_kids[0], VECZ) && STATE__VALID_CHILD(_kids[1], VECZ) && |
19769 | ( |
19770 | #line 9219 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19771 | UseAVX > 2 && n->as_Vector()->length_in_bytes() == 64 |
19772 | #line 19772 "dfa_x86.cpp" |
19773 | ) ) { |
19774 | unsigned int c = _kids[0]->_cost[VECZ]+_kids[1]->_cost[VECZ]+100; |
19775 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
19776 | DFA_PRODUCTION__SET_VALID(VECZ, vxor64B_reg_rule, c) |
19777 | } |
19778 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
19779 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19780 | } |
19781 | } |
19782 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECY) && |
19783 | ( |
19784 | #line 9208 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19785 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19786 | #line 19786 "dfa_x86.cpp" |
19787 | ) ) { |
19788 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECY]+100; |
19789 | DFA_PRODUCTION__SET_VALID(VECY, vxor32B_mem_0_rule, c) |
19790 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19791 | } |
19792 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19793 | ( |
19794 | #line 9208 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19795 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19796 | #line 19796 "dfa_x86.cpp" |
19797 | ) ) { |
19798 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19799 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19800 | DFA_PRODUCTION__SET_VALID(VECY, vxor32B_mem_rule, c) |
19801 | } |
19802 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19803 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19804 | } |
19805 | } |
19806 | if( STATE__VALID_CHILD(_kids[0], VECY) && STATE__VALID_CHILD(_kids[1], VECY) && |
19807 | ( |
19808 | #line 9197 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19809 | UseAVX > 1 && n->as_Vector()->length_in_bytes() == 32 |
19810 | #line 19810 "dfa_x86.cpp" |
19811 | ) ) { |
19812 | unsigned int c = _kids[0]->_cost[VECY]+_kids[1]->_cost[VECY]+100; |
19813 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
19814 | DFA_PRODUCTION__SET_VALID(VECY, vxor32B_reg_rule, c) |
19815 | } |
19816 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
19817 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
19818 | } |
19819 | } |
19820 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECX) && |
19821 | ( |
19822 | #line 9186 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19823 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19824 | #line 19824 "dfa_x86.cpp" |
19825 | ) ) { |
19826 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECX]+100; |
19827 | DFA_PRODUCTION__SET_VALID(VECX, vxor16B_mem_0_rule, c) |
19828 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19829 | } |
19830 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19831 | ( |
19832 | #line 9186 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19833 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19834 | #line 19834 "dfa_x86.cpp" |
19835 | ) ) { |
19836 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19837 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19838 | DFA_PRODUCTION__SET_VALID(VECX, vxor16B_mem_rule, c) |
19839 | } |
19840 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19841 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19842 | } |
19843 | } |
19844 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
19845 | ( |
19846 | #line 9175 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19847 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 16 |
19848 | #line 19848 "dfa_x86.cpp" |
19849 | ) ) { |
19850 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
19851 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19852 | DFA_PRODUCTION__SET_VALID(VECX, vxor16B_reg_rule, c) |
19853 | } |
19854 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19855 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19856 | } |
19857 | } |
19858 | if( STATE__VALID_CHILD(_kids[0], VECX) && STATE__VALID_CHILD(_kids[1], VECX) && |
19859 | ( |
19860 | #line 9165 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19861 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 16 |
19862 | #line 19862 "dfa_x86.cpp" |
19863 | ) ) { |
19864 | unsigned int c = _kids[0]->_cost[VECX]+_kids[1]->_cost[VECX]+100; |
19865 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
19866 | DFA_PRODUCTION__SET_VALID(VECX, vxor16B_rule, c) |
19867 | } |
19868 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
19869 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
19870 | } |
19871 | } |
19872 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECD) && |
19873 | ( |
19874 | #line 9154 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19875 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19876 | #line 19876 "dfa_x86.cpp" |
19877 | ) ) { |
19878 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECD]+100; |
19879 | DFA_PRODUCTION__SET_VALID(VECD, vxor8B_mem_0_rule, c) |
19880 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19881 | } |
19882 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19883 | ( |
19884 | #line 9154 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19885 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19886 | #line 19886 "dfa_x86.cpp" |
19887 | ) ) { |
19888 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19889 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19890 | DFA_PRODUCTION__SET_VALID(VECD, vxor8B_mem_rule, c) |
19891 | } |
19892 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19893 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19894 | } |
19895 | } |
19896 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
19897 | ( |
19898 | #line 9143 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19899 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 8 |
19900 | #line 19900 "dfa_x86.cpp" |
19901 | ) ) { |
19902 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
19903 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19904 | DFA_PRODUCTION__SET_VALID(VECD, vxor8B_reg_rule, c) |
19905 | } |
19906 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19907 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19908 | } |
19909 | } |
19910 | if( STATE__VALID_CHILD(_kids[0], VECD) && STATE__VALID_CHILD(_kids[1], VECD) && |
19911 | ( |
19912 | #line 9133 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19913 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 8 |
19914 | #line 19914 "dfa_x86.cpp" |
19915 | ) ) { |
19916 | unsigned int c = _kids[0]->_cost[VECD]+_kids[1]->_cost[VECD]+100; |
19917 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
19918 | DFA_PRODUCTION__SET_VALID(VECD, vxor8B_rule, c) |
19919 | } |
19920 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
19921 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
19922 | } |
19923 | } |
19924 | if( STATE__VALID_CHILD(_kids[0], _LOADVECTOR_MEMORY_) && STATE__VALID_CHILD(_kids[1], VECS) && |
19925 | ( |
19926 | #line 9122 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19927 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19928 | #line 19928 "dfa_x86.cpp" |
19929 | ) ) { |
19930 | unsigned int c = _kids[0]->_cost[_LOADVECTOR_MEMORY_]+_kids[1]->_cost[VECS]+100; |
19931 | DFA_PRODUCTION__SET_VALID(VECS, vxor4B_mem_0_rule, c) |
19932 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19933 | } |
19934 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], _LOADVECTOR_MEMORY_) && |
19935 | ( |
19936 | #line 9122 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19937 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19938 | #line 19938 "dfa_x86.cpp" |
19939 | ) ) { |
19940 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[_LOADVECTOR_MEMORY_]+100; |
19941 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19942 | DFA_PRODUCTION__SET_VALID(VECS, vxor4B_mem_rule, c) |
19943 | } |
19944 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19945 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19946 | } |
19947 | } |
19948 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19949 | ( |
19950 | #line 9111 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19951 | UseAVX > 0 && n->as_Vector()->length_in_bytes() == 4 |
19952 | #line 19952 "dfa_x86.cpp" |
19953 | ) ) { |
19954 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19955 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19956 | DFA_PRODUCTION__SET_VALID(VECS, vxor4B_reg_rule, c) |
19957 | } |
19958 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19959 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19960 | } |
19961 | } |
19962 | if( STATE__VALID_CHILD(_kids[0], VECS) && STATE__VALID_CHILD(_kids[1], VECS) && |
19963 | ( |
19964 | #line 9101 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19965 | UseAVX == 0 && n->as_Vector()->length_in_bytes() == 4 |
19966 | #line 19966 "dfa_x86.cpp" |
19967 | ) ) { |
19968 | unsigned int c = _kids[0]->_cost[VECS]+_kids[1]->_cost[VECS]+100; |
19969 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
19970 | DFA_PRODUCTION__SET_VALID(VECS, vxor4B_rule, c) |
19971 | } |
19972 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
19973 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
19974 | } |
19975 | } |
19976 | } |
19977 | void State::_sub_Op_LoadVector(const Node *n){ |
19978 | if( STATE__VALID_CHILD(_kids[0], MEMORY) ) { |
19979 | unsigned int c = _kids[0]->_cost[MEMORY]; |
19980 | DFA_PRODUCTION__SET_VALID(_LOADVECTOR_MEMORY_, _LoadVector_memory__rule, c) |
19981 | } |
19982 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
19983 | ( |
19984 | #line 3054 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19985 | n->as_LoadVector()->memory_size() == 64 && n->as_LoadVector()->element_size() > 4 |
19986 | #line 19986 "dfa_x86.cpp" |
19987 | ) ) { |
19988 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
19989 | DFA_PRODUCTION__SET_VALID(VECZ, loadV64_qword_rule, c) |
19990 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
19991 | } |
19992 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
19993 | ( |
19994 | #line 3041 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
19995 | n->as_LoadVector()->memory_size() == 64 && n->as_LoadVector()->element_size() <= 4 |
19996 | #line 19996 "dfa_x86.cpp" |
19997 | ) ) { |
19998 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
19999 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20000 | DFA_PRODUCTION__SET_VALID(VECZ, loadV64_dword_rule, c) |
20001 | } |
20002 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20003 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20004 | } |
20005 | } |
20006 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
20007 | ( |
20008 | #line 2999 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20009 | n->as_LoadVector()->memory_size() == 32 |
20010 | #line 20010 "dfa_x86.cpp" |
20011 | ) ) { |
20012 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
20013 | DFA_PRODUCTION__SET_VALID(VECY, loadV32_rule, c) |
20014 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20015 | } |
20016 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
20017 | ( |
20018 | #line 2957 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20019 | n->as_LoadVector()->memory_size() == 16 |
20020 | #line 20020 "dfa_x86.cpp" |
20021 | ) ) { |
20022 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
20023 | DFA_PRODUCTION__SET_VALID(VECX, loadV16_rule, c) |
20024 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20025 | } |
20026 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
20027 | ( |
20028 | #line 2925 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20029 | n->as_LoadVector()->memory_size() == 8 |
20030 | #line 20030 "dfa_x86.cpp" |
20031 | ) ) { |
20032 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
20033 | DFA_PRODUCTION__SET_VALID(VECD, loadV8_rule, c) |
20034 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20035 | } |
20036 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && |
20037 | ( |
20038 | #line 2893 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20039 | n->as_LoadVector()->memory_size() == 4 |
20040 | #line 20040 "dfa_x86.cpp" |
20041 | ) ) { |
20042 | unsigned int c = _kids[0]->_cost[MEMORY]+125; |
20043 | DFA_PRODUCTION__SET_VALID(VECS, loadV4_rule, c) |
20044 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20045 | } |
20046 | } |
20047 | void State::_sub_Op_StoreVector(const Node *n){ |
20048 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], VECZ) && |
20049 | ( |
20050 | #line 3143 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20051 | n->as_StoreVector()->memory_size() == 64 && n->as_StoreVector()->element_size() > 4 |
20052 | #line 20052 "dfa_x86.cpp" |
20053 | ) ) { |
20054 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[VECZ]+145; |
20055 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeV64_qword_rule, c) |
20056 | } |
20057 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], VECZ) && |
20058 | ( |
20059 | #line 3131 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20060 | n->as_StoreVector()->memory_size() == 64 && n->as_StoreVector()->element_size() <= 4 |
20061 | #line 20061 "dfa_x86.cpp" |
20062 | ) ) { |
20063 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[VECZ]+145; |
20064 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
20065 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeV64_dword_rule, c) |
20066 | } |
20067 | } |
20068 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], VECY) && |
20069 | ( |
20070 | #line 3120 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20071 | n->as_StoreVector()->memory_size() == 32 |
20072 | #line 20072 "dfa_x86.cpp" |
20073 | ) ) { |
20074 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[VECY]+145; |
20075 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
20076 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeV32_rule, c) |
20077 | } |
20078 | } |
20079 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], VECX) && |
20080 | ( |
20081 | #line 3109 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20082 | n->as_StoreVector()->memory_size() == 16 |
20083 | #line 20083 "dfa_x86.cpp" |
20084 | ) ) { |
20085 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[VECX]+145; |
20086 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
20087 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeV16_rule, c) |
20088 | } |
20089 | } |
20090 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], VECD) && |
20091 | ( |
20092 | #line 3098 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20093 | n->as_StoreVector()->memory_size() == 8 |
20094 | #line 20094 "dfa_x86.cpp" |
20095 | ) ) { |
20096 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[VECD]+145; |
20097 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
20098 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeV8_rule, c) |
20099 | } |
20100 | } |
20101 | if( STATE__VALID_CHILD(_kids[0], MEMORY) && STATE__VALID_CHILD(_kids[1], VECS) && |
20102 | ( |
20103 | #line 3087 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20104 | n->as_StoreVector()->memory_size() == 4 |
20105 | #line 20105 "dfa_x86.cpp" |
20106 | ) ) { |
20107 | unsigned int c = _kids[0]->_cost[MEMORY]+_kids[1]->_cost[VECS]+145; |
20108 | if (STATE__NOT_YET_VALID(UNIVERSE) || _cost[UNIVERSE] > c) { |
20109 | DFA_PRODUCTION__SET_VALID(UNIVERSE, storeV4_rule, c) |
20110 | } |
20111 | } |
20112 | } |
20113 | void State::_sub_Op_ReplicateB(const Node *n){ |
20114 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20115 | ( |
20116 | #line 4331 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20117 | n->as_Vector()->length() == 64 && UseAVX > 2 |
20118 | #line 20118 "dfa_x86.cpp" |
20119 | ) ) { |
20120 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20121 | DFA_PRODUCTION__SET_VALID(VECZ, Repl64B_zero_evex_rule, c) |
20122 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20123 | } |
20124 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20125 | ( |
20126 | #line 4318 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20127 | n->as_Vector()->length() == 64 && UseAVX > 2 && VM_Version::supports_avx512bw() |
20128 | #line 20128 "dfa_x86.cpp" |
20129 | ) ) { |
20130 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20131 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20132 | DFA_PRODUCTION__SET_VALID(VECZ, Repl64B_imm_evex_rule, c) |
20133 | } |
20134 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20135 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20136 | } |
20137 | } |
20138 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20139 | ( |
20140 | #line 4305 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20141 | n->as_Vector()->length() == 32 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20142 | #line 20142 "dfa_x86.cpp" |
20143 | ) ) { |
20144 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20145 | DFA_PRODUCTION__SET_VALID(VECY, Repl32B_imm_evex_rule, c) |
20146 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20147 | } |
20148 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20149 | ( |
20150 | #line 4292 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20151 | n->as_Vector()->length() == 16 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20152 | #line 20152 "dfa_x86.cpp" |
20153 | ) ) { |
20154 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20155 | DFA_PRODUCTION__SET_VALID(VECX, Repl16B_imm_evex_rule, c) |
20156 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20157 | } |
20158 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && |
20159 | ( |
20160 | #line 4281 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20161 | n->as_Vector()->length() == 64 && UseAVX > 2 && VM_Version::supports_avx512bw() |
20162 | #line 20162 "dfa_x86.cpp" |
20163 | ) ) { |
20164 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+100; |
20165 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20166 | DFA_PRODUCTION__SET_VALID(VECZ, Repl64B_mem_evex_rule, c) |
20167 | } |
20168 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20169 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20170 | } |
20171 | } |
20172 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20173 | ( |
20174 | #line 4270 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20175 | n->as_Vector()->length() == 64 && UseAVX > 2 && VM_Version::supports_avx512bw() |
20176 | #line 20176 "dfa_x86.cpp" |
20177 | ) ) { |
20178 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20179 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20180 | DFA_PRODUCTION__SET_VALID(VECZ, Repl64B_evex_rule, c) |
20181 | } |
20182 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20183 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20184 | } |
20185 | } |
20186 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && |
20187 | ( |
20188 | #line 4259 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20189 | n->as_Vector()->length() == 32 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20190 | #line 20190 "dfa_x86.cpp" |
20191 | ) ) { |
20192 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+100; |
20193 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20194 | DFA_PRODUCTION__SET_VALID(VECY, Repl32B_mem_evex_rule, c) |
20195 | } |
20196 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20197 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20198 | } |
20199 | } |
20200 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20201 | ( |
20202 | #line 4248 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20203 | n->as_Vector()->length() == 32 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20204 | #line 20204 "dfa_x86.cpp" |
20205 | ) ) { |
20206 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20207 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20208 | DFA_PRODUCTION__SET_VALID(VECY, Repl32B_evex_rule, c) |
20209 | } |
20210 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20211 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20212 | } |
20213 | } |
20214 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && |
20215 | ( |
20216 | #line 4237 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20217 | n->as_Vector()->length() == 16 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20218 | #line 20218 "dfa_x86.cpp" |
20219 | ) ) { |
20220 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+100; |
20221 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20222 | DFA_PRODUCTION__SET_VALID(VECX, Repl16B_mem_evex_rule, c) |
20223 | } |
20224 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20225 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20226 | } |
20227 | } |
20228 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20229 | ( |
20230 | #line 4226 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20231 | n->as_Vector()->length() == 16 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20232 | #line 20232 "dfa_x86.cpp" |
20233 | ) ) { |
20234 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20235 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20236 | DFA_PRODUCTION__SET_VALID(VECX, Repl16B_evex_rule, c) |
20237 | } |
20238 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20239 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20240 | } |
20241 | } |
20242 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && |
20243 | ( |
20244 | #line 4215 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20245 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20246 | #line 20246 "dfa_x86.cpp" |
20247 | ) ) { |
20248 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+100; |
20249 | DFA_PRODUCTION__SET_VALID(VECD, Repl8B_mem_evex_rule, c) |
20250 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20251 | } |
20252 | if( STATE__VALID_CHILD(_kids[0], _LOADB_MEMORY_) && |
20253 | ( |
20254 | #line 4204 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20255 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20256 | #line 20256 "dfa_x86.cpp" |
20257 | ) ) { |
20258 | unsigned int c = _kids[0]->_cost[_LOADB_MEMORY_]+100; |
20259 | DFA_PRODUCTION__SET_VALID(VECS, Repl4B_mem_evex_rule, c) |
20260 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20261 | } |
20262 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20263 | ( |
20264 | #line 3943 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20265 | n->as_Vector()->length() == 32 |
20266 | #line 20266 "dfa_x86.cpp" |
20267 | ) ) { |
20268 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20269 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20270 | DFA_PRODUCTION__SET_VALID(VECY, Repl32B_zero_rule, c) |
20271 | } |
20272 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20273 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20274 | } |
20275 | } |
20276 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20277 | ( |
20278 | #line 3933 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20279 | n->as_Vector()->length() == 16 |
20280 | #line 20280 "dfa_x86.cpp" |
20281 | ) ) { |
20282 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20283 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20284 | DFA_PRODUCTION__SET_VALID(VECX, Repl16B_zero_rule, c) |
20285 | } |
20286 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20287 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20288 | } |
20289 | } |
20290 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20291 | ( |
20292 | #line 3923 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20293 | n->as_Vector()->length() == 8 |
20294 | #line 20294 "dfa_x86.cpp" |
20295 | ) ) { |
20296 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20297 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20298 | DFA_PRODUCTION__SET_VALID(VECD, Repl8B_zero_rule, c) |
20299 | } |
20300 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20301 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20302 | } |
20303 | } |
20304 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20305 | ( |
20306 | #line 3913 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20307 | n->as_Vector()->length() == 4 |
20308 | #line 20308 "dfa_x86.cpp" |
20309 | ) ) { |
20310 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20311 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
20312 | DFA_PRODUCTION__SET_VALID(VECS, Repl4B_zero_rule, c) |
20313 | } |
20314 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
20315 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20316 | } |
20317 | } |
20318 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20319 | ( |
20320 | #line 3902 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20321 | n->as_Vector()->length() == 8 |
20322 | #line 20322 "dfa_x86.cpp" |
20323 | ) ) { |
20324 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20325 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20326 | DFA_PRODUCTION__SET_VALID(VECD, Repl8B_imm_rule, c) |
20327 | } |
20328 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20329 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20330 | } |
20331 | } |
20332 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20333 | ( |
20334 | #line 3892 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20335 | n->as_Vector()->length() == 4 |
20336 | #line 20336 "dfa_x86.cpp" |
20337 | ) ) { |
20338 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20339 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
20340 | DFA_PRODUCTION__SET_VALID(VECS, Repl4B_imm_rule, c) |
20341 | } |
20342 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
20343 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20344 | } |
20345 | } |
20346 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20347 | ( |
20348 | #line 3877 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20349 | n->as_Vector()->length() == 8 |
20350 | #line 20350 "dfa_x86.cpp" |
20351 | ) ) { |
20352 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20353 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20354 | DFA_PRODUCTION__SET_VALID(VECD, Repl8B_rule, c) |
20355 | } |
20356 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20357 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20358 | } |
20359 | } |
20360 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20361 | ( |
20362 | #line 3863 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20363 | n->as_Vector()->length() == 4 |
20364 | #line 20364 "dfa_x86.cpp" |
20365 | ) ) { |
20366 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20367 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
20368 | DFA_PRODUCTION__SET_VALID(VECS, Repl4B_rule, c) |
20369 | } |
20370 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
20371 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20372 | } |
20373 | } |
20374 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20375 | ( |
20376 | #line 3237 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20377 | n->as_Vector()->length() == 64 && !VM_Version::supports_avx512vlbw() |
20378 | #line 20378 "dfa_x86.cpp" |
20379 | ) ) { |
20380 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20381 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
20382 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl64B_imm_rule, c) |
20383 | } |
20384 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
20385 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
20386 | } |
20387 | } |
20388 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20389 | ( |
20390 | #line 3223 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20391 | n->as_Vector()->length() == 32 && !VM_Version::supports_avx512vlbw() |
20392 | #line 20392 "dfa_x86.cpp" |
20393 | ) ) { |
20394 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20395 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20396 | DFA_PRODUCTION__SET_VALID(VECY, Repl32B_imm_rule, c) |
20397 | } |
20398 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20399 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20400 | } |
20401 | } |
20402 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20403 | ( |
20404 | #line 3211 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20405 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vlbw() |
20406 | #line 20406 "dfa_x86.cpp" |
20407 | ) ) { |
20408 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20409 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20410 | DFA_PRODUCTION__SET_VALID(VECX, Repl16B_imm_rule, c) |
20411 | } |
20412 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20413 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20414 | } |
20415 | } |
20416 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20417 | ( |
20418 | #line 3191 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20419 | n->as_Vector()->length() == 64 && !VM_Version::supports_avx512vlbw() |
20420 | #line 20420 "dfa_x86.cpp" |
20421 | ) ) { |
20422 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20423 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
20424 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl64B_rule, c) |
20425 | } |
20426 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
20427 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
20428 | } |
20429 | } |
20430 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20431 | ( |
20432 | #line 3173 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20433 | n->as_Vector()->length() == 32 && !VM_Version::supports_avx512vlbw() |
20434 | #line 20434 "dfa_x86.cpp" |
20435 | ) ) { |
20436 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20437 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20438 | DFA_PRODUCTION__SET_VALID(VECY, Repl32B_rule, c) |
20439 | } |
20440 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20441 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20442 | } |
20443 | } |
20444 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20445 | ( |
20446 | #line 3157 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20447 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vlbw() |
20448 | #line 20448 "dfa_x86.cpp" |
20449 | ) ) { |
20450 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20451 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20452 | DFA_PRODUCTION__SET_VALID(VECX, Repl16B_rule, c) |
20453 | } |
20454 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20455 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20456 | } |
20457 | } |
20458 | } |
20459 | void State::_sub_Op_ReplicateS(const Node *n){ |
20460 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20461 | ( |
20462 | #line 4470 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20463 | n->as_Vector()->length() == 32 && UseAVX > 2 |
20464 | #line 20464 "dfa_x86.cpp" |
20465 | ) ) { |
20466 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20467 | DFA_PRODUCTION__SET_VALID(VECZ, Repl32S_zero_evex_rule, c) |
20468 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20469 | } |
20470 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20471 | ( |
20472 | #line 4457 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20473 | n->as_Vector()->length() == 32 && UseAVX > 2 && VM_Version::supports_avx512bw() |
20474 | #line 20474 "dfa_x86.cpp" |
20475 | ) ) { |
20476 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20477 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20478 | DFA_PRODUCTION__SET_VALID(VECZ, Repl32S_imm_evex_rule, c) |
20479 | } |
20480 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20481 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20482 | } |
20483 | } |
20484 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20485 | ( |
20486 | #line 4444 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20487 | n->as_Vector()->length() == 16 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20488 | #line 20488 "dfa_x86.cpp" |
20489 | ) ) { |
20490 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20491 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_imm_evex_rule, c) |
20492 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20493 | } |
20494 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20495 | ( |
20496 | #line 4431 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20497 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20498 | #line 20498 "dfa_x86.cpp" |
20499 | ) ) { |
20500 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20501 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_imm_evex_rule, c) |
20502 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20503 | } |
20504 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20505 | ( |
20506 | #line 4420 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20507 | n->as_Vector()->length() == 32 && UseAVX > 2 && VM_Version::supports_avx512bw() |
20508 | #line 20508 "dfa_x86.cpp" |
20509 | ) ) { |
20510 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20511 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20512 | DFA_PRODUCTION__SET_VALID(VECZ, Repl32S_mem_evex_rule, c) |
20513 | } |
20514 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20515 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20516 | } |
20517 | } |
20518 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20519 | ( |
20520 | #line 4409 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20521 | n->as_Vector()->length() == 32 && UseAVX > 2 && VM_Version::supports_avx512bw() |
20522 | #line 20522 "dfa_x86.cpp" |
20523 | ) ) { |
20524 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20525 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20526 | DFA_PRODUCTION__SET_VALID(VECZ, Repl32S_evex_rule, c) |
20527 | } |
20528 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20529 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20530 | } |
20531 | } |
20532 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20533 | ( |
20534 | #line 4398 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20535 | n->as_Vector()->length() == 16 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20536 | #line 20536 "dfa_x86.cpp" |
20537 | ) ) { |
20538 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20539 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20540 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_mem_evex_rule, c) |
20541 | } |
20542 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20543 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20544 | } |
20545 | } |
20546 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20547 | ( |
20548 | #line 4387 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20549 | n->as_Vector()->length() == 16 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20550 | #line 20550 "dfa_x86.cpp" |
20551 | ) ) { |
20552 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20553 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20554 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_evex_rule, c) |
20555 | } |
20556 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20557 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20558 | } |
20559 | } |
20560 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20561 | ( |
20562 | #line 4376 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20563 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20564 | #line 20564 "dfa_x86.cpp" |
20565 | ) ) { |
20566 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20567 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20568 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_mem_evex_rule, c) |
20569 | } |
20570 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20571 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20572 | } |
20573 | } |
20574 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20575 | ( |
20576 | #line 4365 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20577 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20578 | #line 20578 "dfa_x86.cpp" |
20579 | ) ) { |
20580 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20581 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20582 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_evex_rule, c) |
20583 | } |
20584 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20585 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20586 | } |
20587 | } |
20588 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20589 | ( |
20590 | #line 4354 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20591 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20592 | #line 20592 "dfa_x86.cpp" |
20593 | ) ) { |
20594 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20595 | DFA_PRODUCTION__SET_VALID(VECD, Repl4S_mem_evex_rule, c) |
20596 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20597 | } |
20598 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20599 | ( |
20600 | #line 4343 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20601 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vlbw() |
20602 | #line 20602 "dfa_x86.cpp" |
20603 | ) ) { |
20604 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20605 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20606 | DFA_PRODUCTION__SET_VALID(VECD, Repl4S_evex_rule, c) |
20607 | } |
20608 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20609 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20610 | } |
20611 | } |
20612 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20613 | ( |
20614 | #line 4020 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20615 | n->as_Vector()->length() == 16 |
20616 | #line 20616 "dfa_x86.cpp" |
20617 | ) ) { |
20618 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20619 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20620 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_zero_rule, c) |
20621 | } |
20622 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20623 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20624 | } |
20625 | } |
20626 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20627 | ( |
20628 | #line 4010 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20629 | n->as_Vector()->length() == 8 |
20630 | #line 20630 "dfa_x86.cpp" |
20631 | ) ) { |
20632 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20633 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20634 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_zero_rule, c) |
20635 | } |
20636 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20637 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20638 | } |
20639 | } |
20640 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20641 | ( |
20642 | #line 4000 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20643 | n->as_Vector()->length() == 4 |
20644 | #line 20644 "dfa_x86.cpp" |
20645 | ) ) { |
20646 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20647 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20648 | DFA_PRODUCTION__SET_VALID(VECD, Repl4S_zero_rule, c) |
20649 | } |
20650 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20651 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20652 | } |
20653 | } |
20654 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20655 | ( |
20656 | #line 3990 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20657 | n->as_Vector()->length() == 2 |
20658 | #line 20658 "dfa_x86.cpp" |
20659 | ) ) { |
20660 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20661 | DFA_PRODUCTION__SET_VALID(VECS, Repl2S_zero_rule, c) |
20662 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20663 | } |
20664 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20665 | ( |
20666 | #line 3979 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20667 | n->as_Vector()->length() == 4 |
20668 | #line 20668 "dfa_x86.cpp" |
20669 | ) ) { |
20670 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20671 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20672 | DFA_PRODUCTION__SET_VALID(VECD, Repl4S_imm_rule, c) |
20673 | } |
20674 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20675 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20676 | } |
20677 | } |
20678 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20679 | ( |
20680 | #line 3969 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20681 | n->as_Vector()->length() == 2 |
20682 | #line 20682 "dfa_x86.cpp" |
20683 | ) ) { |
20684 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20685 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
20686 | DFA_PRODUCTION__SET_VALID(VECS, Repl2S_imm_rule, c) |
20687 | } |
20688 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
20689 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20690 | } |
20691 | } |
20692 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20693 | ( |
20694 | #line 3956 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20695 | n->as_Vector()->length() == 2 |
20696 | #line 20696 "dfa_x86.cpp" |
20697 | ) ) { |
20698 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20699 | if (STATE__NOT_YET_VALID(VECS) || _cost[VECS] > c) { |
20700 | DFA_PRODUCTION__SET_VALID(VECS, Repl2S_rule, c) |
20701 | } |
20702 | if (STATE__NOT_YET_VALID(LEGVECS) || _cost[LEGVECS] > c+100) { |
20703 | DFA_PRODUCTION__SET_VALID(LEGVECS, MoveVecS2Leg_rule, c+100) |
20704 | } |
20705 | } |
20706 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20707 | ( |
20708 | #line 3391 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20709 | n->as_Vector()->length() == 32 && !VM_Version::supports_avx512vlbw() |
20710 | #line 20710 "dfa_x86.cpp" |
20711 | ) ) { |
20712 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20713 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
20714 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl32S_imm_rule, c) |
20715 | } |
20716 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
20717 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
20718 | } |
20719 | } |
20720 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20721 | ( |
20722 | #line 3375 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20723 | n->as_Vector()->length() == 32 && !VM_Version::supports_avx512vlbw() |
20724 | #line 20724 "dfa_x86.cpp" |
20725 | ) ) { |
20726 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20727 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
20728 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl32S_mem_rule, c) |
20729 | } |
20730 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
20731 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
20732 | } |
20733 | } |
20734 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20735 | ( |
20736 | #line 3357 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20737 | n->as_Vector()->length() == 32 && !VM_Version::supports_avx512vlbw() |
20738 | #line 20738 "dfa_x86.cpp" |
20739 | ) ) { |
20740 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20741 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
20742 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl32S_rule, c) |
20743 | } |
20744 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
20745 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
20746 | } |
20747 | } |
20748 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20749 | ( |
20750 | #line 3343 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20751 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vlbw() |
20752 | #line 20752 "dfa_x86.cpp" |
20753 | ) ) { |
20754 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20755 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20756 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_imm_rule, c) |
20757 | } |
20758 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20759 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20760 | } |
20761 | } |
20762 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20763 | ( |
20764 | #line 3329 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20765 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vlbw() |
20766 | #line 20766 "dfa_x86.cpp" |
20767 | ) ) { |
20768 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20769 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20770 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_mem_rule, c) |
20771 | } |
20772 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20773 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20774 | } |
20775 | } |
20776 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20777 | ( |
20778 | #line 3313 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20779 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vlbw() |
20780 | #line 20780 "dfa_x86.cpp" |
20781 | ) ) { |
20782 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20783 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20784 | DFA_PRODUCTION__SET_VALID(VECY, Repl16S_rule, c) |
20785 | } |
20786 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20787 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20788 | } |
20789 | } |
20790 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20791 | ( |
20792 | #line 3301 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20793 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vlbw() |
20794 | #line 20794 "dfa_x86.cpp" |
20795 | ) ) { |
20796 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20797 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20798 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_imm_rule, c) |
20799 | } |
20800 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20801 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20802 | } |
20803 | } |
20804 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20805 | ( |
20806 | #line 3289 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20807 | n->as_Vector()->length() == 8 && UseAVX > 0 && !VM_Version::supports_avx512vlbw() |
20808 | #line 20808 "dfa_x86.cpp" |
20809 | ) ) { |
20810 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20811 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20812 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_mem_rule, c) |
20813 | } |
20814 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20815 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20816 | } |
20817 | } |
20818 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20819 | ( |
20820 | #line 3275 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20821 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vlbw() |
20822 | #line 20822 "dfa_x86.cpp" |
20823 | ) ) { |
20824 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20825 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20826 | DFA_PRODUCTION__SET_VALID(VECX, Repl8S_rule, c) |
20827 | } |
20828 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20829 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20830 | } |
20831 | } |
20832 | if( STATE__VALID_CHILD(_kids[0], _LOADS_MEMORY_) && |
20833 | ( |
20834 | #line 3265 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20835 | n->as_Vector()->length() == 4 && UseAVX > 0 && !VM_Version::supports_avx512vlbw() |
20836 | #line 20836 "dfa_x86.cpp" |
20837 | ) ) { |
20838 | unsigned int c = _kids[0]->_cost[_LOADS_MEMORY_]+100; |
20839 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20840 | DFA_PRODUCTION__SET_VALID(VECD, Repl4S_mem_rule, c) |
20841 | } |
20842 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20843 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20844 | } |
20845 | } |
20846 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20847 | ( |
20848 | #line 3253 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20849 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vlbw() |
20850 | #line 20850 "dfa_x86.cpp" |
20851 | ) ) { |
20852 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20853 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
20854 | DFA_PRODUCTION__SET_VALID(VECD, Repl4S_rule, c) |
20855 | } |
20856 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
20857 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
20858 | } |
20859 | } |
20860 | } |
20861 | void State::_sub_Op_ReplicateI(const Node *n){ |
20862 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20863 | ( |
20864 | #line 4587 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20865 | n->as_Vector()->length() == 16 && UseAVX > 2 |
20866 | #line 20866 "dfa_x86.cpp" |
20867 | ) ) { |
20868 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20869 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16I_zero_evex_rule, c) |
20870 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20871 | } |
20872 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20873 | ( |
20874 | #line 4574 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20875 | n->as_Vector()->length() == 16 && UseAVX > 2 |
20876 | #line 20876 "dfa_x86.cpp" |
20877 | ) ) { |
20878 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20879 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20880 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16I_imm_evex_rule, c) |
20881 | } |
20882 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20883 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20884 | } |
20885 | } |
20886 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20887 | ( |
20888 | #line 4561 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20889 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vl() |
20890 | #line 20890 "dfa_x86.cpp" |
20891 | ) ) { |
20892 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20893 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_imm_evex_rule, c) |
20894 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20895 | } |
20896 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
20897 | ( |
20898 | #line 4548 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20899 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
20900 | #line 20900 "dfa_x86.cpp" |
20901 | ) ) { |
20902 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
20903 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_imm_evex_rule, c) |
20904 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20905 | } |
20906 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
20907 | ( |
20908 | #line 4537 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20909 | n->as_Vector()->length() == 16 && UseAVX > 2 |
20910 | #line 20910 "dfa_x86.cpp" |
20911 | ) ) { |
20912 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
20913 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20914 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16I_mem_evex_rule, c) |
20915 | } |
20916 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20917 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20918 | } |
20919 | } |
20920 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20921 | ( |
20922 | #line 4526 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20923 | n->as_Vector()->length() == 16 && UseAVX > 2 |
20924 | #line 20924 "dfa_x86.cpp" |
20925 | ) ) { |
20926 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20927 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
20928 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16I_evex_rule, c) |
20929 | } |
20930 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
20931 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
20932 | } |
20933 | } |
20934 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
20935 | ( |
20936 | #line 4515 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20937 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vl() |
20938 | #line 20938 "dfa_x86.cpp" |
20939 | ) ) { |
20940 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
20941 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20942 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_mem_evex_rule, c) |
20943 | } |
20944 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20945 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20946 | } |
20947 | } |
20948 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20949 | ( |
20950 | #line 4504 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20951 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vl() |
20952 | #line 20952 "dfa_x86.cpp" |
20953 | ) ) { |
20954 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20955 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20956 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_evex_rule, c) |
20957 | } |
20958 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
20959 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
20960 | } |
20961 | } |
20962 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
20963 | ( |
20964 | #line 4493 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20965 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
20966 | #line 20966 "dfa_x86.cpp" |
20967 | ) ) { |
20968 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
20969 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20970 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_mem_evex_rule, c) |
20971 | } |
20972 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20973 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20974 | } |
20975 | } |
20976 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
20977 | ( |
20978 | #line 4482 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20979 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
20980 | #line 20980 "dfa_x86.cpp" |
20981 | ) ) { |
20982 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
20983 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
20984 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_evex_rule, c) |
20985 | } |
20986 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
20987 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
20988 | } |
20989 | } |
20990 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
20991 | ( |
20992 | #line 4090 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
20993 | n->as_Vector()->length() == 8 |
20994 | #line 20994 "dfa_x86.cpp" |
20995 | ) ) { |
20996 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
20997 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
20998 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_zero_rule, c) |
20999 | } |
21000 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21001 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21002 | } |
21003 | } |
21004 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
21005 | ( |
21006 | #line 4080 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21007 | n->as_Vector()->length() == 4 |
21008 | #line 21008 "dfa_x86.cpp" |
21009 | ) ) { |
21010 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
21011 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21012 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_zero_rule, c) |
21013 | } |
21014 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21015 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21016 | } |
21017 | } |
21018 | if( STATE__VALID_CHILD(_kids[0], IMMI0) && |
21019 | ( |
21020 | #line 4070 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21021 | n->as_Vector()->length() == 2 |
21022 | #line 21022 "dfa_x86.cpp" |
21023 | ) ) { |
21024 | unsigned int c = _kids[0]->_cost[IMMI0]+100; |
21025 | DFA_PRODUCTION__SET_VALID(VECD, Repl2I_zero_rule, c) |
21026 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21027 | } |
21028 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
21029 | ( |
21030 | #line 4059 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21031 | n->as_Vector()->length() == 2 |
21032 | #line 21032 "dfa_x86.cpp" |
21033 | ) ) { |
21034 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
21035 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
21036 | DFA_PRODUCTION__SET_VALID(VECD, Repl2I_imm_rule, c) |
21037 | } |
21038 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
21039 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21040 | } |
21041 | } |
21042 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
21043 | ( |
21044 | #line 4046 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21045 | n->as_Vector()->length() == 2 |
21046 | #line 21046 "dfa_x86.cpp" |
21047 | ) ) { |
21048 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
21049 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
21050 | DFA_PRODUCTION__SET_VALID(VECD, Repl2I_mem_rule, c) |
21051 | } |
21052 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
21053 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21054 | } |
21055 | } |
21056 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
21057 | ( |
21058 | #line 4033 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21059 | n->as_Vector()->length() == 2 |
21060 | #line 21060 "dfa_x86.cpp" |
21061 | ) ) { |
21062 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
21063 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
21064 | DFA_PRODUCTION__SET_VALID(VECD, Repl2I_rule, c) |
21065 | } |
21066 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
21067 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21068 | } |
21069 | } |
21070 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
21071 | ( |
21072 | #line 3511 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21073 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vl() |
21074 | #line 21074 "dfa_x86.cpp" |
21075 | ) ) { |
21076 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
21077 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21078 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl16I_imm_rule, c) |
21079 | } |
21080 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21081 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21082 | } |
21083 | } |
21084 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
21085 | ( |
21086 | #line 3497 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21087 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21088 | #line 21088 "dfa_x86.cpp" |
21089 | ) ) { |
21090 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
21091 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21092 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_imm_rule, c) |
21093 | } |
21094 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21095 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21096 | } |
21097 | } |
21098 | if( STATE__VALID_CHILD(_kids[0], IMMI) && |
21099 | ( |
21100 | #line 3485 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21101 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vl() |
21102 | #line 21102 "dfa_x86.cpp" |
21103 | ) ) { |
21104 | unsigned int c = _kids[0]->_cost[IMMI]+100; |
21105 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21106 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_imm_rule, c) |
21107 | } |
21108 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21109 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21110 | } |
21111 | } |
21112 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
21113 | ( |
21114 | #line 3471 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21115 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vl() |
21116 | #line 21116 "dfa_x86.cpp" |
21117 | ) ) { |
21118 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
21119 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21120 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl16I_mem_rule, c) |
21121 | } |
21122 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21123 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21124 | } |
21125 | } |
21126 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
21127 | ( |
21128 | #line 3455 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21129 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vl() |
21130 | #line 21130 "dfa_x86.cpp" |
21131 | ) ) { |
21132 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
21133 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21134 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl16I_rule, c) |
21135 | } |
21136 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21137 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21138 | } |
21139 | } |
21140 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
21141 | ( |
21142 | #line 3443 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21143 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21144 | #line 21144 "dfa_x86.cpp" |
21145 | ) ) { |
21146 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
21147 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21148 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_mem_rule, c) |
21149 | } |
21150 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21151 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21152 | } |
21153 | } |
21154 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
21155 | ( |
21156 | #line 3429 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21157 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21158 | #line 21158 "dfa_x86.cpp" |
21159 | ) ) { |
21160 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
21161 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21162 | DFA_PRODUCTION__SET_VALID(VECY, Repl8I_rule, c) |
21163 | } |
21164 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21165 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21166 | } |
21167 | } |
21168 | if( STATE__VALID_CHILD(_kids[0], _LOADI_MEMORY_) && |
21169 | ( |
21170 | #line 3419 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21171 | n->as_Vector()->length() == 4 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21172 | #line 21172 "dfa_x86.cpp" |
21173 | ) ) { |
21174 | unsigned int c = _kids[0]->_cost[_LOADI_MEMORY_]+100; |
21175 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21176 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_mem_rule, c) |
21177 | } |
21178 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21179 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21180 | } |
21181 | } |
21182 | if( STATE__VALID_CHILD(_kids[0], RREGI) && |
21183 | ( |
21184 | #line 3407 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21185 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vl() |
21186 | #line 21186 "dfa_x86.cpp" |
21187 | ) ) { |
21188 | unsigned int c = _kids[0]->_cost[RREGI]+100; |
21189 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21190 | DFA_PRODUCTION__SET_VALID(VECX, Repl4I_rule, c) |
21191 | } |
21192 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21193 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21194 | } |
21195 | } |
21196 | } |
21197 | void State::_sub_Op_ReplicateL(const Node *n){ |
21198 | if( STATE__VALID_CHILD(_kids[0], IMML0) && |
21199 | ( |
21200 | #line 4719 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21201 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21202 | #line 21202 "dfa_x86.cpp" |
21203 | ) ) { |
21204 | unsigned int c = _kids[0]->_cost[IMML0]+100; |
21205 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8L_zero_evex_rule, c) |
21206 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21207 | } |
21208 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
21209 | ( |
21210 | #line 4708 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21211 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21212 | #line 21212 "dfa_x86.cpp" |
21213 | ) ) { |
21214 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
21215 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21216 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8L_mem_evex_rule, c) |
21217 | } |
21218 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21219 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21220 | } |
21221 | } |
21222 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
21223 | ( |
21224 | #line 4697 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21225 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21226 | #line 21226 "dfa_x86.cpp" |
21227 | ) ) { |
21228 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
21229 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_mem_evex_rule, c) |
21230 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21231 | } |
21232 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
21233 | ( |
21234 | #line 4686 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21235 | n->as_Vector()->length() == 2 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21236 | #line 21236 "dfa_x86.cpp" |
21237 | ) ) { |
21238 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
21239 | DFA_PRODUCTION__SET_VALID(VECX, Repl2L_mem_evex_rule, c) |
21240 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21241 | } |
21242 | if( STATE__VALID_CHILD(_kids[0], IMML) && |
21243 | ( |
21244 | #line 4673 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21245 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21246 | #line 21246 "dfa_x86.cpp" |
21247 | ) ) { |
21248 | unsigned int c = _kids[0]->_cost[IMML]+100; |
21249 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21250 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8L_imm_evex_rule, c) |
21251 | } |
21252 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21253 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21254 | } |
21255 | } |
21256 | if( STATE__VALID_CHILD(_kids[0], IMML) && |
21257 | ( |
21258 | #line 4660 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21259 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21260 | #line 21260 "dfa_x86.cpp" |
21261 | ) ) { |
21262 | unsigned int c = _kids[0]->_cost[IMML]+100; |
21263 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21264 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_imm_evex_rule, c) |
21265 | } |
21266 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21267 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21268 | } |
21269 | } |
21270 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
21271 | ( |
21272 | #line 4612 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21273 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21274 | #line 21274 "dfa_x86.cpp" |
21275 | ) ) { |
21276 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
21277 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21278 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8L_evex_rule, c) |
21279 | } |
21280 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21281 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21282 | } |
21283 | } |
21284 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
21285 | ( |
21286 | #line 4601 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21287 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21288 | #line 21288 "dfa_x86.cpp" |
21289 | ) ) { |
21290 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
21291 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21292 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_evex_rule, c) |
21293 | } |
21294 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21295 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21296 | } |
21297 | } |
21298 | if( STATE__VALID_CHILD(_kids[0], IMML0) && |
21299 | ( |
21300 | #line 4158 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21301 | n->as_Vector()->length() == 4 |
21302 | #line 21302 "dfa_x86.cpp" |
21303 | ) ) { |
21304 | unsigned int c = _kids[0]->_cost[IMML0]+100; |
21305 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21306 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_zero_rule, c) |
21307 | } |
21308 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21309 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21310 | } |
21311 | } |
21312 | if( STATE__VALID_CHILD(_kids[0], IMML0) && |
21313 | ( |
21314 | #line 4148 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21315 | n->as_Vector()->length() == 2 |
21316 | #line 21316 "dfa_x86.cpp" |
21317 | ) ) { |
21318 | unsigned int c = _kids[0]->_cost[IMML0]+100; |
21319 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21320 | DFA_PRODUCTION__SET_VALID(VECX, Repl2L_zero_rule, c) |
21321 | } |
21322 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21323 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21324 | } |
21325 | } |
21326 | if( STATE__VALID_CHILD(_kids[0], IMML) && |
21327 | ( |
21328 | #line 4135 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21329 | n->as_Vector()->length() == 2 |
21330 | #line 21330 "dfa_x86.cpp" |
21331 | ) ) { |
21332 | unsigned int c = _kids[0]->_cost[IMML]+100; |
21333 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21334 | DFA_PRODUCTION__SET_VALID(VECX, Repl2L_imm_rule, c) |
21335 | } |
21336 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21337 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21338 | } |
21339 | } |
21340 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
21341 | ( |
21342 | #line 4104 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21343 | n->as_Vector()->length() == 2 |
21344 | #line 21344 "dfa_x86.cpp" |
21345 | ) ) { |
21346 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
21347 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21348 | DFA_PRODUCTION__SET_VALID(VECX, Repl2L_rule, c) |
21349 | } |
21350 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21351 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21352 | } |
21353 | } |
21354 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
21355 | ( |
21356 | #line 3657 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21357 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21358 | #line 21358 "dfa_x86.cpp" |
21359 | ) ) { |
21360 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
21361 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21362 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl8L_mem_rule, c) |
21363 | } |
21364 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21365 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21366 | } |
21367 | } |
21368 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
21369 | ( |
21370 | #line 3643 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21371 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vl() |
21372 | #line 21372 "dfa_x86.cpp" |
21373 | ) ) { |
21374 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
21375 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21376 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_mem_rule, c) |
21377 | } |
21378 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21379 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21380 | } |
21381 | } |
21382 | if( STATE__VALID_CHILD(_kids[0], IMML) && |
21383 | ( |
21384 | #line 3627 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21385 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21386 | #line 21386 "dfa_x86.cpp" |
21387 | ) ) { |
21388 | unsigned int c = _kids[0]->_cost[IMML]+100; |
21389 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21390 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl8L_imm_rule, c) |
21391 | } |
21392 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21393 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21394 | } |
21395 | } |
21396 | if( STATE__VALID_CHILD(_kids[0], IMML) && |
21397 | ( |
21398 | #line 3613 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21399 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vl() |
21400 | #line 21400 "dfa_x86.cpp" |
21401 | ) ) { |
21402 | unsigned int c = _kids[0]->_cost[IMML]+100; |
21403 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21404 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_imm_rule, c) |
21405 | } |
21406 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21407 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21408 | } |
21409 | } |
21410 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
21411 | ( |
21412 | #line 3556 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21413 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21414 | #line 21414 "dfa_x86.cpp" |
21415 | ) ) { |
21416 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
21417 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21418 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl8L_rule, c) |
21419 | } |
21420 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21421 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21422 | } |
21423 | } |
21424 | if( STATE__VALID_CHILD(_kids[0], RREGL) && |
21425 | ( |
21426 | #line 3542 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21427 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vl() |
21428 | #line 21428 "dfa_x86.cpp" |
21429 | ) ) { |
21430 | unsigned int c = _kids[0]->_cost[RREGL]+100; |
21431 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21432 | DFA_PRODUCTION__SET_VALID(VECY, Repl4L_rule, c) |
21433 | } |
21434 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21435 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21436 | } |
21437 | } |
21438 | if( STATE__VALID_CHILD(_kids[0], _LOADL_MEMORY_) && |
21439 | ( |
21440 | #line 3528 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21441 | n->as_Vector()->length() == 2 && !VM_Version::supports_avx512vlbw() |
21442 | #line 21442 "dfa_x86.cpp" |
21443 | ) ) { |
21444 | unsigned int c = _kids[0]->_cost[_LOADL_MEMORY_]+100; |
21445 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21446 | DFA_PRODUCTION__SET_VALID(VECX, Repl2L_mem_rule, c) |
21447 | } |
21448 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21449 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21450 | } |
21451 | } |
21452 | } |
21453 | void State::_sub_Op_ReplicateF(const Node *n){ |
21454 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21455 | ( |
21456 | #line 4811 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21457 | n->as_Vector()->length() == 16 && UseAVX > 2 |
21458 | #line 21458 "dfa_x86.cpp" |
21459 | ) ) { |
21460 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21461 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16F_zero_evex_rule, c) |
21462 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21463 | } |
21464 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21465 | ( |
21466 | #line 4799 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21467 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21468 | #line 21468 "dfa_x86.cpp" |
21469 | ) ) { |
21470 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21471 | DFA_PRODUCTION__SET_VALID(VECY, Repl8F_zero_evex_rule, c) |
21472 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21473 | } |
21474 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21475 | ( |
21476 | #line 4787 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21477 | n->as_Vector()->length() == 4 && UseAVX > 2 |
21478 | #line 21478 "dfa_x86.cpp" |
21479 | ) ) { |
21480 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21481 | DFA_PRODUCTION__SET_VALID(VECX, Repl4F_zero_evex_rule, c) |
21482 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21483 | } |
21484 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21485 | ( |
21486 | #line 4775 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21487 | n->as_Vector()->length() == 2 && UseAVX > 2 |
21488 | #line 21488 "dfa_x86.cpp" |
21489 | ) ) { |
21490 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21491 | DFA_PRODUCTION__SET_VALID(VECD, Repl2F_zero_evex_rule, c) |
21492 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21493 | } |
21494 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
21495 | ( |
21496 | #line 4764 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21497 | n->as_Vector()->length() == 16 && UseAVX > 2 |
21498 | #line 21498 "dfa_x86.cpp" |
21499 | ) ) { |
21500 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
21501 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21502 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16F_mem_evex_rule, c) |
21503 | } |
21504 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21505 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21506 | } |
21507 | } |
21508 | if( STATE__VALID_CHILD(_kids[0], REGF) && |
21509 | ( |
21510 | #line 4753 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21511 | n->as_Vector()->length() == 16 && UseAVX > 2 |
21512 | #line 21512 "dfa_x86.cpp" |
21513 | ) ) { |
21514 | unsigned int c = _kids[0]->_cost[REGF]+100; |
21515 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21516 | DFA_PRODUCTION__SET_VALID(VECZ, Repl16F_evex_rule, c) |
21517 | } |
21518 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21519 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21520 | } |
21521 | } |
21522 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
21523 | ( |
21524 | #line 4742 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21525 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21526 | #line 21526 "dfa_x86.cpp" |
21527 | ) ) { |
21528 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
21529 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21530 | DFA_PRODUCTION__SET_VALID(VECY, Repl8F_mem_evex_rule, c) |
21531 | } |
21532 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21533 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21534 | } |
21535 | } |
21536 | if( STATE__VALID_CHILD(_kids[0], REGF) && |
21537 | ( |
21538 | #line 4731 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21539 | n->as_Vector()->length() == 8 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21540 | #line 21540 "dfa_x86.cpp" |
21541 | ) ) { |
21542 | unsigned int c = _kids[0]->_cost[REGF]+100; |
21543 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21544 | DFA_PRODUCTION__SET_VALID(VECY, Repl8F_evex_rule, c) |
21545 | } |
21546 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21547 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21548 | } |
21549 | } |
21550 | if( STATE__VALID_CHILD(_kids[0], VLREGF) && |
21551 | ( |
21552 | #line 4181 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21553 | n->as_Vector()->length() == 4 |
21554 | #line 21554 "dfa_x86.cpp" |
21555 | ) ) { |
21556 | unsigned int c = _kids[0]->_cost[VLREGF]+100; |
21557 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21558 | DFA_PRODUCTION__SET_VALID(VECX, Repl4F_rule, c) |
21559 | } |
21560 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21561 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21562 | } |
21563 | } |
21564 | if( STATE__VALID_CHILD(_kids[0], VLREGF) && |
21565 | ( |
21566 | #line 4171 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21567 | n->as_Vector()->length() == 2 |
21568 | #line 21568 "dfa_x86.cpp" |
21569 | ) ) { |
21570 | unsigned int c = _kids[0]->_cost[VLREGF]+100; |
21571 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
21572 | DFA_PRODUCTION__SET_VALID(VECD, Repl2F_rule, c) |
21573 | } |
21574 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
21575 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21576 | } |
21577 | } |
21578 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21579 | ( |
21580 | #line 3765 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21581 | n->as_Vector()->length() == 8 && UseAVX < 3 |
21582 | #line 21582 "dfa_x86.cpp" |
21583 | ) ) { |
21584 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21585 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21586 | DFA_PRODUCTION__SET_VALID(VECY, Repl8F_zero_rule, c) |
21587 | } |
21588 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21589 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21590 | } |
21591 | } |
21592 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21593 | ( |
21594 | #line 3755 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21595 | n->as_Vector()->length() == 4 && UseAVX < 3 |
21596 | #line 21596 "dfa_x86.cpp" |
21597 | ) ) { |
21598 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21599 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21600 | DFA_PRODUCTION__SET_VALID(VECX, Repl4F_zero_rule, c) |
21601 | } |
21602 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21603 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21604 | } |
21605 | } |
21606 | if( STATE__VALID_CHILD(_kids[0], IMMF0) && |
21607 | ( |
21608 | #line 3745 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21609 | n->as_Vector()->length() == 2 && UseAVX < 3 |
21610 | #line 21610 "dfa_x86.cpp" |
21611 | ) ) { |
21612 | unsigned int c = _kids[0]->_cost[IMMF0]+100; |
21613 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
21614 | DFA_PRODUCTION__SET_VALID(VECD, Repl2F_zero_rule, c) |
21615 | } |
21616 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
21617 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21618 | } |
21619 | } |
21620 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
21621 | ( |
21622 | #line 3731 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21623 | n->as_Vector()->length() == 16 && !VM_Version::supports_avx512vl() |
21624 | #line 21624 "dfa_x86.cpp" |
21625 | ) ) { |
21626 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
21627 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21628 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl16F_mem_rule, c) |
21629 | } |
21630 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21631 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21632 | } |
21633 | } |
21634 | if( STATE__VALID_CHILD(_kids[0], VLREGF) && |
21635 | ( |
21636 | #line 3717 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21637 | n->as_Vector()->length() == 16 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21638 | #line 21638 "dfa_x86.cpp" |
21639 | ) ) { |
21640 | unsigned int c = _kids[0]->_cost[VLREGF]+100; |
21641 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21642 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl16F_rule, c) |
21643 | } |
21644 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21645 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21646 | } |
21647 | } |
21648 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
21649 | ( |
21650 | #line 3705 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21651 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21652 | #line 21652 "dfa_x86.cpp" |
21653 | ) ) { |
21654 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
21655 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21656 | DFA_PRODUCTION__SET_VALID(VECY, Repl8F_mem_rule, c) |
21657 | } |
21658 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21659 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21660 | } |
21661 | } |
21662 | if( STATE__VALID_CHILD(_kids[0], VLREGF) && |
21663 | ( |
21664 | #line 3693 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21665 | n->as_Vector()->length() == 8 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21666 | #line 21666 "dfa_x86.cpp" |
21667 | ) ) { |
21668 | unsigned int c = _kids[0]->_cost[VLREGF]+100; |
21669 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21670 | DFA_PRODUCTION__SET_VALID(VECY, Repl8F_rule, c) |
21671 | } |
21672 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21673 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21674 | } |
21675 | } |
21676 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
21677 | ( |
21678 | #line 3683 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21679 | n->as_Vector()->length() == 4 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21680 | #line 21680 "dfa_x86.cpp" |
21681 | ) ) { |
21682 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
21683 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21684 | DFA_PRODUCTION__SET_VALID(VECX, Repl4F_mem_rule, c) |
21685 | } |
21686 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21687 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21688 | } |
21689 | } |
21690 | if( STATE__VALID_CHILD(_kids[0], _LOADF_MEMORY_) && |
21691 | ( |
21692 | #line 3673 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21693 | n->as_Vector()->length() == 2 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21694 | #line 21694 "dfa_x86.cpp" |
21695 | ) ) { |
21696 | unsigned int c = _kids[0]->_cost[_LOADF_MEMORY_]+100; |
21697 | if (STATE__NOT_YET_VALID(VECD) || _cost[VECD] > c) { |
21698 | DFA_PRODUCTION__SET_VALID(VECD, Repl2F_mem_rule, c) |
21699 | } |
21700 | if (STATE__NOT_YET_VALID(LEGVECD) || _cost[LEGVECD] > c+100) { |
21701 | DFA_PRODUCTION__SET_VALID(LEGVECD, MoveVecD2Leg_rule, c+100) |
21702 | } |
21703 | } |
21704 | } |
21705 | void State::_sub_Op_ReplicateD(const Node *n){ |
21706 | if( STATE__VALID_CHILD(_kids[0], IMMD0) && |
21707 | ( |
21708 | #line 4891 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21709 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21710 | #line 21710 "dfa_x86.cpp" |
21711 | ) ) { |
21712 | unsigned int c = _kids[0]->_cost[IMMD0]+100; |
21713 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8D_zero_evex_rule, c) |
21714 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21715 | } |
21716 | if( STATE__VALID_CHILD(_kids[0], IMMD0) && |
21717 | ( |
21718 | #line 4879 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21719 | n->as_Vector()->length() == 4 && UseAVX > 2 |
21720 | #line 21720 "dfa_x86.cpp" |
21721 | ) ) { |
21722 | unsigned int c = _kids[0]->_cost[IMMD0]+100; |
21723 | DFA_PRODUCTION__SET_VALID(VECY, Repl4D_zero_evex_rule, c) |
21724 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21725 | } |
21726 | if( STATE__VALID_CHILD(_kids[0], IMMD0) && |
21727 | ( |
21728 | #line 4867 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21729 | n->as_Vector()->length() == 2 && UseAVX > 2 |
21730 | #line 21730 "dfa_x86.cpp" |
21731 | ) ) { |
21732 | unsigned int c = _kids[0]->_cost[IMMD0]+100; |
21733 | DFA_PRODUCTION__SET_VALID(VECX, Repl2D_zero_evex_rule, c) |
21734 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21735 | } |
21736 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && |
21737 | ( |
21738 | #line 4856 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21739 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21740 | #line 21740 "dfa_x86.cpp" |
21741 | ) ) { |
21742 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+100; |
21743 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21744 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8D_mem_evex_rule, c) |
21745 | } |
21746 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21747 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21748 | } |
21749 | } |
21750 | if( STATE__VALID_CHILD(_kids[0], REGD) && |
21751 | ( |
21752 | #line 4845 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21753 | n->as_Vector()->length() == 8 && UseAVX > 2 |
21754 | #line 21754 "dfa_x86.cpp" |
21755 | ) ) { |
21756 | unsigned int c = _kids[0]->_cost[REGD]+100; |
21757 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c) { |
21758 | DFA_PRODUCTION__SET_VALID(VECZ, Repl8D_evex_rule, c) |
21759 | } |
21760 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c+100) { |
21761 | DFA_PRODUCTION__SET_VALID(LEGVECZ, MoveVecZ2Leg_rule, c+100) |
21762 | } |
21763 | } |
21764 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && |
21765 | ( |
21766 | #line 4834 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21767 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21768 | #line 21768 "dfa_x86.cpp" |
21769 | ) ) { |
21770 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+100; |
21771 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21772 | DFA_PRODUCTION__SET_VALID(VECY, Repl4D_mem_evex_rule, c) |
21773 | } |
21774 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21775 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21776 | } |
21777 | } |
21778 | if( STATE__VALID_CHILD(_kids[0], REGD) && |
21779 | ( |
21780 | #line 4823 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21781 | n->as_Vector()->length() == 4 && UseAVX > 2 && VM_Version::supports_avx512vl() |
21782 | #line 21782 "dfa_x86.cpp" |
21783 | ) ) { |
21784 | unsigned int c = _kids[0]->_cost[REGD]+100; |
21785 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21786 | DFA_PRODUCTION__SET_VALID(VECY, Repl4D_evex_rule, c) |
21787 | } |
21788 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21789 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21790 | } |
21791 | } |
21792 | if( STATE__VALID_CHILD(_kids[0], VLREGD) && |
21793 | ( |
21794 | #line 4192 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21795 | n->as_Vector()->length() == 2 |
21796 | #line 21796 "dfa_x86.cpp" |
21797 | ) ) { |
21798 | unsigned int c = _kids[0]->_cost[VLREGD]+100; |
21799 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21800 | DFA_PRODUCTION__SET_VALID(VECX, Repl2D_rule, c) |
21801 | } |
21802 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21803 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21804 | } |
21805 | } |
21806 | if( STATE__VALID_CHILD(_kids[0], IMMD0) && |
21807 | ( |
21808 | #line 3849 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21809 | n->as_Vector()->length() == 4 && UseAVX < 3 |
21810 | #line 21810 "dfa_x86.cpp" |
21811 | ) ) { |
21812 | unsigned int c = _kids[0]->_cost[IMMD0]+100; |
21813 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21814 | DFA_PRODUCTION__SET_VALID(VECY, Repl4D_zero_rule, c) |
21815 | } |
21816 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21817 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21818 | } |
21819 | } |
21820 | if( STATE__VALID_CHILD(_kids[0], IMMD0) && |
21821 | ( |
21822 | #line 3839 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21823 | n->as_Vector()->length() == 2 && UseAVX < 3 |
21824 | #line 21824 "dfa_x86.cpp" |
21825 | ) ) { |
21826 | unsigned int c = _kids[0]->_cost[IMMD0]+100; |
21827 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21828 | DFA_PRODUCTION__SET_VALID(VECX, Repl2D_zero_rule, c) |
21829 | } |
21830 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21831 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21832 | } |
21833 | } |
21834 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && |
21835 | ( |
21836 | #line 3824 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21837 | n->as_Vector()->length() == 8 && !VM_Version::supports_avx512vl() |
21838 | #line 21838 "dfa_x86.cpp" |
21839 | ) ) { |
21840 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+100; |
21841 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21842 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl8D_mem_rule, c) |
21843 | } |
21844 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21845 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21846 | } |
21847 | } |
21848 | if( STATE__VALID_CHILD(_kids[0], VLREGD) && |
21849 | ( |
21850 | #line 3810 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21851 | n->as_Vector()->length() == 8 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21852 | #line 21852 "dfa_x86.cpp" |
21853 | ) ) { |
21854 | unsigned int c = _kids[0]->_cost[VLREGD]+100; |
21855 | if (STATE__NOT_YET_VALID(LEGVECZ) || _cost[LEGVECZ] > c) { |
21856 | DFA_PRODUCTION__SET_VALID(LEGVECZ, Repl8D_rule, c) |
21857 | } |
21858 | if (STATE__NOT_YET_VALID(VECZ) || _cost[VECZ] > c+100) { |
21859 | DFA_PRODUCTION__SET_VALID(VECZ, MoveLeg2VecZ_rule, c+100) |
21860 | } |
21861 | } |
21862 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && |
21863 | ( |
21864 | #line 3798 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21865 | n->as_Vector()->length() == 4 && !VM_Version::supports_avx512vl() |
21866 | #line 21866 "dfa_x86.cpp" |
21867 | ) ) { |
21868 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+100; |
21869 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21870 | DFA_PRODUCTION__SET_VALID(VECY, Repl4D_mem_rule, c) |
21871 | } |
21872 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21873 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21874 | } |
21875 | } |
21876 | if( STATE__VALID_CHILD(_kids[0], VLREGD) && |
21877 | ( |
21878 | #line 3786 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21879 | n->as_Vector()->length() == 4 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21880 | #line 21880 "dfa_x86.cpp" |
21881 | ) ) { |
21882 | unsigned int c = _kids[0]->_cost[VLREGD]+100; |
21883 | if (STATE__NOT_YET_VALID(VECY) || _cost[VECY] > c) { |
21884 | DFA_PRODUCTION__SET_VALID(VECY, Repl4D_rule, c) |
21885 | } |
21886 | if (STATE__NOT_YET_VALID(LEGVECY) || _cost[LEGVECY] > c+100) { |
21887 | DFA_PRODUCTION__SET_VALID(LEGVECY, MoveVecY2Leg_rule, c+100) |
21888 | } |
21889 | } |
21890 | if( STATE__VALID_CHILD(_kids[0], _LOADD_MEMORY_) && |
21891 | ( |
21892 | #line 3776 "/workspace/jdk13/src/hotspot/cpu/x86/x86.ad" |
21893 | n->as_Vector()->length() == 2 && UseAVX > 0 && !VM_Version::supports_avx512vl() |
21894 | #line 21894 "dfa_x86.cpp" |
21895 | ) ) { |
21896 | unsigned int c = _kids[0]->_cost[_LOADD_MEMORY_]+100; |
21897 | if (STATE__NOT_YET_VALID(VECX) || _cost[VECX] > c) { |
21898 | DFA_PRODUCTION__SET_VALID(VECX, Repl2D_mem_rule, c) |
21899 | } |
21900 | if (STATE__NOT_YET_VALID(LEGVECX) || _cost[LEGVECX] > c+100) { |
21901 | DFA_PRODUCTION__SET_VALID(LEGVECX, MoveVecX2Leg_rule, c+100) |
21902 | } |
21903 | } |
21904 | } |
21905 | bool State::DFA(int opcode, const Node *n) { |
21906 | switch(opcode) { |
21907 | case Op_RegN: { _sub_Op_RegN(n); |
21908 | break; |
21909 | } |
21910 | case Op_RegI: { _sub_Op_RegI(n); |
21911 | break; |
21912 | } |
21913 | case Op_RegP: { _sub_Op_RegP(n); |
21914 | break; |
21915 | } |
21916 | case Op_RegF: { _sub_Op_RegF(n); |
21917 | break; |
21918 | } |
21919 | case Op_RegD: { _sub_Op_RegD(n); |
21920 | break; |
21921 | } |
21922 | case Op_RegL: { _sub_Op_RegL(n); |
21923 | break; |
21924 | } |
21925 | case Op_RegFlags: { _sub_Op_RegFlags(n); |
21926 | break; |
21927 | } |
21928 | case Op_VecS: { _sub_Op_VecS(n); |
21929 | break; |
21930 | } |
21931 | case Op_VecD: { _sub_Op_VecD(n); |
21932 | break; |
21933 | } |
21934 | case Op_VecX: { _sub_Op_VecX(n); |
21935 | break; |
21936 | } |
21937 | case Op_VecY: { _sub_Op_VecY(n); |
21938 | break; |
21939 | } |
21940 | case Op_VecZ: { _sub_Op_VecZ(n); |
21941 | break; |
21942 | } |
21943 | case Op_AbsD: { _sub_Op_AbsD(n); |
21944 | break; |
21945 | } |
21946 | case Op_AbsF: { _sub_Op_AbsF(n); |
21947 | break; |
21948 | } |
21949 | case Op_AbsI: { _sub_Op_AbsI(n); |
21950 | break; |
21951 | } |
21952 | case Op_AbsL: { _sub_Op_AbsL(n); |
21953 | break; |
21954 | } |
21955 | case Op_AddD: { _sub_Op_AddD(n); |
21956 | break; |
21957 | } |
21958 | case Op_AddF: { _sub_Op_AddF(n); |
21959 | break; |
21960 | } |
21961 | case Op_AddI: { _sub_Op_AddI(n); |
21962 | break; |
21963 | } |
21964 | case Op_AddL: { _sub_Op_AddL(n); |
21965 | break; |
21966 | } |
21967 | case Op_AddP: { _sub_Op_AddP(n); |
21968 | break; |
21969 | } |
21970 | case Op_AndI: { _sub_Op_AndI(n); |
21971 | break; |
21972 | } |
21973 | case Op_AndL: { _sub_Op_AndL(n); |
21974 | break; |
21975 | } |
21976 | case Op_AryEq: { _sub_Op_AryEq(n); |
21977 | break; |
21978 | } |
21979 | case Op_Binary: { _sub_Op_Binary(n); |
21980 | break; |
21981 | } |
21982 | case Op_Bool: { _sub_Op_Bool(n); |
21983 | break; |
21984 | } |
21985 | case Op_ReverseBytesI: { _sub_Op_ReverseBytesI(n); |
21986 | break; |
21987 | } |
21988 | case Op_ReverseBytesL: { _sub_Op_ReverseBytesL(n); |
21989 | break; |
21990 | } |
21991 | case Op_ReverseBytesUS: { _sub_Op_ReverseBytesUS(n); |
21992 | break; |
21993 | } |
21994 | case Op_ReverseBytesS: { _sub_Op_ReverseBytesS(n); |
21995 | break; |
21996 | } |
21997 | case Op_CallDynamicJava: { _sub_Op_CallDynamicJava(n); |
21998 | break; |
21999 | } |
22000 | case Op_CallLeaf: { _sub_Op_CallLeaf(n); |
22001 | break; |
22002 | } |
22003 | case Op_CallLeafNoFP: { _sub_Op_CallLeafNoFP(n); |
22004 | break; |
22005 | } |
22006 | case Op_CallRuntime: { _sub_Op_CallRuntime(n); |
22007 | break; |
22008 | } |
22009 | case Op_CallStaticJava: { _sub_Op_CallStaticJava(n); |
22010 | break; |
22011 | } |
22012 | case Op_CastII: { _sub_Op_CastII(n); |
22013 | break; |
22014 | } |
22015 | case Op_CastX2P: { _sub_Op_CastX2P(n); |
22016 | break; |
22017 | } |
22018 | case Op_CastP2X: { _sub_Op_CastP2X(n); |
22019 | break; |
22020 | } |
22021 | case Op_CastPP: { _sub_Op_CastPP(n); |
22022 | break; |
22023 | } |
22024 | case Op_CheckCastPP: { _sub_Op_CheckCastPP(n); |
22025 | break; |
22026 | } |
22027 | case Op_ClearArray: { _sub_Op_ClearArray(n); |
22028 | break; |
22029 | } |
22030 | case Op_CMoveD: { _sub_Op_CMoveD(n); |
22031 | break; |
22032 | } |
22033 | case Op_CMoveVD: { _sub_Op_CMoveVD(n); |
22034 | break; |
22035 | } |
22036 | case Op_CMoveF: { _sub_Op_CMoveF(n); |
22037 | break; |
22038 | } |
22039 | case Op_CMoveVF: { _sub_Op_CMoveVF(n); |
22040 | break; |
22041 | } |
22042 | case Op_CMoveI: { _sub_Op_CMoveI(n); |
22043 | break; |
22044 | } |
22045 | case Op_CMoveL: { _sub_Op_CMoveL(n); |
22046 | break; |
22047 | } |
22048 | case Op_CMoveP: { _sub_Op_CMoveP(n); |
22049 | break; |
22050 | } |
22051 | case Op_CMoveN: { _sub_Op_CMoveN(n); |
22052 | break; |
22053 | } |
22054 | case Op_CmpN: { _sub_Op_CmpN(n); |
22055 | break; |
22056 | } |
22057 | case Op_CmpD: { _sub_Op_CmpD(n); |
22058 | break; |
22059 | } |
22060 | case Op_CmpD3: { _sub_Op_CmpD3(n); |
22061 | break; |
22062 | } |
22063 | case Op_CmpF: { _sub_Op_CmpF(n); |
22064 | break; |
22065 | } |
22066 | case Op_CmpF3: { _sub_Op_CmpF3(n); |
22067 | break; |
22068 | } |
22069 | case Op_CmpI: { _sub_Op_CmpI(n); |
22070 | break; |
22071 | } |
22072 | case Op_CmpL: { _sub_Op_CmpL(n); |
22073 | break; |
22074 | } |
22075 | case Op_CmpL3: { _sub_Op_CmpL3(n); |
22076 | break; |
22077 | } |
22078 | case Op_CmpLTMask: { _sub_Op_CmpLTMask(n); |
22079 | break; |
22080 | } |
22081 | case Op_CmpP: { _sub_Op_CmpP(n); |
22082 | break; |
22083 | } |
22084 | case Op_CmpU: { _sub_Op_CmpU(n); |
22085 | break; |
22086 | } |
22087 | case Op_CmpUL: { _sub_Op_CmpUL(n); |
22088 | break; |
22089 | } |
22090 | case Op_CompareAndSwapB: { _sub_Op_CompareAndSwapB(n); |
22091 | break; |
22092 | } |
22093 | case Op_CompareAndSwapS: { _sub_Op_CompareAndSwapS(n); |
22094 | break; |
22095 | } |
22096 | case Op_CompareAndSwapI: { _sub_Op_CompareAndSwapI(n); |
22097 | break; |
22098 | } |
22099 | case Op_CompareAndSwapL: { _sub_Op_CompareAndSwapL(n); |
22100 | break; |
22101 | } |
22102 | case Op_CompareAndSwapP: { _sub_Op_CompareAndSwapP(n); |
22103 | break; |
22104 | } |
22105 | case Op_CompareAndSwapN: { _sub_Op_CompareAndSwapN(n); |
22106 | break; |
22107 | } |
22108 | case Op_WeakCompareAndSwapB: { _sub_Op_WeakCompareAndSwapB(n); |
22109 | break; |
22110 | } |
22111 | case Op_WeakCompareAndSwapS: { _sub_Op_WeakCompareAndSwapS(n); |
22112 | break; |
22113 | } |
22114 | case Op_WeakCompareAndSwapI: { _sub_Op_WeakCompareAndSwapI(n); |
22115 | break; |
22116 | } |
22117 | case Op_WeakCompareAndSwapL: { _sub_Op_WeakCompareAndSwapL(n); |
22118 | break; |
22119 | } |
22120 | case Op_WeakCompareAndSwapP: { _sub_Op_WeakCompareAndSwapP(n); |
22121 | break; |
22122 | } |
22123 | case Op_WeakCompareAndSwapN: { _sub_Op_WeakCompareAndSwapN(n); |
22124 | break; |
22125 | } |
22126 | case Op_CompareAndExchangeB: { _sub_Op_CompareAndExchangeB(n); |
22127 | break; |
22128 | } |
22129 | case Op_CompareAndExchangeS: { _sub_Op_CompareAndExchangeS(n); |
22130 | break; |
22131 | } |
22132 | case Op_CompareAndExchangeI: { _sub_Op_CompareAndExchangeI(n); |
22133 | break; |
22134 | } |
22135 | case Op_CompareAndExchangeL: { _sub_Op_CompareAndExchangeL(n); |
22136 | break; |
22137 | } |
22138 | case Op_CompareAndExchangeP: { _sub_Op_CompareAndExchangeP(n); |
22139 | break; |
22140 | } |
22141 | case Op_CompareAndExchangeN: { _sub_Op_CompareAndExchangeN(n); |
22142 | break; |
22143 | } |
22144 | case Op_GetAndAddB: { _sub_Op_GetAndAddB(n); |
22145 | break; |
22146 | } |
22147 | case Op_GetAndAddS: { _sub_Op_GetAndAddS(n); |
22148 | break; |
22149 | } |
22150 | case Op_GetAndAddI: { _sub_Op_GetAndAddI(n); |
22151 | break; |
22152 | } |
22153 | case Op_GetAndAddL: { _sub_Op_GetAndAddL(n); |
22154 | break; |
22155 | } |
22156 | case Op_GetAndSetB: { _sub_Op_GetAndSetB(n); |
22157 | break; |
22158 | } |
22159 | case Op_GetAndSetS: { _sub_Op_GetAndSetS(n); |
22160 | break; |
22161 | } |
22162 | case Op_GetAndSetI: { _sub_Op_GetAndSetI(n); |
22163 | break; |
22164 | } |
22165 | case Op_GetAndSetL: { _sub_Op_GetAndSetL(n); |
22166 | break; |
22167 | } |
22168 | case Op_GetAndSetP: { _sub_Op_GetAndSetP(n); |
22169 | break; |
22170 | } |
22171 | case Op_GetAndSetN: { _sub_Op_GetAndSetN(n); |
22172 | break; |
22173 | } |
22174 | case Op_ConN: { _sub_Op_ConN(n); |
22175 | break; |
22176 | } |
22177 | case Op_ConNKlass: { _sub_Op_ConNKlass(n); |
22178 | break; |
22179 | } |
22180 | case Op_ConD: { _sub_Op_ConD(n); |
22181 | break; |
22182 | } |
22183 | case Op_ConF: { _sub_Op_ConF(n); |
22184 | break; |
22185 | } |
22186 | case Op_ConI: { _sub_Op_ConI(n); |
22187 | break; |
22188 | } |
22189 | case Op_ConL: { _sub_Op_ConL(n); |
22190 | break; |
22191 | } |
22192 | case Op_ConP: { _sub_Op_ConP(n); |
22193 | break; |
22194 | } |
22195 | case Op_Conv2B: { _sub_Op_Conv2B(n); |
22196 | break; |
22197 | } |
22198 | case Op_ConvD2F: { _sub_Op_ConvD2F(n); |
22199 | break; |
22200 | } |
22201 | case Op_ConvD2I: { _sub_Op_ConvD2I(n); |
22202 | break; |
22203 | } |
22204 | case Op_ConvD2L: { _sub_Op_ConvD2L(n); |
22205 | break; |
22206 | } |
22207 | case Op_ConvF2D: { _sub_Op_ConvF2D(n); |
22208 | break; |
22209 | } |
22210 | case Op_ConvF2I: { _sub_Op_ConvF2I(n); |
22211 | break; |
22212 | } |
22213 | case Op_ConvF2L: { _sub_Op_ConvF2L(n); |
22214 | break; |
22215 | } |
22216 | case Op_ConvI2D: { _sub_Op_ConvI2D(n); |
22217 | break; |
22218 | } |
22219 | case Op_ConvI2F: { _sub_Op_ConvI2F(n); |
22220 | break; |
22221 | } |
22222 | case Op_ConvI2L: { _sub_Op_ConvI2L(n); |
22223 | break; |
22224 | } |
22225 | case Op_ConvL2D: { _sub_Op_ConvL2D(n); |
22226 | break; |
22227 | } |
22228 | case Op_ConvL2F: { _sub_Op_ConvL2F(n); |
22229 | break; |
22230 | } |
22231 | case Op_ConvL2I: { _sub_Op_ConvL2I(n); |
22232 | break; |
22233 | } |
22234 | case Op_CountedLoopEnd: { _sub_Op_CountedLoopEnd(n); |
22235 | break; |
22236 | } |
22237 | case Op_CountLeadingZerosI: { _sub_Op_CountLeadingZerosI(n); |
22238 | break; |
22239 | } |
22240 | case Op_CountLeadingZerosL: { _sub_Op_CountLeadingZerosL(n); |
22241 | break; |
22242 | } |
22243 | case Op_CountTrailingZerosI: { _sub_Op_CountTrailingZerosI(n); |
22244 | break; |
22245 | } |
22246 | case Op_CountTrailingZerosL: { _sub_Op_CountTrailingZerosL(n); |
22247 | break; |
22248 | } |
22249 | case Op_CreateEx: { _sub_Op_CreateEx(n); |
22250 | break; |
22251 | } |
22252 | case Op_DecodeN: { _sub_Op_DecodeN(n); |
22253 | break; |
22254 | } |
22255 | case Op_DecodeNKlass: { _sub_Op_DecodeNKlass(n); |
22256 | break; |
22257 | } |
22258 | case Op_DivD: { _sub_Op_DivD(n); |
22259 | break; |
22260 | } |
22261 | case Op_DivF: { _sub_Op_DivF(n); |
22262 | break; |
22263 | } |
22264 | case Op_DivI: { _sub_Op_DivI(n); |
22265 | break; |
22266 | } |
22267 | case Op_DivL: { _sub_Op_DivL(n); |
22268 | break; |
22269 | } |
22270 | case Op_DivModI: { _sub_Op_DivModI(n); |
22271 | break; |
22272 | } |
22273 | case Op_DivModL: { _sub_Op_DivModL(n); |
22274 | break; |
22275 | } |
22276 | case Op_EncodeISOArray: { _sub_Op_EncodeISOArray(n); |
22277 | break; |
22278 | } |
22279 | case Op_EncodeP: { _sub_Op_EncodeP(n); |
22280 | break; |
22281 | } |
22282 | case Op_EncodePKlass: { _sub_Op_EncodePKlass(n); |
22283 | break; |
22284 | } |
22285 | case Op_FastLock: { _sub_Op_FastLock(n); |
22286 | break; |
22287 | } |
22288 | case Op_FastUnlock: { _sub_Op_FastUnlock(n); |
22289 | break; |
22290 | } |
22291 | case Op_FmaD: { _sub_Op_FmaD(n); |
22292 | break; |
22293 | } |
22294 | case Op_FmaF: { _sub_Op_FmaF(n); |
22295 | break; |
22296 | } |
22297 | case Op_Goto: { _sub_Op_Goto(n); |
22298 | break; |
22299 | } |
22300 | case Op_Halt: { _sub_Op_Halt(n); |
22301 | break; |
22302 | } |
22303 | case Op_HasNegatives: { _sub_Op_HasNegatives(n); |
22304 | break; |
22305 | } |
22306 | case Op_If: { _sub_Op_If(n); |
22307 | break; |
22308 | } |
22309 | case Op_Jump: { _sub_Op_Jump(n); |
22310 | break; |
22311 | } |
22312 | case Op_LShiftI: { _sub_Op_LShiftI(n); |
22313 | break; |
22314 | } |
22315 | case Op_LShiftL: { _sub_Op_LShiftL(n); |
22316 | break; |
22317 | } |
22318 | case Op_LoadB: { _sub_Op_LoadB(n); |
22319 | break; |
22320 | } |
22321 | case Op_LoadUB: { _sub_Op_LoadUB(n); |
22322 | break; |
22323 | } |
22324 | case Op_LoadUS: { _sub_Op_LoadUS(n); |
22325 | break; |
22326 | } |
22327 | case Op_LoadD: { _sub_Op_LoadD(n); |
22328 | break; |
22329 | } |
22330 | case Op_LoadF: { _sub_Op_LoadF(n); |
22331 | break; |
22332 | } |
22333 | case Op_LoadI: { _sub_Op_LoadI(n); |
22334 | break; |
22335 | } |
22336 | case Op_LoadKlass: { _sub_Op_LoadKlass(n); |
22337 | break; |
22338 | } |
22339 | case Op_LoadNKlass: { _sub_Op_LoadNKlass(n); |
22340 | break; |
22341 | } |
22342 | case Op_LoadL: { _sub_Op_LoadL(n); |
22343 | break; |
22344 | } |
22345 | case Op_LoadPLocked: { _sub_Op_LoadPLocked(n); |
22346 | break; |
22347 | } |
22348 | case Op_LoadP: { _sub_Op_LoadP(n); |
22349 | break; |
22350 | } |
22351 | case Op_LoadN: { _sub_Op_LoadN(n); |
22352 | break; |
22353 | } |
22354 | case Op_LoadRange: { _sub_Op_LoadRange(n); |
22355 | break; |
22356 | } |
22357 | case Op_LoadS: { _sub_Op_LoadS(n); |
22358 | break; |
22359 | } |
22360 | case Op_LoadBarrierSlowReg: { _sub_Op_LoadBarrierSlowReg(n); |
22361 | break; |
22362 | } |
22363 | case Op_ZCompareAndSwapP: { _sub_Op_ZCompareAndSwapP(n); |
22364 | break; |
22365 | } |
22366 | case Op_ZWeakCompareAndSwapP: { _sub_Op_ZWeakCompareAndSwapP(n); |
22367 | break; |
22368 | } |
22369 | case Op_ZCompareAndExchangeP: { _sub_Op_ZCompareAndExchangeP(n); |
22370 | break; |
22371 | } |
22372 | case Op_ZGetAndSetP: { _sub_Op_ZGetAndSetP(n); |
22373 | break; |
22374 | } |
22375 | case Op_MulAddS2I: { _sub_Op_MulAddS2I(n); |
22376 | break; |
22377 | } |
22378 | case Op_MaxD: { _sub_Op_MaxD(n); |
22379 | break; |
22380 | } |
22381 | case Op_MaxF: { _sub_Op_MaxF(n); |
22382 | break; |
22383 | } |
22384 | case Op_MaxI: { _sub_Op_MaxI(n); |
22385 | break; |
22386 | } |
22387 | case Op_MemBarAcquire: { _sub_Op_MemBarAcquire(n); |
22388 | break; |
22389 | } |
22390 | case Op_LoadFence: { _sub_Op_LoadFence(n); |
22391 | break; |
22392 | } |
22393 | case Op_SetVectMaskI: { _sub_Op_SetVectMaskI(n); |
22394 | break; |
22395 | } |
22396 | case Op_MemBarAcquireLock: { _sub_Op_MemBarAcquireLock(n); |
22397 | break; |
22398 | } |
22399 | case Op_MemBarRelease: { _sub_Op_MemBarRelease(n); |
22400 | break; |
22401 | } |
22402 | case Op_StoreFence: { _sub_Op_StoreFence(n); |
22403 | break; |
22404 | } |
22405 | case Op_MemBarReleaseLock: { _sub_Op_MemBarReleaseLock(n); |
22406 | break; |
22407 | } |
22408 | case Op_MemBarVolatile: { _sub_Op_MemBarVolatile(n); |
22409 | break; |
22410 | } |
22411 | case Op_MemBarStoreStore: { _sub_Op_MemBarStoreStore(n); |
22412 | break; |
22413 | } |
22414 | case Op_MinD: { _sub_Op_MinD(n); |
22415 | break; |
22416 | } |
22417 | case Op_MinF: { _sub_Op_MinF(n); |
22418 | break; |
22419 | } |
22420 | case Op_MinI: { _sub_Op_MinI(n); |
22421 | break; |
22422 | } |
22423 | case Op_ModI: { _sub_Op_ModI(n); |
22424 | break; |
22425 | } |
22426 | case Op_ModL: { _sub_Op_ModL(n); |
22427 | break; |
22428 | } |
22429 | case Op_MoveI2F: { _sub_Op_MoveI2F(n); |
22430 | break; |
22431 | } |
22432 | case Op_MoveF2I: { _sub_Op_MoveF2I(n); |
22433 | break; |
22434 | } |
22435 | case Op_MoveL2D: { _sub_Op_MoveL2D(n); |
22436 | break; |
22437 | } |
22438 | case Op_MoveD2L: { _sub_Op_MoveD2L(n); |
22439 | break; |
22440 | } |
22441 | case Op_MulD: { _sub_Op_MulD(n); |
22442 | break; |
22443 | } |
22444 | case Op_MulF: { _sub_Op_MulF(n); |
22445 | break; |
22446 | } |
22447 | case Op_MulHiL: { _sub_Op_MulHiL(n); |
22448 | break; |
22449 | } |
22450 | case Op_MulI: { _sub_Op_MulI(n); |
22451 | break; |
22452 | } |
22453 | case Op_MulL: { _sub_Op_MulL(n); |
22454 | break; |
22455 | } |
22456 | case Op_NegD: { _sub_Op_NegD(n); |
22457 | break; |
22458 | } |
22459 | case Op_NegF: { _sub_Op_NegF(n); |
22460 | break; |
22461 | } |
22462 | case Op_OnSpinWait: { _sub_Op_OnSpinWait(n); |
22463 | break; |
22464 | } |
22465 | case Op_OrI: { _sub_Op_OrI(n); |
22466 | break; |
22467 | } |
22468 | case Op_OrL: { _sub_Op_OrL(n); |
22469 | break; |
22470 | } |
22471 | case Op_OverflowAddI: { _sub_Op_OverflowAddI(n); |
22472 | break; |
22473 | } |
22474 | case Op_OverflowSubI: { _sub_Op_OverflowSubI(n); |
22475 | break; |
22476 | } |
22477 | case Op_OverflowMulI: { _sub_Op_OverflowMulI(n); |
22478 | break; |
22479 | } |
22480 | case Op_OverflowAddL: { _sub_Op_OverflowAddL(n); |
22481 | break; |
22482 | } |
22483 | case Op_OverflowSubL: { _sub_Op_OverflowSubL(n); |
22484 | break; |
22485 | } |
22486 | case Op_OverflowMulL: { _sub_Op_OverflowMulL(n); |
22487 | break; |
22488 | } |
22489 | case Op_PartialSubtypeCheck: { _sub_Op_PartialSubtypeCheck(n); |
22490 | break; |
22491 | } |
22492 | case Op_PopCountI: { _sub_Op_PopCountI(n); |
22493 | break; |
22494 | } |
22495 | case Op_PopCountL: { _sub_Op_PopCountL(n); |
22496 | break; |
22497 | } |
22498 | case Op_PopCountVI: { _sub_Op_PopCountVI(n); |
22499 | break; |
22500 | } |
22501 | case Op_PrefetchAllocation: { _sub_Op_PrefetchAllocation(n); |
22502 | break; |
22503 | } |
22504 | case Op_RShiftI: { _sub_Op_RShiftI(n); |
22505 | break; |
22506 | } |
22507 | case Op_RShiftL: { _sub_Op_RShiftL(n); |
22508 | break; |
22509 | } |
22510 | case Op_Rethrow: { _sub_Op_Rethrow(n); |
22511 | break; |
22512 | } |
22513 | case Op_Return: { _sub_Op_Return(n); |
22514 | break; |
22515 | } |
22516 | case Op_RoundDouble: { _sub_Op_RoundDouble(n); |
22517 | break; |
22518 | } |
22519 | case Op_RoundFloat: { _sub_Op_RoundFloat(n); |
22520 | break; |
22521 | } |
22522 | case Op_SafePoint: { _sub_Op_SafePoint(n); |
22523 | break; |
22524 | } |
22525 | case Op_ShenandoahCompareAndExchangeP: { _sub_Op_ShenandoahCompareAndExchangeP(n); |
22526 | break; |
22527 | } |
22528 | case Op_ShenandoahCompareAndExchangeN: { _sub_Op_ShenandoahCompareAndExchangeN(n); |
22529 | break; |
22530 | } |
22531 | case Op_ShenandoahCompareAndSwapN: { _sub_Op_ShenandoahCompareAndSwapN(n); |
22532 | break; |
22533 | } |
22534 | case Op_ShenandoahCompareAndSwapP: { _sub_Op_ShenandoahCompareAndSwapP(n); |
22535 | break; |
22536 | } |
22537 | case Op_ShenandoahWeakCompareAndSwapN: { _sub_Op_ShenandoahWeakCompareAndSwapN(n); |
22538 | break; |
22539 | } |
22540 | case Op_ShenandoahWeakCompareAndSwapP: { _sub_Op_ShenandoahWeakCompareAndSwapP(n); |
22541 | break; |
22542 | } |
22543 | case Op_SqrtD: { _sub_Op_SqrtD(n); |
22544 | break; |
22545 | } |
22546 | case Op_SqrtF: { _sub_Op_SqrtF(n); |
22547 | break; |
22548 | } |
22549 | case Op_StoreB: { _sub_Op_StoreB(n); |
22550 | break; |
22551 | } |
22552 | case Op_StoreC: { _sub_Op_StoreC(n); |
22553 | break; |
22554 | } |
22555 | case Op_StoreCM: { _sub_Op_StoreCM(n); |
22556 | break; |
22557 | } |
22558 | case Op_StorePConditional: { _sub_Op_StorePConditional(n); |
22559 | break; |
22560 | } |
22561 | case Op_StoreIConditional: { _sub_Op_StoreIConditional(n); |
22562 | break; |
22563 | } |
22564 | case Op_StoreLConditional: { _sub_Op_StoreLConditional(n); |
22565 | break; |
22566 | } |
22567 | case Op_StoreD: { _sub_Op_StoreD(n); |
22568 | break; |
22569 | } |
22570 | case Op_StoreF: { _sub_Op_StoreF(n); |
22571 | break; |
22572 | } |
22573 | case Op_StoreI: { _sub_Op_StoreI(n); |
22574 | break; |
22575 | } |
22576 | case Op_StoreL: { _sub_Op_StoreL(n); |
22577 | break; |
22578 | } |
22579 | case Op_StoreP: { _sub_Op_StoreP(n); |
22580 | break; |
22581 | } |
22582 | case Op_StoreN: { _sub_Op_StoreN(n); |
22583 | break; |
22584 | } |
22585 | case Op_StoreNKlass: { _sub_Op_StoreNKlass(n); |
22586 | break; |
22587 | } |
22588 | case Op_StrComp: { _sub_Op_StrComp(n); |
22589 | break; |
22590 | } |
22591 | case Op_StrCompressedCopy: { _sub_Op_StrCompressedCopy(n); |
22592 | break; |
22593 | } |
22594 | case Op_StrEquals: { _sub_Op_StrEquals(n); |
22595 | break; |
22596 | } |
22597 | case Op_StrIndexOf: { _sub_Op_StrIndexOf(n); |
22598 | break; |
22599 | } |
22600 | case Op_StrIndexOfChar: { _sub_Op_StrIndexOfChar(n); |
22601 | break; |
22602 | } |
22603 | case Op_StrInflatedCopy: { _sub_Op_StrInflatedCopy(n); |
22604 | break; |
22605 | } |
22606 | case Op_SubD: { _sub_Op_SubD(n); |
22607 | break; |
22608 | } |
22609 | case Op_SubF: { _sub_Op_SubF(n); |
22610 | break; |
22611 | } |
22612 | case Op_SubI: { _sub_Op_SubI(n); |
22613 | break; |
22614 | } |
22615 | case Op_SubL: { _sub_Op_SubL(n); |
22616 | break; |
22617 | } |
22618 | case Op_TailCall: { _sub_Op_TailCall(n); |
22619 | break; |
22620 | } |
22621 | case Op_TailJump: { _sub_Op_TailJump(n); |
22622 | break; |
22623 | } |
22624 | case Op_ThreadLocal: { _sub_Op_ThreadLocal(n); |
22625 | break; |
22626 | } |
22627 | case Op_URShiftI: { _sub_Op_URShiftI(n); |
22628 | break; |
22629 | } |
22630 | case Op_URShiftL: { _sub_Op_URShiftL(n); |
22631 | break; |
22632 | } |
22633 | case Op_XorI: { _sub_Op_XorI(n); |
22634 | break; |
22635 | } |
22636 | case Op_XorL: { _sub_Op_XorL(n); |
22637 | break; |
22638 | } |
22639 | case Op_AddVB: { _sub_Op_AddVB(n); |
22640 | break; |
22641 | } |
22642 | case Op_AddVS: { _sub_Op_AddVS(n); |
22643 | break; |
22644 | } |
22645 | case Op_AddVI: { _sub_Op_AddVI(n); |
22646 | break; |
22647 | } |
22648 | case Op_AddReductionVI: { _sub_Op_AddReductionVI(n); |
22649 | break; |
22650 | } |
22651 | case Op_AddVL: { _sub_Op_AddVL(n); |
22652 | break; |
22653 | } |
22654 | case Op_AddReductionVL: { _sub_Op_AddReductionVL(n); |
22655 | break; |
22656 | } |
22657 | case Op_AddVF: { _sub_Op_AddVF(n); |
22658 | break; |
22659 | } |
22660 | case Op_AddReductionVF: { _sub_Op_AddReductionVF(n); |
22661 | break; |
22662 | } |
22663 | case Op_AddVD: { _sub_Op_AddVD(n); |
22664 | break; |
22665 | } |
22666 | case Op_AddReductionVD: { _sub_Op_AddReductionVD(n); |
22667 | break; |
22668 | } |
22669 | case Op_SubVB: { _sub_Op_SubVB(n); |
22670 | break; |
22671 | } |
22672 | case Op_SubVS: { _sub_Op_SubVS(n); |
22673 | break; |
22674 | } |
22675 | case Op_SubVI: { _sub_Op_SubVI(n); |
22676 | break; |
22677 | } |
22678 | case Op_SubVL: { _sub_Op_SubVL(n); |
22679 | break; |
22680 | } |
22681 | case Op_SubVF: { _sub_Op_SubVF(n); |
22682 | break; |
22683 | } |
22684 | case Op_SubVD: { _sub_Op_SubVD(n); |
22685 | break; |
22686 | } |
22687 | case Op_MulVB: { _sub_Op_MulVB(n); |
22688 | break; |
22689 | } |
22690 | case Op_MulVS: { _sub_Op_MulVS(n); |
22691 | break; |
22692 | } |
22693 | case Op_MulVI: { _sub_Op_MulVI(n); |
22694 | break; |
22695 | } |
22696 | case Op_MulReductionVI: { _sub_Op_MulReductionVI(n); |
22697 | break; |
22698 | } |
22699 | case Op_MulVL: { _sub_Op_MulVL(n); |
22700 | break; |
22701 | } |
22702 | case Op_MulReductionVL: { _sub_Op_MulReductionVL(n); |
22703 | break; |
22704 | } |
22705 | case Op_MulVF: { _sub_Op_MulVF(n); |
22706 | break; |
22707 | } |
22708 | case Op_MulReductionVF: { _sub_Op_MulReductionVF(n); |
22709 | break; |
22710 | } |
22711 | case Op_MulVD: { _sub_Op_MulVD(n); |
22712 | break; |
22713 | } |
22714 | case Op_MulReductionVD: { _sub_Op_MulReductionVD(n); |
22715 | break; |
22716 | } |
22717 | case Op_MulAddVS2VI: { _sub_Op_MulAddVS2VI(n); |
22718 | break; |
22719 | } |
22720 | case Op_FmaVD: { _sub_Op_FmaVD(n); |
22721 | break; |
22722 | } |
22723 | case Op_FmaVF: { _sub_Op_FmaVF(n); |
22724 | break; |
22725 | } |
22726 | case Op_DivVF: { _sub_Op_DivVF(n); |
22727 | break; |
22728 | } |
22729 | case Op_DivVD: { _sub_Op_DivVD(n); |
22730 | break; |
22731 | } |
22732 | case Op_AbsVB: { _sub_Op_AbsVB(n); |
22733 | break; |
22734 | } |
22735 | case Op_AbsVS: { _sub_Op_AbsVS(n); |
22736 | break; |
22737 | } |
22738 | case Op_AbsVI: { _sub_Op_AbsVI(n); |
22739 | break; |
22740 | } |
22741 | case Op_AbsVL: { _sub_Op_AbsVL(n); |
22742 | break; |
22743 | } |
22744 | case Op_AbsVF: { _sub_Op_AbsVF(n); |
22745 | break; |
22746 | } |
22747 | case Op_AbsVD: { _sub_Op_AbsVD(n); |
22748 | break; |
22749 | } |
22750 | case Op_NegVF: { _sub_Op_NegVF(n); |
22751 | break; |
22752 | } |
22753 | case Op_NegVD: { _sub_Op_NegVD(n); |
22754 | break; |
22755 | } |
22756 | case Op_SqrtVD: { _sub_Op_SqrtVD(n); |
22757 | break; |
22758 | } |
22759 | case Op_SqrtVF: { _sub_Op_SqrtVF(n); |
22760 | break; |
22761 | } |
22762 | case Op_LShiftCntV: { _sub_Op_LShiftCntV(n); |
22763 | break; |
22764 | } |
22765 | case Op_RShiftCntV: { _sub_Op_RShiftCntV(n); |
22766 | break; |
22767 | } |
22768 | case Op_LShiftVB: { _sub_Op_LShiftVB(n); |
22769 | break; |
22770 | } |
22771 | case Op_LShiftVS: { _sub_Op_LShiftVS(n); |
22772 | break; |
22773 | } |
22774 | case Op_LShiftVI: { _sub_Op_LShiftVI(n); |
22775 | break; |
22776 | } |
22777 | case Op_LShiftVL: { _sub_Op_LShiftVL(n); |
22778 | break; |
22779 | } |
22780 | case Op_RShiftVB: { _sub_Op_RShiftVB(n); |
22781 | break; |
22782 | } |
22783 | case Op_RShiftVS: { _sub_Op_RShiftVS(n); |
22784 | break; |
22785 | } |
22786 | case Op_RShiftVI: { _sub_Op_RShiftVI(n); |
22787 | break; |
22788 | } |
22789 | case Op_RShiftVL: { _sub_Op_RShiftVL(n); |
22790 | break; |
22791 | } |
22792 | case Op_URShiftVB: { _sub_Op_URShiftVB(n); |
22793 | break; |
22794 | } |
22795 | case Op_URShiftVS: { _sub_Op_URShiftVS(n); |
22796 | break; |
22797 | } |
22798 | case Op_URShiftVI: { _sub_Op_URShiftVI(n); |
22799 | break; |
22800 | } |
22801 | case Op_URShiftVL: { _sub_Op_URShiftVL(n); |
22802 | break; |
22803 | } |
22804 | case Op_AndV: { _sub_Op_AndV(n); |
22805 | break; |
22806 | } |
22807 | case Op_OrV: { _sub_Op_OrV(n); |
22808 | break; |
22809 | } |
22810 | case Op_XorV: { _sub_Op_XorV(n); |
22811 | break; |
22812 | } |
22813 | case Op_LoadVector: { _sub_Op_LoadVector(n); |
22814 | break; |
22815 | } |
22816 | case Op_StoreVector: { _sub_Op_StoreVector(n); |
22817 | break; |
22818 | } |
22819 | case Op_ReplicateB: { _sub_Op_ReplicateB(n); |
22820 | break; |
22821 | } |
22822 | case Op_ReplicateS: { _sub_Op_ReplicateS(n); |
22823 | break; |
22824 | } |
22825 | case Op_ReplicateI: { _sub_Op_ReplicateI(n); |
22826 | break; |
22827 | } |
22828 | case Op_ReplicateL: { _sub_Op_ReplicateL(n); |
22829 | break; |
22830 | } |
22831 | case Op_ReplicateF: { _sub_Op_ReplicateF(n); |
22832 | break; |
22833 | } |
22834 | case Op_ReplicateD: { _sub_Op_ReplicateD(n); |
22835 | break; |
22836 | } |
22837 | |
22838 | default: |
22839 | tty->print("Default case invoked for: \n" ); |
22840 | tty->print(" opcode = %d, \"%s\"\n" , opcode, NodeClassNames[opcode]); |
22841 | return false; |
22842 | } |
22843 | return true; |
22844 | } |
22845 | |