1 | // Generated by opcode_generator.rb from /home/dima/wk/webkit/Source/JavaScriptCore/b3/air/AirOpcode.opcodes -- do not edit! |
2 | #ifndef AirOpcodeUtils_h |
3 | #define AirOpcodeUtils_h |
4 | #include "AirCustom.h" |
5 | #include "AirInst.h" |
6 | #include "AirFormTable.h" |
7 | namespace JSC { namespace B3 { namespace Air { |
8 | inline bool opgenHiddenTruth() { return true; } |
9 | template<typename T> |
10 | inline T* opgenHiddenPtrIdentity(T* pointer) { return pointer; } |
11 | #define OPGEN_RETURN(value) do {\ |
12 | if (opgenHiddenTruth())\ |
13 | return value;\ |
14 | } while (false) |
15 | template<typename Functor> |
16 | ALWAYS_INLINE void Inst::forEachArg(const Functor& functor) |
17 | { |
18 | switch (kind.opcode) { |
19 | case Opcode::EntrySwitch: |
20 | case Opcode::Shuffle: |
21 | case Opcode::Patch: |
22 | case Opcode::CCall: |
23 | case Opcode::ColdCCall: |
24 | case Opcode::WasmBoundsCheck: |
25 | forEachArgCustom(scopedLambdaRef<EachArgCallback>(functor)); |
26 | return; |
27 | default: |
28 | forEachArgSimple(functor); |
29 | return; |
30 | } |
31 | } |
32 | template<typename Func> |
33 | ALWAYS_INLINE void Inst::forEachArgSimple(const Func& func) |
34 | { |
35 | size_t numOperands = args.size(); |
36 | size_t formOffset = (numOperands - 1) * numOperands / 2; |
37 | const uint8_t* formBase = g_formTable + kind.opcode * 21 + formOffset; |
38 | for (size_t i = 0; i < numOperands; ++i) { |
39 | uint8_t form = formBase[i]; |
40 | ASSERT(!(form & (1 << formInvalidShift))); |
41 | func(args[i], decodeFormRole(form), decodeFormBank(form), decodeFormWidth(form)); |
42 | } |
43 | } |
44 | template<typename... Arguments> |
45 | ALWAYS_INLINE bool isValidForm(Opcode opcode, Arguments... arguments) |
46 | { |
47 | Arg::Kind kinds[sizeof...(Arguments)] = { arguments... }; |
48 | switch (opcode) { |
49 | case Opcode::Nop: |
50 | switch (sizeof...(Arguments)) { |
51 | case 0: |
52 | OPGEN_RETURN(true); |
53 | break; |
54 | break; |
55 | default: |
56 | break; |
57 | } |
58 | break; |
59 | case Opcode::Add32: |
60 | switch (sizeof...(Arguments)) { |
61 | case 3: |
62 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
63 | case Arg::Imm: |
64 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
65 | case Arg::Tmp: |
66 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
67 | case Arg::Tmp: |
68 | OPGEN_RETURN(true); |
69 | break; |
70 | break; |
71 | default: |
72 | break; |
73 | } |
74 | break; |
75 | default: |
76 | break; |
77 | } |
78 | break; |
79 | case Arg::Tmp: |
80 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
81 | case Arg::Tmp: |
82 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
83 | case Arg::Tmp: |
84 | OPGEN_RETURN(true); |
85 | break; |
86 | break; |
87 | default: |
88 | break; |
89 | } |
90 | break; |
91 | default: |
92 | break; |
93 | } |
94 | break; |
95 | default: |
96 | break; |
97 | } |
98 | break; |
99 | case 2: |
100 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
101 | case Arg::Tmp: |
102 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
103 | case Arg::Tmp: |
104 | OPGEN_RETURN(true); |
105 | break; |
106 | break; |
107 | case Arg::Addr: |
108 | case Arg::Stack: |
109 | case Arg::CallArg: |
110 | #if CPU(X86) || CPU(X86_64) |
111 | OPGEN_RETURN(true); |
112 | #endif |
113 | break; |
114 | break; |
115 | case Arg::Index: |
116 | #if CPU(X86) || CPU(X86_64) |
117 | OPGEN_RETURN(true); |
118 | #endif |
119 | break; |
120 | break; |
121 | default: |
122 | break; |
123 | } |
124 | break; |
125 | case Arg::Imm: |
126 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
127 | case Arg::Addr: |
128 | case Arg::Stack: |
129 | case Arg::CallArg: |
130 | #if CPU(X86) || CPU(X86_64) |
131 | OPGEN_RETURN(true); |
132 | #endif |
133 | break; |
134 | break; |
135 | case Arg::Index: |
136 | #if CPU(X86) || CPU(X86_64) |
137 | OPGEN_RETURN(true); |
138 | #endif |
139 | break; |
140 | break; |
141 | case Arg::Tmp: |
142 | OPGEN_RETURN(true); |
143 | break; |
144 | break; |
145 | default: |
146 | break; |
147 | } |
148 | break; |
149 | case Arg::Addr: |
150 | case Arg::Stack: |
151 | case Arg::CallArg: |
152 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
153 | case Arg::Tmp: |
154 | #if CPU(X86) || CPU(X86_64) |
155 | OPGEN_RETURN(true); |
156 | #endif |
157 | break; |
158 | break; |
159 | default: |
160 | break; |
161 | } |
162 | break; |
163 | case Arg::Index: |
164 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
165 | case Arg::Tmp: |
166 | #if CPU(X86) || CPU(X86_64) |
167 | OPGEN_RETURN(true); |
168 | #endif |
169 | break; |
170 | break; |
171 | default: |
172 | break; |
173 | } |
174 | break; |
175 | default: |
176 | break; |
177 | } |
178 | break; |
179 | default: |
180 | break; |
181 | } |
182 | break; |
183 | case Opcode::Add8: |
184 | switch (sizeof...(Arguments)) { |
185 | case 2: |
186 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
187 | case Arg::Imm: |
188 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
189 | case Arg::Addr: |
190 | case Arg::Stack: |
191 | case Arg::CallArg: |
192 | #if CPU(X86) || CPU(X86_64) |
193 | OPGEN_RETURN(true); |
194 | #endif |
195 | break; |
196 | break; |
197 | case Arg::Index: |
198 | #if CPU(X86) || CPU(X86_64) |
199 | OPGEN_RETURN(true); |
200 | #endif |
201 | break; |
202 | break; |
203 | default: |
204 | break; |
205 | } |
206 | break; |
207 | case Arg::Tmp: |
208 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
209 | case Arg::Addr: |
210 | case Arg::Stack: |
211 | case Arg::CallArg: |
212 | #if CPU(X86) || CPU(X86_64) |
213 | OPGEN_RETURN(true); |
214 | #endif |
215 | break; |
216 | break; |
217 | case Arg::Index: |
218 | #if CPU(X86) || CPU(X86_64) |
219 | OPGEN_RETURN(true); |
220 | #endif |
221 | break; |
222 | break; |
223 | default: |
224 | break; |
225 | } |
226 | break; |
227 | default: |
228 | break; |
229 | } |
230 | break; |
231 | default: |
232 | break; |
233 | } |
234 | break; |
235 | case Opcode::Add16: |
236 | switch (sizeof...(Arguments)) { |
237 | case 2: |
238 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
239 | case Arg::Imm: |
240 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
241 | case Arg::Addr: |
242 | case Arg::Stack: |
243 | case Arg::CallArg: |
244 | #if CPU(X86) || CPU(X86_64) |
245 | OPGEN_RETURN(true); |
246 | #endif |
247 | break; |
248 | break; |
249 | case Arg::Index: |
250 | #if CPU(X86) || CPU(X86_64) |
251 | OPGEN_RETURN(true); |
252 | #endif |
253 | break; |
254 | break; |
255 | default: |
256 | break; |
257 | } |
258 | break; |
259 | case Arg::Tmp: |
260 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
261 | case Arg::Addr: |
262 | case Arg::Stack: |
263 | case Arg::CallArg: |
264 | #if CPU(X86) || CPU(X86_64) |
265 | OPGEN_RETURN(true); |
266 | #endif |
267 | break; |
268 | break; |
269 | case Arg::Index: |
270 | #if CPU(X86) || CPU(X86_64) |
271 | OPGEN_RETURN(true); |
272 | #endif |
273 | break; |
274 | break; |
275 | default: |
276 | break; |
277 | } |
278 | break; |
279 | default: |
280 | break; |
281 | } |
282 | break; |
283 | default: |
284 | break; |
285 | } |
286 | break; |
287 | case Opcode::Add64: |
288 | switch (sizeof...(Arguments)) { |
289 | case 2: |
290 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
291 | case Arg::Tmp: |
292 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
293 | case Arg::Tmp: |
294 | #if CPU(X86_64) || CPU(ARM64) |
295 | OPGEN_RETURN(true); |
296 | #endif |
297 | break; |
298 | break; |
299 | case Arg::Addr: |
300 | case Arg::Stack: |
301 | case Arg::CallArg: |
302 | #if CPU(X86_64) |
303 | OPGEN_RETURN(true); |
304 | #endif |
305 | break; |
306 | break; |
307 | case Arg::Index: |
308 | #if CPU(X86_64) |
309 | OPGEN_RETURN(true); |
310 | #endif |
311 | break; |
312 | break; |
313 | default: |
314 | break; |
315 | } |
316 | break; |
317 | case Arg::Imm: |
318 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
319 | case Arg::Addr: |
320 | case Arg::Stack: |
321 | case Arg::CallArg: |
322 | #if CPU(X86_64) |
323 | OPGEN_RETURN(true); |
324 | #endif |
325 | break; |
326 | break; |
327 | case Arg::Index: |
328 | #if CPU(X86_64) |
329 | OPGEN_RETURN(true); |
330 | #endif |
331 | break; |
332 | break; |
333 | case Arg::Tmp: |
334 | #if CPU(X86_64) || CPU(ARM64) |
335 | OPGEN_RETURN(true); |
336 | #endif |
337 | break; |
338 | break; |
339 | default: |
340 | break; |
341 | } |
342 | break; |
343 | case Arg::Addr: |
344 | case Arg::Stack: |
345 | case Arg::CallArg: |
346 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
347 | case Arg::Tmp: |
348 | #if CPU(X86_64) |
349 | OPGEN_RETURN(true); |
350 | #endif |
351 | break; |
352 | break; |
353 | default: |
354 | break; |
355 | } |
356 | break; |
357 | case Arg::Index: |
358 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
359 | case Arg::Tmp: |
360 | #if CPU(X86_64) |
361 | OPGEN_RETURN(true); |
362 | #endif |
363 | break; |
364 | break; |
365 | default: |
366 | break; |
367 | } |
368 | break; |
369 | default: |
370 | break; |
371 | } |
372 | break; |
373 | case 3: |
374 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
375 | case Arg::Imm: |
376 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
377 | case Arg::Tmp: |
378 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
379 | case Arg::Tmp: |
380 | #if CPU(X86_64) || CPU(ARM64) |
381 | OPGEN_RETURN(true); |
382 | #endif |
383 | break; |
384 | break; |
385 | default: |
386 | break; |
387 | } |
388 | break; |
389 | default: |
390 | break; |
391 | } |
392 | break; |
393 | case Arg::Tmp: |
394 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
395 | case Arg::Tmp: |
396 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
397 | case Arg::Tmp: |
398 | #if CPU(X86_64) || CPU(ARM64) |
399 | OPGEN_RETURN(true); |
400 | #endif |
401 | break; |
402 | break; |
403 | default: |
404 | break; |
405 | } |
406 | break; |
407 | default: |
408 | break; |
409 | } |
410 | break; |
411 | default: |
412 | break; |
413 | } |
414 | break; |
415 | default: |
416 | break; |
417 | } |
418 | break; |
419 | case Opcode::AddDouble: |
420 | switch (sizeof...(Arguments)) { |
421 | case 3: |
422 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
423 | case Arg::Tmp: |
424 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
425 | case Arg::Tmp: |
426 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
427 | case Arg::Tmp: |
428 | OPGEN_RETURN(true); |
429 | break; |
430 | break; |
431 | default: |
432 | break; |
433 | } |
434 | break; |
435 | case Arg::Addr: |
436 | case Arg::Stack: |
437 | case Arg::CallArg: |
438 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
439 | case Arg::Tmp: |
440 | #if CPU(X86) || CPU(X86_64) |
441 | OPGEN_RETURN(true); |
442 | #endif |
443 | break; |
444 | break; |
445 | default: |
446 | break; |
447 | } |
448 | break; |
449 | default: |
450 | break; |
451 | } |
452 | break; |
453 | case Arg::Addr: |
454 | case Arg::Stack: |
455 | case Arg::CallArg: |
456 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
457 | case Arg::Tmp: |
458 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
459 | case Arg::Tmp: |
460 | #if CPU(X86) || CPU(X86_64) |
461 | OPGEN_RETURN(true); |
462 | #endif |
463 | break; |
464 | break; |
465 | default: |
466 | break; |
467 | } |
468 | break; |
469 | default: |
470 | break; |
471 | } |
472 | break; |
473 | case Arg::Index: |
474 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
475 | case Arg::Tmp: |
476 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
477 | case Arg::Tmp: |
478 | #if CPU(X86) || CPU(X86_64) |
479 | OPGEN_RETURN(true); |
480 | #endif |
481 | break; |
482 | break; |
483 | default: |
484 | break; |
485 | } |
486 | break; |
487 | default: |
488 | break; |
489 | } |
490 | break; |
491 | default: |
492 | break; |
493 | } |
494 | break; |
495 | case 2: |
496 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
497 | case Arg::Tmp: |
498 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
499 | case Arg::Tmp: |
500 | #if CPU(X86) || CPU(X86_64) |
501 | OPGEN_RETURN(true); |
502 | #endif |
503 | break; |
504 | break; |
505 | default: |
506 | break; |
507 | } |
508 | break; |
509 | case Arg::Addr: |
510 | case Arg::Stack: |
511 | case Arg::CallArg: |
512 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
513 | case Arg::Tmp: |
514 | #if CPU(X86) || CPU(X86_64) |
515 | OPGEN_RETURN(true); |
516 | #endif |
517 | break; |
518 | break; |
519 | default: |
520 | break; |
521 | } |
522 | break; |
523 | default: |
524 | break; |
525 | } |
526 | break; |
527 | default: |
528 | break; |
529 | } |
530 | break; |
531 | case Opcode::AddFloat: |
532 | switch (sizeof...(Arguments)) { |
533 | case 3: |
534 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
535 | case Arg::Tmp: |
536 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
537 | case Arg::Tmp: |
538 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
539 | case Arg::Tmp: |
540 | OPGEN_RETURN(true); |
541 | break; |
542 | break; |
543 | default: |
544 | break; |
545 | } |
546 | break; |
547 | case Arg::Addr: |
548 | case Arg::Stack: |
549 | case Arg::CallArg: |
550 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
551 | case Arg::Tmp: |
552 | #if CPU(X86) || CPU(X86_64) |
553 | OPGEN_RETURN(true); |
554 | #endif |
555 | break; |
556 | break; |
557 | default: |
558 | break; |
559 | } |
560 | break; |
561 | default: |
562 | break; |
563 | } |
564 | break; |
565 | case Arg::Addr: |
566 | case Arg::Stack: |
567 | case Arg::CallArg: |
568 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
569 | case Arg::Tmp: |
570 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
571 | case Arg::Tmp: |
572 | #if CPU(X86) || CPU(X86_64) |
573 | OPGEN_RETURN(true); |
574 | #endif |
575 | break; |
576 | break; |
577 | default: |
578 | break; |
579 | } |
580 | break; |
581 | default: |
582 | break; |
583 | } |
584 | break; |
585 | case Arg::Index: |
586 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
587 | case Arg::Tmp: |
588 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
589 | case Arg::Tmp: |
590 | #if CPU(X86) || CPU(X86_64) |
591 | OPGEN_RETURN(true); |
592 | #endif |
593 | break; |
594 | break; |
595 | default: |
596 | break; |
597 | } |
598 | break; |
599 | default: |
600 | break; |
601 | } |
602 | break; |
603 | default: |
604 | break; |
605 | } |
606 | break; |
607 | case 2: |
608 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
609 | case Arg::Tmp: |
610 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
611 | case Arg::Tmp: |
612 | #if CPU(X86) || CPU(X86_64) |
613 | OPGEN_RETURN(true); |
614 | #endif |
615 | break; |
616 | break; |
617 | default: |
618 | break; |
619 | } |
620 | break; |
621 | case Arg::Addr: |
622 | case Arg::Stack: |
623 | case Arg::CallArg: |
624 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
625 | case Arg::Tmp: |
626 | #if CPU(X86) || CPU(X86_64) |
627 | OPGEN_RETURN(true); |
628 | #endif |
629 | break; |
630 | break; |
631 | default: |
632 | break; |
633 | } |
634 | break; |
635 | default: |
636 | break; |
637 | } |
638 | break; |
639 | default: |
640 | break; |
641 | } |
642 | break; |
643 | case Opcode::Sub32: |
644 | switch (sizeof...(Arguments)) { |
645 | case 2: |
646 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
647 | case Arg::Tmp: |
648 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
649 | case Arg::Tmp: |
650 | OPGEN_RETURN(true); |
651 | break; |
652 | break; |
653 | case Arg::Addr: |
654 | case Arg::Stack: |
655 | case Arg::CallArg: |
656 | #if CPU(X86) || CPU(X86_64) |
657 | OPGEN_RETURN(true); |
658 | #endif |
659 | break; |
660 | break; |
661 | case Arg::Index: |
662 | #if CPU(X86) || CPU(X86_64) |
663 | OPGEN_RETURN(true); |
664 | #endif |
665 | break; |
666 | break; |
667 | default: |
668 | break; |
669 | } |
670 | break; |
671 | case Arg::Imm: |
672 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
673 | case Arg::Addr: |
674 | case Arg::Stack: |
675 | case Arg::CallArg: |
676 | #if CPU(X86) || CPU(X86_64) |
677 | OPGEN_RETURN(true); |
678 | #endif |
679 | break; |
680 | break; |
681 | case Arg::Index: |
682 | #if CPU(X86) || CPU(X86_64) |
683 | OPGEN_RETURN(true); |
684 | #endif |
685 | break; |
686 | break; |
687 | case Arg::Tmp: |
688 | OPGEN_RETURN(true); |
689 | break; |
690 | break; |
691 | default: |
692 | break; |
693 | } |
694 | break; |
695 | case Arg::Addr: |
696 | case Arg::Stack: |
697 | case Arg::CallArg: |
698 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
699 | case Arg::Tmp: |
700 | #if CPU(X86) || CPU(X86_64) |
701 | OPGEN_RETURN(true); |
702 | #endif |
703 | break; |
704 | break; |
705 | default: |
706 | break; |
707 | } |
708 | break; |
709 | case Arg::Index: |
710 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
711 | case Arg::Tmp: |
712 | #if CPU(X86) || CPU(X86_64) |
713 | OPGEN_RETURN(true); |
714 | #endif |
715 | break; |
716 | break; |
717 | default: |
718 | break; |
719 | } |
720 | break; |
721 | default: |
722 | break; |
723 | } |
724 | break; |
725 | case 3: |
726 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
727 | case Arg::Tmp: |
728 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
729 | case Arg::Tmp: |
730 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
731 | case Arg::Tmp: |
732 | #if CPU(ARM64) |
733 | OPGEN_RETURN(true); |
734 | #endif |
735 | break; |
736 | break; |
737 | default: |
738 | break; |
739 | } |
740 | break; |
741 | default: |
742 | break; |
743 | } |
744 | break; |
745 | default: |
746 | break; |
747 | } |
748 | break; |
749 | default: |
750 | break; |
751 | } |
752 | break; |
753 | case Opcode::Sub64: |
754 | switch (sizeof...(Arguments)) { |
755 | case 2: |
756 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
757 | case Arg::Tmp: |
758 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
759 | case Arg::Tmp: |
760 | #if CPU(X86_64) || CPU(ARM64) |
761 | OPGEN_RETURN(true); |
762 | #endif |
763 | break; |
764 | break; |
765 | case Arg::Addr: |
766 | case Arg::Stack: |
767 | case Arg::CallArg: |
768 | #if CPU(X86_64) |
769 | OPGEN_RETURN(true); |
770 | #endif |
771 | break; |
772 | break; |
773 | case Arg::Index: |
774 | #if CPU(X86_64) |
775 | OPGEN_RETURN(true); |
776 | #endif |
777 | break; |
778 | break; |
779 | default: |
780 | break; |
781 | } |
782 | break; |
783 | case Arg::Imm: |
784 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
785 | case Arg::Addr: |
786 | case Arg::Stack: |
787 | case Arg::CallArg: |
788 | #if CPU(X86_64) |
789 | OPGEN_RETURN(true); |
790 | #endif |
791 | break; |
792 | break; |
793 | case Arg::Index: |
794 | #if CPU(X86_64) |
795 | OPGEN_RETURN(true); |
796 | #endif |
797 | break; |
798 | break; |
799 | case Arg::Tmp: |
800 | #if CPU(X86_64) || CPU(ARM64) |
801 | OPGEN_RETURN(true); |
802 | #endif |
803 | break; |
804 | break; |
805 | default: |
806 | break; |
807 | } |
808 | break; |
809 | case Arg::Addr: |
810 | case Arg::Stack: |
811 | case Arg::CallArg: |
812 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
813 | case Arg::Tmp: |
814 | #if CPU(X86_64) |
815 | OPGEN_RETURN(true); |
816 | #endif |
817 | break; |
818 | break; |
819 | default: |
820 | break; |
821 | } |
822 | break; |
823 | case Arg::Index: |
824 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
825 | case Arg::Tmp: |
826 | #if CPU(X86_64) |
827 | OPGEN_RETURN(true); |
828 | #endif |
829 | break; |
830 | break; |
831 | default: |
832 | break; |
833 | } |
834 | break; |
835 | default: |
836 | break; |
837 | } |
838 | break; |
839 | case 3: |
840 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
841 | case Arg::Tmp: |
842 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
843 | case Arg::Tmp: |
844 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
845 | case Arg::Tmp: |
846 | #if CPU(ARM64) |
847 | OPGEN_RETURN(true); |
848 | #endif |
849 | break; |
850 | break; |
851 | default: |
852 | break; |
853 | } |
854 | break; |
855 | default: |
856 | break; |
857 | } |
858 | break; |
859 | default: |
860 | break; |
861 | } |
862 | break; |
863 | default: |
864 | break; |
865 | } |
866 | break; |
867 | case Opcode::SubDouble: |
868 | switch (sizeof...(Arguments)) { |
869 | case 3: |
870 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
871 | case Arg::Tmp: |
872 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
873 | case Arg::Tmp: |
874 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
875 | case Arg::Tmp: |
876 | #if CPU(ARM64) |
877 | OPGEN_RETURN(true); |
878 | #endif |
879 | break; |
880 | break; |
881 | default: |
882 | break; |
883 | } |
884 | break; |
885 | case Arg::Addr: |
886 | case Arg::Stack: |
887 | case Arg::CallArg: |
888 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
889 | case Arg::Tmp: |
890 | #if CPU(X86) || CPU(X86_64) |
891 | OPGEN_RETURN(true); |
892 | #endif |
893 | break; |
894 | break; |
895 | default: |
896 | break; |
897 | } |
898 | break; |
899 | case Arg::Index: |
900 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
901 | case Arg::Tmp: |
902 | #if CPU(X86) || CPU(X86_64) |
903 | OPGEN_RETURN(true); |
904 | #endif |
905 | break; |
906 | break; |
907 | default: |
908 | break; |
909 | } |
910 | break; |
911 | default: |
912 | break; |
913 | } |
914 | break; |
915 | default: |
916 | break; |
917 | } |
918 | break; |
919 | case 2: |
920 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
921 | case Arg::Tmp: |
922 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
923 | case Arg::Tmp: |
924 | #if CPU(X86) || CPU(X86_64) |
925 | OPGEN_RETURN(true); |
926 | #endif |
927 | break; |
928 | break; |
929 | default: |
930 | break; |
931 | } |
932 | break; |
933 | case Arg::Addr: |
934 | case Arg::Stack: |
935 | case Arg::CallArg: |
936 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
937 | case Arg::Tmp: |
938 | #if CPU(X86) || CPU(X86_64) |
939 | OPGEN_RETURN(true); |
940 | #endif |
941 | break; |
942 | break; |
943 | default: |
944 | break; |
945 | } |
946 | break; |
947 | default: |
948 | break; |
949 | } |
950 | break; |
951 | default: |
952 | break; |
953 | } |
954 | break; |
955 | case Opcode::SubFloat: |
956 | switch (sizeof...(Arguments)) { |
957 | case 3: |
958 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
959 | case Arg::Tmp: |
960 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
961 | case Arg::Tmp: |
962 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
963 | case Arg::Tmp: |
964 | #if CPU(ARM64) |
965 | OPGEN_RETURN(true); |
966 | #endif |
967 | break; |
968 | break; |
969 | default: |
970 | break; |
971 | } |
972 | break; |
973 | case Arg::Addr: |
974 | case Arg::Stack: |
975 | case Arg::CallArg: |
976 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
977 | case Arg::Tmp: |
978 | #if CPU(X86) || CPU(X86_64) |
979 | OPGEN_RETURN(true); |
980 | #endif |
981 | break; |
982 | break; |
983 | default: |
984 | break; |
985 | } |
986 | break; |
987 | case Arg::Index: |
988 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
989 | case Arg::Tmp: |
990 | #if CPU(X86) || CPU(X86_64) |
991 | OPGEN_RETURN(true); |
992 | #endif |
993 | break; |
994 | break; |
995 | default: |
996 | break; |
997 | } |
998 | break; |
999 | default: |
1000 | break; |
1001 | } |
1002 | break; |
1003 | default: |
1004 | break; |
1005 | } |
1006 | break; |
1007 | case 2: |
1008 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1009 | case Arg::Tmp: |
1010 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1011 | case Arg::Tmp: |
1012 | #if CPU(X86) || CPU(X86_64) |
1013 | OPGEN_RETURN(true); |
1014 | #endif |
1015 | break; |
1016 | break; |
1017 | default: |
1018 | break; |
1019 | } |
1020 | break; |
1021 | case Arg::Addr: |
1022 | case Arg::Stack: |
1023 | case Arg::CallArg: |
1024 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1025 | case Arg::Tmp: |
1026 | #if CPU(X86) || CPU(X86_64) |
1027 | OPGEN_RETURN(true); |
1028 | #endif |
1029 | break; |
1030 | break; |
1031 | default: |
1032 | break; |
1033 | } |
1034 | break; |
1035 | default: |
1036 | break; |
1037 | } |
1038 | break; |
1039 | default: |
1040 | break; |
1041 | } |
1042 | break; |
1043 | case Opcode::Neg32: |
1044 | switch (sizeof...(Arguments)) { |
1045 | case 1: |
1046 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1047 | case Arg::Tmp: |
1048 | OPGEN_RETURN(true); |
1049 | break; |
1050 | break; |
1051 | case Arg::Addr: |
1052 | case Arg::Stack: |
1053 | case Arg::CallArg: |
1054 | #if CPU(X86) || CPU(X86_64) |
1055 | OPGEN_RETURN(true); |
1056 | #endif |
1057 | break; |
1058 | break; |
1059 | case Arg::Index: |
1060 | #if CPU(X86) || CPU(X86_64) |
1061 | OPGEN_RETURN(true); |
1062 | #endif |
1063 | break; |
1064 | break; |
1065 | default: |
1066 | break; |
1067 | } |
1068 | break; |
1069 | default: |
1070 | break; |
1071 | } |
1072 | break; |
1073 | case Opcode::Neg64: |
1074 | switch (sizeof...(Arguments)) { |
1075 | case 1: |
1076 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1077 | case Arg::Tmp: |
1078 | #if CPU(X86_64) || CPU(ARM64) |
1079 | OPGEN_RETURN(true); |
1080 | #endif |
1081 | break; |
1082 | break; |
1083 | case Arg::Addr: |
1084 | case Arg::Stack: |
1085 | case Arg::CallArg: |
1086 | #if CPU(X86_64) |
1087 | OPGEN_RETURN(true); |
1088 | #endif |
1089 | break; |
1090 | break; |
1091 | case Arg::Index: |
1092 | #if CPU(X86_64) |
1093 | OPGEN_RETURN(true); |
1094 | #endif |
1095 | break; |
1096 | break; |
1097 | default: |
1098 | break; |
1099 | } |
1100 | break; |
1101 | default: |
1102 | break; |
1103 | } |
1104 | break; |
1105 | case Opcode::NegateDouble: |
1106 | switch (sizeof...(Arguments)) { |
1107 | case 2: |
1108 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1109 | case Arg::Tmp: |
1110 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1111 | case Arg::Tmp: |
1112 | #if CPU(ARM64) |
1113 | OPGEN_RETURN(true); |
1114 | #endif |
1115 | break; |
1116 | break; |
1117 | default: |
1118 | break; |
1119 | } |
1120 | break; |
1121 | default: |
1122 | break; |
1123 | } |
1124 | break; |
1125 | default: |
1126 | break; |
1127 | } |
1128 | break; |
1129 | case Opcode::NegateFloat: |
1130 | switch (sizeof...(Arguments)) { |
1131 | case 2: |
1132 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1133 | case Arg::Tmp: |
1134 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1135 | case Arg::Tmp: |
1136 | #if CPU(ARM64) |
1137 | OPGEN_RETURN(true); |
1138 | #endif |
1139 | break; |
1140 | break; |
1141 | default: |
1142 | break; |
1143 | } |
1144 | break; |
1145 | default: |
1146 | break; |
1147 | } |
1148 | break; |
1149 | default: |
1150 | break; |
1151 | } |
1152 | break; |
1153 | case Opcode::Mul32: |
1154 | switch (sizeof...(Arguments)) { |
1155 | case 2: |
1156 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1157 | case Arg::Tmp: |
1158 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1159 | case Arg::Tmp: |
1160 | OPGEN_RETURN(true); |
1161 | break; |
1162 | break; |
1163 | default: |
1164 | break; |
1165 | } |
1166 | break; |
1167 | case Arg::Addr: |
1168 | case Arg::Stack: |
1169 | case Arg::CallArg: |
1170 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1171 | case Arg::Tmp: |
1172 | #if CPU(X86) || CPU(X86_64) |
1173 | OPGEN_RETURN(true); |
1174 | #endif |
1175 | break; |
1176 | break; |
1177 | default: |
1178 | break; |
1179 | } |
1180 | break; |
1181 | default: |
1182 | break; |
1183 | } |
1184 | break; |
1185 | case 3: |
1186 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1187 | case Arg::Tmp: |
1188 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1189 | case Arg::Tmp: |
1190 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1191 | case Arg::Tmp: |
1192 | OPGEN_RETURN(true); |
1193 | break; |
1194 | break; |
1195 | default: |
1196 | break; |
1197 | } |
1198 | break; |
1199 | case Arg::Addr: |
1200 | case Arg::Stack: |
1201 | case Arg::CallArg: |
1202 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1203 | case Arg::Tmp: |
1204 | #if CPU(X86) || CPU(X86_64) |
1205 | OPGEN_RETURN(true); |
1206 | #endif |
1207 | break; |
1208 | break; |
1209 | default: |
1210 | break; |
1211 | } |
1212 | break; |
1213 | default: |
1214 | break; |
1215 | } |
1216 | break; |
1217 | case Arg::Addr: |
1218 | case Arg::Stack: |
1219 | case Arg::CallArg: |
1220 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1221 | case Arg::Tmp: |
1222 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1223 | case Arg::Tmp: |
1224 | #if CPU(X86) || CPU(X86_64) |
1225 | OPGEN_RETURN(true); |
1226 | #endif |
1227 | break; |
1228 | break; |
1229 | default: |
1230 | break; |
1231 | } |
1232 | break; |
1233 | default: |
1234 | break; |
1235 | } |
1236 | break; |
1237 | case Arg::Imm: |
1238 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1239 | case Arg::Tmp: |
1240 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1241 | case Arg::Tmp: |
1242 | #if CPU(X86) || CPU(X86_64) |
1243 | OPGEN_RETURN(true); |
1244 | #endif |
1245 | break; |
1246 | break; |
1247 | default: |
1248 | break; |
1249 | } |
1250 | break; |
1251 | default: |
1252 | break; |
1253 | } |
1254 | break; |
1255 | default: |
1256 | break; |
1257 | } |
1258 | break; |
1259 | default: |
1260 | break; |
1261 | } |
1262 | break; |
1263 | case Opcode::Mul64: |
1264 | switch (sizeof...(Arguments)) { |
1265 | case 2: |
1266 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1267 | case Arg::Tmp: |
1268 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1269 | case Arg::Tmp: |
1270 | #if CPU(X86_64) || CPU(ARM64) |
1271 | OPGEN_RETURN(true); |
1272 | #endif |
1273 | break; |
1274 | break; |
1275 | default: |
1276 | break; |
1277 | } |
1278 | break; |
1279 | default: |
1280 | break; |
1281 | } |
1282 | break; |
1283 | case 3: |
1284 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1285 | case Arg::Tmp: |
1286 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1287 | case Arg::Tmp: |
1288 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1289 | case Arg::Tmp: |
1290 | OPGEN_RETURN(true); |
1291 | break; |
1292 | break; |
1293 | default: |
1294 | break; |
1295 | } |
1296 | break; |
1297 | default: |
1298 | break; |
1299 | } |
1300 | break; |
1301 | default: |
1302 | break; |
1303 | } |
1304 | break; |
1305 | default: |
1306 | break; |
1307 | } |
1308 | break; |
1309 | case Opcode::MultiplyAdd32: |
1310 | switch (sizeof...(Arguments)) { |
1311 | case 4: |
1312 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1313 | case Arg::Tmp: |
1314 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1315 | case Arg::Tmp: |
1316 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1317 | case Arg::Tmp: |
1318 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
1319 | case Arg::Tmp: |
1320 | #if CPU(ARM64) |
1321 | OPGEN_RETURN(true); |
1322 | #endif |
1323 | break; |
1324 | break; |
1325 | default: |
1326 | break; |
1327 | } |
1328 | break; |
1329 | default: |
1330 | break; |
1331 | } |
1332 | break; |
1333 | default: |
1334 | break; |
1335 | } |
1336 | break; |
1337 | default: |
1338 | break; |
1339 | } |
1340 | break; |
1341 | default: |
1342 | break; |
1343 | } |
1344 | break; |
1345 | case Opcode::MultiplyAdd64: |
1346 | switch (sizeof...(Arguments)) { |
1347 | case 4: |
1348 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1349 | case Arg::Tmp: |
1350 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1351 | case Arg::Tmp: |
1352 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1353 | case Arg::Tmp: |
1354 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
1355 | case Arg::Tmp: |
1356 | #if CPU(ARM64) |
1357 | OPGEN_RETURN(true); |
1358 | #endif |
1359 | break; |
1360 | break; |
1361 | default: |
1362 | break; |
1363 | } |
1364 | break; |
1365 | default: |
1366 | break; |
1367 | } |
1368 | break; |
1369 | default: |
1370 | break; |
1371 | } |
1372 | break; |
1373 | default: |
1374 | break; |
1375 | } |
1376 | break; |
1377 | default: |
1378 | break; |
1379 | } |
1380 | break; |
1381 | case Opcode::MultiplySub32: |
1382 | switch (sizeof...(Arguments)) { |
1383 | case 4: |
1384 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1385 | case Arg::Tmp: |
1386 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1387 | case Arg::Tmp: |
1388 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1389 | case Arg::Tmp: |
1390 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
1391 | case Arg::Tmp: |
1392 | #if CPU(ARM64) |
1393 | OPGEN_RETURN(true); |
1394 | #endif |
1395 | break; |
1396 | break; |
1397 | default: |
1398 | break; |
1399 | } |
1400 | break; |
1401 | default: |
1402 | break; |
1403 | } |
1404 | break; |
1405 | default: |
1406 | break; |
1407 | } |
1408 | break; |
1409 | default: |
1410 | break; |
1411 | } |
1412 | break; |
1413 | default: |
1414 | break; |
1415 | } |
1416 | break; |
1417 | case Opcode::MultiplySub64: |
1418 | switch (sizeof...(Arguments)) { |
1419 | case 4: |
1420 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1421 | case Arg::Tmp: |
1422 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1423 | case Arg::Tmp: |
1424 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1425 | case Arg::Tmp: |
1426 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
1427 | case Arg::Tmp: |
1428 | #if CPU(ARM64) |
1429 | OPGEN_RETURN(true); |
1430 | #endif |
1431 | break; |
1432 | break; |
1433 | default: |
1434 | break; |
1435 | } |
1436 | break; |
1437 | default: |
1438 | break; |
1439 | } |
1440 | break; |
1441 | default: |
1442 | break; |
1443 | } |
1444 | break; |
1445 | default: |
1446 | break; |
1447 | } |
1448 | break; |
1449 | default: |
1450 | break; |
1451 | } |
1452 | break; |
1453 | case Opcode::MultiplyNeg32: |
1454 | switch (sizeof...(Arguments)) { |
1455 | case 3: |
1456 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1457 | case Arg::Tmp: |
1458 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1459 | case Arg::Tmp: |
1460 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1461 | case Arg::Tmp: |
1462 | #if CPU(ARM64) |
1463 | OPGEN_RETURN(true); |
1464 | #endif |
1465 | break; |
1466 | break; |
1467 | default: |
1468 | break; |
1469 | } |
1470 | break; |
1471 | default: |
1472 | break; |
1473 | } |
1474 | break; |
1475 | default: |
1476 | break; |
1477 | } |
1478 | break; |
1479 | default: |
1480 | break; |
1481 | } |
1482 | break; |
1483 | case Opcode::MultiplyNeg64: |
1484 | switch (sizeof...(Arguments)) { |
1485 | case 3: |
1486 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1487 | case Arg::Tmp: |
1488 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1489 | case Arg::Tmp: |
1490 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1491 | case Arg::Tmp: |
1492 | #if CPU(ARM64) |
1493 | OPGEN_RETURN(true); |
1494 | #endif |
1495 | break; |
1496 | break; |
1497 | default: |
1498 | break; |
1499 | } |
1500 | break; |
1501 | default: |
1502 | break; |
1503 | } |
1504 | break; |
1505 | default: |
1506 | break; |
1507 | } |
1508 | break; |
1509 | default: |
1510 | break; |
1511 | } |
1512 | break; |
1513 | case Opcode::MultiplySignExtend32: |
1514 | switch (sizeof...(Arguments)) { |
1515 | case 3: |
1516 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1517 | case Arg::Tmp: |
1518 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1519 | case Arg::Tmp: |
1520 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1521 | case Arg::Tmp: |
1522 | #if CPU(ARM64) |
1523 | OPGEN_RETURN(true); |
1524 | #endif |
1525 | break; |
1526 | break; |
1527 | default: |
1528 | break; |
1529 | } |
1530 | break; |
1531 | default: |
1532 | break; |
1533 | } |
1534 | break; |
1535 | default: |
1536 | break; |
1537 | } |
1538 | break; |
1539 | default: |
1540 | break; |
1541 | } |
1542 | break; |
1543 | case Opcode::Div32: |
1544 | switch (sizeof...(Arguments)) { |
1545 | case 3: |
1546 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1547 | case Arg::Tmp: |
1548 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1549 | case Arg::Tmp: |
1550 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1551 | case Arg::Tmp: |
1552 | #if CPU(ARM64) |
1553 | OPGEN_RETURN(true); |
1554 | #endif |
1555 | break; |
1556 | break; |
1557 | default: |
1558 | break; |
1559 | } |
1560 | break; |
1561 | default: |
1562 | break; |
1563 | } |
1564 | break; |
1565 | default: |
1566 | break; |
1567 | } |
1568 | break; |
1569 | default: |
1570 | break; |
1571 | } |
1572 | break; |
1573 | case Opcode::UDiv32: |
1574 | switch (sizeof...(Arguments)) { |
1575 | case 3: |
1576 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1577 | case Arg::Tmp: |
1578 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1579 | case Arg::Tmp: |
1580 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1581 | case Arg::Tmp: |
1582 | #if CPU(ARM64) |
1583 | OPGEN_RETURN(true); |
1584 | #endif |
1585 | break; |
1586 | break; |
1587 | default: |
1588 | break; |
1589 | } |
1590 | break; |
1591 | default: |
1592 | break; |
1593 | } |
1594 | break; |
1595 | default: |
1596 | break; |
1597 | } |
1598 | break; |
1599 | default: |
1600 | break; |
1601 | } |
1602 | break; |
1603 | case Opcode::Div64: |
1604 | switch (sizeof...(Arguments)) { |
1605 | case 3: |
1606 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1607 | case Arg::Tmp: |
1608 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1609 | case Arg::Tmp: |
1610 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1611 | case Arg::Tmp: |
1612 | #if CPU(ARM64) |
1613 | OPGEN_RETURN(true); |
1614 | #endif |
1615 | break; |
1616 | break; |
1617 | default: |
1618 | break; |
1619 | } |
1620 | break; |
1621 | default: |
1622 | break; |
1623 | } |
1624 | break; |
1625 | default: |
1626 | break; |
1627 | } |
1628 | break; |
1629 | default: |
1630 | break; |
1631 | } |
1632 | break; |
1633 | case Opcode::UDiv64: |
1634 | switch (sizeof...(Arguments)) { |
1635 | case 3: |
1636 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1637 | case Arg::Tmp: |
1638 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1639 | case Arg::Tmp: |
1640 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1641 | case Arg::Tmp: |
1642 | #if CPU(ARM64) |
1643 | OPGEN_RETURN(true); |
1644 | #endif |
1645 | break; |
1646 | break; |
1647 | default: |
1648 | break; |
1649 | } |
1650 | break; |
1651 | default: |
1652 | break; |
1653 | } |
1654 | break; |
1655 | default: |
1656 | break; |
1657 | } |
1658 | break; |
1659 | default: |
1660 | break; |
1661 | } |
1662 | break; |
1663 | case Opcode::MulDouble: |
1664 | switch (sizeof...(Arguments)) { |
1665 | case 3: |
1666 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1667 | case Arg::Tmp: |
1668 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1669 | case Arg::Tmp: |
1670 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1671 | case Arg::Tmp: |
1672 | OPGEN_RETURN(true); |
1673 | break; |
1674 | break; |
1675 | default: |
1676 | break; |
1677 | } |
1678 | break; |
1679 | case Arg::Addr: |
1680 | case Arg::Stack: |
1681 | case Arg::CallArg: |
1682 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1683 | case Arg::Tmp: |
1684 | #if CPU(X86) || CPU(X86_64) |
1685 | OPGEN_RETURN(true); |
1686 | #endif |
1687 | break; |
1688 | break; |
1689 | default: |
1690 | break; |
1691 | } |
1692 | break; |
1693 | default: |
1694 | break; |
1695 | } |
1696 | break; |
1697 | case Arg::Addr: |
1698 | case Arg::Stack: |
1699 | case Arg::CallArg: |
1700 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1701 | case Arg::Tmp: |
1702 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1703 | case Arg::Tmp: |
1704 | #if CPU(X86) || CPU(X86_64) |
1705 | OPGEN_RETURN(true); |
1706 | #endif |
1707 | break; |
1708 | break; |
1709 | default: |
1710 | break; |
1711 | } |
1712 | break; |
1713 | default: |
1714 | break; |
1715 | } |
1716 | break; |
1717 | case Arg::Index: |
1718 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1719 | case Arg::Tmp: |
1720 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1721 | case Arg::Tmp: |
1722 | #if CPU(X86) || CPU(X86_64) |
1723 | OPGEN_RETURN(true); |
1724 | #endif |
1725 | break; |
1726 | break; |
1727 | default: |
1728 | break; |
1729 | } |
1730 | break; |
1731 | default: |
1732 | break; |
1733 | } |
1734 | break; |
1735 | default: |
1736 | break; |
1737 | } |
1738 | break; |
1739 | case 2: |
1740 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1741 | case Arg::Tmp: |
1742 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1743 | case Arg::Tmp: |
1744 | #if CPU(X86) || CPU(X86_64) |
1745 | OPGEN_RETURN(true); |
1746 | #endif |
1747 | break; |
1748 | break; |
1749 | default: |
1750 | break; |
1751 | } |
1752 | break; |
1753 | case Arg::Addr: |
1754 | case Arg::Stack: |
1755 | case Arg::CallArg: |
1756 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1757 | case Arg::Tmp: |
1758 | #if CPU(X86) || CPU(X86_64) |
1759 | OPGEN_RETURN(true); |
1760 | #endif |
1761 | break; |
1762 | break; |
1763 | default: |
1764 | break; |
1765 | } |
1766 | break; |
1767 | default: |
1768 | break; |
1769 | } |
1770 | break; |
1771 | default: |
1772 | break; |
1773 | } |
1774 | break; |
1775 | case Opcode::MulFloat: |
1776 | switch (sizeof...(Arguments)) { |
1777 | case 3: |
1778 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1779 | case Arg::Tmp: |
1780 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1781 | case Arg::Tmp: |
1782 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1783 | case Arg::Tmp: |
1784 | OPGEN_RETURN(true); |
1785 | break; |
1786 | break; |
1787 | default: |
1788 | break; |
1789 | } |
1790 | break; |
1791 | case Arg::Addr: |
1792 | case Arg::Stack: |
1793 | case Arg::CallArg: |
1794 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1795 | case Arg::Tmp: |
1796 | #if CPU(X86) || CPU(X86_64) |
1797 | OPGEN_RETURN(true); |
1798 | #endif |
1799 | break; |
1800 | break; |
1801 | default: |
1802 | break; |
1803 | } |
1804 | break; |
1805 | default: |
1806 | break; |
1807 | } |
1808 | break; |
1809 | case Arg::Addr: |
1810 | case Arg::Stack: |
1811 | case Arg::CallArg: |
1812 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1813 | case Arg::Tmp: |
1814 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1815 | case Arg::Tmp: |
1816 | #if CPU(X86) || CPU(X86_64) |
1817 | OPGEN_RETURN(true); |
1818 | #endif |
1819 | break; |
1820 | break; |
1821 | default: |
1822 | break; |
1823 | } |
1824 | break; |
1825 | default: |
1826 | break; |
1827 | } |
1828 | break; |
1829 | case Arg::Index: |
1830 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1831 | case Arg::Tmp: |
1832 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1833 | case Arg::Tmp: |
1834 | #if CPU(X86) || CPU(X86_64) |
1835 | OPGEN_RETURN(true); |
1836 | #endif |
1837 | break; |
1838 | break; |
1839 | default: |
1840 | break; |
1841 | } |
1842 | break; |
1843 | default: |
1844 | break; |
1845 | } |
1846 | break; |
1847 | default: |
1848 | break; |
1849 | } |
1850 | break; |
1851 | case 2: |
1852 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1853 | case Arg::Tmp: |
1854 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1855 | case Arg::Tmp: |
1856 | #if CPU(X86) || CPU(X86_64) |
1857 | OPGEN_RETURN(true); |
1858 | #endif |
1859 | break; |
1860 | break; |
1861 | default: |
1862 | break; |
1863 | } |
1864 | break; |
1865 | case Arg::Addr: |
1866 | case Arg::Stack: |
1867 | case Arg::CallArg: |
1868 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1869 | case Arg::Tmp: |
1870 | #if CPU(X86) || CPU(X86_64) |
1871 | OPGEN_RETURN(true); |
1872 | #endif |
1873 | break; |
1874 | break; |
1875 | default: |
1876 | break; |
1877 | } |
1878 | break; |
1879 | default: |
1880 | break; |
1881 | } |
1882 | break; |
1883 | default: |
1884 | break; |
1885 | } |
1886 | break; |
1887 | case Opcode::DivDouble: |
1888 | switch (sizeof...(Arguments)) { |
1889 | case 3: |
1890 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1891 | case Arg::Tmp: |
1892 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1893 | case Arg::Tmp: |
1894 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1895 | case Arg::Tmp: |
1896 | #if CPU(ARM64) |
1897 | OPGEN_RETURN(true); |
1898 | #endif |
1899 | break; |
1900 | break; |
1901 | default: |
1902 | break; |
1903 | } |
1904 | break; |
1905 | default: |
1906 | break; |
1907 | } |
1908 | break; |
1909 | default: |
1910 | break; |
1911 | } |
1912 | break; |
1913 | case 2: |
1914 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1915 | case Arg::Tmp: |
1916 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1917 | case Arg::Tmp: |
1918 | #if CPU(X86) || CPU(X86_64) |
1919 | OPGEN_RETURN(true); |
1920 | #endif |
1921 | break; |
1922 | break; |
1923 | default: |
1924 | break; |
1925 | } |
1926 | break; |
1927 | case Arg::Addr: |
1928 | case Arg::Stack: |
1929 | case Arg::CallArg: |
1930 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1931 | case Arg::Tmp: |
1932 | #if CPU(X86) || CPU(X86_64) |
1933 | OPGEN_RETURN(true); |
1934 | #endif |
1935 | break; |
1936 | break; |
1937 | default: |
1938 | break; |
1939 | } |
1940 | break; |
1941 | default: |
1942 | break; |
1943 | } |
1944 | break; |
1945 | default: |
1946 | break; |
1947 | } |
1948 | break; |
1949 | case Opcode::DivFloat: |
1950 | switch (sizeof...(Arguments)) { |
1951 | case 3: |
1952 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1953 | case Arg::Tmp: |
1954 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1955 | case Arg::Tmp: |
1956 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1957 | case Arg::Tmp: |
1958 | #if CPU(ARM64) |
1959 | OPGEN_RETURN(true); |
1960 | #endif |
1961 | break; |
1962 | break; |
1963 | default: |
1964 | break; |
1965 | } |
1966 | break; |
1967 | default: |
1968 | break; |
1969 | } |
1970 | break; |
1971 | default: |
1972 | break; |
1973 | } |
1974 | break; |
1975 | case 2: |
1976 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1977 | case Arg::Tmp: |
1978 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1979 | case Arg::Tmp: |
1980 | #if CPU(X86) || CPU(X86_64) |
1981 | OPGEN_RETURN(true); |
1982 | #endif |
1983 | break; |
1984 | break; |
1985 | default: |
1986 | break; |
1987 | } |
1988 | break; |
1989 | case Arg::Addr: |
1990 | case Arg::Stack: |
1991 | case Arg::CallArg: |
1992 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1993 | case Arg::Tmp: |
1994 | #if CPU(X86) || CPU(X86_64) |
1995 | OPGEN_RETURN(true); |
1996 | #endif |
1997 | break; |
1998 | break; |
1999 | default: |
2000 | break; |
2001 | } |
2002 | break; |
2003 | default: |
2004 | break; |
2005 | } |
2006 | break; |
2007 | default: |
2008 | break; |
2009 | } |
2010 | break; |
2011 | case Opcode::X86ConvertToDoubleWord32: |
2012 | switch (sizeof...(Arguments)) { |
2013 | case 2: |
2014 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2015 | case Arg::Tmp: |
2016 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2017 | case Arg::Tmp: |
2018 | break; |
2019 | break; |
2020 | default: |
2021 | break; |
2022 | } |
2023 | break; |
2024 | default: |
2025 | break; |
2026 | } |
2027 | break; |
2028 | default: |
2029 | break; |
2030 | } |
2031 | break; |
2032 | case Opcode::X86ConvertToQuadWord64: |
2033 | switch (sizeof...(Arguments)) { |
2034 | case 2: |
2035 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2036 | case Arg::Tmp: |
2037 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2038 | case Arg::Tmp: |
2039 | break; |
2040 | break; |
2041 | default: |
2042 | break; |
2043 | } |
2044 | break; |
2045 | default: |
2046 | break; |
2047 | } |
2048 | break; |
2049 | default: |
2050 | break; |
2051 | } |
2052 | break; |
2053 | case Opcode::X86Div32: |
2054 | switch (sizeof...(Arguments)) { |
2055 | case 3: |
2056 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2057 | case Arg::Tmp: |
2058 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2059 | case Arg::Tmp: |
2060 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2061 | case Arg::Tmp: |
2062 | break; |
2063 | break; |
2064 | default: |
2065 | break; |
2066 | } |
2067 | break; |
2068 | default: |
2069 | break; |
2070 | } |
2071 | break; |
2072 | default: |
2073 | break; |
2074 | } |
2075 | break; |
2076 | default: |
2077 | break; |
2078 | } |
2079 | break; |
2080 | case Opcode::X86UDiv32: |
2081 | switch (sizeof...(Arguments)) { |
2082 | case 3: |
2083 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2084 | case Arg::Tmp: |
2085 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2086 | case Arg::Tmp: |
2087 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2088 | case Arg::Tmp: |
2089 | break; |
2090 | break; |
2091 | default: |
2092 | break; |
2093 | } |
2094 | break; |
2095 | default: |
2096 | break; |
2097 | } |
2098 | break; |
2099 | default: |
2100 | break; |
2101 | } |
2102 | break; |
2103 | default: |
2104 | break; |
2105 | } |
2106 | break; |
2107 | case Opcode::X86Div64: |
2108 | switch (sizeof...(Arguments)) { |
2109 | case 3: |
2110 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2111 | case Arg::Tmp: |
2112 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2113 | case Arg::Tmp: |
2114 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2115 | case Arg::Tmp: |
2116 | break; |
2117 | break; |
2118 | default: |
2119 | break; |
2120 | } |
2121 | break; |
2122 | default: |
2123 | break; |
2124 | } |
2125 | break; |
2126 | default: |
2127 | break; |
2128 | } |
2129 | break; |
2130 | default: |
2131 | break; |
2132 | } |
2133 | break; |
2134 | case Opcode::X86UDiv64: |
2135 | switch (sizeof...(Arguments)) { |
2136 | case 3: |
2137 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2138 | case Arg::Tmp: |
2139 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2140 | case Arg::Tmp: |
2141 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2142 | case Arg::Tmp: |
2143 | break; |
2144 | break; |
2145 | default: |
2146 | break; |
2147 | } |
2148 | break; |
2149 | default: |
2150 | break; |
2151 | } |
2152 | break; |
2153 | default: |
2154 | break; |
2155 | } |
2156 | break; |
2157 | default: |
2158 | break; |
2159 | } |
2160 | break; |
2161 | case Opcode::Lea32: |
2162 | switch (sizeof...(Arguments)) { |
2163 | case 2: |
2164 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2165 | case Arg::Addr: |
2166 | case Arg::Stack: |
2167 | case Arg::CallArg: |
2168 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2169 | case Arg::Tmp: |
2170 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2171 | return false; |
2172 | OPGEN_RETURN(true); |
2173 | break; |
2174 | break; |
2175 | default: |
2176 | break; |
2177 | } |
2178 | break; |
2179 | case Arg::Index: |
2180 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2181 | case Arg::Tmp: |
2182 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2183 | return false; |
2184 | #if CPU(X86) || CPU(X86_64) |
2185 | OPGEN_RETURN(true); |
2186 | #endif |
2187 | break; |
2188 | break; |
2189 | default: |
2190 | break; |
2191 | } |
2192 | break; |
2193 | default: |
2194 | break; |
2195 | } |
2196 | break; |
2197 | default: |
2198 | break; |
2199 | } |
2200 | break; |
2201 | case Opcode::Lea64: |
2202 | switch (sizeof...(Arguments)) { |
2203 | case 2: |
2204 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2205 | case Arg::Addr: |
2206 | case Arg::Stack: |
2207 | case Arg::CallArg: |
2208 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2209 | case Arg::Tmp: |
2210 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2211 | return false; |
2212 | OPGEN_RETURN(true); |
2213 | break; |
2214 | break; |
2215 | default: |
2216 | break; |
2217 | } |
2218 | break; |
2219 | case Arg::Index: |
2220 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2221 | case Arg::Tmp: |
2222 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2223 | return false; |
2224 | #if CPU(X86) || CPU(X86_64) |
2225 | OPGEN_RETURN(true); |
2226 | #endif |
2227 | break; |
2228 | break; |
2229 | default: |
2230 | break; |
2231 | } |
2232 | break; |
2233 | default: |
2234 | break; |
2235 | } |
2236 | break; |
2237 | default: |
2238 | break; |
2239 | } |
2240 | break; |
2241 | case Opcode::And32: |
2242 | switch (sizeof...(Arguments)) { |
2243 | case 3: |
2244 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2245 | case Arg::Tmp: |
2246 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2247 | case Arg::Tmp: |
2248 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2249 | case Arg::Tmp: |
2250 | OPGEN_RETURN(true); |
2251 | break; |
2252 | break; |
2253 | default: |
2254 | break; |
2255 | } |
2256 | break; |
2257 | case Arg::Addr: |
2258 | case Arg::Stack: |
2259 | case Arg::CallArg: |
2260 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2261 | case Arg::Tmp: |
2262 | #if CPU(X86) || CPU(X86_64) |
2263 | OPGEN_RETURN(true); |
2264 | #endif |
2265 | break; |
2266 | break; |
2267 | default: |
2268 | break; |
2269 | } |
2270 | break; |
2271 | default: |
2272 | break; |
2273 | } |
2274 | break; |
2275 | case Arg::BitImm: |
2276 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2277 | case Arg::Tmp: |
2278 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2279 | case Arg::Tmp: |
2280 | #if CPU(ARM64) |
2281 | OPGEN_RETURN(true); |
2282 | #endif |
2283 | break; |
2284 | break; |
2285 | default: |
2286 | break; |
2287 | } |
2288 | break; |
2289 | default: |
2290 | break; |
2291 | } |
2292 | break; |
2293 | case Arg::Addr: |
2294 | case Arg::Stack: |
2295 | case Arg::CallArg: |
2296 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2297 | case Arg::Tmp: |
2298 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2299 | case Arg::Tmp: |
2300 | #if CPU(X86) || CPU(X86_64) |
2301 | OPGEN_RETURN(true); |
2302 | #endif |
2303 | break; |
2304 | break; |
2305 | default: |
2306 | break; |
2307 | } |
2308 | break; |
2309 | default: |
2310 | break; |
2311 | } |
2312 | break; |
2313 | default: |
2314 | break; |
2315 | } |
2316 | break; |
2317 | case 2: |
2318 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2319 | case Arg::Tmp: |
2320 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2321 | case Arg::Tmp: |
2322 | OPGEN_RETURN(true); |
2323 | break; |
2324 | break; |
2325 | case Arg::Addr: |
2326 | case Arg::Stack: |
2327 | case Arg::CallArg: |
2328 | #if CPU(X86) || CPU(X86_64) |
2329 | OPGEN_RETURN(true); |
2330 | #endif |
2331 | break; |
2332 | break; |
2333 | case Arg::Index: |
2334 | #if CPU(X86) || CPU(X86_64) |
2335 | OPGEN_RETURN(true); |
2336 | #endif |
2337 | break; |
2338 | break; |
2339 | default: |
2340 | break; |
2341 | } |
2342 | break; |
2343 | case Arg::Imm: |
2344 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2345 | case Arg::Tmp: |
2346 | #if CPU(X86) || CPU(X86_64) |
2347 | OPGEN_RETURN(true); |
2348 | #endif |
2349 | break; |
2350 | break; |
2351 | case Arg::Addr: |
2352 | case Arg::Stack: |
2353 | case Arg::CallArg: |
2354 | #if CPU(X86) || CPU(X86_64) |
2355 | OPGEN_RETURN(true); |
2356 | #endif |
2357 | break; |
2358 | break; |
2359 | case Arg::Index: |
2360 | #if CPU(X86) || CPU(X86_64) |
2361 | OPGEN_RETURN(true); |
2362 | #endif |
2363 | break; |
2364 | break; |
2365 | default: |
2366 | break; |
2367 | } |
2368 | break; |
2369 | case Arg::Addr: |
2370 | case Arg::Stack: |
2371 | case Arg::CallArg: |
2372 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2373 | case Arg::Tmp: |
2374 | #if CPU(X86) || CPU(X86_64) |
2375 | OPGEN_RETURN(true); |
2376 | #endif |
2377 | break; |
2378 | break; |
2379 | default: |
2380 | break; |
2381 | } |
2382 | break; |
2383 | case Arg::Index: |
2384 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2385 | case Arg::Tmp: |
2386 | #if CPU(X86) || CPU(X86_64) |
2387 | OPGEN_RETURN(true); |
2388 | #endif |
2389 | break; |
2390 | break; |
2391 | default: |
2392 | break; |
2393 | } |
2394 | break; |
2395 | default: |
2396 | break; |
2397 | } |
2398 | break; |
2399 | default: |
2400 | break; |
2401 | } |
2402 | break; |
2403 | case Opcode::And64: |
2404 | switch (sizeof...(Arguments)) { |
2405 | case 3: |
2406 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2407 | case Arg::Tmp: |
2408 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2409 | case Arg::Tmp: |
2410 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2411 | case Arg::Tmp: |
2412 | #if CPU(X86_64) || CPU(ARM64) |
2413 | OPGEN_RETURN(true); |
2414 | #endif |
2415 | break; |
2416 | break; |
2417 | default: |
2418 | break; |
2419 | } |
2420 | break; |
2421 | default: |
2422 | break; |
2423 | } |
2424 | break; |
2425 | #if USE(JSVALUE64) |
2426 | case Arg::BitImm64: |
2427 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2428 | case Arg::Tmp: |
2429 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2430 | case Arg::Tmp: |
2431 | #if CPU(ARM64) |
2432 | OPGEN_RETURN(true); |
2433 | #endif |
2434 | break; |
2435 | break; |
2436 | default: |
2437 | break; |
2438 | } |
2439 | break; |
2440 | default: |
2441 | break; |
2442 | } |
2443 | break; |
2444 | #endif // USE(JSVALUE64) |
2445 | default: |
2446 | break; |
2447 | } |
2448 | break; |
2449 | case 2: |
2450 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2451 | case Arg::Tmp: |
2452 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2453 | case Arg::Tmp: |
2454 | #if CPU(X86_64) |
2455 | OPGEN_RETURN(true); |
2456 | #endif |
2457 | break; |
2458 | break; |
2459 | case Arg::Addr: |
2460 | case Arg::Stack: |
2461 | case Arg::CallArg: |
2462 | #if CPU(X86_64) |
2463 | OPGEN_RETURN(true); |
2464 | #endif |
2465 | break; |
2466 | break; |
2467 | case Arg::Index: |
2468 | #if CPU(X86_64) |
2469 | OPGEN_RETURN(true); |
2470 | #endif |
2471 | break; |
2472 | break; |
2473 | default: |
2474 | break; |
2475 | } |
2476 | break; |
2477 | case Arg::Imm: |
2478 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2479 | case Arg::Tmp: |
2480 | #if CPU(X86_64) |
2481 | OPGEN_RETURN(true); |
2482 | #endif |
2483 | break; |
2484 | break; |
2485 | case Arg::Addr: |
2486 | case Arg::Stack: |
2487 | case Arg::CallArg: |
2488 | #if CPU(X86_64) |
2489 | OPGEN_RETURN(true); |
2490 | #endif |
2491 | break; |
2492 | break; |
2493 | case Arg::Index: |
2494 | #if CPU(X86_64) |
2495 | OPGEN_RETURN(true); |
2496 | #endif |
2497 | break; |
2498 | break; |
2499 | default: |
2500 | break; |
2501 | } |
2502 | break; |
2503 | case Arg::Addr: |
2504 | case Arg::Stack: |
2505 | case Arg::CallArg: |
2506 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2507 | case Arg::Tmp: |
2508 | #if CPU(X86_64) |
2509 | OPGEN_RETURN(true); |
2510 | #endif |
2511 | break; |
2512 | break; |
2513 | default: |
2514 | break; |
2515 | } |
2516 | break; |
2517 | case Arg::Index: |
2518 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2519 | case Arg::Tmp: |
2520 | #if CPU(X86_64) |
2521 | OPGEN_RETURN(true); |
2522 | #endif |
2523 | break; |
2524 | break; |
2525 | default: |
2526 | break; |
2527 | } |
2528 | break; |
2529 | default: |
2530 | break; |
2531 | } |
2532 | break; |
2533 | default: |
2534 | break; |
2535 | } |
2536 | break; |
2537 | case Opcode::AndDouble: |
2538 | switch (sizeof...(Arguments)) { |
2539 | case 3: |
2540 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2541 | case Arg::Tmp: |
2542 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2543 | case Arg::Tmp: |
2544 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2545 | case Arg::Tmp: |
2546 | OPGEN_RETURN(true); |
2547 | break; |
2548 | break; |
2549 | default: |
2550 | break; |
2551 | } |
2552 | break; |
2553 | default: |
2554 | break; |
2555 | } |
2556 | break; |
2557 | default: |
2558 | break; |
2559 | } |
2560 | break; |
2561 | case 2: |
2562 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2563 | case Arg::Tmp: |
2564 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2565 | case Arg::Tmp: |
2566 | #if CPU(X86) || CPU(X86_64) |
2567 | OPGEN_RETURN(true); |
2568 | #endif |
2569 | break; |
2570 | break; |
2571 | default: |
2572 | break; |
2573 | } |
2574 | break; |
2575 | default: |
2576 | break; |
2577 | } |
2578 | break; |
2579 | default: |
2580 | break; |
2581 | } |
2582 | break; |
2583 | case Opcode::AndFloat: |
2584 | switch (sizeof...(Arguments)) { |
2585 | case 3: |
2586 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2587 | case Arg::Tmp: |
2588 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2589 | case Arg::Tmp: |
2590 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2591 | case Arg::Tmp: |
2592 | OPGEN_RETURN(true); |
2593 | break; |
2594 | break; |
2595 | default: |
2596 | break; |
2597 | } |
2598 | break; |
2599 | default: |
2600 | break; |
2601 | } |
2602 | break; |
2603 | default: |
2604 | break; |
2605 | } |
2606 | break; |
2607 | case 2: |
2608 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2609 | case Arg::Tmp: |
2610 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2611 | case Arg::Tmp: |
2612 | #if CPU(X86) || CPU(X86_64) |
2613 | OPGEN_RETURN(true); |
2614 | #endif |
2615 | break; |
2616 | break; |
2617 | default: |
2618 | break; |
2619 | } |
2620 | break; |
2621 | default: |
2622 | break; |
2623 | } |
2624 | break; |
2625 | default: |
2626 | break; |
2627 | } |
2628 | break; |
2629 | case Opcode::OrDouble: |
2630 | switch (sizeof...(Arguments)) { |
2631 | case 3: |
2632 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2633 | case Arg::Tmp: |
2634 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2635 | case Arg::Tmp: |
2636 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2637 | case Arg::Tmp: |
2638 | OPGEN_RETURN(true); |
2639 | break; |
2640 | break; |
2641 | default: |
2642 | break; |
2643 | } |
2644 | break; |
2645 | default: |
2646 | break; |
2647 | } |
2648 | break; |
2649 | default: |
2650 | break; |
2651 | } |
2652 | break; |
2653 | case 2: |
2654 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2655 | case Arg::Tmp: |
2656 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2657 | case Arg::Tmp: |
2658 | #if CPU(X86) || CPU(X86_64) |
2659 | OPGEN_RETURN(true); |
2660 | #endif |
2661 | break; |
2662 | break; |
2663 | default: |
2664 | break; |
2665 | } |
2666 | break; |
2667 | default: |
2668 | break; |
2669 | } |
2670 | break; |
2671 | default: |
2672 | break; |
2673 | } |
2674 | break; |
2675 | case Opcode::OrFloat: |
2676 | switch (sizeof...(Arguments)) { |
2677 | case 3: |
2678 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2679 | case Arg::Tmp: |
2680 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2681 | case Arg::Tmp: |
2682 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2683 | case Arg::Tmp: |
2684 | OPGEN_RETURN(true); |
2685 | break; |
2686 | break; |
2687 | default: |
2688 | break; |
2689 | } |
2690 | break; |
2691 | default: |
2692 | break; |
2693 | } |
2694 | break; |
2695 | default: |
2696 | break; |
2697 | } |
2698 | break; |
2699 | case 2: |
2700 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2701 | case Arg::Tmp: |
2702 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2703 | case Arg::Tmp: |
2704 | #if CPU(X86) || CPU(X86_64) |
2705 | OPGEN_RETURN(true); |
2706 | #endif |
2707 | break; |
2708 | break; |
2709 | default: |
2710 | break; |
2711 | } |
2712 | break; |
2713 | default: |
2714 | break; |
2715 | } |
2716 | break; |
2717 | default: |
2718 | break; |
2719 | } |
2720 | break; |
2721 | case Opcode::XorDouble: |
2722 | switch (sizeof...(Arguments)) { |
2723 | case 3: |
2724 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2725 | case Arg::Tmp: |
2726 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2727 | case Arg::Tmp: |
2728 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2729 | case Arg::Tmp: |
2730 | #if CPU(X86) || CPU(X86_64) |
2731 | OPGEN_RETURN(true); |
2732 | #endif |
2733 | break; |
2734 | break; |
2735 | default: |
2736 | break; |
2737 | } |
2738 | break; |
2739 | default: |
2740 | break; |
2741 | } |
2742 | break; |
2743 | default: |
2744 | break; |
2745 | } |
2746 | break; |
2747 | case 2: |
2748 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2749 | case Arg::Tmp: |
2750 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2751 | case Arg::Tmp: |
2752 | #if CPU(X86) || CPU(X86_64) |
2753 | OPGEN_RETURN(true); |
2754 | #endif |
2755 | break; |
2756 | break; |
2757 | default: |
2758 | break; |
2759 | } |
2760 | break; |
2761 | default: |
2762 | break; |
2763 | } |
2764 | break; |
2765 | default: |
2766 | break; |
2767 | } |
2768 | break; |
2769 | case Opcode::XorFloat: |
2770 | switch (sizeof...(Arguments)) { |
2771 | case 3: |
2772 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2773 | case Arg::Tmp: |
2774 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2775 | case Arg::Tmp: |
2776 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2777 | case Arg::Tmp: |
2778 | #if CPU(X86) || CPU(X86_64) |
2779 | OPGEN_RETURN(true); |
2780 | #endif |
2781 | break; |
2782 | break; |
2783 | default: |
2784 | break; |
2785 | } |
2786 | break; |
2787 | default: |
2788 | break; |
2789 | } |
2790 | break; |
2791 | default: |
2792 | break; |
2793 | } |
2794 | break; |
2795 | case 2: |
2796 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2797 | case Arg::Tmp: |
2798 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2799 | case Arg::Tmp: |
2800 | #if CPU(X86) || CPU(X86_64) |
2801 | OPGEN_RETURN(true); |
2802 | #endif |
2803 | break; |
2804 | break; |
2805 | default: |
2806 | break; |
2807 | } |
2808 | break; |
2809 | default: |
2810 | break; |
2811 | } |
2812 | break; |
2813 | default: |
2814 | break; |
2815 | } |
2816 | break; |
2817 | case Opcode::Lshift32: |
2818 | switch (sizeof...(Arguments)) { |
2819 | case 3: |
2820 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2821 | case Arg::Tmp: |
2822 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2823 | case Arg::Tmp: |
2824 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2825 | case Arg::Tmp: |
2826 | #if CPU(ARM64) |
2827 | OPGEN_RETURN(true); |
2828 | #endif |
2829 | break; |
2830 | break; |
2831 | default: |
2832 | break; |
2833 | } |
2834 | break; |
2835 | case Arg::Imm: |
2836 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2837 | case Arg::Tmp: |
2838 | #if CPU(ARM64) |
2839 | OPGEN_RETURN(true); |
2840 | #endif |
2841 | break; |
2842 | break; |
2843 | default: |
2844 | break; |
2845 | } |
2846 | break; |
2847 | default: |
2848 | break; |
2849 | } |
2850 | break; |
2851 | default: |
2852 | break; |
2853 | } |
2854 | break; |
2855 | case 2: |
2856 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2857 | case Arg::Tmp: |
2858 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2859 | case Arg::Tmp: |
2860 | break; |
2861 | break; |
2862 | default: |
2863 | break; |
2864 | } |
2865 | break; |
2866 | case Arg::Imm: |
2867 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2868 | case Arg::Tmp: |
2869 | #if CPU(X86) || CPU(X86_64) |
2870 | OPGEN_RETURN(true); |
2871 | #endif |
2872 | break; |
2873 | break; |
2874 | default: |
2875 | break; |
2876 | } |
2877 | break; |
2878 | default: |
2879 | break; |
2880 | } |
2881 | break; |
2882 | default: |
2883 | break; |
2884 | } |
2885 | break; |
2886 | case Opcode::Lshift64: |
2887 | switch (sizeof...(Arguments)) { |
2888 | case 3: |
2889 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2890 | case Arg::Tmp: |
2891 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2892 | case Arg::Tmp: |
2893 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2894 | case Arg::Tmp: |
2895 | #if CPU(ARM64) |
2896 | OPGEN_RETURN(true); |
2897 | #endif |
2898 | break; |
2899 | break; |
2900 | default: |
2901 | break; |
2902 | } |
2903 | break; |
2904 | case Arg::Imm: |
2905 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2906 | case Arg::Tmp: |
2907 | #if CPU(ARM64) |
2908 | OPGEN_RETURN(true); |
2909 | #endif |
2910 | break; |
2911 | break; |
2912 | default: |
2913 | break; |
2914 | } |
2915 | break; |
2916 | default: |
2917 | break; |
2918 | } |
2919 | break; |
2920 | default: |
2921 | break; |
2922 | } |
2923 | break; |
2924 | case 2: |
2925 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2926 | case Arg::Tmp: |
2927 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2928 | case Arg::Tmp: |
2929 | break; |
2930 | break; |
2931 | default: |
2932 | break; |
2933 | } |
2934 | break; |
2935 | case Arg::Imm: |
2936 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2937 | case Arg::Tmp: |
2938 | #if CPU(X86_64) |
2939 | OPGEN_RETURN(true); |
2940 | #endif |
2941 | break; |
2942 | break; |
2943 | default: |
2944 | break; |
2945 | } |
2946 | break; |
2947 | default: |
2948 | break; |
2949 | } |
2950 | break; |
2951 | default: |
2952 | break; |
2953 | } |
2954 | break; |
2955 | case Opcode::Rshift32: |
2956 | switch (sizeof...(Arguments)) { |
2957 | case 3: |
2958 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2959 | case Arg::Tmp: |
2960 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2961 | case Arg::Tmp: |
2962 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2963 | case Arg::Tmp: |
2964 | #if CPU(ARM64) |
2965 | OPGEN_RETURN(true); |
2966 | #endif |
2967 | break; |
2968 | break; |
2969 | default: |
2970 | break; |
2971 | } |
2972 | break; |
2973 | case Arg::Imm: |
2974 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2975 | case Arg::Tmp: |
2976 | #if CPU(ARM64) |
2977 | OPGEN_RETURN(true); |
2978 | #endif |
2979 | break; |
2980 | break; |
2981 | default: |
2982 | break; |
2983 | } |
2984 | break; |
2985 | default: |
2986 | break; |
2987 | } |
2988 | break; |
2989 | default: |
2990 | break; |
2991 | } |
2992 | break; |
2993 | case 2: |
2994 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2995 | case Arg::Tmp: |
2996 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2997 | case Arg::Tmp: |
2998 | break; |
2999 | break; |
3000 | default: |
3001 | break; |
3002 | } |
3003 | break; |
3004 | case Arg::Imm: |
3005 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3006 | case Arg::Tmp: |
3007 | #if CPU(X86) || CPU(X86_64) |
3008 | OPGEN_RETURN(true); |
3009 | #endif |
3010 | break; |
3011 | break; |
3012 | default: |
3013 | break; |
3014 | } |
3015 | break; |
3016 | default: |
3017 | break; |
3018 | } |
3019 | break; |
3020 | default: |
3021 | break; |
3022 | } |
3023 | break; |
3024 | case Opcode::Rshift64: |
3025 | switch (sizeof...(Arguments)) { |
3026 | case 3: |
3027 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3028 | case Arg::Tmp: |
3029 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3030 | case Arg::Tmp: |
3031 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3032 | case Arg::Tmp: |
3033 | #if CPU(ARM64) |
3034 | OPGEN_RETURN(true); |
3035 | #endif |
3036 | break; |
3037 | break; |
3038 | default: |
3039 | break; |
3040 | } |
3041 | break; |
3042 | case Arg::Imm: |
3043 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3044 | case Arg::Tmp: |
3045 | #if CPU(ARM64) |
3046 | OPGEN_RETURN(true); |
3047 | #endif |
3048 | break; |
3049 | break; |
3050 | default: |
3051 | break; |
3052 | } |
3053 | break; |
3054 | default: |
3055 | break; |
3056 | } |
3057 | break; |
3058 | default: |
3059 | break; |
3060 | } |
3061 | break; |
3062 | case 2: |
3063 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3064 | case Arg::Tmp: |
3065 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3066 | case Arg::Tmp: |
3067 | break; |
3068 | break; |
3069 | default: |
3070 | break; |
3071 | } |
3072 | break; |
3073 | case Arg::Imm: |
3074 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3075 | case Arg::Tmp: |
3076 | #if CPU(X86_64) |
3077 | OPGEN_RETURN(true); |
3078 | #endif |
3079 | break; |
3080 | break; |
3081 | default: |
3082 | break; |
3083 | } |
3084 | break; |
3085 | default: |
3086 | break; |
3087 | } |
3088 | break; |
3089 | default: |
3090 | break; |
3091 | } |
3092 | break; |
3093 | case Opcode::Urshift32: |
3094 | switch (sizeof...(Arguments)) { |
3095 | case 3: |
3096 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3097 | case Arg::Tmp: |
3098 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3099 | case Arg::Tmp: |
3100 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3101 | case Arg::Tmp: |
3102 | #if CPU(ARM64) |
3103 | OPGEN_RETURN(true); |
3104 | #endif |
3105 | break; |
3106 | break; |
3107 | default: |
3108 | break; |
3109 | } |
3110 | break; |
3111 | case Arg::Imm: |
3112 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3113 | case Arg::Tmp: |
3114 | #if CPU(ARM64) |
3115 | OPGEN_RETURN(true); |
3116 | #endif |
3117 | break; |
3118 | break; |
3119 | default: |
3120 | break; |
3121 | } |
3122 | break; |
3123 | default: |
3124 | break; |
3125 | } |
3126 | break; |
3127 | default: |
3128 | break; |
3129 | } |
3130 | break; |
3131 | case 2: |
3132 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3133 | case Arg::Tmp: |
3134 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3135 | case Arg::Tmp: |
3136 | break; |
3137 | break; |
3138 | default: |
3139 | break; |
3140 | } |
3141 | break; |
3142 | case Arg::Imm: |
3143 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3144 | case Arg::Tmp: |
3145 | #if CPU(X86) || CPU(X86_64) |
3146 | OPGEN_RETURN(true); |
3147 | #endif |
3148 | break; |
3149 | break; |
3150 | default: |
3151 | break; |
3152 | } |
3153 | break; |
3154 | default: |
3155 | break; |
3156 | } |
3157 | break; |
3158 | default: |
3159 | break; |
3160 | } |
3161 | break; |
3162 | case Opcode::Urshift64: |
3163 | switch (sizeof...(Arguments)) { |
3164 | case 3: |
3165 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3166 | case Arg::Tmp: |
3167 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3168 | case Arg::Tmp: |
3169 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3170 | case Arg::Tmp: |
3171 | #if CPU(ARM64) |
3172 | OPGEN_RETURN(true); |
3173 | #endif |
3174 | break; |
3175 | break; |
3176 | default: |
3177 | break; |
3178 | } |
3179 | break; |
3180 | case Arg::Imm: |
3181 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3182 | case Arg::Tmp: |
3183 | #if CPU(ARM64) |
3184 | OPGEN_RETURN(true); |
3185 | #endif |
3186 | break; |
3187 | break; |
3188 | default: |
3189 | break; |
3190 | } |
3191 | break; |
3192 | default: |
3193 | break; |
3194 | } |
3195 | break; |
3196 | default: |
3197 | break; |
3198 | } |
3199 | break; |
3200 | case 2: |
3201 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3202 | case Arg::Tmp: |
3203 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3204 | case Arg::Tmp: |
3205 | break; |
3206 | break; |
3207 | default: |
3208 | break; |
3209 | } |
3210 | break; |
3211 | case Arg::Imm: |
3212 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3213 | case Arg::Tmp: |
3214 | #if CPU(X86_64) |
3215 | OPGEN_RETURN(true); |
3216 | #endif |
3217 | break; |
3218 | break; |
3219 | default: |
3220 | break; |
3221 | } |
3222 | break; |
3223 | default: |
3224 | break; |
3225 | } |
3226 | break; |
3227 | default: |
3228 | break; |
3229 | } |
3230 | break; |
3231 | case Opcode::RotateRight32: |
3232 | switch (sizeof...(Arguments)) { |
3233 | case 2: |
3234 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3235 | case Arg::Tmp: |
3236 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3237 | case Arg::Tmp: |
3238 | break; |
3239 | break; |
3240 | default: |
3241 | break; |
3242 | } |
3243 | break; |
3244 | case Arg::Imm: |
3245 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3246 | case Arg::Tmp: |
3247 | #if CPU(X86_64) |
3248 | OPGEN_RETURN(true); |
3249 | #endif |
3250 | break; |
3251 | break; |
3252 | default: |
3253 | break; |
3254 | } |
3255 | break; |
3256 | default: |
3257 | break; |
3258 | } |
3259 | break; |
3260 | case 3: |
3261 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3262 | case Arg::Tmp: |
3263 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3264 | case Arg::Tmp: |
3265 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3266 | case Arg::Tmp: |
3267 | #if CPU(ARM64) |
3268 | OPGEN_RETURN(true); |
3269 | #endif |
3270 | break; |
3271 | break; |
3272 | default: |
3273 | break; |
3274 | } |
3275 | break; |
3276 | case Arg::Imm: |
3277 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3278 | case Arg::Tmp: |
3279 | #if CPU(ARM64) |
3280 | OPGEN_RETURN(true); |
3281 | #endif |
3282 | break; |
3283 | break; |
3284 | default: |
3285 | break; |
3286 | } |
3287 | break; |
3288 | default: |
3289 | break; |
3290 | } |
3291 | break; |
3292 | default: |
3293 | break; |
3294 | } |
3295 | break; |
3296 | default: |
3297 | break; |
3298 | } |
3299 | break; |
3300 | case Opcode::RotateRight64: |
3301 | switch (sizeof...(Arguments)) { |
3302 | case 2: |
3303 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3304 | case Arg::Tmp: |
3305 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3306 | case Arg::Tmp: |
3307 | break; |
3308 | break; |
3309 | default: |
3310 | break; |
3311 | } |
3312 | break; |
3313 | case Arg::Imm: |
3314 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3315 | case Arg::Tmp: |
3316 | #if CPU(X86_64) |
3317 | OPGEN_RETURN(true); |
3318 | #endif |
3319 | break; |
3320 | break; |
3321 | default: |
3322 | break; |
3323 | } |
3324 | break; |
3325 | default: |
3326 | break; |
3327 | } |
3328 | break; |
3329 | case 3: |
3330 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3331 | case Arg::Tmp: |
3332 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3333 | case Arg::Tmp: |
3334 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3335 | case Arg::Tmp: |
3336 | #if CPU(ARM64) |
3337 | OPGEN_RETURN(true); |
3338 | #endif |
3339 | break; |
3340 | break; |
3341 | default: |
3342 | break; |
3343 | } |
3344 | break; |
3345 | case Arg::Imm: |
3346 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3347 | case Arg::Tmp: |
3348 | #if CPU(ARM64) |
3349 | OPGEN_RETURN(true); |
3350 | #endif |
3351 | break; |
3352 | break; |
3353 | default: |
3354 | break; |
3355 | } |
3356 | break; |
3357 | default: |
3358 | break; |
3359 | } |
3360 | break; |
3361 | default: |
3362 | break; |
3363 | } |
3364 | break; |
3365 | default: |
3366 | break; |
3367 | } |
3368 | break; |
3369 | case Opcode::RotateLeft32: |
3370 | switch (sizeof...(Arguments)) { |
3371 | case 2: |
3372 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3373 | case Arg::Tmp: |
3374 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3375 | case Arg::Tmp: |
3376 | break; |
3377 | break; |
3378 | default: |
3379 | break; |
3380 | } |
3381 | break; |
3382 | case Arg::Imm: |
3383 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3384 | case Arg::Tmp: |
3385 | #if CPU(X86_64) |
3386 | OPGEN_RETURN(true); |
3387 | #endif |
3388 | break; |
3389 | break; |
3390 | default: |
3391 | break; |
3392 | } |
3393 | break; |
3394 | default: |
3395 | break; |
3396 | } |
3397 | break; |
3398 | default: |
3399 | break; |
3400 | } |
3401 | break; |
3402 | case Opcode::RotateLeft64: |
3403 | switch (sizeof...(Arguments)) { |
3404 | case 2: |
3405 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3406 | case Arg::Tmp: |
3407 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3408 | case Arg::Tmp: |
3409 | break; |
3410 | break; |
3411 | default: |
3412 | break; |
3413 | } |
3414 | break; |
3415 | case Arg::Imm: |
3416 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3417 | case Arg::Tmp: |
3418 | #if CPU(X86_64) |
3419 | OPGEN_RETURN(true); |
3420 | #endif |
3421 | break; |
3422 | break; |
3423 | default: |
3424 | break; |
3425 | } |
3426 | break; |
3427 | default: |
3428 | break; |
3429 | } |
3430 | break; |
3431 | default: |
3432 | break; |
3433 | } |
3434 | break; |
3435 | case Opcode::Or32: |
3436 | switch (sizeof...(Arguments)) { |
3437 | case 3: |
3438 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3439 | case Arg::Tmp: |
3440 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3441 | case Arg::Tmp: |
3442 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3443 | case Arg::Tmp: |
3444 | OPGEN_RETURN(true); |
3445 | break; |
3446 | break; |
3447 | default: |
3448 | break; |
3449 | } |
3450 | break; |
3451 | case Arg::Addr: |
3452 | case Arg::Stack: |
3453 | case Arg::CallArg: |
3454 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3455 | case Arg::Tmp: |
3456 | #if CPU(X86) || CPU(X86_64) |
3457 | OPGEN_RETURN(true); |
3458 | #endif |
3459 | break; |
3460 | break; |
3461 | default: |
3462 | break; |
3463 | } |
3464 | break; |
3465 | default: |
3466 | break; |
3467 | } |
3468 | break; |
3469 | case Arg::BitImm: |
3470 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3471 | case Arg::Tmp: |
3472 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3473 | case Arg::Tmp: |
3474 | #if CPU(ARM64) |
3475 | OPGEN_RETURN(true); |
3476 | #endif |
3477 | break; |
3478 | break; |
3479 | default: |
3480 | break; |
3481 | } |
3482 | break; |
3483 | default: |
3484 | break; |
3485 | } |
3486 | break; |
3487 | case Arg::Addr: |
3488 | case Arg::Stack: |
3489 | case Arg::CallArg: |
3490 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3491 | case Arg::Tmp: |
3492 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3493 | case Arg::Tmp: |
3494 | #if CPU(X86) || CPU(X86_64) |
3495 | OPGEN_RETURN(true); |
3496 | #endif |
3497 | break; |
3498 | break; |
3499 | default: |
3500 | break; |
3501 | } |
3502 | break; |
3503 | default: |
3504 | break; |
3505 | } |
3506 | break; |
3507 | default: |
3508 | break; |
3509 | } |
3510 | break; |
3511 | case 2: |
3512 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3513 | case Arg::Tmp: |
3514 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3515 | case Arg::Tmp: |
3516 | OPGEN_RETURN(true); |
3517 | break; |
3518 | break; |
3519 | case Arg::Addr: |
3520 | case Arg::Stack: |
3521 | case Arg::CallArg: |
3522 | #if CPU(X86) || CPU(X86_64) |
3523 | OPGEN_RETURN(true); |
3524 | #endif |
3525 | break; |
3526 | break; |
3527 | case Arg::Index: |
3528 | #if CPU(X86) || CPU(X86_64) |
3529 | OPGEN_RETURN(true); |
3530 | #endif |
3531 | break; |
3532 | break; |
3533 | default: |
3534 | break; |
3535 | } |
3536 | break; |
3537 | case Arg::Imm: |
3538 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3539 | case Arg::Tmp: |
3540 | #if CPU(X86) || CPU(X86_64) |
3541 | OPGEN_RETURN(true); |
3542 | #endif |
3543 | break; |
3544 | break; |
3545 | case Arg::Addr: |
3546 | case Arg::Stack: |
3547 | case Arg::CallArg: |
3548 | #if CPU(X86) || CPU(X86_64) |
3549 | OPGEN_RETURN(true); |
3550 | #endif |
3551 | break; |
3552 | break; |
3553 | case Arg::Index: |
3554 | #if CPU(X86) || CPU(X86_64) |
3555 | OPGEN_RETURN(true); |
3556 | #endif |
3557 | break; |
3558 | break; |
3559 | default: |
3560 | break; |
3561 | } |
3562 | break; |
3563 | case Arg::Addr: |
3564 | case Arg::Stack: |
3565 | case Arg::CallArg: |
3566 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3567 | case Arg::Tmp: |
3568 | #if CPU(X86) || CPU(X86_64) |
3569 | OPGEN_RETURN(true); |
3570 | #endif |
3571 | break; |
3572 | break; |
3573 | default: |
3574 | break; |
3575 | } |
3576 | break; |
3577 | case Arg::Index: |
3578 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3579 | case Arg::Tmp: |
3580 | #if CPU(X86) || CPU(X86_64) |
3581 | OPGEN_RETURN(true); |
3582 | #endif |
3583 | break; |
3584 | break; |
3585 | default: |
3586 | break; |
3587 | } |
3588 | break; |
3589 | default: |
3590 | break; |
3591 | } |
3592 | break; |
3593 | default: |
3594 | break; |
3595 | } |
3596 | break; |
3597 | case Opcode::Or64: |
3598 | switch (sizeof...(Arguments)) { |
3599 | case 3: |
3600 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3601 | case Arg::Tmp: |
3602 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3603 | case Arg::Tmp: |
3604 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3605 | case Arg::Tmp: |
3606 | #if CPU(X86_64) || CPU(ARM64) |
3607 | OPGEN_RETURN(true); |
3608 | #endif |
3609 | break; |
3610 | break; |
3611 | default: |
3612 | break; |
3613 | } |
3614 | break; |
3615 | default: |
3616 | break; |
3617 | } |
3618 | break; |
3619 | #if USE(JSVALUE64) |
3620 | case Arg::BitImm64: |
3621 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3622 | case Arg::Tmp: |
3623 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3624 | case Arg::Tmp: |
3625 | #if CPU(ARM64) |
3626 | OPGEN_RETURN(true); |
3627 | #endif |
3628 | break; |
3629 | break; |
3630 | default: |
3631 | break; |
3632 | } |
3633 | break; |
3634 | default: |
3635 | break; |
3636 | } |
3637 | break; |
3638 | #endif // USE(JSVALUE64) |
3639 | default: |
3640 | break; |
3641 | } |
3642 | break; |
3643 | case 2: |
3644 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3645 | case Arg::Tmp: |
3646 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3647 | case Arg::Tmp: |
3648 | #if CPU(X86_64) || CPU(ARM64) |
3649 | OPGEN_RETURN(true); |
3650 | #endif |
3651 | break; |
3652 | break; |
3653 | case Arg::Addr: |
3654 | case Arg::Stack: |
3655 | case Arg::CallArg: |
3656 | #if CPU(X86_64) |
3657 | OPGEN_RETURN(true); |
3658 | #endif |
3659 | break; |
3660 | break; |
3661 | case Arg::Index: |
3662 | #if CPU(X86_64) |
3663 | OPGEN_RETURN(true); |
3664 | #endif |
3665 | break; |
3666 | break; |
3667 | default: |
3668 | break; |
3669 | } |
3670 | break; |
3671 | case Arg::Imm: |
3672 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3673 | case Arg::Tmp: |
3674 | #if CPU(X86_64) |
3675 | OPGEN_RETURN(true); |
3676 | #endif |
3677 | break; |
3678 | break; |
3679 | case Arg::Addr: |
3680 | case Arg::Stack: |
3681 | case Arg::CallArg: |
3682 | #if CPU(X86_64) |
3683 | OPGEN_RETURN(true); |
3684 | #endif |
3685 | break; |
3686 | break; |
3687 | case Arg::Index: |
3688 | #if CPU(X86_64) |
3689 | OPGEN_RETURN(true); |
3690 | #endif |
3691 | break; |
3692 | break; |
3693 | default: |
3694 | break; |
3695 | } |
3696 | break; |
3697 | case Arg::Addr: |
3698 | case Arg::Stack: |
3699 | case Arg::CallArg: |
3700 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3701 | case Arg::Tmp: |
3702 | #if CPU(X86_64) |
3703 | OPGEN_RETURN(true); |
3704 | #endif |
3705 | break; |
3706 | break; |
3707 | default: |
3708 | break; |
3709 | } |
3710 | break; |
3711 | case Arg::Index: |
3712 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3713 | case Arg::Tmp: |
3714 | #if CPU(X86_64) |
3715 | OPGEN_RETURN(true); |
3716 | #endif |
3717 | break; |
3718 | break; |
3719 | default: |
3720 | break; |
3721 | } |
3722 | break; |
3723 | default: |
3724 | break; |
3725 | } |
3726 | break; |
3727 | default: |
3728 | break; |
3729 | } |
3730 | break; |
3731 | case Opcode::Xor32: |
3732 | switch (sizeof...(Arguments)) { |
3733 | case 3: |
3734 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3735 | case Arg::Tmp: |
3736 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3737 | case Arg::Tmp: |
3738 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3739 | case Arg::Tmp: |
3740 | OPGEN_RETURN(true); |
3741 | break; |
3742 | break; |
3743 | default: |
3744 | break; |
3745 | } |
3746 | break; |
3747 | case Arg::Addr: |
3748 | case Arg::Stack: |
3749 | case Arg::CallArg: |
3750 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3751 | case Arg::Tmp: |
3752 | #if CPU(X86) || CPU(X86_64) |
3753 | OPGEN_RETURN(true); |
3754 | #endif |
3755 | break; |
3756 | break; |
3757 | default: |
3758 | break; |
3759 | } |
3760 | break; |
3761 | default: |
3762 | break; |
3763 | } |
3764 | break; |
3765 | case Arg::BitImm: |
3766 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3767 | case Arg::Tmp: |
3768 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3769 | case Arg::Tmp: |
3770 | #if CPU(ARM64) |
3771 | OPGEN_RETURN(true); |
3772 | #endif |
3773 | break; |
3774 | break; |
3775 | default: |
3776 | break; |
3777 | } |
3778 | break; |
3779 | default: |
3780 | break; |
3781 | } |
3782 | break; |
3783 | case Arg::Addr: |
3784 | case Arg::Stack: |
3785 | case Arg::CallArg: |
3786 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3787 | case Arg::Tmp: |
3788 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3789 | case Arg::Tmp: |
3790 | #if CPU(X86) || CPU(X86_64) |
3791 | OPGEN_RETURN(true); |
3792 | #endif |
3793 | break; |
3794 | break; |
3795 | default: |
3796 | break; |
3797 | } |
3798 | break; |
3799 | default: |
3800 | break; |
3801 | } |
3802 | break; |
3803 | default: |
3804 | break; |
3805 | } |
3806 | break; |
3807 | case 2: |
3808 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3809 | case Arg::Tmp: |
3810 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3811 | case Arg::Tmp: |
3812 | OPGEN_RETURN(true); |
3813 | break; |
3814 | break; |
3815 | case Arg::Addr: |
3816 | case Arg::Stack: |
3817 | case Arg::CallArg: |
3818 | #if CPU(X86) || CPU(X86_64) |
3819 | OPGEN_RETURN(true); |
3820 | #endif |
3821 | break; |
3822 | break; |
3823 | case Arg::Index: |
3824 | #if CPU(X86) || CPU(X86_64) |
3825 | OPGEN_RETURN(true); |
3826 | #endif |
3827 | break; |
3828 | break; |
3829 | default: |
3830 | break; |
3831 | } |
3832 | break; |
3833 | case Arg::Imm: |
3834 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3835 | case Arg::Tmp: |
3836 | #if CPU(X86) || CPU(X86_64) |
3837 | OPGEN_RETURN(true); |
3838 | #endif |
3839 | break; |
3840 | break; |
3841 | case Arg::Addr: |
3842 | case Arg::Stack: |
3843 | case Arg::CallArg: |
3844 | #if CPU(X86) || CPU(X86_64) |
3845 | OPGEN_RETURN(true); |
3846 | #endif |
3847 | break; |
3848 | break; |
3849 | case Arg::Index: |
3850 | #if CPU(X86) || CPU(X86_64) |
3851 | OPGEN_RETURN(true); |
3852 | #endif |
3853 | break; |
3854 | break; |
3855 | default: |
3856 | break; |
3857 | } |
3858 | break; |
3859 | case Arg::Addr: |
3860 | case Arg::Stack: |
3861 | case Arg::CallArg: |
3862 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3863 | case Arg::Tmp: |
3864 | #if CPU(X86) || CPU(X86_64) |
3865 | OPGEN_RETURN(true); |
3866 | #endif |
3867 | break; |
3868 | break; |
3869 | default: |
3870 | break; |
3871 | } |
3872 | break; |
3873 | case Arg::Index: |
3874 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3875 | case Arg::Tmp: |
3876 | #if CPU(X86) || CPU(X86_64) |
3877 | OPGEN_RETURN(true); |
3878 | #endif |
3879 | break; |
3880 | break; |
3881 | default: |
3882 | break; |
3883 | } |
3884 | break; |
3885 | default: |
3886 | break; |
3887 | } |
3888 | break; |
3889 | default: |
3890 | break; |
3891 | } |
3892 | break; |
3893 | case Opcode::Xor64: |
3894 | switch (sizeof...(Arguments)) { |
3895 | case 3: |
3896 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3897 | case Arg::Tmp: |
3898 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3899 | case Arg::Tmp: |
3900 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3901 | case Arg::Tmp: |
3902 | #if CPU(X86_64) || CPU(ARM64) |
3903 | OPGEN_RETURN(true); |
3904 | #endif |
3905 | break; |
3906 | break; |
3907 | default: |
3908 | break; |
3909 | } |
3910 | break; |
3911 | default: |
3912 | break; |
3913 | } |
3914 | break; |
3915 | #if USE(JSVALUE64) |
3916 | case Arg::BitImm64: |
3917 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3918 | case Arg::Tmp: |
3919 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3920 | case Arg::Tmp: |
3921 | #if CPU(ARM64) |
3922 | OPGEN_RETURN(true); |
3923 | #endif |
3924 | break; |
3925 | break; |
3926 | default: |
3927 | break; |
3928 | } |
3929 | break; |
3930 | default: |
3931 | break; |
3932 | } |
3933 | break; |
3934 | #endif // USE(JSVALUE64) |
3935 | default: |
3936 | break; |
3937 | } |
3938 | break; |
3939 | case 2: |
3940 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3941 | case Arg::Tmp: |
3942 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3943 | case Arg::Tmp: |
3944 | #if CPU(X86_64) || CPU(ARM64) |
3945 | OPGEN_RETURN(true); |
3946 | #endif |
3947 | break; |
3948 | break; |
3949 | case Arg::Addr: |
3950 | case Arg::Stack: |
3951 | case Arg::CallArg: |
3952 | #if CPU(X86_64) |
3953 | OPGEN_RETURN(true); |
3954 | #endif |
3955 | break; |
3956 | break; |
3957 | case Arg::Index: |
3958 | #if CPU(X86_64) |
3959 | OPGEN_RETURN(true); |
3960 | #endif |
3961 | break; |
3962 | break; |
3963 | default: |
3964 | break; |
3965 | } |
3966 | break; |
3967 | case Arg::Addr: |
3968 | case Arg::Stack: |
3969 | case Arg::CallArg: |
3970 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3971 | case Arg::Tmp: |
3972 | #if CPU(X86_64) |
3973 | OPGEN_RETURN(true); |
3974 | #endif |
3975 | break; |
3976 | break; |
3977 | default: |
3978 | break; |
3979 | } |
3980 | break; |
3981 | case Arg::Index: |
3982 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3983 | case Arg::Tmp: |
3984 | #if CPU(X86_64) |
3985 | OPGEN_RETURN(true); |
3986 | #endif |
3987 | break; |
3988 | break; |
3989 | default: |
3990 | break; |
3991 | } |
3992 | break; |
3993 | case Arg::Imm: |
3994 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3995 | case Arg::Addr: |
3996 | case Arg::Stack: |
3997 | case Arg::CallArg: |
3998 | #if CPU(X86_64) |
3999 | OPGEN_RETURN(true); |
4000 | #endif |
4001 | break; |
4002 | break; |
4003 | case Arg::Index: |
4004 | #if CPU(X86_64) |
4005 | OPGEN_RETURN(true); |
4006 | #endif |
4007 | break; |
4008 | break; |
4009 | case Arg::Tmp: |
4010 | #if CPU(X86_64) |
4011 | OPGEN_RETURN(true); |
4012 | #endif |
4013 | break; |
4014 | break; |
4015 | default: |
4016 | break; |
4017 | } |
4018 | break; |
4019 | default: |
4020 | break; |
4021 | } |
4022 | break; |
4023 | default: |
4024 | break; |
4025 | } |
4026 | break; |
4027 | case Opcode::Not32: |
4028 | switch (sizeof...(Arguments)) { |
4029 | case 2: |
4030 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4031 | case Arg::Tmp: |
4032 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4033 | case Arg::Tmp: |
4034 | #if CPU(ARM64) |
4035 | OPGEN_RETURN(true); |
4036 | #endif |
4037 | break; |
4038 | break; |
4039 | default: |
4040 | break; |
4041 | } |
4042 | break; |
4043 | default: |
4044 | break; |
4045 | } |
4046 | break; |
4047 | case 1: |
4048 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4049 | case Arg::Tmp: |
4050 | #if CPU(X86) || CPU(X86_64) |
4051 | OPGEN_RETURN(true); |
4052 | #endif |
4053 | break; |
4054 | break; |
4055 | case Arg::Addr: |
4056 | case Arg::Stack: |
4057 | case Arg::CallArg: |
4058 | #if CPU(X86) || CPU(X86_64) |
4059 | OPGEN_RETURN(true); |
4060 | #endif |
4061 | break; |
4062 | break; |
4063 | case Arg::Index: |
4064 | #if CPU(X86) || CPU(X86_64) |
4065 | OPGEN_RETURN(true); |
4066 | #endif |
4067 | break; |
4068 | break; |
4069 | default: |
4070 | break; |
4071 | } |
4072 | break; |
4073 | default: |
4074 | break; |
4075 | } |
4076 | break; |
4077 | case Opcode::Not64: |
4078 | switch (sizeof...(Arguments)) { |
4079 | case 2: |
4080 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4081 | case Arg::Tmp: |
4082 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4083 | case Arg::Tmp: |
4084 | #if CPU(ARM64) |
4085 | OPGEN_RETURN(true); |
4086 | #endif |
4087 | break; |
4088 | break; |
4089 | default: |
4090 | break; |
4091 | } |
4092 | break; |
4093 | default: |
4094 | break; |
4095 | } |
4096 | break; |
4097 | case 1: |
4098 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4099 | case Arg::Tmp: |
4100 | #if CPU(X86_64) |
4101 | OPGEN_RETURN(true); |
4102 | #endif |
4103 | break; |
4104 | break; |
4105 | case Arg::Addr: |
4106 | case Arg::Stack: |
4107 | case Arg::CallArg: |
4108 | #if CPU(X86_64) |
4109 | OPGEN_RETURN(true); |
4110 | #endif |
4111 | break; |
4112 | break; |
4113 | case Arg::Index: |
4114 | #if CPU(X86_64) |
4115 | OPGEN_RETURN(true); |
4116 | #endif |
4117 | break; |
4118 | break; |
4119 | default: |
4120 | break; |
4121 | } |
4122 | break; |
4123 | default: |
4124 | break; |
4125 | } |
4126 | break; |
4127 | case Opcode::AbsDouble: |
4128 | switch (sizeof...(Arguments)) { |
4129 | case 2: |
4130 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4131 | case Arg::Tmp: |
4132 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4133 | case Arg::Tmp: |
4134 | #if CPU(ARM64) |
4135 | OPGEN_RETURN(true); |
4136 | #endif |
4137 | break; |
4138 | break; |
4139 | default: |
4140 | break; |
4141 | } |
4142 | break; |
4143 | default: |
4144 | break; |
4145 | } |
4146 | break; |
4147 | default: |
4148 | break; |
4149 | } |
4150 | break; |
4151 | case Opcode::AbsFloat: |
4152 | switch (sizeof...(Arguments)) { |
4153 | case 2: |
4154 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4155 | case Arg::Tmp: |
4156 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4157 | case Arg::Tmp: |
4158 | #if CPU(ARM64) |
4159 | OPGEN_RETURN(true); |
4160 | #endif |
4161 | break; |
4162 | break; |
4163 | default: |
4164 | break; |
4165 | } |
4166 | break; |
4167 | default: |
4168 | break; |
4169 | } |
4170 | break; |
4171 | default: |
4172 | break; |
4173 | } |
4174 | break; |
4175 | case Opcode::CeilDouble: |
4176 | switch (sizeof...(Arguments)) { |
4177 | case 2: |
4178 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4179 | case Arg::Tmp: |
4180 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4181 | case Arg::Tmp: |
4182 | OPGEN_RETURN(true); |
4183 | break; |
4184 | break; |
4185 | default: |
4186 | break; |
4187 | } |
4188 | break; |
4189 | case Arg::Addr: |
4190 | case Arg::Stack: |
4191 | case Arg::CallArg: |
4192 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4193 | case Arg::Tmp: |
4194 | #if CPU(X86) || CPU(X86_64) |
4195 | OPGEN_RETURN(true); |
4196 | #endif |
4197 | break; |
4198 | break; |
4199 | default: |
4200 | break; |
4201 | } |
4202 | break; |
4203 | default: |
4204 | break; |
4205 | } |
4206 | break; |
4207 | default: |
4208 | break; |
4209 | } |
4210 | break; |
4211 | case Opcode::CeilFloat: |
4212 | switch (sizeof...(Arguments)) { |
4213 | case 2: |
4214 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4215 | case Arg::Tmp: |
4216 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4217 | case Arg::Tmp: |
4218 | OPGEN_RETURN(true); |
4219 | break; |
4220 | break; |
4221 | default: |
4222 | break; |
4223 | } |
4224 | break; |
4225 | case Arg::Addr: |
4226 | case Arg::Stack: |
4227 | case Arg::CallArg: |
4228 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4229 | case Arg::Tmp: |
4230 | #if CPU(X86) || CPU(X86_64) |
4231 | OPGEN_RETURN(true); |
4232 | #endif |
4233 | break; |
4234 | break; |
4235 | default: |
4236 | break; |
4237 | } |
4238 | break; |
4239 | default: |
4240 | break; |
4241 | } |
4242 | break; |
4243 | default: |
4244 | break; |
4245 | } |
4246 | break; |
4247 | case Opcode::FloorDouble: |
4248 | switch (sizeof...(Arguments)) { |
4249 | case 2: |
4250 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4251 | case Arg::Tmp: |
4252 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4253 | case Arg::Tmp: |
4254 | OPGEN_RETURN(true); |
4255 | break; |
4256 | break; |
4257 | default: |
4258 | break; |
4259 | } |
4260 | break; |
4261 | case Arg::Addr: |
4262 | case Arg::Stack: |
4263 | case Arg::CallArg: |
4264 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4265 | case Arg::Tmp: |
4266 | #if CPU(X86) || CPU(X86_64) |
4267 | OPGEN_RETURN(true); |
4268 | #endif |
4269 | break; |
4270 | break; |
4271 | default: |
4272 | break; |
4273 | } |
4274 | break; |
4275 | default: |
4276 | break; |
4277 | } |
4278 | break; |
4279 | default: |
4280 | break; |
4281 | } |
4282 | break; |
4283 | case Opcode::FloorFloat: |
4284 | switch (sizeof...(Arguments)) { |
4285 | case 2: |
4286 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4287 | case Arg::Tmp: |
4288 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4289 | case Arg::Tmp: |
4290 | OPGEN_RETURN(true); |
4291 | break; |
4292 | break; |
4293 | default: |
4294 | break; |
4295 | } |
4296 | break; |
4297 | case Arg::Addr: |
4298 | case Arg::Stack: |
4299 | case Arg::CallArg: |
4300 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4301 | case Arg::Tmp: |
4302 | #if CPU(X86) || CPU(X86_64) |
4303 | OPGEN_RETURN(true); |
4304 | #endif |
4305 | break; |
4306 | break; |
4307 | default: |
4308 | break; |
4309 | } |
4310 | break; |
4311 | default: |
4312 | break; |
4313 | } |
4314 | break; |
4315 | default: |
4316 | break; |
4317 | } |
4318 | break; |
4319 | case Opcode::SqrtDouble: |
4320 | switch (sizeof...(Arguments)) { |
4321 | case 2: |
4322 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4323 | case Arg::Tmp: |
4324 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4325 | case Arg::Tmp: |
4326 | OPGEN_RETURN(true); |
4327 | break; |
4328 | break; |
4329 | default: |
4330 | break; |
4331 | } |
4332 | break; |
4333 | case Arg::Addr: |
4334 | case Arg::Stack: |
4335 | case Arg::CallArg: |
4336 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4337 | case Arg::Tmp: |
4338 | #if CPU(X86) || CPU(X86_64) |
4339 | OPGEN_RETURN(true); |
4340 | #endif |
4341 | break; |
4342 | break; |
4343 | default: |
4344 | break; |
4345 | } |
4346 | break; |
4347 | default: |
4348 | break; |
4349 | } |
4350 | break; |
4351 | default: |
4352 | break; |
4353 | } |
4354 | break; |
4355 | case Opcode::SqrtFloat: |
4356 | switch (sizeof...(Arguments)) { |
4357 | case 2: |
4358 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4359 | case Arg::Tmp: |
4360 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4361 | case Arg::Tmp: |
4362 | OPGEN_RETURN(true); |
4363 | break; |
4364 | break; |
4365 | default: |
4366 | break; |
4367 | } |
4368 | break; |
4369 | case Arg::Addr: |
4370 | case Arg::Stack: |
4371 | case Arg::CallArg: |
4372 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4373 | case Arg::Tmp: |
4374 | #if CPU(X86) || CPU(X86_64) |
4375 | OPGEN_RETURN(true); |
4376 | #endif |
4377 | break; |
4378 | break; |
4379 | default: |
4380 | break; |
4381 | } |
4382 | break; |
4383 | default: |
4384 | break; |
4385 | } |
4386 | break; |
4387 | default: |
4388 | break; |
4389 | } |
4390 | break; |
4391 | case Opcode::ConvertInt32ToDouble: |
4392 | switch (sizeof...(Arguments)) { |
4393 | case 2: |
4394 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4395 | case Arg::Tmp: |
4396 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4397 | case Arg::Tmp: |
4398 | OPGEN_RETURN(true); |
4399 | break; |
4400 | break; |
4401 | default: |
4402 | break; |
4403 | } |
4404 | break; |
4405 | case Arg::Addr: |
4406 | case Arg::Stack: |
4407 | case Arg::CallArg: |
4408 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4409 | case Arg::Tmp: |
4410 | #if CPU(X86) || CPU(X86_64) |
4411 | OPGEN_RETURN(true); |
4412 | #endif |
4413 | break; |
4414 | break; |
4415 | default: |
4416 | break; |
4417 | } |
4418 | break; |
4419 | default: |
4420 | break; |
4421 | } |
4422 | break; |
4423 | default: |
4424 | break; |
4425 | } |
4426 | break; |
4427 | case Opcode::ConvertInt64ToDouble: |
4428 | switch (sizeof...(Arguments)) { |
4429 | case 2: |
4430 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4431 | case Arg::Tmp: |
4432 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4433 | case Arg::Tmp: |
4434 | #if CPU(X86_64) || CPU(ARM64) |
4435 | OPGEN_RETURN(true); |
4436 | #endif |
4437 | break; |
4438 | break; |
4439 | default: |
4440 | break; |
4441 | } |
4442 | break; |
4443 | case Arg::Addr: |
4444 | case Arg::Stack: |
4445 | case Arg::CallArg: |
4446 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4447 | case Arg::Tmp: |
4448 | #if CPU(X86_64) |
4449 | OPGEN_RETURN(true); |
4450 | #endif |
4451 | break; |
4452 | break; |
4453 | default: |
4454 | break; |
4455 | } |
4456 | break; |
4457 | default: |
4458 | break; |
4459 | } |
4460 | break; |
4461 | default: |
4462 | break; |
4463 | } |
4464 | break; |
4465 | case Opcode::ConvertInt32ToFloat: |
4466 | switch (sizeof...(Arguments)) { |
4467 | case 2: |
4468 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4469 | case Arg::Tmp: |
4470 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4471 | case Arg::Tmp: |
4472 | OPGEN_RETURN(true); |
4473 | break; |
4474 | break; |
4475 | default: |
4476 | break; |
4477 | } |
4478 | break; |
4479 | case Arg::Addr: |
4480 | case Arg::Stack: |
4481 | case Arg::CallArg: |
4482 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4483 | case Arg::Tmp: |
4484 | #if CPU(X86) || CPU(X86_64) |
4485 | OPGEN_RETURN(true); |
4486 | #endif |
4487 | break; |
4488 | break; |
4489 | default: |
4490 | break; |
4491 | } |
4492 | break; |
4493 | default: |
4494 | break; |
4495 | } |
4496 | break; |
4497 | default: |
4498 | break; |
4499 | } |
4500 | break; |
4501 | case Opcode::ConvertInt64ToFloat: |
4502 | switch (sizeof...(Arguments)) { |
4503 | case 2: |
4504 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4505 | case Arg::Tmp: |
4506 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4507 | case Arg::Tmp: |
4508 | #if CPU(X86_64) || CPU(ARM64) |
4509 | OPGEN_RETURN(true); |
4510 | #endif |
4511 | break; |
4512 | break; |
4513 | default: |
4514 | break; |
4515 | } |
4516 | break; |
4517 | case Arg::Addr: |
4518 | case Arg::Stack: |
4519 | case Arg::CallArg: |
4520 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4521 | case Arg::Tmp: |
4522 | #if CPU(X86_64) |
4523 | OPGEN_RETURN(true); |
4524 | #endif |
4525 | break; |
4526 | break; |
4527 | default: |
4528 | break; |
4529 | } |
4530 | break; |
4531 | default: |
4532 | break; |
4533 | } |
4534 | break; |
4535 | default: |
4536 | break; |
4537 | } |
4538 | break; |
4539 | case Opcode::CountLeadingZeros32: |
4540 | switch (sizeof...(Arguments)) { |
4541 | case 2: |
4542 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4543 | case Arg::Tmp: |
4544 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4545 | case Arg::Tmp: |
4546 | OPGEN_RETURN(true); |
4547 | break; |
4548 | break; |
4549 | default: |
4550 | break; |
4551 | } |
4552 | break; |
4553 | case Arg::Addr: |
4554 | case Arg::Stack: |
4555 | case Arg::CallArg: |
4556 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4557 | case Arg::Tmp: |
4558 | #if CPU(X86) || CPU(X86_64) |
4559 | OPGEN_RETURN(true); |
4560 | #endif |
4561 | break; |
4562 | break; |
4563 | default: |
4564 | break; |
4565 | } |
4566 | break; |
4567 | default: |
4568 | break; |
4569 | } |
4570 | break; |
4571 | default: |
4572 | break; |
4573 | } |
4574 | break; |
4575 | case Opcode::CountLeadingZeros64: |
4576 | switch (sizeof...(Arguments)) { |
4577 | case 2: |
4578 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4579 | case Arg::Tmp: |
4580 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4581 | case Arg::Tmp: |
4582 | #if CPU(X86_64) || CPU(ARM64) |
4583 | OPGEN_RETURN(true); |
4584 | #endif |
4585 | break; |
4586 | break; |
4587 | default: |
4588 | break; |
4589 | } |
4590 | break; |
4591 | case Arg::Addr: |
4592 | case Arg::Stack: |
4593 | case Arg::CallArg: |
4594 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4595 | case Arg::Tmp: |
4596 | #if CPU(X86_64) |
4597 | OPGEN_RETURN(true); |
4598 | #endif |
4599 | break; |
4600 | break; |
4601 | default: |
4602 | break; |
4603 | } |
4604 | break; |
4605 | default: |
4606 | break; |
4607 | } |
4608 | break; |
4609 | default: |
4610 | break; |
4611 | } |
4612 | break; |
4613 | case Opcode::ConvertDoubleToFloat: |
4614 | switch (sizeof...(Arguments)) { |
4615 | case 2: |
4616 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4617 | case Arg::Tmp: |
4618 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4619 | case Arg::Tmp: |
4620 | OPGEN_RETURN(true); |
4621 | break; |
4622 | break; |
4623 | default: |
4624 | break; |
4625 | } |
4626 | break; |
4627 | case Arg::Addr: |
4628 | case Arg::Stack: |
4629 | case Arg::CallArg: |
4630 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4631 | case Arg::Tmp: |
4632 | #if CPU(X86) || CPU(X86_64) |
4633 | OPGEN_RETURN(true); |
4634 | #endif |
4635 | break; |
4636 | break; |
4637 | default: |
4638 | break; |
4639 | } |
4640 | break; |
4641 | default: |
4642 | break; |
4643 | } |
4644 | break; |
4645 | default: |
4646 | break; |
4647 | } |
4648 | break; |
4649 | case Opcode::ConvertFloatToDouble: |
4650 | switch (sizeof...(Arguments)) { |
4651 | case 2: |
4652 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4653 | case Arg::Tmp: |
4654 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4655 | case Arg::Tmp: |
4656 | OPGEN_RETURN(true); |
4657 | break; |
4658 | break; |
4659 | default: |
4660 | break; |
4661 | } |
4662 | break; |
4663 | case Arg::Addr: |
4664 | case Arg::Stack: |
4665 | case Arg::CallArg: |
4666 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4667 | case Arg::Tmp: |
4668 | #if CPU(X86) || CPU(X86_64) |
4669 | OPGEN_RETURN(true); |
4670 | #endif |
4671 | break; |
4672 | break; |
4673 | default: |
4674 | break; |
4675 | } |
4676 | break; |
4677 | default: |
4678 | break; |
4679 | } |
4680 | break; |
4681 | default: |
4682 | break; |
4683 | } |
4684 | break; |
4685 | case Opcode::Move: |
4686 | switch (sizeof...(Arguments)) { |
4687 | case 2: |
4688 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4689 | case Arg::Tmp: |
4690 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4691 | case Arg::Tmp: |
4692 | OPGEN_RETURN(true); |
4693 | break; |
4694 | break; |
4695 | case Arg::Addr: |
4696 | case Arg::Stack: |
4697 | case Arg::CallArg: |
4698 | OPGEN_RETURN(true); |
4699 | break; |
4700 | break; |
4701 | case Arg::Index: |
4702 | OPGEN_RETURN(true); |
4703 | break; |
4704 | break; |
4705 | default: |
4706 | break; |
4707 | } |
4708 | break; |
4709 | case Arg::Imm: |
4710 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4711 | case Arg::Tmp: |
4712 | OPGEN_RETURN(true); |
4713 | break; |
4714 | break; |
4715 | case Arg::Addr: |
4716 | case Arg::Stack: |
4717 | case Arg::CallArg: |
4718 | #if CPU(X86) || CPU(X86_64) |
4719 | OPGEN_RETURN(true); |
4720 | #endif |
4721 | break; |
4722 | break; |
4723 | default: |
4724 | break; |
4725 | } |
4726 | break; |
4727 | #if USE(JSVALUE64) |
4728 | case Arg::BigImm: |
4729 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4730 | case Arg::Tmp: |
4731 | OPGEN_RETURN(true); |
4732 | break; |
4733 | break; |
4734 | default: |
4735 | break; |
4736 | } |
4737 | break; |
4738 | #endif // USE(JSVALUE64) |
4739 | case Arg::Addr: |
4740 | case Arg::Stack: |
4741 | case Arg::CallArg: |
4742 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4743 | case Arg::Tmp: |
4744 | OPGEN_RETURN(true); |
4745 | break; |
4746 | break; |
4747 | default: |
4748 | break; |
4749 | } |
4750 | break; |
4751 | case Arg::Index: |
4752 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4753 | case Arg::Tmp: |
4754 | OPGEN_RETURN(true); |
4755 | break; |
4756 | break; |
4757 | default: |
4758 | break; |
4759 | } |
4760 | break; |
4761 | default: |
4762 | break; |
4763 | } |
4764 | break; |
4765 | case 3: |
4766 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4767 | case Arg::Addr: |
4768 | case Arg::Stack: |
4769 | case Arg::CallArg: |
4770 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4771 | case Arg::Addr: |
4772 | case Arg::Stack: |
4773 | case Arg::CallArg: |
4774 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
4775 | case Arg::Tmp: |
4776 | OPGEN_RETURN(true); |
4777 | break; |
4778 | break; |
4779 | default: |
4780 | break; |
4781 | } |
4782 | break; |
4783 | default: |
4784 | break; |
4785 | } |
4786 | break; |
4787 | default: |
4788 | break; |
4789 | } |
4790 | break; |
4791 | default: |
4792 | break; |
4793 | } |
4794 | break; |
4795 | case Opcode::Swap32: |
4796 | switch (sizeof...(Arguments)) { |
4797 | case 2: |
4798 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4799 | case Arg::Tmp: |
4800 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4801 | case Arg::Tmp: |
4802 | #if CPU(X86) || CPU(X86_64) |
4803 | OPGEN_RETURN(true); |
4804 | #endif |
4805 | break; |
4806 | break; |
4807 | case Arg::Addr: |
4808 | case Arg::Stack: |
4809 | case Arg::CallArg: |
4810 | #if CPU(X86) || CPU(X86_64) |
4811 | OPGEN_RETURN(true); |
4812 | #endif |
4813 | break; |
4814 | break; |
4815 | default: |
4816 | break; |
4817 | } |
4818 | break; |
4819 | default: |
4820 | break; |
4821 | } |
4822 | break; |
4823 | default: |
4824 | break; |
4825 | } |
4826 | break; |
4827 | case Opcode::Swap64: |
4828 | switch (sizeof...(Arguments)) { |
4829 | case 2: |
4830 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4831 | case Arg::Tmp: |
4832 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4833 | case Arg::Tmp: |
4834 | #if CPU(X86_64) |
4835 | OPGEN_RETURN(true); |
4836 | #endif |
4837 | break; |
4838 | break; |
4839 | case Arg::Addr: |
4840 | case Arg::Stack: |
4841 | case Arg::CallArg: |
4842 | #if CPU(X86_64) |
4843 | OPGEN_RETURN(true); |
4844 | #endif |
4845 | break; |
4846 | break; |
4847 | default: |
4848 | break; |
4849 | } |
4850 | break; |
4851 | default: |
4852 | break; |
4853 | } |
4854 | break; |
4855 | default: |
4856 | break; |
4857 | } |
4858 | break; |
4859 | case Opcode::Move32: |
4860 | switch (sizeof...(Arguments)) { |
4861 | case 2: |
4862 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4863 | case Arg::Tmp: |
4864 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4865 | case Arg::Tmp: |
4866 | OPGEN_RETURN(true); |
4867 | break; |
4868 | break; |
4869 | case Arg::Addr: |
4870 | case Arg::Stack: |
4871 | case Arg::CallArg: |
4872 | OPGEN_RETURN(true); |
4873 | break; |
4874 | break; |
4875 | case Arg::Index: |
4876 | OPGEN_RETURN(true); |
4877 | break; |
4878 | break; |
4879 | default: |
4880 | break; |
4881 | } |
4882 | break; |
4883 | case Arg::Addr: |
4884 | case Arg::Stack: |
4885 | case Arg::CallArg: |
4886 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4887 | case Arg::Tmp: |
4888 | OPGEN_RETURN(true); |
4889 | break; |
4890 | break; |
4891 | default: |
4892 | break; |
4893 | } |
4894 | break; |
4895 | case Arg::Index: |
4896 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4897 | case Arg::Tmp: |
4898 | OPGEN_RETURN(true); |
4899 | break; |
4900 | break; |
4901 | default: |
4902 | break; |
4903 | } |
4904 | break; |
4905 | case Arg::Imm: |
4906 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4907 | case Arg::Tmp: |
4908 | #if CPU(X86) || CPU(X86_64) |
4909 | OPGEN_RETURN(true); |
4910 | #endif |
4911 | break; |
4912 | break; |
4913 | case Arg::Addr: |
4914 | case Arg::Stack: |
4915 | case Arg::CallArg: |
4916 | #if CPU(X86) || CPU(X86_64) |
4917 | OPGEN_RETURN(true); |
4918 | #endif |
4919 | break; |
4920 | break; |
4921 | case Arg::Index: |
4922 | #if CPU(X86) || CPU(X86_64) |
4923 | OPGEN_RETURN(true); |
4924 | #endif |
4925 | break; |
4926 | break; |
4927 | default: |
4928 | break; |
4929 | } |
4930 | break; |
4931 | default: |
4932 | break; |
4933 | } |
4934 | break; |
4935 | case 3: |
4936 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4937 | case Arg::Addr: |
4938 | case Arg::Stack: |
4939 | case Arg::CallArg: |
4940 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4941 | case Arg::Addr: |
4942 | case Arg::Stack: |
4943 | case Arg::CallArg: |
4944 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
4945 | case Arg::Tmp: |
4946 | OPGEN_RETURN(true); |
4947 | break; |
4948 | break; |
4949 | default: |
4950 | break; |
4951 | } |
4952 | break; |
4953 | default: |
4954 | break; |
4955 | } |
4956 | break; |
4957 | default: |
4958 | break; |
4959 | } |
4960 | break; |
4961 | default: |
4962 | break; |
4963 | } |
4964 | break; |
4965 | case Opcode::StoreZero32: |
4966 | switch (sizeof...(Arguments)) { |
4967 | case 1: |
4968 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4969 | case Arg::Addr: |
4970 | case Arg::Stack: |
4971 | case Arg::CallArg: |
4972 | OPGEN_RETURN(true); |
4973 | break; |
4974 | break; |
4975 | case Arg::Index: |
4976 | OPGEN_RETURN(true); |
4977 | break; |
4978 | break; |
4979 | default: |
4980 | break; |
4981 | } |
4982 | break; |
4983 | default: |
4984 | break; |
4985 | } |
4986 | break; |
4987 | case Opcode::StoreZero64: |
4988 | switch (sizeof...(Arguments)) { |
4989 | case 1: |
4990 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4991 | case Arg::Addr: |
4992 | case Arg::Stack: |
4993 | case Arg::CallArg: |
4994 | #if CPU(X86_64) || CPU(ARM64) |
4995 | OPGEN_RETURN(true); |
4996 | #endif |
4997 | break; |
4998 | break; |
4999 | case Arg::Index: |
5000 | #if CPU(X86_64) || CPU(ARM64) |
5001 | OPGEN_RETURN(true); |
5002 | #endif |
5003 | break; |
5004 | break; |
5005 | default: |
5006 | break; |
5007 | } |
5008 | break; |
5009 | default: |
5010 | break; |
5011 | } |
5012 | break; |
5013 | case Opcode::SignExtend32ToPtr: |
5014 | switch (sizeof...(Arguments)) { |
5015 | case 2: |
5016 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5017 | case Arg::Tmp: |
5018 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5019 | case Arg::Tmp: |
5020 | OPGEN_RETURN(true); |
5021 | break; |
5022 | break; |
5023 | default: |
5024 | break; |
5025 | } |
5026 | break; |
5027 | default: |
5028 | break; |
5029 | } |
5030 | break; |
5031 | default: |
5032 | break; |
5033 | } |
5034 | break; |
5035 | case Opcode::ZeroExtend8To32: |
5036 | switch (sizeof...(Arguments)) { |
5037 | case 2: |
5038 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5039 | case Arg::Tmp: |
5040 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5041 | case Arg::Tmp: |
5042 | OPGEN_RETURN(true); |
5043 | break; |
5044 | break; |
5045 | default: |
5046 | break; |
5047 | } |
5048 | break; |
5049 | case Arg::Addr: |
5050 | case Arg::Stack: |
5051 | case Arg::CallArg: |
5052 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5053 | case Arg::Tmp: |
5054 | #if CPU(X86) || CPU(X86_64) |
5055 | OPGEN_RETURN(true); |
5056 | #endif |
5057 | break; |
5058 | break; |
5059 | default: |
5060 | break; |
5061 | } |
5062 | break; |
5063 | case Arg::Index: |
5064 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5065 | case Arg::Tmp: |
5066 | #if CPU(X86) || CPU(X86_64) |
5067 | OPGEN_RETURN(true); |
5068 | #endif |
5069 | break; |
5070 | break; |
5071 | default: |
5072 | break; |
5073 | } |
5074 | break; |
5075 | default: |
5076 | break; |
5077 | } |
5078 | break; |
5079 | default: |
5080 | break; |
5081 | } |
5082 | break; |
5083 | case Opcode::SignExtend8To32: |
5084 | switch (sizeof...(Arguments)) { |
5085 | case 2: |
5086 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5087 | case Arg::Tmp: |
5088 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5089 | case Arg::Tmp: |
5090 | OPGEN_RETURN(true); |
5091 | break; |
5092 | break; |
5093 | default: |
5094 | break; |
5095 | } |
5096 | break; |
5097 | case Arg::Addr: |
5098 | case Arg::Stack: |
5099 | case Arg::CallArg: |
5100 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5101 | case Arg::Tmp: |
5102 | #if CPU(X86) || CPU(X86_64) |
5103 | OPGEN_RETURN(true); |
5104 | #endif |
5105 | break; |
5106 | break; |
5107 | default: |
5108 | break; |
5109 | } |
5110 | break; |
5111 | case Arg::Index: |
5112 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5113 | case Arg::Tmp: |
5114 | #if CPU(X86) || CPU(X86_64) |
5115 | OPGEN_RETURN(true); |
5116 | #endif |
5117 | break; |
5118 | break; |
5119 | default: |
5120 | break; |
5121 | } |
5122 | break; |
5123 | default: |
5124 | break; |
5125 | } |
5126 | break; |
5127 | default: |
5128 | break; |
5129 | } |
5130 | break; |
5131 | case Opcode::ZeroExtend16To32: |
5132 | switch (sizeof...(Arguments)) { |
5133 | case 2: |
5134 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5135 | case Arg::Tmp: |
5136 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5137 | case Arg::Tmp: |
5138 | OPGEN_RETURN(true); |
5139 | break; |
5140 | break; |
5141 | default: |
5142 | break; |
5143 | } |
5144 | break; |
5145 | case Arg::Addr: |
5146 | case Arg::Stack: |
5147 | case Arg::CallArg: |
5148 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5149 | case Arg::Tmp: |
5150 | #if CPU(X86) || CPU(X86_64) |
5151 | OPGEN_RETURN(true); |
5152 | #endif |
5153 | break; |
5154 | break; |
5155 | default: |
5156 | break; |
5157 | } |
5158 | break; |
5159 | case Arg::Index: |
5160 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5161 | case Arg::Tmp: |
5162 | #if CPU(X86) || CPU(X86_64) |
5163 | OPGEN_RETURN(true); |
5164 | #endif |
5165 | break; |
5166 | break; |
5167 | default: |
5168 | break; |
5169 | } |
5170 | break; |
5171 | default: |
5172 | break; |
5173 | } |
5174 | break; |
5175 | default: |
5176 | break; |
5177 | } |
5178 | break; |
5179 | case Opcode::SignExtend16To32: |
5180 | switch (sizeof...(Arguments)) { |
5181 | case 2: |
5182 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5183 | case Arg::Tmp: |
5184 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5185 | case Arg::Tmp: |
5186 | OPGEN_RETURN(true); |
5187 | break; |
5188 | break; |
5189 | default: |
5190 | break; |
5191 | } |
5192 | break; |
5193 | case Arg::Addr: |
5194 | case Arg::Stack: |
5195 | case Arg::CallArg: |
5196 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5197 | case Arg::Tmp: |
5198 | #if CPU(X86) || CPU(X86_64) |
5199 | OPGEN_RETURN(true); |
5200 | #endif |
5201 | break; |
5202 | break; |
5203 | default: |
5204 | break; |
5205 | } |
5206 | break; |
5207 | case Arg::Index: |
5208 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5209 | case Arg::Tmp: |
5210 | #if CPU(X86) || CPU(X86_64) |
5211 | OPGEN_RETURN(true); |
5212 | #endif |
5213 | break; |
5214 | break; |
5215 | default: |
5216 | break; |
5217 | } |
5218 | break; |
5219 | default: |
5220 | break; |
5221 | } |
5222 | break; |
5223 | default: |
5224 | break; |
5225 | } |
5226 | break; |
5227 | case Opcode::MoveFloat: |
5228 | switch (sizeof...(Arguments)) { |
5229 | case 2: |
5230 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5231 | case Arg::Tmp: |
5232 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5233 | case Arg::Tmp: |
5234 | OPGEN_RETURN(true); |
5235 | break; |
5236 | break; |
5237 | case Arg::Addr: |
5238 | case Arg::Stack: |
5239 | case Arg::CallArg: |
5240 | OPGEN_RETURN(true); |
5241 | break; |
5242 | break; |
5243 | case Arg::Index: |
5244 | OPGEN_RETURN(true); |
5245 | break; |
5246 | break; |
5247 | default: |
5248 | break; |
5249 | } |
5250 | break; |
5251 | case Arg::Addr: |
5252 | case Arg::Stack: |
5253 | case Arg::CallArg: |
5254 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5255 | case Arg::Tmp: |
5256 | OPGEN_RETURN(true); |
5257 | break; |
5258 | break; |
5259 | default: |
5260 | break; |
5261 | } |
5262 | break; |
5263 | case Arg::Index: |
5264 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5265 | case Arg::Tmp: |
5266 | OPGEN_RETURN(true); |
5267 | break; |
5268 | break; |
5269 | default: |
5270 | break; |
5271 | } |
5272 | break; |
5273 | default: |
5274 | break; |
5275 | } |
5276 | break; |
5277 | case 3: |
5278 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5279 | case Arg::Addr: |
5280 | case Arg::Stack: |
5281 | case Arg::CallArg: |
5282 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5283 | case Arg::Addr: |
5284 | case Arg::Stack: |
5285 | case Arg::CallArg: |
5286 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
5287 | case Arg::Tmp: |
5288 | OPGEN_RETURN(true); |
5289 | break; |
5290 | break; |
5291 | default: |
5292 | break; |
5293 | } |
5294 | break; |
5295 | default: |
5296 | break; |
5297 | } |
5298 | break; |
5299 | default: |
5300 | break; |
5301 | } |
5302 | break; |
5303 | default: |
5304 | break; |
5305 | } |
5306 | break; |
5307 | case Opcode::MoveDouble: |
5308 | switch (sizeof...(Arguments)) { |
5309 | case 2: |
5310 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5311 | case Arg::Tmp: |
5312 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5313 | case Arg::Tmp: |
5314 | OPGEN_RETURN(true); |
5315 | break; |
5316 | break; |
5317 | case Arg::Addr: |
5318 | case Arg::Stack: |
5319 | case Arg::CallArg: |
5320 | OPGEN_RETURN(true); |
5321 | break; |
5322 | break; |
5323 | case Arg::Index: |
5324 | OPGEN_RETURN(true); |
5325 | break; |
5326 | break; |
5327 | default: |
5328 | break; |
5329 | } |
5330 | break; |
5331 | case Arg::Addr: |
5332 | case Arg::Stack: |
5333 | case Arg::CallArg: |
5334 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5335 | case Arg::Tmp: |
5336 | OPGEN_RETURN(true); |
5337 | break; |
5338 | break; |
5339 | default: |
5340 | break; |
5341 | } |
5342 | break; |
5343 | case Arg::Index: |
5344 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5345 | case Arg::Tmp: |
5346 | OPGEN_RETURN(true); |
5347 | break; |
5348 | break; |
5349 | default: |
5350 | break; |
5351 | } |
5352 | break; |
5353 | default: |
5354 | break; |
5355 | } |
5356 | break; |
5357 | case 3: |
5358 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5359 | case Arg::Addr: |
5360 | case Arg::Stack: |
5361 | case Arg::CallArg: |
5362 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5363 | case Arg::Addr: |
5364 | case Arg::Stack: |
5365 | case Arg::CallArg: |
5366 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
5367 | case Arg::Tmp: |
5368 | OPGEN_RETURN(true); |
5369 | break; |
5370 | break; |
5371 | default: |
5372 | break; |
5373 | } |
5374 | break; |
5375 | default: |
5376 | break; |
5377 | } |
5378 | break; |
5379 | default: |
5380 | break; |
5381 | } |
5382 | break; |
5383 | default: |
5384 | break; |
5385 | } |
5386 | break; |
5387 | case Opcode::MoveZeroToDouble: |
5388 | switch (sizeof...(Arguments)) { |
5389 | case 1: |
5390 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5391 | case Arg::Tmp: |
5392 | OPGEN_RETURN(true); |
5393 | break; |
5394 | break; |
5395 | default: |
5396 | break; |
5397 | } |
5398 | break; |
5399 | default: |
5400 | break; |
5401 | } |
5402 | break; |
5403 | case Opcode::Move64ToDouble: |
5404 | switch (sizeof...(Arguments)) { |
5405 | case 2: |
5406 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5407 | case Arg::Tmp: |
5408 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5409 | case Arg::Tmp: |
5410 | #if CPU(X86_64) || CPU(ARM64) |
5411 | OPGEN_RETURN(true); |
5412 | #endif |
5413 | break; |
5414 | break; |
5415 | default: |
5416 | break; |
5417 | } |
5418 | break; |
5419 | case Arg::Addr: |
5420 | case Arg::Stack: |
5421 | case Arg::CallArg: |
5422 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5423 | case Arg::Tmp: |
5424 | #if CPU(X86_64) |
5425 | OPGEN_RETURN(true); |
5426 | #endif |
5427 | break; |
5428 | break; |
5429 | default: |
5430 | break; |
5431 | } |
5432 | break; |
5433 | case Arg::Index: |
5434 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5435 | case Arg::Tmp: |
5436 | #if CPU(X86_64) || CPU(ARM64) |
5437 | OPGEN_RETURN(true); |
5438 | #endif |
5439 | break; |
5440 | break; |
5441 | default: |
5442 | break; |
5443 | } |
5444 | break; |
5445 | default: |
5446 | break; |
5447 | } |
5448 | break; |
5449 | default: |
5450 | break; |
5451 | } |
5452 | break; |
5453 | case Opcode::Move32ToFloat: |
5454 | switch (sizeof...(Arguments)) { |
5455 | case 2: |
5456 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5457 | case Arg::Tmp: |
5458 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5459 | case Arg::Tmp: |
5460 | OPGEN_RETURN(true); |
5461 | break; |
5462 | break; |
5463 | default: |
5464 | break; |
5465 | } |
5466 | break; |
5467 | case Arg::Addr: |
5468 | case Arg::Stack: |
5469 | case Arg::CallArg: |
5470 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5471 | case Arg::Tmp: |
5472 | #if CPU(X86) || CPU(X86_64) |
5473 | OPGEN_RETURN(true); |
5474 | #endif |
5475 | break; |
5476 | break; |
5477 | default: |
5478 | break; |
5479 | } |
5480 | break; |
5481 | case Arg::Index: |
5482 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5483 | case Arg::Tmp: |
5484 | OPGEN_RETURN(true); |
5485 | break; |
5486 | break; |
5487 | default: |
5488 | break; |
5489 | } |
5490 | break; |
5491 | default: |
5492 | break; |
5493 | } |
5494 | break; |
5495 | default: |
5496 | break; |
5497 | } |
5498 | break; |
5499 | case Opcode::MoveDoubleTo64: |
5500 | switch (sizeof...(Arguments)) { |
5501 | case 2: |
5502 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5503 | case Arg::Tmp: |
5504 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5505 | case Arg::Tmp: |
5506 | #if CPU(X86_64) || CPU(ARM64) |
5507 | OPGEN_RETURN(true); |
5508 | #endif |
5509 | break; |
5510 | break; |
5511 | default: |
5512 | break; |
5513 | } |
5514 | break; |
5515 | case Arg::Addr: |
5516 | case Arg::Stack: |
5517 | case Arg::CallArg: |
5518 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5519 | case Arg::Tmp: |
5520 | #if CPU(X86_64) || CPU(ARM64) |
5521 | OPGEN_RETURN(true); |
5522 | #endif |
5523 | break; |
5524 | break; |
5525 | default: |
5526 | break; |
5527 | } |
5528 | break; |
5529 | case Arg::Index: |
5530 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5531 | case Arg::Tmp: |
5532 | #if CPU(X86_64) || CPU(ARM64) |
5533 | OPGEN_RETURN(true); |
5534 | #endif |
5535 | break; |
5536 | break; |
5537 | default: |
5538 | break; |
5539 | } |
5540 | break; |
5541 | default: |
5542 | break; |
5543 | } |
5544 | break; |
5545 | default: |
5546 | break; |
5547 | } |
5548 | break; |
5549 | case Opcode::MoveFloatTo32: |
5550 | switch (sizeof...(Arguments)) { |
5551 | case 2: |
5552 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5553 | case Arg::Tmp: |
5554 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5555 | case Arg::Tmp: |
5556 | OPGEN_RETURN(true); |
5557 | break; |
5558 | break; |
5559 | default: |
5560 | break; |
5561 | } |
5562 | break; |
5563 | case Arg::Addr: |
5564 | case Arg::Stack: |
5565 | case Arg::CallArg: |
5566 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5567 | case Arg::Tmp: |
5568 | OPGEN_RETURN(true); |
5569 | break; |
5570 | break; |
5571 | default: |
5572 | break; |
5573 | } |
5574 | break; |
5575 | case Arg::Index: |
5576 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5577 | case Arg::Tmp: |
5578 | OPGEN_RETURN(true); |
5579 | break; |
5580 | break; |
5581 | default: |
5582 | break; |
5583 | } |
5584 | break; |
5585 | default: |
5586 | break; |
5587 | } |
5588 | break; |
5589 | default: |
5590 | break; |
5591 | } |
5592 | break; |
5593 | case Opcode::Load8: |
5594 | switch (sizeof...(Arguments)) { |
5595 | case 2: |
5596 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5597 | case Arg::Addr: |
5598 | case Arg::Stack: |
5599 | case Arg::CallArg: |
5600 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5601 | case Arg::Tmp: |
5602 | OPGEN_RETURN(true); |
5603 | break; |
5604 | break; |
5605 | default: |
5606 | break; |
5607 | } |
5608 | break; |
5609 | case Arg::Index: |
5610 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5611 | case Arg::Tmp: |
5612 | OPGEN_RETURN(true); |
5613 | break; |
5614 | break; |
5615 | default: |
5616 | break; |
5617 | } |
5618 | break; |
5619 | default: |
5620 | break; |
5621 | } |
5622 | break; |
5623 | default: |
5624 | break; |
5625 | } |
5626 | break; |
5627 | case Opcode::LoadAcq8: |
5628 | switch (sizeof...(Arguments)) { |
5629 | case 2: |
5630 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5631 | case Arg::SimpleAddr: |
5632 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5633 | case Arg::Tmp: |
5634 | #if CPU(ARMv7) || CPU(ARM64) |
5635 | OPGEN_RETURN(true); |
5636 | #endif |
5637 | break; |
5638 | break; |
5639 | default: |
5640 | break; |
5641 | } |
5642 | break; |
5643 | default: |
5644 | break; |
5645 | } |
5646 | break; |
5647 | default: |
5648 | break; |
5649 | } |
5650 | break; |
5651 | case Opcode::Store8: |
5652 | switch (sizeof...(Arguments)) { |
5653 | case 2: |
5654 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5655 | case Arg::Tmp: |
5656 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5657 | case Arg::Index: |
5658 | OPGEN_RETURN(true); |
5659 | break; |
5660 | break; |
5661 | case Arg::Addr: |
5662 | case Arg::Stack: |
5663 | case Arg::CallArg: |
5664 | OPGEN_RETURN(true); |
5665 | break; |
5666 | break; |
5667 | default: |
5668 | break; |
5669 | } |
5670 | break; |
5671 | case Arg::Imm: |
5672 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5673 | case Arg::Index: |
5674 | #if CPU(X86) || CPU(X86_64) |
5675 | OPGEN_RETURN(true); |
5676 | #endif |
5677 | break; |
5678 | break; |
5679 | case Arg::Addr: |
5680 | case Arg::Stack: |
5681 | case Arg::CallArg: |
5682 | #if CPU(X86) || CPU(X86_64) |
5683 | OPGEN_RETURN(true); |
5684 | #endif |
5685 | break; |
5686 | break; |
5687 | default: |
5688 | break; |
5689 | } |
5690 | break; |
5691 | default: |
5692 | break; |
5693 | } |
5694 | break; |
5695 | default: |
5696 | break; |
5697 | } |
5698 | break; |
5699 | case Opcode::StoreRel8: |
5700 | switch (sizeof...(Arguments)) { |
5701 | case 2: |
5702 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5703 | case Arg::Tmp: |
5704 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5705 | case Arg::SimpleAddr: |
5706 | #if CPU(ARMv7) || CPU(ARM64) |
5707 | OPGEN_RETURN(true); |
5708 | #endif |
5709 | break; |
5710 | break; |
5711 | default: |
5712 | break; |
5713 | } |
5714 | break; |
5715 | default: |
5716 | break; |
5717 | } |
5718 | break; |
5719 | default: |
5720 | break; |
5721 | } |
5722 | break; |
5723 | case Opcode::Load8SignedExtendTo32: |
5724 | switch (sizeof...(Arguments)) { |
5725 | case 2: |
5726 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5727 | case Arg::Addr: |
5728 | case Arg::Stack: |
5729 | case Arg::CallArg: |
5730 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5731 | case Arg::Tmp: |
5732 | OPGEN_RETURN(true); |
5733 | break; |
5734 | break; |
5735 | default: |
5736 | break; |
5737 | } |
5738 | break; |
5739 | case Arg::Index: |
5740 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5741 | case Arg::Tmp: |
5742 | OPGEN_RETURN(true); |
5743 | break; |
5744 | break; |
5745 | default: |
5746 | break; |
5747 | } |
5748 | break; |
5749 | default: |
5750 | break; |
5751 | } |
5752 | break; |
5753 | default: |
5754 | break; |
5755 | } |
5756 | break; |
5757 | case Opcode::LoadAcq8SignedExtendTo32: |
5758 | switch (sizeof...(Arguments)) { |
5759 | case 2: |
5760 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5761 | case Arg::SimpleAddr: |
5762 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5763 | case Arg::Tmp: |
5764 | #if CPU(ARMv7) || CPU(ARM64) |
5765 | OPGEN_RETURN(true); |
5766 | #endif |
5767 | break; |
5768 | break; |
5769 | default: |
5770 | break; |
5771 | } |
5772 | break; |
5773 | default: |
5774 | break; |
5775 | } |
5776 | break; |
5777 | default: |
5778 | break; |
5779 | } |
5780 | break; |
5781 | case Opcode::Load16: |
5782 | switch (sizeof...(Arguments)) { |
5783 | case 2: |
5784 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5785 | case Arg::Addr: |
5786 | case Arg::Stack: |
5787 | case Arg::CallArg: |
5788 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5789 | case Arg::Tmp: |
5790 | OPGEN_RETURN(true); |
5791 | break; |
5792 | break; |
5793 | default: |
5794 | break; |
5795 | } |
5796 | break; |
5797 | case Arg::Index: |
5798 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5799 | case Arg::Tmp: |
5800 | OPGEN_RETURN(true); |
5801 | break; |
5802 | break; |
5803 | default: |
5804 | break; |
5805 | } |
5806 | break; |
5807 | default: |
5808 | break; |
5809 | } |
5810 | break; |
5811 | default: |
5812 | break; |
5813 | } |
5814 | break; |
5815 | case Opcode::LoadAcq16: |
5816 | switch (sizeof...(Arguments)) { |
5817 | case 2: |
5818 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5819 | case Arg::SimpleAddr: |
5820 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5821 | case Arg::Tmp: |
5822 | #if CPU(ARMv7) || CPU(ARM64) |
5823 | OPGEN_RETURN(true); |
5824 | #endif |
5825 | break; |
5826 | break; |
5827 | default: |
5828 | break; |
5829 | } |
5830 | break; |
5831 | default: |
5832 | break; |
5833 | } |
5834 | break; |
5835 | default: |
5836 | break; |
5837 | } |
5838 | break; |
5839 | case Opcode::Load16SignedExtendTo32: |
5840 | switch (sizeof...(Arguments)) { |
5841 | case 2: |
5842 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5843 | case Arg::Addr: |
5844 | case Arg::Stack: |
5845 | case Arg::CallArg: |
5846 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5847 | case Arg::Tmp: |
5848 | OPGEN_RETURN(true); |
5849 | break; |
5850 | break; |
5851 | default: |
5852 | break; |
5853 | } |
5854 | break; |
5855 | case Arg::Index: |
5856 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5857 | case Arg::Tmp: |
5858 | OPGEN_RETURN(true); |
5859 | break; |
5860 | break; |
5861 | default: |
5862 | break; |
5863 | } |
5864 | break; |
5865 | default: |
5866 | break; |
5867 | } |
5868 | break; |
5869 | default: |
5870 | break; |
5871 | } |
5872 | break; |
5873 | case Opcode::LoadAcq16SignedExtendTo32: |
5874 | switch (sizeof...(Arguments)) { |
5875 | case 2: |
5876 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5877 | case Arg::SimpleAddr: |
5878 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5879 | case Arg::Tmp: |
5880 | #if CPU(ARMv7) || CPU(ARM64) |
5881 | OPGEN_RETURN(true); |
5882 | #endif |
5883 | break; |
5884 | break; |
5885 | default: |
5886 | break; |
5887 | } |
5888 | break; |
5889 | default: |
5890 | break; |
5891 | } |
5892 | break; |
5893 | default: |
5894 | break; |
5895 | } |
5896 | break; |
5897 | case Opcode::Store16: |
5898 | switch (sizeof...(Arguments)) { |
5899 | case 2: |
5900 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5901 | case Arg::Tmp: |
5902 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5903 | case Arg::Index: |
5904 | OPGEN_RETURN(true); |
5905 | break; |
5906 | break; |
5907 | case Arg::Addr: |
5908 | case Arg::Stack: |
5909 | case Arg::CallArg: |
5910 | OPGEN_RETURN(true); |
5911 | break; |
5912 | break; |
5913 | default: |
5914 | break; |
5915 | } |
5916 | break; |
5917 | case Arg::Imm: |
5918 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5919 | case Arg::Index: |
5920 | #if CPU(X86) || CPU(X86_64) |
5921 | OPGEN_RETURN(true); |
5922 | #endif |
5923 | break; |
5924 | break; |
5925 | case Arg::Addr: |
5926 | case Arg::Stack: |
5927 | case Arg::CallArg: |
5928 | #if CPU(X86) || CPU(X86_64) |
5929 | OPGEN_RETURN(true); |
5930 | #endif |
5931 | break; |
5932 | break; |
5933 | default: |
5934 | break; |
5935 | } |
5936 | break; |
5937 | default: |
5938 | break; |
5939 | } |
5940 | break; |
5941 | default: |
5942 | break; |
5943 | } |
5944 | break; |
5945 | case Opcode::StoreRel16: |
5946 | switch (sizeof...(Arguments)) { |
5947 | case 2: |
5948 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5949 | case Arg::Tmp: |
5950 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5951 | case Arg::SimpleAddr: |
5952 | #if CPU(ARMv7) || CPU(ARM64) |
5953 | OPGEN_RETURN(true); |
5954 | #endif |
5955 | break; |
5956 | break; |
5957 | default: |
5958 | break; |
5959 | } |
5960 | break; |
5961 | default: |
5962 | break; |
5963 | } |
5964 | break; |
5965 | default: |
5966 | break; |
5967 | } |
5968 | break; |
5969 | case Opcode::LoadAcq32: |
5970 | switch (sizeof...(Arguments)) { |
5971 | case 2: |
5972 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5973 | case Arg::SimpleAddr: |
5974 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5975 | case Arg::Tmp: |
5976 | #if CPU(ARMv7) || CPU(ARM64) |
5977 | OPGEN_RETURN(true); |
5978 | #endif |
5979 | break; |
5980 | break; |
5981 | default: |
5982 | break; |
5983 | } |
5984 | break; |
5985 | default: |
5986 | break; |
5987 | } |
5988 | break; |
5989 | default: |
5990 | break; |
5991 | } |
5992 | break; |
5993 | case Opcode::StoreRel32: |
5994 | switch (sizeof...(Arguments)) { |
5995 | case 2: |
5996 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5997 | case Arg::Tmp: |
5998 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5999 | case Arg::SimpleAddr: |
6000 | #if CPU(ARMv7) || CPU(ARM64) |
6001 | OPGEN_RETURN(true); |
6002 | #endif |
6003 | break; |
6004 | break; |
6005 | default: |
6006 | break; |
6007 | } |
6008 | break; |
6009 | default: |
6010 | break; |
6011 | } |
6012 | break; |
6013 | default: |
6014 | break; |
6015 | } |
6016 | break; |
6017 | case Opcode::LoadAcq64: |
6018 | switch (sizeof...(Arguments)) { |
6019 | case 2: |
6020 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6021 | case Arg::SimpleAddr: |
6022 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6023 | case Arg::Tmp: |
6024 | #if CPU(ARM64) |
6025 | OPGEN_RETURN(true); |
6026 | #endif |
6027 | break; |
6028 | break; |
6029 | default: |
6030 | break; |
6031 | } |
6032 | break; |
6033 | default: |
6034 | break; |
6035 | } |
6036 | break; |
6037 | default: |
6038 | break; |
6039 | } |
6040 | break; |
6041 | case Opcode::StoreRel64: |
6042 | switch (sizeof...(Arguments)) { |
6043 | case 2: |
6044 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6045 | case Arg::Tmp: |
6046 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6047 | case Arg::SimpleAddr: |
6048 | #if CPU(ARM64) |
6049 | OPGEN_RETURN(true); |
6050 | #endif |
6051 | break; |
6052 | break; |
6053 | default: |
6054 | break; |
6055 | } |
6056 | break; |
6057 | default: |
6058 | break; |
6059 | } |
6060 | break; |
6061 | default: |
6062 | break; |
6063 | } |
6064 | break; |
6065 | case Opcode::Xchg8: |
6066 | switch (sizeof...(Arguments)) { |
6067 | case 2: |
6068 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6069 | case Arg::Tmp: |
6070 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6071 | case Arg::Addr: |
6072 | case Arg::Stack: |
6073 | case Arg::CallArg: |
6074 | #if CPU(X86) || CPU(X86_64) |
6075 | OPGEN_RETURN(true); |
6076 | #endif |
6077 | break; |
6078 | break; |
6079 | case Arg::Index: |
6080 | #if CPU(X86) || CPU(X86_64) |
6081 | OPGEN_RETURN(true); |
6082 | #endif |
6083 | break; |
6084 | break; |
6085 | default: |
6086 | break; |
6087 | } |
6088 | break; |
6089 | default: |
6090 | break; |
6091 | } |
6092 | break; |
6093 | default: |
6094 | break; |
6095 | } |
6096 | break; |
6097 | case Opcode::Xchg16: |
6098 | switch (sizeof...(Arguments)) { |
6099 | case 2: |
6100 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6101 | case Arg::Tmp: |
6102 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6103 | case Arg::Addr: |
6104 | case Arg::Stack: |
6105 | case Arg::CallArg: |
6106 | #if CPU(X86) || CPU(X86_64) |
6107 | OPGEN_RETURN(true); |
6108 | #endif |
6109 | break; |
6110 | break; |
6111 | case Arg::Index: |
6112 | #if CPU(X86) || CPU(X86_64) |
6113 | OPGEN_RETURN(true); |
6114 | #endif |
6115 | break; |
6116 | break; |
6117 | default: |
6118 | break; |
6119 | } |
6120 | break; |
6121 | default: |
6122 | break; |
6123 | } |
6124 | break; |
6125 | default: |
6126 | break; |
6127 | } |
6128 | break; |
6129 | case Opcode::Xchg32: |
6130 | switch (sizeof...(Arguments)) { |
6131 | case 2: |
6132 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6133 | case Arg::Tmp: |
6134 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6135 | case Arg::Addr: |
6136 | case Arg::Stack: |
6137 | case Arg::CallArg: |
6138 | #if CPU(X86) || CPU(X86_64) |
6139 | OPGEN_RETURN(true); |
6140 | #endif |
6141 | break; |
6142 | break; |
6143 | case Arg::Index: |
6144 | #if CPU(X86) || CPU(X86_64) |
6145 | OPGEN_RETURN(true); |
6146 | #endif |
6147 | break; |
6148 | break; |
6149 | default: |
6150 | break; |
6151 | } |
6152 | break; |
6153 | default: |
6154 | break; |
6155 | } |
6156 | break; |
6157 | default: |
6158 | break; |
6159 | } |
6160 | break; |
6161 | case Opcode::Xchg64: |
6162 | switch (sizeof...(Arguments)) { |
6163 | case 2: |
6164 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6165 | case Arg::Tmp: |
6166 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6167 | case Arg::Addr: |
6168 | case Arg::Stack: |
6169 | case Arg::CallArg: |
6170 | #if CPU(X86_64) |
6171 | OPGEN_RETURN(true); |
6172 | #endif |
6173 | break; |
6174 | break; |
6175 | case Arg::Index: |
6176 | #if CPU(X86_64) |
6177 | OPGEN_RETURN(true); |
6178 | #endif |
6179 | break; |
6180 | break; |
6181 | default: |
6182 | break; |
6183 | } |
6184 | break; |
6185 | default: |
6186 | break; |
6187 | } |
6188 | break; |
6189 | default: |
6190 | break; |
6191 | } |
6192 | break; |
6193 | case Opcode::AtomicStrongCAS8: |
6194 | switch (sizeof...(Arguments)) { |
6195 | case 5: |
6196 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6197 | case Arg::StatusCond: |
6198 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6199 | case Arg::Tmp: |
6200 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6201 | case Arg::Tmp: |
6202 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6203 | case Arg::Addr: |
6204 | case Arg::Stack: |
6205 | case Arg::CallArg: |
6206 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6207 | case Arg::Tmp: |
6208 | break; |
6209 | break; |
6210 | default: |
6211 | break; |
6212 | } |
6213 | break; |
6214 | case Arg::Index: |
6215 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6216 | case Arg::Tmp: |
6217 | break; |
6218 | break; |
6219 | default: |
6220 | break; |
6221 | } |
6222 | break; |
6223 | default: |
6224 | break; |
6225 | } |
6226 | break; |
6227 | default: |
6228 | break; |
6229 | } |
6230 | break; |
6231 | default: |
6232 | break; |
6233 | } |
6234 | break; |
6235 | default: |
6236 | break; |
6237 | } |
6238 | break; |
6239 | case 3: |
6240 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6241 | case Arg::Tmp: |
6242 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6243 | case Arg::Tmp: |
6244 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6245 | case Arg::Addr: |
6246 | case Arg::Stack: |
6247 | case Arg::CallArg: |
6248 | break; |
6249 | break; |
6250 | case Arg::Index: |
6251 | break; |
6252 | break; |
6253 | default: |
6254 | break; |
6255 | } |
6256 | break; |
6257 | default: |
6258 | break; |
6259 | } |
6260 | break; |
6261 | default: |
6262 | break; |
6263 | } |
6264 | break; |
6265 | default: |
6266 | break; |
6267 | } |
6268 | break; |
6269 | case Opcode::AtomicStrongCAS16: |
6270 | switch (sizeof...(Arguments)) { |
6271 | case 5: |
6272 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6273 | case Arg::StatusCond: |
6274 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6275 | case Arg::Tmp: |
6276 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6277 | case Arg::Tmp: |
6278 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6279 | case Arg::Addr: |
6280 | case Arg::Stack: |
6281 | case Arg::CallArg: |
6282 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6283 | case Arg::Tmp: |
6284 | break; |
6285 | break; |
6286 | default: |
6287 | break; |
6288 | } |
6289 | break; |
6290 | case Arg::Index: |
6291 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6292 | case Arg::Tmp: |
6293 | break; |
6294 | break; |
6295 | default: |
6296 | break; |
6297 | } |
6298 | break; |
6299 | default: |
6300 | break; |
6301 | } |
6302 | break; |
6303 | default: |
6304 | break; |
6305 | } |
6306 | break; |
6307 | default: |
6308 | break; |
6309 | } |
6310 | break; |
6311 | default: |
6312 | break; |
6313 | } |
6314 | break; |
6315 | case 3: |
6316 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6317 | case Arg::Tmp: |
6318 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6319 | case Arg::Tmp: |
6320 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6321 | case Arg::Addr: |
6322 | case Arg::Stack: |
6323 | case Arg::CallArg: |
6324 | break; |
6325 | break; |
6326 | case Arg::Index: |
6327 | break; |
6328 | break; |
6329 | default: |
6330 | break; |
6331 | } |
6332 | break; |
6333 | default: |
6334 | break; |
6335 | } |
6336 | break; |
6337 | default: |
6338 | break; |
6339 | } |
6340 | break; |
6341 | default: |
6342 | break; |
6343 | } |
6344 | break; |
6345 | case Opcode::AtomicStrongCAS32: |
6346 | switch (sizeof...(Arguments)) { |
6347 | case 5: |
6348 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6349 | case Arg::StatusCond: |
6350 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6351 | case Arg::Tmp: |
6352 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6353 | case Arg::Tmp: |
6354 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6355 | case Arg::Addr: |
6356 | case Arg::Stack: |
6357 | case Arg::CallArg: |
6358 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6359 | case Arg::Tmp: |
6360 | break; |
6361 | break; |
6362 | default: |
6363 | break; |
6364 | } |
6365 | break; |
6366 | case Arg::Index: |
6367 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6368 | case Arg::Tmp: |
6369 | break; |
6370 | break; |
6371 | default: |
6372 | break; |
6373 | } |
6374 | break; |
6375 | default: |
6376 | break; |
6377 | } |
6378 | break; |
6379 | default: |
6380 | break; |
6381 | } |
6382 | break; |
6383 | default: |
6384 | break; |
6385 | } |
6386 | break; |
6387 | default: |
6388 | break; |
6389 | } |
6390 | break; |
6391 | case 3: |
6392 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6393 | case Arg::Tmp: |
6394 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6395 | case Arg::Tmp: |
6396 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6397 | case Arg::Addr: |
6398 | case Arg::Stack: |
6399 | case Arg::CallArg: |
6400 | break; |
6401 | break; |
6402 | case Arg::Index: |
6403 | break; |
6404 | break; |
6405 | default: |
6406 | break; |
6407 | } |
6408 | break; |
6409 | default: |
6410 | break; |
6411 | } |
6412 | break; |
6413 | default: |
6414 | break; |
6415 | } |
6416 | break; |
6417 | default: |
6418 | break; |
6419 | } |
6420 | break; |
6421 | case Opcode::AtomicStrongCAS64: |
6422 | switch (sizeof...(Arguments)) { |
6423 | case 5: |
6424 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6425 | case Arg::StatusCond: |
6426 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6427 | case Arg::Tmp: |
6428 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6429 | case Arg::Tmp: |
6430 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6431 | case Arg::Addr: |
6432 | case Arg::Stack: |
6433 | case Arg::CallArg: |
6434 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6435 | case Arg::Tmp: |
6436 | break; |
6437 | break; |
6438 | default: |
6439 | break; |
6440 | } |
6441 | break; |
6442 | case Arg::Index: |
6443 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6444 | case Arg::Tmp: |
6445 | break; |
6446 | break; |
6447 | default: |
6448 | break; |
6449 | } |
6450 | break; |
6451 | default: |
6452 | break; |
6453 | } |
6454 | break; |
6455 | default: |
6456 | break; |
6457 | } |
6458 | break; |
6459 | default: |
6460 | break; |
6461 | } |
6462 | break; |
6463 | default: |
6464 | break; |
6465 | } |
6466 | break; |
6467 | case 3: |
6468 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6469 | case Arg::Tmp: |
6470 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6471 | case Arg::Tmp: |
6472 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6473 | case Arg::Addr: |
6474 | case Arg::Stack: |
6475 | case Arg::CallArg: |
6476 | break; |
6477 | break; |
6478 | case Arg::Index: |
6479 | break; |
6480 | break; |
6481 | default: |
6482 | break; |
6483 | } |
6484 | break; |
6485 | default: |
6486 | break; |
6487 | } |
6488 | break; |
6489 | default: |
6490 | break; |
6491 | } |
6492 | break; |
6493 | default: |
6494 | break; |
6495 | } |
6496 | break; |
6497 | case Opcode::BranchAtomicStrongCAS8: |
6498 | switch (sizeof...(Arguments)) { |
6499 | case 4: |
6500 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6501 | case Arg::StatusCond: |
6502 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6503 | case Arg::Tmp: |
6504 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6505 | case Arg::Tmp: |
6506 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6507 | case Arg::Addr: |
6508 | case Arg::Stack: |
6509 | case Arg::CallArg: |
6510 | break; |
6511 | break; |
6512 | case Arg::Index: |
6513 | break; |
6514 | break; |
6515 | default: |
6516 | break; |
6517 | } |
6518 | break; |
6519 | default: |
6520 | break; |
6521 | } |
6522 | break; |
6523 | default: |
6524 | break; |
6525 | } |
6526 | break; |
6527 | default: |
6528 | break; |
6529 | } |
6530 | break; |
6531 | default: |
6532 | break; |
6533 | } |
6534 | break; |
6535 | case Opcode::BranchAtomicStrongCAS16: |
6536 | switch (sizeof...(Arguments)) { |
6537 | case 4: |
6538 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6539 | case Arg::StatusCond: |
6540 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6541 | case Arg::Tmp: |
6542 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6543 | case Arg::Tmp: |
6544 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6545 | case Arg::Addr: |
6546 | case Arg::Stack: |
6547 | case Arg::CallArg: |
6548 | break; |
6549 | break; |
6550 | case Arg::Index: |
6551 | break; |
6552 | break; |
6553 | default: |
6554 | break; |
6555 | } |
6556 | break; |
6557 | default: |
6558 | break; |
6559 | } |
6560 | break; |
6561 | default: |
6562 | break; |
6563 | } |
6564 | break; |
6565 | default: |
6566 | break; |
6567 | } |
6568 | break; |
6569 | default: |
6570 | break; |
6571 | } |
6572 | break; |
6573 | case Opcode::BranchAtomicStrongCAS32: |
6574 | switch (sizeof...(Arguments)) { |
6575 | case 4: |
6576 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6577 | case Arg::StatusCond: |
6578 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6579 | case Arg::Tmp: |
6580 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6581 | case Arg::Tmp: |
6582 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6583 | case Arg::Addr: |
6584 | case Arg::Stack: |
6585 | case Arg::CallArg: |
6586 | break; |
6587 | break; |
6588 | case Arg::Index: |
6589 | break; |
6590 | break; |
6591 | default: |
6592 | break; |
6593 | } |
6594 | break; |
6595 | default: |
6596 | break; |
6597 | } |
6598 | break; |
6599 | default: |
6600 | break; |
6601 | } |
6602 | break; |
6603 | default: |
6604 | break; |
6605 | } |
6606 | break; |
6607 | default: |
6608 | break; |
6609 | } |
6610 | break; |
6611 | case Opcode::BranchAtomicStrongCAS64: |
6612 | switch (sizeof...(Arguments)) { |
6613 | case 4: |
6614 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6615 | case Arg::StatusCond: |
6616 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6617 | case Arg::Tmp: |
6618 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6619 | case Arg::Tmp: |
6620 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6621 | case Arg::Addr: |
6622 | case Arg::Stack: |
6623 | case Arg::CallArg: |
6624 | break; |
6625 | break; |
6626 | case Arg::Index: |
6627 | break; |
6628 | break; |
6629 | default: |
6630 | break; |
6631 | } |
6632 | break; |
6633 | default: |
6634 | break; |
6635 | } |
6636 | break; |
6637 | default: |
6638 | break; |
6639 | } |
6640 | break; |
6641 | default: |
6642 | break; |
6643 | } |
6644 | break; |
6645 | default: |
6646 | break; |
6647 | } |
6648 | break; |
6649 | case Opcode::AtomicAdd8: |
6650 | switch (sizeof...(Arguments)) { |
6651 | case 2: |
6652 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6653 | case Arg::Imm: |
6654 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6655 | case Arg::Addr: |
6656 | case Arg::Stack: |
6657 | case Arg::CallArg: |
6658 | #if CPU(X86) || CPU(X86_64) |
6659 | OPGEN_RETURN(true); |
6660 | #endif |
6661 | break; |
6662 | break; |
6663 | case Arg::Index: |
6664 | #if CPU(X86) || CPU(X86_64) |
6665 | OPGEN_RETURN(true); |
6666 | #endif |
6667 | break; |
6668 | break; |
6669 | default: |
6670 | break; |
6671 | } |
6672 | break; |
6673 | case Arg::Tmp: |
6674 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6675 | case Arg::Addr: |
6676 | case Arg::Stack: |
6677 | case Arg::CallArg: |
6678 | #if CPU(X86) || CPU(X86_64) |
6679 | OPGEN_RETURN(true); |
6680 | #endif |
6681 | break; |
6682 | break; |
6683 | case Arg::Index: |
6684 | #if CPU(X86) || CPU(X86_64) |
6685 | OPGEN_RETURN(true); |
6686 | #endif |
6687 | break; |
6688 | break; |
6689 | default: |
6690 | break; |
6691 | } |
6692 | break; |
6693 | default: |
6694 | break; |
6695 | } |
6696 | break; |
6697 | default: |
6698 | break; |
6699 | } |
6700 | break; |
6701 | case Opcode::AtomicAdd16: |
6702 | switch (sizeof...(Arguments)) { |
6703 | case 2: |
6704 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6705 | case Arg::Imm: |
6706 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6707 | case Arg::Addr: |
6708 | case Arg::Stack: |
6709 | case Arg::CallArg: |
6710 | #if CPU(X86) || CPU(X86_64) |
6711 | OPGEN_RETURN(true); |
6712 | #endif |
6713 | break; |
6714 | break; |
6715 | case Arg::Index: |
6716 | #if CPU(X86) || CPU(X86_64) |
6717 | OPGEN_RETURN(true); |
6718 | #endif |
6719 | break; |
6720 | break; |
6721 | default: |
6722 | break; |
6723 | } |
6724 | break; |
6725 | case Arg::Tmp: |
6726 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6727 | case Arg::Addr: |
6728 | case Arg::Stack: |
6729 | case Arg::CallArg: |
6730 | #if CPU(X86) || CPU(X86_64) |
6731 | OPGEN_RETURN(true); |
6732 | #endif |
6733 | break; |
6734 | break; |
6735 | case Arg::Index: |
6736 | #if CPU(X86) || CPU(X86_64) |
6737 | OPGEN_RETURN(true); |
6738 | #endif |
6739 | break; |
6740 | break; |
6741 | default: |
6742 | break; |
6743 | } |
6744 | break; |
6745 | default: |
6746 | break; |
6747 | } |
6748 | break; |
6749 | default: |
6750 | break; |
6751 | } |
6752 | break; |
6753 | case Opcode::AtomicAdd32: |
6754 | switch (sizeof...(Arguments)) { |
6755 | case 2: |
6756 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6757 | case Arg::Imm: |
6758 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6759 | case Arg::Addr: |
6760 | case Arg::Stack: |
6761 | case Arg::CallArg: |
6762 | #if CPU(X86) || CPU(X86_64) |
6763 | OPGEN_RETURN(true); |
6764 | #endif |
6765 | break; |
6766 | break; |
6767 | case Arg::Index: |
6768 | #if CPU(X86) || CPU(X86_64) |
6769 | OPGEN_RETURN(true); |
6770 | #endif |
6771 | break; |
6772 | break; |
6773 | default: |
6774 | break; |
6775 | } |
6776 | break; |
6777 | case Arg::Tmp: |
6778 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6779 | case Arg::Addr: |
6780 | case Arg::Stack: |
6781 | case Arg::CallArg: |
6782 | #if CPU(X86) || CPU(X86_64) |
6783 | OPGEN_RETURN(true); |
6784 | #endif |
6785 | break; |
6786 | break; |
6787 | case Arg::Index: |
6788 | #if CPU(X86) || CPU(X86_64) |
6789 | OPGEN_RETURN(true); |
6790 | #endif |
6791 | break; |
6792 | break; |
6793 | default: |
6794 | break; |
6795 | } |
6796 | break; |
6797 | default: |
6798 | break; |
6799 | } |
6800 | break; |
6801 | default: |
6802 | break; |
6803 | } |
6804 | break; |
6805 | case Opcode::AtomicAdd64: |
6806 | switch (sizeof...(Arguments)) { |
6807 | case 2: |
6808 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6809 | case Arg::Imm: |
6810 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6811 | case Arg::Addr: |
6812 | case Arg::Stack: |
6813 | case Arg::CallArg: |
6814 | #if CPU(X86_64) |
6815 | OPGEN_RETURN(true); |
6816 | #endif |
6817 | break; |
6818 | break; |
6819 | case Arg::Index: |
6820 | #if CPU(X86_64) |
6821 | OPGEN_RETURN(true); |
6822 | #endif |
6823 | break; |
6824 | break; |
6825 | default: |
6826 | break; |
6827 | } |
6828 | break; |
6829 | case Arg::Tmp: |
6830 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6831 | case Arg::Addr: |
6832 | case Arg::Stack: |
6833 | case Arg::CallArg: |
6834 | #if CPU(X86_64) |
6835 | OPGEN_RETURN(true); |
6836 | #endif |
6837 | break; |
6838 | break; |
6839 | case Arg::Index: |
6840 | #if CPU(X86_64) |
6841 | OPGEN_RETURN(true); |
6842 | #endif |
6843 | break; |
6844 | break; |
6845 | default: |
6846 | break; |
6847 | } |
6848 | break; |
6849 | default: |
6850 | break; |
6851 | } |
6852 | break; |
6853 | default: |
6854 | break; |
6855 | } |
6856 | break; |
6857 | case Opcode::AtomicSub8: |
6858 | switch (sizeof...(Arguments)) { |
6859 | case 2: |
6860 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6861 | case Arg::Imm: |
6862 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6863 | case Arg::Addr: |
6864 | case Arg::Stack: |
6865 | case Arg::CallArg: |
6866 | #if CPU(X86) || CPU(X86_64) |
6867 | OPGEN_RETURN(true); |
6868 | #endif |
6869 | break; |
6870 | break; |
6871 | case Arg::Index: |
6872 | #if CPU(X86) || CPU(X86_64) |
6873 | OPGEN_RETURN(true); |
6874 | #endif |
6875 | break; |
6876 | break; |
6877 | default: |
6878 | break; |
6879 | } |
6880 | break; |
6881 | case Arg::Tmp: |
6882 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6883 | case Arg::Addr: |
6884 | case Arg::Stack: |
6885 | case Arg::CallArg: |
6886 | #if CPU(X86) || CPU(X86_64) |
6887 | OPGEN_RETURN(true); |
6888 | #endif |
6889 | break; |
6890 | break; |
6891 | case Arg::Index: |
6892 | #if CPU(X86) || CPU(X86_64) |
6893 | OPGEN_RETURN(true); |
6894 | #endif |
6895 | break; |
6896 | break; |
6897 | default: |
6898 | break; |
6899 | } |
6900 | break; |
6901 | default: |
6902 | break; |
6903 | } |
6904 | break; |
6905 | default: |
6906 | break; |
6907 | } |
6908 | break; |
6909 | case Opcode::AtomicSub16: |
6910 | switch (sizeof...(Arguments)) { |
6911 | case 2: |
6912 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6913 | case Arg::Imm: |
6914 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6915 | case Arg::Addr: |
6916 | case Arg::Stack: |
6917 | case Arg::CallArg: |
6918 | #if CPU(X86) || CPU(X86_64) |
6919 | OPGEN_RETURN(true); |
6920 | #endif |
6921 | break; |
6922 | break; |
6923 | case Arg::Index: |
6924 | #if CPU(X86) || CPU(X86_64) |
6925 | OPGEN_RETURN(true); |
6926 | #endif |
6927 | break; |
6928 | break; |
6929 | default: |
6930 | break; |
6931 | } |
6932 | break; |
6933 | case Arg::Tmp: |
6934 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6935 | case Arg::Addr: |
6936 | case Arg::Stack: |
6937 | case Arg::CallArg: |
6938 | #if CPU(X86) || CPU(X86_64) |
6939 | OPGEN_RETURN(true); |
6940 | #endif |
6941 | break; |
6942 | break; |
6943 | case Arg::Index: |
6944 | #if CPU(X86) || CPU(X86_64) |
6945 | OPGEN_RETURN(true); |
6946 | #endif |
6947 | break; |
6948 | break; |
6949 | default: |
6950 | break; |
6951 | } |
6952 | break; |
6953 | default: |
6954 | break; |
6955 | } |
6956 | break; |
6957 | default: |
6958 | break; |
6959 | } |
6960 | break; |
6961 | case Opcode::AtomicSub32: |
6962 | switch (sizeof...(Arguments)) { |
6963 | case 2: |
6964 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6965 | case Arg::Imm: |
6966 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6967 | case Arg::Addr: |
6968 | case Arg::Stack: |
6969 | case Arg::CallArg: |
6970 | #if CPU(X86) || CPU(X86_64) |
6971 | OPGEN_RETURN(true); |
6972 | #endif |
6973 | break; |
6974 | break; |
6975 | case Arg::Index: |
6976 | #if CPU(X86) || CPU(X86_64) |
6977 | OPGEN_RETURN(true); |
6978 | #endif |
6979 | break; |
6980 | break; |
6981 | default: |
6982 | break; |
6983 | } |
6984 | break; |
6985 | case Arg::Tmp: |
6986 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6987 | case Arg::Addr: |
6988 | case Arg::Stack: |
6989 | case Arg::CallArg: |
6990 | #if CPU(X86) || CPU(X86_64) |
6991 | OPGEN_RETURN(true); |
6992 | #endif |
6993 | break; |
6994 | break; |
6995 | case Arg::Index: |
6996 | #if CPU(X86) || CPU(X86_64) |
6997 | OPGEN_RETURN(true); |
6998 | #endif |
6999 | break; |
7000 | break; |
7001 | default: |
7002 | break; |
7003 | } |
7004 | break; |
7005 | default: |
7006 | break; |
7007 | } |
7008 | break; |
7009 | default: |
7010 | break; |
7011 | } |
7012 | break; |
7013 | case Opcode::AtomicSub64: |
7014 | switch (sizeof...(Arguments)) { |
7015 | case 2: |
7016 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7017 | case Arg::Imm: |
7018 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7019 | case Arg::Addr: |
7020 | case Arg::Stack: |
7021 | case Arg::CallArg: |
7022 | #if CPU(X86_64) |
7023 | OPGEN_RETURN(true); |
7024 | #endif |
7025 | break; |
7026 | break; |
7027 | case Arg::Index: |
7028 | #if CPU(X86_64) |
7029 | OPGEN_RETURN(true); |
7030 | #endif |
7031 | break; |
7032 | break; |
7033 | default: |
7034 | break; |
7035 | } |
7036 | break; |
7037 | case Arg::Tmp: |
7038 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7039 | case Arg::Addr: |
7040 | case Arg::Stack: |
7041 | case Arg::CallArg: |
7042 | #if CPU(X86_64) |
7043 | OPGEN_RETURN(true); |
7044 | #endif |
7045 | break; |
7046 | break; |
7047 | case Arg::Index: |
7048 | #if CPU(X86_64) |
7049 | OPGEN_RETURN(true); |
7050 | #endif |
7051 | break; |
7052 | break; |
7053 | default: |
7054 | break; |
7055 | } |
7056 | break; |
7057 | default: |
7058 | break; |
7059 | } |
7060 | break; |
7061 | default: |
7062 | break; |
7063 | } |
7064 | break; |
7065 | case Opcode::AtomicAnd8: |
7066 | switch (sizeof...(Arguments)) { |
7067 | case 2: |
7068 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7069 | case Arg::Imm: |
7070 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7071 | case Arg::Addr: |
7072 | case Arg::Stack: |
7073 | case Arg::CallArg: |
7074 | #if CPU(X86) || CPU(X86_64) |
7075 | OPGEN_RETURN(true); |
7076 | #endif |
7077 | break; |
7078 | break; |
7079 | case Arg::Index: |
7080 | #if CPU(X86) || CPU(X86_64) |
7081 | OPGEN_RETURN(true); |
7082 | #endif |
7083 | break; |
7084 | break; |
7085 | default: |
7086 | break; |
7087 | } |
7088 | break; |
7089 | case Arg::Tmp: |
7090 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7091 | case Arg::Addr: |
7092 | case Arg::Stack: |
7093 | case Arg::CallArg: |
7094 | #if CPU(X86) || CPU(X86_64) |
7095 | OPGEN_RETURN(true); |
7096 | #endif |
7097 | break; |
7098 | break; |
7099 | case Arg::Index: |
7100 | #if CPU(X86) || CPU(X86_64) |
7101 | OPGEN_RETURN(true); |
7102 | #endif |
7103 | break; |
7104 | break; |
7105 | default: |
7106 | break; |
7107 | } |
7108 | break; |
7109 | default: |
7110 | break; |
7111 | } |
7112 | break; |
7113 | default: |
7114 | break; |
7115 | } |
7116 | break; |
7117 | case Opcode::AtomicAnd16: |
7118 | switch (sizeof...(Arguments)) { |
7119 | case 2: |
7120 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7121 | case Arg::Imm: |
7122 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7123 | case Arg::Addr: |
7124 | case Arg::Stack: |
7125 | case Arg::CallArg: |
7126 | #if CPU(X86) || CPU(X86_64) |
7127 | OPGEN_RETURN(true); |
7128 | #endif |
7129 | break; |
7130 | break; |
7131 | case Arg::Index: |
7132 | #if CPU(X86) || CPU(X86_64) |
7133 | OPGEN_RETURN(true); |
7134 | #endif |
7135 | break; |
7136 | break; |
7137 | default: |
7138 | break; |
7139 | } |
7140 | break; |
7141 | case Arg::Tmp: |
7142 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7143 | case Arg::Addr: |
7144 | case Arg::Stack: |
7145 | case Arg::CallArg: |
7146 | #if CPU(X86) || CPU(X86_64) |
7147 | OPGEN_RETURN(true); |
7148 | #endif |
7149 | break; |
7150 | break; |
7151 | case Arg::Index: |
7152 | #if CPU(X86) || CPU(X86_64) |
7153 | OPGEN_RETURN(true); |
7154 | #endif |
7155 | break; |
7156 | break; |
7157 | default: |
7158 | break; |
7159 | } |
7160 | break; |
7161 | default: |
7162 | break; |
7163 | } |
7164 | break; |
7165 | default: |
7166 | break; |
7167 | } |
7168 | break; |
7169 | case Opcode::AtomicAnd32: |
7170 | switch (sizeof...(Arguments)) { |
7171 | case 2: |
7172 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7173 | case Arg::Imm: |
7174 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7175 | case Arg::Addr: |
7176 | case Arg::Stack: |
7177 | case Arg::CallArg: |
7178 | #if CPU(X86) || CPU(X86_64) |
7179 | OPGEN_RETURN(true); |
7180 | #endif |
7181 | break; |
7182 | break; |
7183 | case Arg::Index: |
7184 | #if CPU(X86) || CPU(X86_64) |
7185 | OPGEN_RETURN(true); |
7186 | #endif |
7187 | break; |
7188 | break; |
7189 | default: |
7190 | break; |
7191 | } |
7192 | break; |
7193 | case Arg::Tmp: |
7194 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7195 | case Arg::Addr: |
7196 | case Arg::Stack: |
7197 | case Arg::CallArg: |
7198 | #if CPU(X86) || CPU(X86_64) |
7199 | OPGEN_RETURN(true); |
7200 | #endif |
7201 | break; |
7202 | break; |
7203 | case Arg::Index: |
7204 | #if CPU(X86) || CPU(X86_64) |
7205 | OPGEN_RETURN(true); |
7206 | #endif |
7207 | break; |
7208 | break; |
7209 | default: |
7210 | break; |
7211 | } |
7212 | break; |
7213 | default: |
7214 | break; |
7215 | } |
7216 | break; |
7217 | default: |
7218 | break; |
7219 | } |
7220 | break; |
7221 | case Opcode::AtomicAnd64: |
7222 | switch (sizeof...(Arguments)) { |
7223 | case 2: |
7224 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7225 | case Arg::Imm: |
7226 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7227 | case Arg::Addr: |
7228 | case Arg::Stack: |
7229 | case Arg::CallArg: |
7230 | #if CPU(X86_64) |
7231 | OPGEN_RETURN(true); |
7232 | #endif |
7233 | break; |
7234 | break; |
7235 | case Arg::Index: |
7236 | #if CPU(X86_64) |
7237 | OPGEN_RETURN(true); |
7238 | #endif |
7239 | break; |
7240 | break; |
7241 | default: |
7242 | break; |
7243 | } |
7244 | break; |
7245 | case Arg::Tmp: |
7246 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7247 | case Arg::Addr: |
7248 | case Arg::Stack: |
7249 | case Arg::CallArg: |
7250 | #if CPU(X86_64) |
7251 | OPGEN_RETURN(true); |
7252 | #endif |
7253 | break; |
7254 | break; |
7255 | case Arg::Index: |
7256 | #if CPU(X86_64) |
7257 | OPGEN_RETURN(true); |
7258 | #endif |
7259 | break; |
7260 | break; |
7261 | default: |
7262 | break; |
7263 | } |
7264 | break; |
7265 | default: |
7266 | break; |
7267 | } |
7268 | break; |
7269 | default: |
7270 | break; |
7271 | } |
7272 | break; |
7273 | case Opcode::AtomicOr8: |
7274 | switch (sizeof...(Arguments)) { |
7275 | case 2: |
7276 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7277 | case Arg::Imm: |
7278 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7279 | case Arg::Addr: |
7280 | case Arg::Stack: |
7281 | case Arg::CallArg: |
7282 | #if CPU(X86) || CPU(X86_64) |
7283 | OPGEN_RETURN(true); |
7284 | #endif |
7285 | break; |
7286 | break; |
7287 | case Arg::Index: |
7288 | #if CPU(X86) || CPU(X86_64) |
7289 | OPGEN_RETURN(true); |
7290 | #endif |
7291 | break; |
7292 | break; |
7293 | default: |
7294 | break; |
7295 | } |
7296 | break; |
7297 | case Arg::Tmp: |
7298 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7299 | case Arg::Addr: |
7300 | case Arg::Stack: |
7301 | case Arg::CallArg: |
7302 | #if CPU(X86) || CPU(X86_64) |
7303 | OPGEN_RETURN(true); |
7304 | #endif |
7305 | break; |
7306 | break; |
7307 | case Arg::Index: |
7308 | #if CPU(X86) || CPU(X86_64) |
7309 | OPGEN_RETURN(true); |
7310 | #endif |
7311 | break; |
7312 | break; |
7313 | default: |
7314 | break; |
7315 | } |
7316 | break; |
7317 | default: |
7318 | break; |
7319 | } |
7320 | break; |
7321 | default: |
7322 | break; |
7323 | } |
7324 | break; |
7325 | case Opcode::AtomicOr16: |
7326 | switch (sizeof...(Arguments)) { |
7327 | case 2: |
7328 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7329 | case Arg::Imm: |
7330 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7331 | case Arg::Addr: |
7332 | case Arg::Stack: |
7333 | case Arg::CallArg: |
7334 | #if CPU(X86) || CPU(X86_64) |
7335 | OPGEN_RETURN(true); |
7336 | #endif |
7337 | break; |
7338 | break; |
7339 | case Arg::Index: |
7340 | #if CPU(X86) || CPU(X86_64) |
7341 | OPGEN_RETURN(true); |
7342 | #endif |
7343 | break; |
7344 | break; |
7345 | default: |
7346 | break; |
7347 | } |
7348 | break; |
7349 | case Arg::Tmp: |
7350 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7351 | case Arg::Addr: |
7352 | case Arg::Stack: |
7353 | case Arg::CallArg: |
7354 | #if CPU(X86) || CPU(X86_64) |
7355 | OPGEN_RETURN(true); |
7356 | #endif |
7357 | break; |
7358 | break; |
7359 | case Arg::Index: |
7360 | #if CPU(X86) || CPU(X86_64) |
7361 | OPGEN_RETURN(true); |
7362 | #endif |
7363 | break; |
7364 | break; |
7365 | default: |
7366 | break; |
7367 | } |
7368 | break; |
7369 | default: |
7370 | break; |
7371 | } |
7372 | break; |
7373 | default: |
7374 | break; |
7375 | } |
7376 | break; |
7377 | case Opcode::AtomicOr32: |
7378 | switch (sizeof...(Arguments)) { |
7379 | case 2: |
7380 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7381 | case Arg::Imm: |
7382 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7383 | case Arg::Addr: |
7384 | case Arg::Stack: |
7385 | case Arg::CallArg: |
7386 | #if CPU(X86) || CPU(X86_64) |
7387 | OPGEN_RETURN(true); |
7388 | #endif |
7389 | break; |
7390 | break; |
7391 | case Arg::Index: |
7392 | #if CPU(X86) || CPU(X86_64) |
7393 | OPGEN_RETURN(true); |
7394 | #endif |
7395 | break; |
7396 | break; |
7397 | default: |
7398 | break; |
7399 | } |
7400 | break; |
7401 | case Arg::Tmp: |
7402 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7403 | case Arg::Addr: |
7404 | case Arg::Stack: |
7405 | case Arg::CallArg: |
7406 | #if CPU(X86) || CPU(X86_64) |
7407 | OPGEN_RETURN(true); |
7408 | #endif |
7409 | break; |
7410 | break; |
7411 | case Arg::Index: |
7412 | #if CPU(X86) || CPU(X86_64) |
7413 | OPGEN_RETURN(true); |
7414 | #endif |
7415 | break; |
7416 | break; |
7417 | default: |
7418 | break; |
7419 | } |
7420 | break; |
7421 | default: |
7422 | break; |
7423 | } |
7424 | break; |
7425 | default: |
7426 | break; |
7427 | } |
7428 | break; |
7429 | case Opcode::AtomicOr64: |
7430 | switch (sizeof...(Arguments)) { |
7431 | case 2: |
7432 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7433 | case Arg::Imm: |
7434 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7435 | case Arg::Addr: |
7436 | case Arg::Stack: |
7437 | case Arg::CallArg: |
7438 | #if CPU(X86_64) |
7439 | OPGEN_RETURN(true); |
7440 | #endif |
7441 | break; |
7442 | break; |
7443 | case Arg::Index: |
7444 | #if CPU(X86_64) |
7445 | OPGEN_RETURN(true); |
7446 | #endif |
7447 | break; |
7448 | break; |
7449 | default: |
7450 | break; |
7451 | } |
7452 | break; |
7453 | case Arg::Tmp: |
7454 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7455 | case Arg::Addr: |
7456 | case Arg::Stack: |
7457 | case Arg::CallArg: |
7458 | #if CPU(X86_64) |
7459 | OPGEN_RETURN(true); |
7460 | #endif |
7461 | break; |
7462 | break; |
7463 | case Arg::Index: |
7464 | #if CPU(X86_64) |
7465 | OPGEN_RETURN(true); |
7466 | #endif |
7467 | break; |
7468 | break; |
7469 | default: |
7470 | break; |
7471 | } |
7472 | break; |
7473 | default: |
7474 | break; |
7475 | } |
7476 | break; |
7477 | default: |
7478 | break; |
7479 | } |
7480 | break; |
7481 | case Opcode::AtomicXor8: |
7482 | switch (sizeof...(Arguments)) { |
7483 | case 2: |
7484 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7485 | case Arg::Imm: |
7486 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7487 | case Arg::Addr: |
7488 | case Arg::Stack: |
7489 | case Arg::CallArg: |
7490 | #if CPU(X86) || CPU(X86_64) |
7491 | OPGEN_RETURN(true); |
7492 | #endif |
7493 | break; |
7494 | break; |
7495 | case Arg::Index: |
7496 | #if CPU(X86) || CPU(X86_64) |
7497 | OPGEN_RETURN(true); |
7498 | #endif |
7499 | break; |
7500 | break; |
7501 | default: |
7502 | break; |
7503 | } |
7504 | break; |
7505 | case Arg::Tmp: |
7506 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7507 | case Arg::Addr: |
7508 | case Arg::Stack: |
7509 | case Arg::CallArg: |
7510 | #if CPU(X86) || CPU(X86_64) |
7511 | OPGEN_RETURN(true); |
7512 | #endif |
7513 | break; |
7514 | break; |
7515 | case Arg::Index: |
7516 | #if CPU(X86) || CPU(X86_64) |
7517 | OPGEN_RETURN(true); |
7518 | #endif |
7519 | break; |
7520 | break; |
7521 | default: |
7522 | break; |
7523 | } |
7524 | break; |
7525 | default: |
7526 | break; |
7527 | } |
7528 | break; |
7529 | default: |
7530 | break; |
7531 | } |
7532 | break; |
7533 | case Opcode::AtomicXor16: |
7534 | switch (sizeof...(Arguments)) { |
7535 | case 2: |
7536 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7537 | case Arg::Imm: |
7538 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7539 | case Arg::Addr: |
7540 | case Arg::Stack: |
7541 | case Arg::CallArg: |
7542 | #if CPU(X86) || CPU(X86_64) |
7543 | OPGEN_RETURN(true); |
7544 | #endif |
7545 | break; |
7546 | break; |
7547 | case Arg::Index: |
7548 | #if CPU(X86) || CPU(X86_64) |
7549 | OPGEN_RETURN(true); |
7550 | #endif |
7551 | break; |
7552 | break; |
7553 | default: |
7554 | break; |
7555 | } |
7556 | break; |
7557 | case Arg::Tmp: |
7558 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7559 | case Arg::Addr: |
7560 | case Arg::Stack: |
7561 | case Arg::CallArg: |
7562 | #if CPU(X86) || CPU(X86_64) |
7563 | OPGEN_RETURN(true); |
7564 | #endif |
7565 | break; |
7566 | break; |
7567 | case Arg::Index: |
7568 | #if CPU(X86) || CPU(X86_64) |
7569 | OPGEN_RETURN(true); |
7570 | #endif |
7571 | break; |
7572 | break; |
7573 | default: |
7574 | break; |
7575 | } |
7576 | break; |
7577 | default: |
7578 | break; |
7579 | } |
7580 | break; |
7581 | default: |
7582 | break; |
7583 | } |
7584 | break; |
7585 | case Opcode::AtomicXor32: |
7586 | switch (sizeof...(Arguments)) { |
7587 | case 2: |
7588 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7589 | case Arg::Imm: |
7590 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7591 | case Arg::Addr: |
7592 | case Arg::Stack: |
7593 | case Arg::CallArg: |
7594 | #if CPU(X86) || CPU(X86_64) |
7595 | OPGEN_RETURN(true); |
7596 | #endif |
7597 | break; |
7598 | break; |
7599 | case Arg::Index: |
7600 | #if CPU(X86) || CPU(X86_64) |
7601 | OPGEN_RETURN(true); |
7602 | #endif |
7603 | break; |
7604 | break; |
7605 | default: |
7606 | break; |
7607 | } |
7608 | break; |
7609 | case Arg::Tmp: |
7610 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7611 | case Arg::Addr: |
7612 | case Arg::Stack: |
7613 | case Arg::CallArg: |
7614 | #if CPU(X86) || CPU(X86_64) |
7615 | OPGEN_RETURN(true); |
7616 | #endif |
7617 | break; |
7618 | break; |
7619 | case Arg::Index: |
7620 | #if CPU(X86) || CPU(X86_64) |
7621 | OPGEN_RETURN(true); |
7622 | #endif |
7623 | break; |
7624 | break; |
7625 | default: |
7626 | break; |
7627 | } |
7628 | break; |
7629 | default: |
7630 | break; |
7631 | } |
7632 | break; |
7633 | default: |
7634 | break; |
7635 | } |
7636 | break; |
7637 | case Opcode::AtomicXor64: |
7638 | switch (sizeof...(Arguments)) { |
7639 | case 2: |
7640 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7641 | case Arg::Imm: |
7642 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7643 | case Arg::Addr: |
7644 | case Arg::Stack: |
7645 | case Arg::CallArg: |
7646 | #if CPU(X86_64) |
7647 | OPGEN_RETURN(true); |
7648 | #endif |
7649 | break; |
7650 | break; |
7651 | case Arg::Index: |
7652 | #if CPU(X86_64) |
7653 | OPGEN_RETURN(true); |
7654 | #endif |
7655 | break; |
7656 | break; |
7657 | default: |
7658 | break; |
7659 | } |
7660 | break; |
7661 | case Arg::Tmp: |
7662 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7663 | case Arg::Addr: |
7664 | case Arg::Stack: |
7665 | case Arg::CallArg: |
7666 | #if CPU(X86_64) |
7667 | OPGEN_RETURN(true); |
7668 | #endif |
7669 | break; |
7670 | break; |
7671 | case Arg::Index: |
7672 | #if CPU(X86_64) |
7673 | OPGEN_RETURN(true); |
7674 | #endif |
7675 | break; |
7676 | break; |
7677 | default: |
7678 | break; |
7679 | } |
7680 | break; |
7681 | default: |
7682 | break; |
7683 | } |
7684 | break; |
7685 | default: |
7686 | break; |
7687 | } |
7688 | break; |
7689 | case Opcode::AtomicNeg8: |
7690 | switch (sizeof...(Arguments)) { |
7691 | case 1: |
7692 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7693 | case Arg::Addr: |
7694 | case Arg::Stack: |
7695 | case Arg::CallArg: |
7696 | #if CPU(X86) || CPU(X86_64) |
7697 | OPGEN_RETURN(true); |
7698 | #endif |
7699 | break; |
7700 | break; |
7701 | case Arg::Index: |
7702 | #if CPU(X86) || CPU(X86_64) |
7703 | OPGEN_RETURN(true); |
7704 | #endif |
7705 | break; |
7706 | break; |
7707 | default: |
7708 | break; |
7709 | } |
7710 | break; |
7711 | default: |
7712 | break; |
7713 | } |
7714 | break; |
7715 | case Opcode::AtomicNeg16: |
7716 | switch (sizeof...(Arguments)) { |
7717 | case 1: |
7718 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7719 | case Arg::Addr: |
7720 | case Arg::Stack: |
7721 | case Arg::CallArg: |
7722 | #if CPU(X86) || CPU(X86_64) |
7723 | OPGEN_RETURN(true); |
7724 | #endif |
7725 | break; |
7726 | break; |
7727 | case Arg::Index: |
7728 | #if CPU(X86) || CPU(X86_64) |
7729 | OPGEN_RETURN(true); |
7730 | #endif |
7731 | break; |
7732 | break; |
7733 | default: |
7734 | break; |
7735 | } |
7736 | break; |
7737 | default: |
7738 | break; |
7739 | } |
7740 | break; |
7741 | case Opcode::AtomicNeg32: |
7742 | switch (sizeof...(Arguments)) { |
7743 | case 1: |
7744 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7745 | case Arg::Addr: |
7746 | case Arg::Stack: |
7747 | case Arg::CallArg: |
7748 | #if CPU(X86) || CPU(X86_64) |
7749 | OPGEN_RETURN(true); |
7750 | #endif |
7751 | break; |
7752 | break; |
7753 | case Arg::Index: |
7754 | #if CPU(X86) || CPU(X86_64) |
7755 | OPGEN_RETURN(true); |
7756 | #endif |
7757 | break; |
7758 | break; |
7759 | default: |
7760 | break; |
7761 | } |
7762 | break; |
7763 | default: |
7764 | break; |
7765 | } |
7766 | break; |
7767 | case Opcode::AtomicNeg64: |
7768 | switch (sizeof...(Arguments)) { |
7769 | case 1: |
7770 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7771 | case Arg::Addr: |
7772 | case Arg::Stack: |
7773 | case Arg::CallArg: |
7774 | #if CPU(X86_64) |
7775 | OPGEN_RETURN(true); |
7776 | #endif |
7777 | break; |
7778 | break; |
7779 | case Arg::Index: |
7780 | #if CPU(X86_64) |
7781 | OPGEN_RETURN(true); |
7782 | #endif |
7783 | break; |
7784 | break; |
7785 | default: |
7786 | break; |
7787 | } |
7788 | break; |
7789 | default: |
7790 | break; |
7791 | } |
7792 | break; |
7793 | case Opcode::AtomicNot8: |
7794 | switch (sizeof...(Arguments)) { |
7795 | case 1: |
7796 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7797 | case Arg::Addr: |
7798 | case Arg::Stack: |
7799 | case Arg::CallArg: |
7800 | #if CPU(X86) || CPU(X86_64) |
7801 | OPGEN_RETURN(true); |
7802 | #endif |
7803 | break; |
7804 | break; |
7805 | case Arg::Index: |
7806 | #if CPU(X86) || CPU(X86_64) |
7807 | OPGEN_RETURN(true); |
7808 | #endif |
7809 | break; |
7810 | break; |
7811 | default: |
7812 | break; |
7813 | } |
7814 | break; |
7815 | default: |
7816 | break; |
7817 | } |
7818 | break; |
7819 | case Opcode::AtomicNot16: |
7820 | switch (sizeof...(Arguments)) { |
7821 | case 1: |
7822 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7823 | case Arg::Addr: |
7824 | case Arg::Stack: |
7825 | case Arg::CallArg: |
7826 | #if CPU(X86) || CPU(X86_64) |
7827 | OPGEN_RETURN(true); |
7828 | #endif |
7829 | break; |
7830 | break; |
7831 | case Arg::Index: |
7832 | #if CPU(X86) || CPU(X86_64) |
7833 | OPGEN_RETURN(true); |
7834 | #endif |
7835 | break; |
7836 | break; |
7837 | default: |
7838 | break; |
7839 | } |
7840 | break; |
7841 | default: |
7842 | break; |
7843 | } |
7844 | break; |
7845 | case Opcode::AtomicNot32: |
7846 | switch (sizeof...(Arguments)) { |
7847 | case 1: |
7848 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7849 | case Arg::Addr: |
7850 | case Arg::Stack: |
7851 | case Arg::CallArg: |
7852 | #if CPU(X86) || CPU(X86_64) |
7853 | OPGEN_RETURN(true); |
7854 | #endif |
7855 | break; |
7856 | break; |
7857 | case Arg::Index: |
7858 | #if CPU(X86) || CPU(X86_64) |
7859 | OPGEN_RETURN(true); |
7860 | #endif |
7861 | break; |
7862 | break; |
7863 | default: |
7864 | break; |
7865 | } |
7866 | break; |
7867 | default: |
7868 | break; |
7869 | } |
7870 | break; |
7871 | case Opcode::AtomicNot64: |
7872 | switch (sizeof...(Arguments)) { |
7873 | case 1: |
7874 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7875 | case Arg::Addr: |
7876 | case Arg::Stack: |
7877 | case Arg::CallArg: |
7878 | #if CPU(X86_64) |
7879 | OPGEN_RETURN(true); |
7880 | #endif |
7881 | break; |
7882 | break; |
7883 | case Arg::Index: |
7884 | #if CPU(X86_64) |
7885 | OPGEN_RETURN(true); |
7886 | #endif |
7887 | break; |
7888 | break; |
7889 | default: |
7890 | break; |
7891 | } |
7892 | break; |
7893 | default: |
7894 | break; |
7895 | } |
7896 | break; |
7897 | case Opcode::AtomicXchgAdd8: |
7898 | switch (sizeof...(Arguments)) { |
7899 | case 2: |
7900 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7901 | case Arg::Tmp: |
7902 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7903 | case Arg::Addr: |
7904 | case Arg::Stack: |
7905 | case Arg::CallArg: |
7906 | #if CPU(X86) || CPU(X86_64) |
7907 | OPGEN_RETURN(true); |
7908 | #endif |
7909 | break; |
7910 | break; |
7911 | case Arg::Index: |
7912 | #if CPU(X86) || CPU(X86_64) |
7913 | OPGEN_RETURN(true); |
7914 | #endif |
7915 | break; |
7916 | break; |
7917 | default: |
7918 | break; |
7919 | } |
7920 | break; |
7921 | default: |
7922 | break; |
7923 | } |
7924 | break; |
7925 | default: |
7926 | break; |
7927 | } |
7928 | break; |
7929 | case Opcode::AtomicXchgAdd16: |
7930 | switch (sizeof...(Arguments)) { |
7931 | case 2: |
7932 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7933 | case Arg::Tmp: |
7934 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7935 | case Arg::Addr: |
7936 | case Arg::Stack: |
7937 | case Arg::CallArg: |
7938 | #if CPU(X86) || CPU(X86_64) |
7939 | OPGEN_RETURN(true); |
7940 | #endif |
7941 | break; |
7942 | break; |
7943 | case Arg::Index: |
7944 | #if CPU(X86) || CPU(X86_64) |
7945 | OPGEN_RETURN(true); |
7946 | #endif |
7947 | break; |
7948 | break; |
7949 | default: |
7950 | break; |
7951 | } |
7952 | break; |
7953 | default: |
7954 | break; |
7955 | } |
7956 | break; |
7957 | default: |
7958 | break; |
7959 | } |
7960 | break; |
7961 | case Opcode::AtomicXchgAdd32: |
7962 | switch (sizeof...(Arguments)) { |
7963 | case 2: |
7964 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7965 | case Arg::Tmp: |
7966 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7967 | case Arg::Addr: |
7968 | case Arg::Stack: |
7969 | case Arg::CallArg: |
7970 | #if CPU(X86) || CPU(X86_64) |
7971 | OPGEN_RETURN(true); |
7972 | #endif |
7973 | break; |
7974 | break; |
7975 | case Arg::Index: |
7976 | #if CPU(X86) || CPU(X86_64) |
7977 | OPGEN_RETURN(true); |
7978 | #endif |
7979 | break; |
7980 | break; |
7981 | default: |
7982 | break; |
7983 | } |
7984 | break; |
7985 | default: |
7986 | break; |
7987 | } |
7988 | break; |
7989 | default: |
7990 | break; |
7991 | } |
7992 | break; |
7993 | case Opcode::AtomicXchgAdd64: |
7994 | switch (sizeof...(Arguments)) { |
7995 | case 2: |
7996 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7997 | case Arg::Tmp: |
7998 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7999 | case Arg::Addr: |
8000 | case Arg::Stack: |
8001 | case Arg::CallArg: |
8002 | #if CPU(X86_64) |
8003 | OPGEN_RETURN(true); |
8004 | #endif |
8005 | break; |
8006 | break; |
8007 | case Arg::Index: |
8008 | #if CPU(X86_64) |
8009 | OPGEN_RETURN(true); |
8010 | #endif |
8011 | break; |
8012 | break; |
8013 | default: |
8014 | break; |
8015 | } |
8016 | break; |
8017 | default: |
8018 | break; |
8019 | } |
8020 | break; |
8021 | default: |
8022 | break; |
8023 | } |
8024 | break; |
8025 | case Opcode::AtomicXchg8: |
8026 | switch (sizeof...(Arguments)) { |
8027 | case 2: |
8028 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8029 | case Arg::Tmp: |
8030 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8031 | case Arg::Addr: |
8032 | case Arg::Stack: |
8033 | case Arg::CallArg: |
8034 | #if CPU(X86) || CPU(X86_64) |
8035 | OPGEN_RETURN(true); |
8036 | #endif |
8037 | break; |
8038 | break; |
8039 | case Arg::Index: |
8040 | #if CPU(X86) || CPU(X86_64) |
8041 | OPGEN_RETURN(true); |
8042 | #endif |
8043 | break; |
8044 | break; |
8045 | default: |
8046 | break; |
8047 | } |
8048 | break; |
8049 | default: |
8050 | break; |
8051 | } |
8052 | break; |
8053 | default: |
8054 | break; |
8055 | } |
8056 | break; |
8057 | case Opcode::AtomicXchg16: |
8058 | switch (sizeof...(Arguments)) { |
8059 | case 2: |
8060 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8061 | case Arg::Tmp: |
8062 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8063 | case Arg::Addr: |
8064 | case Arg::Stack: |
8065 | case Arg::CallArg: |
8066 | #if CPU(X86) || CPU(X86_64) |
8067 | OPGEN_RETURN(true); |
8068 | #endif |
8069 | break; |
8070 | break; |
8071 | case Arg::Index: |
8072 | #if CPU(X86) || CPU(X86_64) |
8073 | OPGEN_RETURN(true); |
8074 | #endif |
8075 | break; |
8076 | break; |
8077 | default: |
8078 | break; |
8079 | } |
8080 | break; |
8081 | default: |
8082 | break; |
8083 | } |
8084 | break; |
8085 | default: |
8086 | break; |
8087 | } |
8088 | break; |
8089 | case Opcode::AtomicXchg32: |
8090 | switch (sizeof...(Arguments)) { |
8091 | case 2: |
8092 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8093 | case Arg::Tmp: |
8094 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8095 | case Arg::Addr: |
8096 | case Arg::Stack: |
8097 | case Arg::CallArg: |
8098 | #if CPU(X86) || CPU(X86_64) |
8099 | OPGEN_RETURN(true); |
8100 | #endif |
8101 | break; |
8102 | break; |
8103 | case Arg::Index: |
8104 | #if CPU(X86) || CPU(X86_64) |
8105 | OPGEN_RETURN(true); |
8106 | #endif |
8107 | break; |
8108 | break; |
8109 | default: |
8110 | break; |
8111 | } |
8112 | break; |
8113 | default: |
8114 | break; |
8115 | } |
8116 | break; |
8117 | default: |
8118 | break; |
8119 | } |
8120 | break; |
8121 | case Opcode::AtomicXchg64: |
8122 | switch (sizeof...(Arguments)) { |
8123 | case 2: |
8124 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8125 | case Arg::Tmp: |
8126 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8127 | case Arg::Addr: |
8128 | case Arg::Stack: |
8129 | case Arg::CallArg: |
8130 | #if CPU(X86_64) |
8131 | OPGEN_RETURN(true); |
8132 | #endif |
8133 | break; |
8134 | break; |
8135 | case Arg::Index: |
8136 | #if CPU(X86_64) |
8137 | OPGEN_RETURN(true); |
8138 | #endif |
8139 | break; |
8140 | break; |
8141 | default: |
8142 | break; |
8143 | } |
8144 | break; |
8145 | default: |
8146 | break; |
8147 | } |
8148 | break; |
8149 | default: |
8150 | break; |
8151 | } |
8152 | break; |
8153 | case Opcode::LoadLink8: |
8154 | switch (sizeof...(Arguments)) { |
8155 | case 2: |
8156 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8157 | case Arg::SimpleAddr: |
8158 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8159 | case Arg::Tmp: |
8160 | #if CPU(ARM64) |
8161 | OPGEN_RETURN(true); |
8162 | #endif |
8163 | break; |
8164 | break; |
8165 | default: |
8166 | break; |
8167 | } |
8168 | break; |
8169 | default: |
8170 | break; |
8171 | } |
8172 | break; |
8173 | default: |
8174 | break; |
8175 | } |
8176 | break; |
8177 | case Opcode::LoadLinkAcq8: |
8178 | switch (sizeof...(Arguments)) { |
8179 | case 2: |
8180 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8181 | case Arg::SimpleAddr: |
8182 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8183 | case Arg::Tmp: |
8184 | #if CPU(ARM64) |
8185 | OPGEN_RETURN(true); |
8186 | #endif |
8187 | break; |
8188 | break; |
8189 | default: |
8190 | break; |
8191 | } |
8192 | break; |
8193 | default: |
8194 | break; |
8195 | } |
8196 | break; |
8197 | default: |
8198 | break; |
8199 | } |
8200 | break; |
8201 | case Opcode::StoreCond8: |
8202 | switch (sizeof...(Arguments)) { |
8203 | case 3: |
8204 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8205 | case Arg::Tmp: |
8206 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8207 | case Arg::SimpleAddr: |
8208 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8209 | case Arg::Tmp: |
8210 | #if CPU(ARM64) |
8211 | OPGEN_RETURN(true); |
8212 | #endif |
8213 | break; |
8214 | break; |
8215 | default: |
8216 | break; |
8217 | } |
8218 | break; |
8219 | default: |
8220 | break; |
8221 | } |
8222 | break; |
8223 | default: |
8224 | break; |
8225 | } |
8226 | break; |
8227 | default: |
8228 | break; |
8229 | } |
8230 | break; |
8231 | case Opcode::StoreCondRel8: |
8232 | switch (sizeof...(Arguments)) { |
8233 | case 3: |
8234 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8235 | case Arg::Tmp: |
8236 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8237 | case Arg::SimpleAddr: |
8238 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8239 | case Arg::Tmp: |
8240 | #if CPU(ARM64) |
8241 | OPGEN_RETURN(true); |
8242 | #endif |
8243 | break; |
8244 | break; |
8245 | default: |
8246 | break; |
8247 | } |
8248 | break; |
8249 | default: |
8250 | break; |
8251 | } |
8252 | break; |
8253 | default: |
8254 | break; |
8255 | } |
8256 | break; |
8257 | default: |
8258 | break; |
8259 | } |
8260 | break; |
8261 | case Opcode::LoadLink16: |
8262 | switch (sizeof...(Arguments)) { |
8263 | case 2: |
8264 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8265 | case Arg::SimpleAddr: |
8266 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8267 | case Arg::Tmp: |
8268 | #if CPU(ARM64) |
8269 | OPGEN_RETURN(true); |
8270 | #endif |
8271 | break; |
8272 | break; |
8273 | default: |
8274 | break; |
8275 | } |
8276 | break; |
8277 | default: |
8278 | break; |
8279 | } |
8280 | break; |
8281 | default: |
8282 | break; |
8283 | } |
8284 | break; |
8285 | case Opcode::LoadLinkAcq16: |
8286 | switch (sizeof...(Arguments)) { |
8287 | case 2: |
8288 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8289 | case Arg::SimpleAddr: |
8290 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8291 | case Arg::Tmp: |
8292 | #if CPU(ARM64) |
8293 | OPGEN_RETURN(true); |
8294 | #endif |
8295 | break; |
8296 | break; |
8297 | default: |
8298 | break; |
8299 | } |
8300 | break; |
8301 | default: |
8302 | break; |
8303 | } |
8304 | break; |
8305 | default: |
8306 | break; |
8307 | } |
8308 | break; |
8309 | case Opcode::StoreCond16: |
8310 | switch (sizeof...(Arguments)) { |
8311 | case 3: |
8312 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8313 | case Arg::Tmp: |
8314 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8315 | case Arg::SimpleAddr: |
8316 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8317 | case Arg::Tmp: |
8318 | #if CPU(ARM64) |
8319 | OPGEN_RETURN(true); |
8320 | #endif |
8321 | break; |
8322 | break; |
8323 | default: |
8324 | break; |
8325 | } |
8326 | break; |
8327 | default: |
8328 | break; |
8329 | } |
8330 | break; |
8331 | default: |
8332 | break; |
8333 | } |
8334 | break; |
8335 | default: |
8336 | break; |
8337 | } |
8338 | break; |
8339 | case Opcode::StoreCondRel16: |
8340 | switch (sizeof...(Arguments)) { |
8341 | case 3: |
8342 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8343 | case Arg::Tmp: |
8344 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8345 | case Arg::SimpleAddr: |
8346 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8347 | case Arg::Tmp: |
8348 | #if CPU(ARM64) |
8349 | OPGEN_RETURN(true); |
8350 | #endif |
8351 | break; |
8352 | break; |
8353 | default: |
8354 | break; |
8355 | } |
8356 | break; |
8357 | default: |
8358 | break; |
8359 | } |
8360 | break; |
8361 | default: |
8362 | break; |
8363 | } |
8364 | break; |
8365 | default: |
8366 | break; |
8367 | } |
8368 | break; |
8369 | case Opcode::LoadLink32: |
8370 | switch (sizeof...(Arguments)) { |
8371 | case 2: |
8372 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8373 | case Arg::SimpleAddr: |
8374 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8375 | case Arg::Tmp: |
8376 | #if CPU(ARM64) |
8377 | OPGEN_RETURN(true); |
8378 | #endif |
8379 | break; |
8380 | break; |
8381 | default: |
8382 | break; |
8383 | } |
8384 | break; |
8385 | default: |
8386 | break; |
8387 | } |
8388 | break; |
8389 | default: |
8390 | break; |
8391 | } |
8392 | break; |
8393 | case Opcode::LoadLinkAcq32: |
8394 | switch (sizeof...(Arguments)) { |
8395 | case 2: |
8396 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8397 | case Arg::SimpleAddr: |
8398 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8399 | case Arg::Tmp: |
8400 | #if CPU(ARM64) |
8401 | OPGEN_RETURN(true); |
8402 | #endif |
8403 | break; |
8404 | break; |
8405 | default: |
8406 | break; |
8407 | } |
8408 | break; |
8409 | default: |
8410 | break; |
8411 | } |
8412 | break; |
8413 | default: |
8414 | break; |
8415 | } |
8416 | break; |
8417 | case Opcode::StoreCond32: |
8418 | switch (sizeof...(Arguments)) { |
8419 | case 3: |
8420 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8421 | case Arg::Tmp: |
8422 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8423 | case Arg::SimpleAddr: |
8424 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8425 | case Arg::Tmp: |
8426 | #if CPU(ARM64) |
8427 | OPGEN_RETURN(true); |
8428 | #endif |
8429 | break; |
8430 | break; |
8431 | default: |
8432 | break; |
8433 | } |
8434 | break; |
8435 | default: |
8436 | break; |
8437 | } |
8438 | break; |
8439 | default: |
8440 | break; |
8441 | } |
8442 | break; |
8443 | default: |
8444 | break; |
8445 | } |
8446 | break; |
8447 | case Opcode::StoreCondRel32: |
8448 | switch (sizeof...(Arguments)) { |
8449 | case 3: |
8450 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8451 | case Arg::Tmp: |
8452 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8453 | case Arg::SimpleAddr: |
8454 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8455 | case Arg::Tmp: |
8456 | #if CPU(ARM64) |
8457 | OPGEN_RETURN(true); |
8458 | #endif |
8459 | break; |
8460 | break; |
8461 | default: |
8462 | break; |
8463 | } |
8464 | break; |
8465 | default: |
8466 | break; |
8467 | } |
8468 | break; |
8469 | default: |
8470 | break; |
8471 | } |
8472 | break; |
8473 | default: |
8474 | break; |
8475 | } |
8476 | break; |
8477 | case Opcode::LoadLink64: |
8478 | switch (sizeof...(Arguments)) { |
8479 | case 2: |
8480 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8481 | case Arg::SimpleAddr: |
8482 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8483 | case Arg::Tmp: |
8484 | #if CPU(ARM64) |
8485 | OPGEN_RETURN(true); |
8486 | #endif |
8487 | break; |
8488 | break; |
8489 | default: |
8490 | break; |
8491 | } |
8492 | break; |
8493 | default: |
8494 | break; |
8495 | } |
8496 | break; |
8497 | default: |
8498 | break; |
8499 | } |
8500 | break; |
8501 | case Opcode::LoadLinkAcq64: |
8502 | switch (sizeof...(Arguments)) { |
8503 | case 2: |
8504 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8505 | case Arg::SimpleAddr: |
8506 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8507 | case Arg::Tmp: |
8508 | #if CPU(ARM64) |
8509 | OPGEN_RETURN(true); |
8510 | #endif |
8511 | break; |
8512 | break; |
8513 | default: |
8514 | break; |
8515 | } |
8516 | break; |
8517 | default: |
8518 | break; |
8519 | } |
8520 | break; |
8521 | default: |
8522 | break; |
8523 | } |
8524 | break; |
8525 | case Opcode::StoreCond64: |
8526 | switch (sizeof...(Arguments)) { |
8527 | case 3: |
8528 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8529 | case Arg::Tmp: |
8530 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8531 | case Arg::SimpleAddr: |
8532 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8533 | case Arg::Tmp: |
8534 | #if CPU(ARM64) |
8535 | OPGEN_RETURN(true); |
8536 | #endif |
8537 | break; |
8538 | break; |
8539 | default: |
8540 | break; |
8541 | } |
8542 | break; |
8543 | default: |
8544 | break; |
8545 | } |
8546 | break; |
8547 | default: |
8548 | break; |
8549 | } |
8550 | break; |
8551 | default: |
8552 | break; |
8553 | } |
8554 | break; |
8555 | case Opcode::StoreCondRel64: |
8556 | switch (sizeof...(Arguments)) { |
8557 | case 3: |
8558 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8559 | case Arg::Tmp: |
8560 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8561 | case Arg::SimpleAddr: |
8562 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8563 | case Arg::Tmp: |
8564 | #if CPU(ARM64) |
8565 | OPGEN_RETURN(true); |
8566 | #endif |
8567 | break; |
8568 | break; |
8569 | default: |
8570 | break; |
8571 | } |
8572 | break; |
8573 | default: |
8574 | break; |
8575 | } |
8576 | break; |
8577 | default: |
8578 | break; |
8579 | } |
8580 | break; |
8581 | default: |
8582 | break; |
8583 | } |
8584 | break; |
8585 | case Opcode::Depend32: |
8586 | switch (sizeof...(Arguments)) { |
8587 | case 2: |
8588 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8589 | case Arg::Tmp: |
8590 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8591 | case Arg::Tmp: |
8592 | #if CPU(ARM64) |
8593 | OPGEN_RETURN(true); |
8594 | #endif |
8595 | break; |
8596 | break; |
8597 | default: |
8598 | break; |
8599 | } |
8600 | break; |
8601 | default: |
8602 | break; |
8603 | } |
8604 | break; |
8605 | default: |
8606 | break; |
8607 | } |
8608 | break; |
8609 | case Opcode::Depend64: |
8610 | switch (sizeof...(Arguments)) { |
8611 | case 2: |
8612 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8613 | case Arg::Tmp: |
8614 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8615 | case Arg::Tmp: |
8616 | #if CPU(ARM64) |
8617 | OPGEN_RETURN(true); |
8618 | #endif |
8619 | break; |
8620 | break; |
8621 | default: |
8622 | break; |
8623 | } |
8624 | break; |
8625 | default: |
8626 | break; |
8627 | } |
8628 | break; |
8629 | default: |
8630 | break; |
8631 | } |
8632 | break; |
8633 | case Opcode::Compare32: |
8634 | switch (sizeof...(Arguments)) { |
8635 | case 4: |
8636 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8637 | case Arg::RelCond: |
8638 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8639 | case Arg::Tmp: |
8640 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8641 | case Arg::Tmp: |
8642 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8643 | case Arg::Tmp: |
8644 | OPGEN_RETURN(true); |
8645 | break; |
8646 | break; |
8647 | default: |
8648 | break; |
8649 | } |
8650 | break; |
8651 | case Arg::Imm: |
8652 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8653 | case Arg::Tmp: |
8654 | OPGEN_RETURN(true); |
8655 | break; |
8656 | break; |
8657 | default: |
8658 | break; |
8659 | } |
8660 | break; |
8661 | default: |
8662 | break; |
8663 | } |
8664 | break; |
8665 | default: |
8666 | break; |
8667 | } |
8668 | break; |
8669 | default: |
8670 | break; |
8671 | } |
8672 | break; |
8673 | default: |
8674 | break; |
8675 | } |
8676 | break; |
8677 | case Opcode::Compare64: |
8678 | switch (sizeof...(Arguments)) { |
8679 | case 4: |
8680 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8681 | case Arg::RelCond: |
8682 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8683 | case Arg::Tmp: |
8684 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8685 | case Arg::Tmp: |
8686 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8687 | case Arg::Tmp: |
8688 | #if CPU(X86_64) || CPU(ARM64) |
8689 | OPGEN_RETURN(true); |
8690 | #endif |
8691 | break; |
8692 | break; |
8693 | default: |
8694 | break; |
8695 | } |
8696 | break; |
8697 | case Arg::Imm: |
8698 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8699 | case Arg::Tmp: |
8700 | #if CPU(X86_64) |
8701 | OPGEN_RETURN(true); |
8702 | #endif |
8703 | break; |
8704 | break; |
8705 | default: |
8706 | break; |
8707 | } |
8708 | break; |
8709 | default: |
8710 | break; |
8711 | } |
8712 | break; |
8713 | default: |
8714 | break; |
8715 | } |
8716 | break; |
8717 | default: |
8718 | break; |
8719 | } |
8720 | break; |
8721 | default: |
8722 | break; |
8723 | } |
8724 | break; |
8725 | case Opcode::Test32: |
8726 | switch (sizeof...(Arguments)) { |
8727 | case 4: |
8728 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8729 | case Arg::ResCond: |
8730 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8731 | case Arg::Addr: |
8732 | case Arg::Stack: |
8733 | case Arg::CallArg: |
8734 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8735 | case Arg::Imm: |
8736 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8737 | case Arg::Tmp: |
8738 | #if CPU(X86) || CPU(X86_64) |
8739 | OPGEN_RETURN(true); |
8740 | #endif |
8741 | break; |
8742 | break; |
8743 | default: |
8744 | break; |
8745 | } |
8746 | break; |
8747 | default: |
8748 | break; |
8749 | } |
8750 | break; |
8751 | case Arg::Tmp: |
8752 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8753 | case Arg::Tmp: |
8754 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8755 | case Arg::Tmp: |
8756 | OPGEN_RETURN(true); |
8757 | break; |
8758 | break; |
8759 | default: |
8760 | break; |
8761 | } |
8762 | break; |
8763 | case Arg::BitImm: |
8764 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8765 | case Arg::Tmp: |
8766 | OPGEN_RETURN(true); |
8767 | break; |
8768 | break; |
8769 | default: |
8770 | break; |
8771 | } |
8772 | break; |
8773 | default: |
8774 | break; |
8775 | } |
8776 | break; |
8777 | default: |
8778 | break; |
8779 | } |
8780 | break; |
8781 | default: |
8782 | break; |
8783 | } |
8784 | break; |
8785 | default: |
8786 | break; |
8787 | } |
8788 | break; |
8789 | case Opcode::Test64: |
8790 | switch (sizeof...(Arguments)) { |
8791 | case 4: |
8792 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8793 | case Arg::ResCond: |
8794 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8795 | case Arg::Tmp: |
8796 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8797 | case Arg::Imm: |
8798 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8799 | case Arg::Tmp: |
8800 | #if CPU(X86_64) |
8801 | OPGEN_RETURN(true); |
8802 | #endif |
8803 | break; |
8804 | break; |
8805 | default: |
8806 | break; |
8807 | } |
8808 | break; |
8809 | case Arg::Tmp: |
8810 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8811 | case Arg::Tmp: |
8812 | #if CPU(X86_64) || CPU(ARM64) |
8813 | OPGEN_RETURN(true); |
8814 | #endif |
8815 | break; |
8816 | break; |
8817 | default: |
8818 | break; |
8819 | } |
8820 | break; |
8821 | default: |
8822 | break; |
8823 | } |
8824 | break; |
8825 | default: |
8826 | break; |
8827 | } |
8828 | break; |
8829 | default: |
8830 | break; |
8831 | } |
8832 | break; |
8833 | default: |
8834 | break; |
8835 | } |
8836 | break; |
8837 | case Opcode::CompareDouble: |
8838 | switch (sizeof...(Arguments)) { |
8839 | case 4: |
8840 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8841 | case Arg::DoubleCond: |
8842 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8843 | case Arg::Tmp: |
8844 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8845 | case Arg::Tmp: |
8846 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8847 | case Arg::Tmp: |
8848 | OPGEN_RETURN(true); |
8849 | break; |
8850 | break; |
8851 | default: |
8852 | break; |
8853 | } |
8854 | break; |
8855 | default: |
8856 | break; |
8857 | } |
8858 | break; |
8859 | default: |
8860 | break; |
8861 | } |
8862 | break; |
8863 | default: |
8864 | break; |
8865 | } |
8866 | break; |
8867 | default: |
8868 | break; |
8869 | } |
8870 | break; |
8871 | case Opcode::CompareFloat: |
8872 | switch (sizeof...(Arguments)) { |
8873 | case 4: |
8874 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8875 | case Arg::DoubleCond: |
8876 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8877 | case Arg::Tmp: |
8878 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8879 | case Arg::Tmp: |
8880 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8881 | case Arg::Tmp: |
8882 | OPGEN_RETURN(true); |
8883 | break; |
8884 | break; |
8885 | default: |
8886 | break; |
8887 | } |
8888 | break; |
8889 | default: |
8890 | break; |
8891 | } |
8892 | break; |
8893 | default: |
8894 | break; |
8895 | } |
8896 | break; |
8897 | default: |
8898 | break; |
8899 | } |
8900 | break; |
8901 | default: |
8902 | break; |
8903 | } |
8904 | break; |
8905 | case Opcode::Branch8: |
8906 | switch (sizeof...(Arguments)) { |
8907 | case 3: |
8908 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8909 | case Arg::RelCond: |
8910 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8911 | case Arg::Addr: |
8912 | case Arg::Stack: |
8913 | case Arg::CallArg: |
8914 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8915 | case Arg::Imm: |
8916 | #if CPU(X86) || CPU(X86_64) |
8917 | OPGEN_RETURN(true); |
8918 | #endif |
8919 | break; |
8920 | break; |
8921 | default: |
8922 | break; |
8923 | } |
8924 | break; |
8925 | case Arg::Index: |
8926 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8927 | case Arg::Imm: |
8928 | #if CPU(X86) || CPU(X86_64) |
8929 | OPGEN_RETURN(true); |
8930 | #endif |
8931 | break; |
8932 | break; |
8933 | default: |
8934 | break; |
8935 | } |
8936 | break; |
8937 | default: |
8938 | break; |
8939 | } |
8940 | break; |
8941 | default: |
8942 | break; |
8943 | } |
8944 | break; |
8945 | default: |
8946 | break; |
8947 | } |
8948 | break; |
8949 | case Opcode::Branch32: |
8950 | switch (sizeof...(Arguments)) { |
8951 | case 3: |
8952 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8953 | case Arg::RelCond: |
8954 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8955 | case Arg::Addr: |
8956 | case Arg::Stack: |
8957 | case Arg::CallArg: |
8958 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8959 | case Arg::Imm: |
8960 | #if CPU(X86) || CPU(X86_64) |
8961 | OPGEN_RETURN(true); |
8962 | #endif |
8963 | break; |
8964 | break; |
8965 | case Arg::Tmp: |
8966 | #if CPU(X86) || CPU(X86_64) |
8967 | OPGEN_RETURN(true); |
8968 | #endif |
8969 | break; |
8970 | break; |
8971 | default: |
8972 | break; |
8973 | } |
8974 | break; |
8975 | case Arg::Tmp: |
8976 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8977 | case Arg::Tmp: |
8978 | OPGEN_RETURN(true); |
8979 | break; |
8980 | break; |
8981 | case Arg::Imm: |
8982 | OPGEN_RETURN(true); |
8983 | break; |
8984 | break; |
8985 | case Arg::Addr: |
8986 | case Arg::Stack: |
8987 | case Arg::CallArg: |
8988 | #if CPU(X86) || CPU(X86_64) |
8989 | OPGEN_RETURN(true); |
8990 | #endif |
8991 | break; |
8992 | break; |
8993 | default: |
8994 | break; |
8995 | } |
8996 | break; |
8997 | case Arg::Index: |
8998 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8999 | case Arg::Imm: |
9000 | #if CPU(X86) || CPU(X86_64) |
9001 | OPGEN_RETURN(true); |
9002 | #endif |
9003 | break; |
9004 | break; |
9005 | default: |
9006 | break; |
9007 | } |
9008 | break; |
9009 | default: |
9010 | break; |
9011 | } |
9012 | break; |
9013 | default: |
9014 | break; |
9015 | } |
9016 | break; |
9017 | default: |
9018 | break; |
9019 | } |
9020 | break; |
9021 | case Opcode::Branch64: |
9022 | switch (sizeof...(Arguments)) { |
9023 | case 3: |
9024 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9025 | case Arg::RelCond: |
9026 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9027 | case Arg::Tmp: |
9028 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9029 | case Arg::Tmp: |
9030 | #if CPU(X86_64) || CPU(ARM64) |
9031 | OPGEN_RETURN(true); |
9032 | #endif |
9033 | break; |
9034 | break; |
9035 | case Arg::Imm: |
9036 | #if CPU(X86_64) || CPU(ARM64) |
9037 | OPGEN_RETURN(true); |
9038 | #endif |
9039 | break; |
9040 | break; |
9041 | case Arg::Addr: |
9042 | case Arg::Stack: |
9043 | case Arg::CallArg: |
9044 | #if CPU(X86_64) |
9045 | OPGEN_RETURN(true); |
9046 | #endif |
9047 | break; |
9048 | break; |
9049 | default: |
9050 | break; |
9051 | } |
9052 | break; |
9053 | case Arg::Addr: |
9054 | case Arg::Stack: |
9055 | case Arg::CallArg: |
9056 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9057 | case Arg::Tmp: |
9058 | #if CPU(X86_64) |
9059 | OPGEN_RETURN(true); |
9060 | #endif |
9061 | break; |
9062 | break; |
9063 | case Arg::Imm: |
9064 | #if CPU(X86_64) |
9065 | OPGEN_RETURN(true); |
9066 | #endif |
9067 | break; |
9068 | break; |
9069 | default: |
9070 | break; |
9071 | } |
9072 | break; |
9073 | case Arg::Index: |
9074 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9075 | case Arg::Tmp: |
9076 | #if CPU(X86_64) |
9077 | OPGEN_RETURN(true); |
9078 | #endif |
9079 | break; |
9080 | break; |
9081 | default: |
9082 | break; |
9083 | } |
9084 | break; |
9085 | default: |
9086 | break; |
9087 | } |
9088 | break; |
9089 | default: |
9090 | break; |
9091 | } |
9092 | break; |
9093 | default: |
9094 | break; |
9095 | } |
9096 | break; |
9097 | case Opcode::BranchTest8: |
9098 | switch (sizeof...(Arguments)) { |
9099 | case 3: |
9100 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9101 | case Arg::ResCond: |
9102 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9103 | case Arg::Addr: |
9104 | case Arg::Stack: |
9105 | case Arg::CallArg: |
9106 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9107 | case Arg::BitImm: |
9108 | #if CPU(X86) || CPU(X86_64) |
9109 | OPGEN_RETURN(true); |
9110 | #endif |
9111 | break; |
9112 | break; |
9113 | default: |
9114 | break; |
9115 | } |
9116 | break; |
9117 | case Arg::Index: |
9118 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9119 | case Arg::BitImm: |
9120 | #if CPU(X86) || CPU(X86_64) |
9121 | OPGEN_RETURN(true); |
9122 | #endif |
9123 | break; |
9124 | break; |
9125 | default: |
9126 | break; |
9127 | } |
9128 | break; |
9129 | default: |
9130 | break; |
9131 | } |
9132 | break; |
9133 | default: |
9134 | break; |
9135 | } |
9136 | break; |
9137 | default: |
9138 | break; |
9139 | } |
9140 | break; |
9141 | case Opcode::BranchTest32: |
9142 | switch (sizeof...(Arguments)) { |
9143 | case 3: |
9144 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9145 | case Arg::ResCond: |
9146 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9147 | case Arg::Tmp: |
9148 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9149 | case Arg::Tmp: |
9150 | OPGEN_RETURN(true); |
9151 | break; |
9152 | break; |
9153 | case Arg::BitImm: |
9154 | OPGEN_RETURN(true); |
9155 | break; |
9156 | break; |
9157 | default: |
9158 | break; |
9159 | } |
9160 | break; |
9161 | case Arg::Addr: |
9162 | case Arg::Stack: |
9163 | case Arg::CallArg: |
9164 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9165 | case Arg::BitImm: |
9166 | #if CPU(X86) || CPU(X86_64) |
9167 | OPGEN_RETURN(true); |
9168 | #endif |
9169 | break; |
9170 | break; |
9171 | default: |
9172 | break; |
9173 | } |
9174 | break; |
9175 | case Arg::Index: |
9176 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9177 | case Arg::BitImm: |
9178 | #if CPU(X86) || CPU(X86_64) |
9179 | OPGEN_RETURN(true); |
9180 | #endif |
9181 | break; |
9182 | break; |
9183 | default: |
9184 | break; |
9185 | } |
9186 | break; |
9187 | default: |
9188 | break; |
9189 | } |
9190 | break; |
9191 | default: |
9192 | break; |
9193 | } |
9194 | break; |
9195 | default: |
9196 | break; |
9197 | } |
9198 | break; |
9199 | case Opcode::BranchTest64: |
9200 | switch (sizeof...(Arguments)) { |
9201 | case 3: |
9202 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9203 | case Arg::ResCond: |
9204 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9205 | case Arg::Tmp: |
9206 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9207 | case Arg::Tmp: |
9208 | #if CPU(X86_64) || CPU(ARM64) |
9209 | OPGEN_RETURN(true); |
9210 | #endif |
9211 | break; |
9212 | break; |
9213 | #if USE(JSVALUE64) |
9214 | case Arg::BitImm64: |
9215 | #if CPU(ARM64) |
9216 | OPGEN_RETURN(true); |
9217 | #endif |
9218 | break; |
9219 | break; |
9220 | #endif // USE(JSVALUE64) |
9221 | case Arg::BitImm: |
9222 | #if CPU(X86_64) |
9223 | OPGEN_RETURN(true); |
9224 | #endif |
9225 | break; |
9226 | break; |
9227 | default: |
9228 | break; |
9229 | } |
9230 | break; |
9231 | case Arg::Addr: |
9232 | case Arg::Stack: |
9233 | case Arg::CallArg: |
9234 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9235 | case Arg::BitImm: |
9236 | #if CPU(X86_64) |
9237 | OPGEN_RETURN(true); |
9238 | #endif |
9239 | break; |
9240 | break; |
9241 | case Arg::Tmp: |
9242 | #if CPU(X86_64) |
9243 | OPGEN_RETURN(true); |
9244 | #endif |
9245 | break; |
9246 | break; |
9247 | default: |
9248 | break; |
9249 | } |
9250 | break; |
9251 | case Arg::Index: |
9252 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9253 | case Arg::BitImm: |
9254 | #if CPU(X86_64) |
9255 | OPGEN_RETURN(true); |
9256 | #endif |
9257 | break; |
9258 | break; |
9259 | default: |
9260 | break; |
9261 | } |
9262 | break; |
9263 | default: |
9264 | break; |
9265 | } |
9266 | break; |
9267 | default: |
9268 | break; |
9269 | } |
9270 | break; |
9271 | default: |
9272 | break; |
9273 | } |
9274 | break; |
9275 | case Opcode::BranchTestBit64: |
9276 | switch (sizeof...(Arguments)) { |
9277 | case 3: |
9278 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9279 | case Arg::ResCond: |
9280 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9281 | case Arg::Tmp: |
9282 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9283 | case Arg::Imm: |
9284 | #if CPU(X86_64) |
9285 | OPGEN_RETURN(true); |
9286 | #endif |
9287 | break; |
9288 | break; |
9289 | case Arg::Tmp: |
9290 | #if CPU(X86_64) |
9291 | OPGEN_RETURN(true); |
9292 | #endif |
9293 | break; |
9294 | break; |
9295 | default: |
9296 | break; |
9297 | } |
9298 | break; |
9299 | case Arg::Addr: |
9300 | case Arg::Stack: |
9301 | case Arg::CallArg: |
9302 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9303 | case Arg::Imm: |
9304 | #if CPU(X86_64) |
9305 | OPGEN_RETURN(true); |
9306 | #endif |
9307 | break; |
9308 | break; |
9309 | default: |
9310 | break; |
9311 | } |
9312 | break; |
9313 | default: |
9314 | break; |
9315 | } |
9316 | break; |
9317 | default: |
9318 | break; |
9319 | } |
9320 | break; |
9321 | default: |
9322 | break; |
9323 | } |
9324 | break; |
9325 | case Opcode::BranchTestBit32: |
9326 | switch (sizeof...(Arguments)) { |
9327 | case 3: |
9328 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9329 | case Arg::ResCond: |
9330 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9331 | case Arg::Tmp: |
9332 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9333 | case Arg::Imm: |
9334 | #if CPU(X86) || CPU(X86_64) |
9335 | OPGEN_RETURN(true); |
9336 | #endif |
9337 | break; |
9338 | break; |
9339 | case Arg::Tmp: |
9340 | #if CPU(X86) || CPU(X86_64) |
9341 | OPGEN_RETURN(true); |
9342 | #endif |
9343 | break; |
9344 | break; |
9345 | default: |
9346 | break; |
9347 | } |
9348 | break; |
9349 | case Arg::Addr: |
9350 | case Arg::Stack: |
9351 | case Arg::CallArg: |
9352 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9353 | case Arg::Imm: |
9354 | #if CPU(X86) || CPU(X86_64) |
9355 | OPGEN_RETURN(true); |
9356 | #endif |
9357 | break; |
9358 | break; |
9359 | default: |
9360 | break; |
9361 | } |
9362 | break; |
9363 | default: |
9364 | break; |
9365 | } |
9366 | break; |
9367 | default: |
9368 | break; |
9369 | } |
9370 | break; |
9371 | default: |
9372 | break; |
9373 | } |
9374 | break; |
9375 | case Opcode::BranchDouble: |
9376 | switch (sizeof...(Arguments)) { |
9377 | case 3: |
9378 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9379 | case Arg::DoubleCond: |
9380 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9381 | case Arg::Tmp: |
9382 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9383 | case Arg::Tmp: |
9384 | OPGEN_RETURN(true); |
9385 | break; |
9386 | break; |
9387 | default: |
9388 | break; |
9389 | } |
9390 | break; |
9391 | default: |
9392 | break; |
9393 | } |
9394 | break; |
9395 | default: |
9396 | break; |
9397 | } |
9398 | break; |
9399 | default: |
9400 | break; |
9401 | } |
9402 | break; |
9403 | case Opcode::BranchFloat: |
9404 | switch (sizeof...(Arguments)) { |
9405 | case 3: |
9406 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9407 | case Arg::DoubleCond: |
9408 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9409 | case Arg::Tmp: |
9410 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9411 | case Arg::Tmp: |
9412 | OPGEN_RETURN(true); |
9413 | break; |
9414 | break; |
9415 | default: |
9416 | break; |
9417 | } |
9418 | break; |
9419 | default: |
9420 | break; |
9421 | } |
9422 | break; |
9423 | default: |
9424 | break; |
9425 | } |
9426 | break; |
9427 | default: |
9428 | break; |
9429 | } |
9430 | break; |
9431 | case Opcode::BranchAdd32: |
9432 | switch (sizeof...(Arguments)) { |
9433 | case 4: |
9434 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9435 | case Arg::ResCond: |
9436 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9437 | case Arg::Tmp: |
9438 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9439 | case Arg::Tmp: |
9440 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9441 | case Arg::Tmp: |
9442 | OPGEN_RETURN(true); |
9443 | break; |
9444 | break; |
9445 | default: |
9446 | break; |
9447 | } |
9448 | break; |
9449 | case Arg::Addr: |
9450 | case Arg::Stack: |
9451 | case Arg::CallArg: |
9452 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9453 | case Arg::Tmp: |
9454 | #if CPU(X86) || CPU(X86_64) |
9455 | OPGEN_RETURN(true); |
9456 | #endif |
9457 | break; |
9458 | break; |
9459 | default: |
9460 | break; |
9461 | } |
9462 | break; |
9463 | default: |
9464 | break; |
9465 | } |
9466 | break; |
9467 | case Arg::Addr: |
9468 | case Arg::Stack: |
9469 | case Arg::CallArg: |
9470 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9471 | case Arg::Tmp: |
9472 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9473 | case Arg::Tmp: |
9474 | #if CPU(X86) || CPU(X86_64) |
9475 | OPGEN_RETURN(true); |
9476 | #endif |
9477 | break; |
9478 | break; |
9479 | default: |
9480 | break; |
9481 | } |
9482 | break; |
9483 | default: |
9484 | break; |
9485 | } |
9486 | break; |
9487 | default: |
9488 | break; |
9489 | } |
9490 | break; |
9491 | default: |
9492 | break; |
9493 | } |
9494 | break; |
9495 | case 3: |
9496 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9497 | case Arg::ResCond: |
9498 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9499 | case Arg::Tmp: |
9500 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9501 | case Arg::Tmp: |
9502 | OPGEN_RETURN(true); |
9503 | break; |
9504 | break; |
9505 | case Arg::Addr: |
9506 | case Arg::Stack: |
9507 | case Arg::CallArg: |
9508 | #if CPU(X86) || CPU(X86_64) |
9509 | OPGEN_RETURN(true); |
9510 | #endif |
9511 | break; |
9512 | break; |
9513 | default: |
9514 | break; |
9515 | } |
9516 | break; |
9517 | case Arg::Imm: |
9518 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9519 | case Arg::Tmp: |
9520 | OPGEN_RETURN(true); |
9521 | break; |
9522 | break; |
9523 | case Arg::Addr: |
9524 | case Arg::Stack: |
9525 | case Arg::CallArg: |
9526 | #if CPU(X86) || CPU(X86_64) |
9527 | OPGEN_RETURN(true); |
9528 | #endif |
9529 | break; |
9530 | break; |
9531 | default: |
9532 | break; |
9533 | } |
9534 | break; |
9535 | case Arg::Addr: |
9536 | case Arg::Stack: |
9537 | case Arg::CallArg: |
9538 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9539 | case Arg::Tmp: |
9540 | #if CPU(X86) || CPU(X86_64) |
9541 | OPGEN_RETURN(true); |
9542 | #endif |
9543 | break; |
9544 | break; |
9545 | default: |
9546 | break; |
9547 | } |
9548 | break; |
9549 | default: |
9550 | break; |
9551 | } |
9552 | break; |
9553 | default: |
9554 | break; |
9555 | } |
9556 | break; |
9557 | default: |
9558 | break; |
9559 | } |
9560 | break; |
9561 | case Opcode::BranchAdd64: |
9562 | switch (sizeof...(Arguments)) { |
9563 | case 4: |
9564 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9565 | case Arg::ResCond: |
9566 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9567 | case Arg::Tmp: |
9568 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9569 | case Arg::Tmp: |
9570 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9571 | case Arg::Tmp: |
9572 | OPGEN_RETURN(true); |
9573 | break; |
9574 | break; |
9575 | default: |
9576 | break; |
9577 | } |
9578 | break; |
9579 | case Arg::Addr: |
9580 | case Arg::Stack: |
9581 | case Arg::CallArg: |
9582 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9583 | case Arg::Tmp: |
9584 | #if CPU(X86) || CPU(X86_64) |
9585 | OPGEN_RETURN(true); |
9586 | #endif |
9587 | break; |
9588 | break; |
9589 | default: |
9590 | break; |
9591 | } |
9592 | break; |
9593 | default: |
9594 | break; |
9595 | } |
9596 | break; |
9597 | case Arg::Addr: |
9598 | case Arg::Stack: |
9599 | case Arg::CallArg: |
9600 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9601 | case Arg::Tmp: |
9602 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9603 | case Arg::Tmp: |
9604 | #if CPU(X86) || CPU(X86_64) |
9605 | OPGEN_RETURN(true); |
9606 | #endif |
9607 | break; |
9608 | break; |
9609 | default: |
9610 | break; |
9611 | } |
9612 | break; |
9613 | default: |
9614 | break; |
9615 | } |
9616 | break; |
9617 | default: |
9618 | break; |
9619 | } |
9620 | break; |
9621 | default: |
9622 | break; |
9623 | } |
9624 | break; |
9625 | case 3: |
9626 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9627 | case Arg::ResCond: |
9628 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9629 | case Arg::Imm: |
9630 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9631 | case Arg::Tmp: |
9632 | #if CPU(X86_64) || CPU(ARM64) |
9633 | OPGEN_RETURN(true); |
9634 | #endif |
9635 | break; |
9636 | break; |
9637 | default: |
9638 | break; |
9639 | } |
9640 | break; |
9641 | case Arg::Tmp: |
9642 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9643 | case Arg::Tmp: |
9644 | #if CPU(X86_64) || CPU(ARM64) |
9645 | OPGEN_RETURN(true); |
9646 | #endif |
9647 | break; |
9648 | break; |
9649 | default: |
9650 | break; |
9651 | } |
9652 | break; |
9653 | case Arg::Addr: |
9654 | case Arg::Stack: |
9655 | case Arg::CallArg: |
9656 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9657 | case Arg::Tmp: |
9658 | #if CPU(X86_64) |
9659 | OPGEN_RETURN(true); |
9660 | #endif |
9661 | break; |
9662 | break; |
9663 | default: |
9664 | break; |
9665 | } |
9666 | break; |
9667 | default: |
9668 | break; |
9669 | } |
9670 | break; |
9671 | default: |
9672 | break; |
9673 | } |
9674 | break; |
9675 | default: |
9676 | break; |
9677 | } |
9678 | break; |
9679 | case Opcode::BranchMul32: |
9680 | switch (sizeof...(Arguments)) { |
9681 | case 3: |
9682 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9683 | case Arg::ResCond: |
9684 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9685 | case Arg::Tmp: |
9686 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9687 | case Arg::Tmp: |
9688 | #if CPU(X86) || CPU(X86_64) |
9689 | OPGEN_RETURN(true); |
9690 | #endif |
9691 | break; |
9692 | break; |
9693 | default: |
9694 | break; |
9695 | } |
9696 | break; |
9697 | case Arg::Addr: |
9698 | case Arg::Stack: |
9699 | case Arg::CallArg: |
9700 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9701 | case Arg::Tmp: |
9702 | #if CPU(X86) || CPU(X86_64) |
9703 | OPGEN_RETURN(true); |
9704 | #endif |
9705 | break; |
9706 | break; |
9707 | default: |
9708 | break; |
9709 | } |
9710 | break; |
9711 | default: |
9712 | break; |
9713 | } |
9714 | break; |
9715 | default: |
9716 | break; |
9717 | } |
9718 | break; |
9719 | case 4: |
9720 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9721 | case Arg::ResCond: |
9722 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9723 | case Arg::Tmp: |
9724 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9725 | case Arg::Imm: |
9726 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9727 | case Arg::Tmp: |
9728 | #if CPU(X86) || CPU(X86_64) |
9729 | OPGEN_RETURN(true); |
9730 | #endif |
9731 | break; |
9732 | break; |
9733 | default: |
9734 | break; |
9735 | } |
9736 | break; |
9737 | default: |
9738 | break; |
9739 | } |
9740 | break; |
9741 | default: |
9742 | break; |
9743 | } |
9744 | break; |
9745 | default: |
9746 | break; |
9747 | } |
9748 | break; |
9749 | case 6: |
9750 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9751 | case Arg::ResCond: |
9752 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9753 | case Arg::Tmp: |
9754 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9755 | case Arg::Tmp: |
9756 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9757 | case Arg::Tmp: |
9758 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9759 | case Arg::Tmp: |
9760 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
9761 | case Arg::Tmp: |
9762 | #if CPU(ARM64) |
9763 | OPGEN_RETURN(true); |
9764 | #endif |
9765 | break; |
9766 | break; |
9767 | default: |
9768 | break; |
9769 | } |
9770 | break; |
9771 | default: |
9772 | break; |
9773 | } |
9774 | break; |
9775 | default: |
9776 | break; |
9777 | } |
9778 | break; |
9779 | default: |
9780 | break; |
9781 | } |
9782 | break; |
9783 | default: |
9784 | break; |
9785 | } |
9786 | break; |
9787 | default: |
9788 | break; |
9789 | } |
9790 | break; |
9791 | default: |
9792 | break; |
9793 | } |
9794 | break; |
9795 | case Opcode::BranchMul64: |
9796 | switch (sizeof...(Arguments)) { |
9797 | case 3: |
9798 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9799 | case Arg::ResCond: |
9800 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9801 | case Arg::Tmp: |
9802 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9803 | case Arg::Tmp: |
9804 | #if CPU(X86_64) |
9805 | OPGEN_RETURN(true); |
9806 | #endif |
9807 | break; |
9808 | break; |
9809 | default: |
9810 | break; |
9811 | } |
9812 | break; |
9813 | default: |
9814 | break; |
9815 | } |
9816 | break; |
9817 | default: |
9818 | break; |
9819 | } |
9820 | break; |
9821 | case 6: |
9822 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9823 | case Arg::ResCond: |
9824 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9825 | case Arg::Tmp: |
9826 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9827 | case Arg::Tmp: |
9828 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9829 | case Arg::Tmp: |
9830 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9831 | case Arg::Tmp: |
9832 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
9833 | case Arg::Tmp: |
9834 | #if CPU(ARM64) |
9835 | OPGEN_RETURN(true); |
9836 | #endif |
9837 | break; |
9838 | break; |
9839 | default: |
9840 | break; |
9841 | } |
9842 | break; |
9843 | default: |
9844 | break; |
9845 | } |
9846 | break; |
9847 | default: |
9848 | break; |
9849 | } |
9850 | break; |
9851 | default: |
9852 | break; |
9853 | } |
9854 | break; |
9855 | default: |
9856 | break; |
9857 | } |
9858 | break; |
9859 | default: |
9860 | break; |
9861 | } |
9862 | break; |
9863 | default: |
9864 | break; |
9865 | } |
9866 | break; |
9867 | case Opcode::BranchSub32: |
9868 | switch (sizeof...(Arguments)) { |
9869 | case 3: |
9870 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9871 | case Arg::ResCond: |
9872 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9873 | case Arg::Tmp: |
9874 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9875 | case Arg::Tmp: |
9876 | OPGEN_RETURN(true); |
9877 | break; |
9878 | break; |
9879 | case Arg::Addr: |
9880 | case Arg::Stack: |
9881 | case Arg::CallArg: |
9882 | #if CPU(X86) || CPU(X86_64) |
9883 | OPGEN_RETURN(true); |
9884 | #endif |
9885 | break; |
9886 | break; |
9887 | default: |
9888 | break; |
9889 | } |
9890 | break; |
9891 | case Arg::Imm: |
9892 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9893 | case Arg::Tmp: |
9894 | OPGEN_RETURN(true); |
9895 | break; |
9896 | break; |
9897 | case Arg::Addr: |
9898 | case Arg::Stack: |
9899 | case Arg::CallArg: |
9900 | #if CPU(X86) || CPU(X86_64) |
9901 | OPGEN_RETURN(true); |
9902 | #endif |
9903 | break; |
9904 | break; |
9905 | default: |
9906 | break; |
9907 | } |
9908 | break; |
9909 | case Arg::Addr: |
9910 | case Arg::Stack: |
9911 | case Arg::CallArg: |
9912 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9913 | case Arg::Tmp: |
9914 | #if CPU(X86) || CPU(X86_64) |
9915 | OPGEN_RETURN(true); |
9916 | #endif |
9917 | break; |
9918 | break; |
9919 | default: |
9920 | break; |
9921 | } |
9922 | break; |
9923 | default: |
9924 | break; |
9925 | } |
9926 | break; |
9927 | default: |
9928 | break; |
9929 | } |
9930 | break; |
9931 | default: |
9932 | break; |
9933 | } |
9934 | break; |
9935 | case Opcode::BranchSub64: |
9936 | switch (sizeof...(Arguments)) { |
9937 | case 3: |
9938 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9939 | case Arg::ResCond: |
9940 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9941 | case Arg::Imm: |
9942 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9943 | case Arg::Tmp: |
9944 | #if CPU(X86_64) || CPU(ARM64) |
9945 | OPGEN_RETURN(true); |
9946 | #endif |
9947 | break; |
9948 | break; |
9949 | default: |
9950 | break; |
9951 | } |
9952 | break; |
9953 | case Arg::Tmp: |
9954 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9955 | case Arg::Tmp: |
9956 | #if CPU(X86_64) || CPU(ARM64) |
9957 | OPGEN_RETURN(true); |
9958 | #endif |
9959 | break; |
9960 | break; |
9961 | default: |
9962 | break; |
9963 | } |
9964 | break; |
9965 | default: |
9966 | break; |
9967 | } |
9968 | break; |
9969 | default: |
9970 | break; |
9971 | } |
9972 | break; |
9973 | default: |
9974 | break; |
9975 | } |
9976 | break; |
9977 | case Opcode::BranchNeg32: |
9978 | switch (sizeof...(Arguments)) { |
9979 | case 2: |
9980 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9981 | case Arg::ResCond: |
9982 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9983 | case Arg::Tmp: |
9984 | OPGEN_RETURN(true); |
9985 | break; |
9986 | break; |
9987 | default: |
9988 | break; |
9989 | } |
9990 | break; |
9991 | default: |
9992 | break; |
9993 | } |
9994 | break; |
9995 | default: |
9996 | break; |
9997 | } |
9998 | break; |
9999 | case Opcode::BranchNeg64: |
10000 | switch (sizeof...(Arguments)) { |
10001 | case 2: |
10002 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10003 | case Arg::ResCond: |
10004 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10005 | case Arg::Tmp: |
10006 | #if CPU(X86_64) || CPU(ARM64) |
10007 | OPGEN_RETURN(true); |
10008 | #endif |
10009 | break; |
10010 | break; |
10011 | default: |
10012 | break; |
10013 | } |
10014 | break; |
10015 | default: |
10016 | break; |
10017 | } |
10018 | break; |
10019 | default: |
10020 | break; |
10021 | } |
10022 | break; |
10023 | case Opcode::MoveConditionally32: |
10024 | switch (sizeof...(Arguments)) { |
10025 | case 5: |
10026 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10027 | case Arg::RelCond: |
10028 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10029 | case Arg::Tmp: |
10030 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10031 | case Arg::Tmp: |
10032 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10033 | case Arg::Tmp: |
10034 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10035 | case Arg::Tmp: |
10036 | OPGEN_RETURN(true); |
10037 | break; |
10038 | break; |
10039 | default: |
10040 | break; |
10041 | } |
10042 | break; |
10043 | default: |
10044 | break; |
10045 | } |
10046 | break; |
10047 | default: |
10048 | break; |
10049 | } |
10050 | break; |
10051 | default: |
10052 | break; |
10053 | } |
10054 | break; |
10055 | default: |
10056 | break; |
10057 | } |
10058 | break; |
10059 | case 6: |
10060 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10061 | case Arg::RelCond: |
10062 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10063 | case Arg::Tmp: |
10064 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10065 | case Arg::Tmp: |
10066 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10067 | case Arg::Tmp: |
10068 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10069 | case Arg::Tmp: |
10070 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10071 | case Arg::Tmp: |
10072 | OPGEN_RETURN(true); |
10073 | break; |
10074 | break; |
10075 | default: |
10076 | break; |
10077 | } |
10078 | break; |
10079 | default: |
10080 | break; |
10081 | } |
10082 | break; |
10083 | default: |
10084 | break; |
10085 | } |
10086 | break; |
10087 | case Arg::Imm: |
10088 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10089 | case Arg::Tmp: |
10090 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10091 | case Arg::Tmp: |
10092 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10093 | case Arg::Tmp: |
10094 | OPGEN_RETURN(true); |
10095 | break; |
10096 | break; |
10097 | default: |
10098 | break; |
10099 | } |
10100 | break; |
10101 | default: |
10102 | break; |
10103 | } |
10104 | break; |
10105 | default: |
10106 | break; |
10107 | } |
10108 | break; |
10109 | default: |
10110 | break; |
10111 | } |
10112 | break; |
10113 | default: |
10114 | break; |
10115 | } |
10116 | break; |
10117 | default: |
10118 | break; |
10119 | } |
10120 | break; |
10121 | default: |
10122 | break; |
10123 | } |
10124 | break; |
10125 | case Opcode::MoveConditionally64: |
10126 | switch (sizeof...(Arguments)) { |
10127 | case 5: |
10128 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10129 | case Arg::RelCond: |
10130 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10131 | case Arg::Tmp: |
10132 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10133 | case Arg::Tmp: |
10134 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10135 | case Arg::Tmp: |
10136 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10137 | case Arg::Tmp: |
10138 | #if CPU(X86_64) || CPU(ARM64) |
10139 | OPGEN_RETURN(true); |
10140 | #endif |
10141 | break; |
10142 | break; |
10143 | default: |
10144 | break; |
10145 | } |
10146 | break; |
10147 | default: |
10148 | break; |
10149 | } |
10150 | break; |
10151 | default: |
10152 | break; |
10153 | } |
10154 | break; |
10155 | default: |
10156 | break; |
10157 | } |
10158 | break; |
10159 | default: |
10160 | break; |
10161 | } |
10162 | break; |
10163 | case 6: |
10164 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10165 | case Arg::RelCond: |
10166 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10167 | case Arg::Tmp: |
10168 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10169 | case Arg::Tmp: |
10170 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10171 | case Arg::Tmp: |
10172 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10173 | case Arg::Tmp: |
10174 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10175 | case Arg::Tmp: |
10176 | #if CPU(X86_64) || CPU(ARM64) |
10177 | OPGEN_RETURN(true); |
10178 | #endif |
10179 | break; |
10180 | break; |
10181 | default: |
10182 | break; |
10183 | } |
10184 | break; |
10185 | default: |
10186 | break; |
10187 | } |
10188 | break; |
10189 | default: |
10190 | break; |
10191 | } |
10192 | break; |
10193 | case Arg::Imm: |
10194 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10195 | case Arg::Tmp: |
10196 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10197 | case Arg::Tmp: |
10198 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10199 | case Arg::Tmp: |
10200 | #if CPU(X86_64) || CPU(ARM64) |
10201 | OPGEN_RETURN(true); |
10202 | #endif |
10203 | break; |
10204 | break; |
10205 | default: |
10206 | break; |
10207 | } |
10208 | break; |
10209 | default: |
10210 | break; |
10211 | } |
10212 | break; |
10213 | default: |
10214 | break; |
10215 | } |
10216 | break; |
10217 | default: |
10218 | break; |
10219 | } |
10220 | break; |
10221 | default: |
10222 | break; |
10223 | } |
10224 | break; |
10225 | default: |
10226 | break; |
10227 | } |
10228 | break; |
10229 | default: |
10230 | break; |
10231 | } |
10232 | break; |
10233 | case Opcode::MoveConditionallyTest32: |
10234 | switch (sizeof...(Arguments)) { |
10235 | case 5: |
10236 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10237 | case Arg::ResCond: |
10238 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10239 | case Arg::Tmp: |
10240 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10241 | case Arg::Tmp: |
10242 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10243 | case Arg::Tmp: |
10244 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10245 | case Arg::Tmp: |
10246 | OPGEN_RETURN(true); |
10247 | break; |
10248 | break; |
10249 | default: |
10250 | break; |
10251 | } |
10252 | break; |
10253 | default: |
10254 | break; |
10255 | } |
10256 | break; |
10257 | case Arg::Imm: |
10258 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10259 | case Arg::Tmp: |
10260 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10261 | case Arg::Tmp: |
10262 | #if CPU(X86) || CPU(X86_64) |
10263 | OPGEN_RETURN(true); |
10264 | #endif |
10265 | break; |
10266 | break; |
10267 | default: |
10268 | break; |
10269 | } |
10270 | break; |
10271 | default: |
10272 | break; |
10273 | } |
10274 | break; |
10275 | default: |
10276 | break; |
10277 | } |
10278 | break; |
10279 | default: |
10280 | break; |
10281 | } |
10282 | break; |
10283 | default: |
10284 | break; |
10285 | } |
10286 | break; |
10287 | case 6: |
10288 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10289 | case Arg::ResCond: |
10290 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10291 | case Arg::Tmp: |
10292 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10293 | case Arg::Tmp: |
10294 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10295 | case Arg::Tmp: |
10296 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10297 | case Arg::Tmp: |
10298 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10299 | case Arg::Tmp: |
10300 | OPGEN_RETURN(true); |
10301 | break; |
10302 | break; |
10303 | default: |
10304 | break; |
10305 | } |
10306 | break; |
10307 | default: |
10308 | break; |
10309 | } |
10310 | break; |
10311 | default: |
10312 | break; |
10313 | } |
10314 | break; |
10315 | case Arg::BitImm: |
10316 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10317 | case Arg::Tmp: |
10318 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10319 | case Arg::Tmp: |
10320 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10321 | case Arg::Tmp: |
10322 | OPGEN_RETURN(true); |
10323 | break; |
10324 | break; |
10325 | default: |
10326 | break; |
10327 | } |
10328 | break; |
10329 | default: |
10330 | break; |
10331 | } |
10332 | break; |
10333 | default: |
10334 | break; |
10335 | } |
10336 | break; |
10337 | default: |
10338 | break; |
10339 | } |
10340 | break; |
10341 | default: |
10342 | break; |
10343 | } |
10344 | break; |
10345 | default: |
10346 | break; |
10347 | } |
10348 | break; |
10349 | default: |
10350 | break; |
10351 | } |
10352 | break; |
10353 | case Opcode::MoveConditionallyTest64: |
10354 | switch (sizeof...(Arguments)) { |
10355 | case 5: |
10356 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10357 | case Arg::ResCond: |
10358 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10359 | case Arg::Tmp: |
10360 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10361 | case Arg::Tmp: |
10362 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10363 | case Arg::Tmp: |
10364 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10365 | case Arg::Tmp: |
10366 | #if CPU(X86_64) || CPU(ARM64) |
10367 | OPGEN_RETURN(true); |
10368 | #endif |
10369 | break; |
10370 | break; |
10371 | default: |
10372 | break; |
10373 | } |
10374 | break; |
10375 | default: |
10376 | break; |
10377 | } |
10378 | break; |
10379 | case Arg::Imm: |
10380 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10381 | case Arg::Tmp: |
10382 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10383 | case Arg::Tmp: |
10384 | #if CPU(X86_64) |
10385 | OPGEN_RETURN(true); |
10386 | #endif |
10387 | break; |
10388 | break; |
10389 | default: |
10390 | break; |
10391 | } |
10392 | break; |
10393 | default: |
10394 | break; |
10395 | } |
10396 | break; |
10397 | default: |
10398 | break; |
10399 | } |
10400 | break; |
10401 | default: |
10402 | break; |
10403 | } |
10404 | break; |
10405 | default: |
10406 | break; |
10407 | } |
10408 | break; |
10409 | case 6: |
10410 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10411 | case Arg::ResCond: |
10412 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10413 | case Arg::Tmp: |
10414 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10415 | case Arg::Tmp: |
10416 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10417 | case Arg::Tmp: |
10418 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10419 | case Arg::Tmp: |
10420 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10421 | case Arg::Tmp: |
10422 | #if CPU(X86_64) || CPU(ARM64) |
10423 | OPGEN_RETURN(true); |
10424 | #endif |
10425 | break; |
10426 | break; |
10427 | default: |
10428 | break; |
10429 | } |
10430 | break; |
10431 | default: |
10432 | break; |
10433 | } |
10434 | break; |
10435 | default: |
10436 | break; |
10437 | } |
10438 | break; |
10439 | case Arg::Imm: |
10440 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10441 | case Arg::Tmp: |
10442 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10443 | case Arg::Tmp: |
10444 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10445 | case Arg::Tmp: |
10446 | #if CPU(X86_64) |
10447 | OPGEN_RETURN(true); |
10448 | #endif |
10449 | break; |
10450 | break; |
10451 | default: |
10452 | break; |
10453 | } |
10454 | break; |
10455 | default: |
10456 | break; |
10457 | } |
10458 | break; |
10459 | default: |
10460 | break; |
10461 | } |
10462 | break; |
10463 | default: |
10464 | break; |
10465 | } |
10466 | break; |
10467 | default: |
10468 | break; |
10469 | } |
10470 | break; |
10471 | default: |
10472 | break; |
10473 | } |
10474 | break; |
10475 | default: |
10476 | break; |
10477 | } |
10478 | break; |
10479 | case Opcode::MoveConditionallyDouble: |
10480 | switch (sizeof...(Arguments)) { |
10481 | case 6: |
10482 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10483 | case Arg::DoubleCond: |
10484 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10485 | case Arg::Tmp: |
10486 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10487 | case Arg::Tmp: |
10488 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10489 | case Arg::Tmp: |
10490 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10491 | case Arg::Tmp: |
10492 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10493 | case Arg::Tmp: |
10494 | OPGEN_RETURN(true); |
10495 | break; |
10496 | break; |
10497 | default: |
10498 | break; |
10499 | } |
10500 | break; |
10501 | default: |
10502 | break; |
10503 | } |
10504 | break; |
10505 | default: |
10506 | break; |
10507 | } |
10508 | break; |
10509 | default: |
10510 | break; |
10511 | } |
10512 | break; |
10513 | default: |
10514 | break; |
10515 | } |
10516 | break; |
10517 | default: |
10518 | break; |
10519 | } |
10520 | break; |
10521 | case 5: |
10522 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10523 | case Arg::DoubleCond: |
10524 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10525 | case Arg::Tmp: |
10526 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10527 | case Arg::Tmp: |
10528 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10529 | case Arg::Tmp: |
10530 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10531 | case Arg::Tmp: |
10532 | OPGEN_RETURN(true); |
10533 | break; |
10534 | break; |
10535 | default: |
10536 | break; |
10537 | } |
10538 | break; |
10539 | default: |
10540 | break; |
10541 | } |
10542 | break; |
10543 | default: |
10544 | break; |
10545 | } |
10546 | break; |
10547 | default: |
10548 | break; |
10549 | } |
10550 | break; |
10551 | default: |
10552 | break; |
10553 | } |
10554 | break; |
10555 | default: |
10556 | break; |
10557 | } |
10558 | break; |
10559 | case Opcode::MoveConditionallyFloat: |
10560 | switch (sizeof...(Arguments)) { |
10561 | case 6: |
10562 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10563 | case Arg::DoubleCond: |
10564 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10565 | case Arg::Tmp: |
10566 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10567 | case Arg::Tmp: |
10568 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10569 | case Arg::Tmp: |
10570 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10571 | case Arg::Tmp: |
10572 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10573 | case Arg::Tmp: |
10574 | OPGEN_RETURN(true); |
10575 | break; |
10576 | break; |
10577 | default: |
10578 | break; |
10579 | } |
10580 | break; |
10581 | default: |
10582 | break; |
10583 | } |
10584 | break; |
10585 | default: |
10586 | break; |
10587 | } |
10588 | break; |
10589 | default: |
10590 | break; |
10591 | } |
10592 | break; |
10593 | default: |
10594 | break; |
10595 | } |
10596 | break; |
10597 | default: |
10598 | break; |
10599 | } |
10600 | break; |
10601 | case 5: |
10602 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10603 | case Arg::DoubleCond: |
10604 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10605 | case Arg::Tmp: |
10606 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10607 | case Arg::Tmp: |
10608 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10609 | case Arg::Tmp: |
10610 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10611 | case Arg::Tmp: |
10612 | OPGEN_RETURN(true); |
10613 | break; |
10614 | break; |
10615 | default: |
10616 | break; |
10617 | } |
10618 | break; |
10619 | default: |
10620 | break; |
10621 | } |
10622 | break; |
10623 | default: |
10624 | break; |
10625 | } |
10626 | break; |
10627 | default: |
10628 | break; |
10629 | } |
10630 | break; |
10631 | default: |
10632 | break; |
10633 | } |
10634 | break; |
10635 | default: |
10636 | break; |
10637 | } |
10638 | break; |
10639 | case Opcode::MoveDoubleConditionally32: |
10640 | switch (sizeof...(Arguments)) { |
10641 | case 6: |
10642 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10643 | case Arg::RelCond: |
10644 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10645 | case Arg::Tmp: |
10646 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10647 | case Arg::Tmp: |
10648 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10649 | case Arg::Tmp: |
10650 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10651 | case Arg::Tmp: |
10652 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10653 | case Arg::Tmp: |
10654 | OPGEN_RETURN(true); |
10655 | break; |
10656 | break; |
10657 | default: |
10658 | break; |
10659 | } |
10660 | break; |
10661 | default: |
10662 | break; |
10663 | } |
10664 | break; |
10665 | default: |
10666 | break; |
10667 | } |
10668 | break; |
10669 | case Arg::Imm: |
10670 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10671 | case Arg::Tmp: |
10672 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10673 | case Arg::Tmp: |
10674 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10675 | case Arg::Tmp: |
10676 | OPGEN_RETURN(true); |
10677 | break; |
10678 | break; |
10679 | default: |
10680 | break; |
10681 | } |
10682 | break; |
10683 | default: |
10684 | break; |
10685 | } |
10686 | break; |
10687 | default: |
10688 | break; |
10689 | } |
10690 | break; |
10691 | case Arg::Addr: |
10692 | case Arg::Stack: |
10693 | case Arg::CallArg: |
10694 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10695 | case Arg::Tmp: |
10696 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10697 | case Arg::Tmp: |
10698 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10699 | case Arg::Tmp: |
10700 | #if CPU(X86) || CPU(X86_64) |
10701 | OPGEN_RETURN(true); |
10702 | #endif |
10703 | break; |
10704 | break; |
10705 | default: |
10706 | break; |
10707 | } |
10708 | break; |
10709 | default: |
10710 | break; |
10711 | } |
10712 | break; |
10713 | default: |
10714 | break; |
10715 | } |
10716 | break; |
10717 | default: |
10718 | break; |
10719 | } |
10720 | break; |
10721 | case Arg::Addr: |
10722 | case Arg::Stack: |
10723 | case Arg::CallArg: |
10724 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10725 | case Arg::Imm: |
10726 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10727 | case Arg::Tmp: |
10728 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10729 | case Arg::Tmp: |
10730 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10731 | case Arg::Tmp: |
10732 | #if CPU(X86) || CPU(X86_64) |
10733 | OPGEN_RETURN(true); |
10734 | #endif |
10735 | break; |
10736 | break; |
10737 | default: |
10738 | break; |
10739 | } |
10740 | break; |
10741 | default: |
10742 | break; |
10743 | } |
10744 | break; |
10745 | default: |
10746 | break; |
10747 | } |
10748 | break; |
10749 | case Arg::Tmp: |
10750 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10751 | case Arg::Tmp: |
10752 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10753 | case Arg::Tmp: |
10754 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10755 | case Arg::Tmp: |
10756 | #if CPU(X86) || CPU(X86_64) |
10757 | OPGEN_RETURN(true); |
10758 | #endif |
10759 | break; |
10760 | break; |
10761 | default: |
10762 | break; |
10763 | } |
10764 | break; |
10765 | default: |
10766 | break; |
10767 | } |
10768 | break; |
10769 | default: |
10770 | break; |
10771 | } |
10772 | break; |
10773 | default: |
10774 | break; |
10775 | } |
10776 | break; |
10777 | case Arg::Index: |
10778 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10779 | case Arg::Imm: |
10780 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10781 | case Arg::Tmp: |
10782 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10783 | case Arg::Tmp: |
10784 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10785 | case Arg::Tmp: |
10786 | #if CPU(X86) || CPU(X86_64) |
10787 | OPGEN_RETURN(true); |
10788 | #endif |
10789 | break; |
10790 | break; |
10791 | default: |
10792 | break; |
10793 | } |
10794 | break; |
10795 | default: |
10796 | break; |
10797 | } |
10798 | break; |
10799 | default: |
10800 | break; |
10801 | } |
10802 | break; |
10803 | default: |
10804 | break; |
10805 | } |
10806 | break; |
10807 | default: |
10808 | break; |
10809 | } |
10810 | break; |
10811 | default: |
10812 | break; |
10813 | } |
10814 | break; |
10815 | default: |
10816 | break; |
10817 | } |
10818 | break; |
10819 | case Opcode::MoveDoubleConditionally64: |
10820 | switch (sizeof...(Arguments)) { |
10821 | case 6: |
10822 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10823 | case Arg::RelCond: |
10824 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10825 | case Arg::Tmp: |
10826 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10827 | case Arg::Tmp: |
10828 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10829 | case Arg::Tmp: |
10830 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10831 | case Arg::Tmp: |
10832 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10833 | case Arg::Tmp: |
10834 | #if CPU(X86_64) || CPU(ARM64) |
10835 | OPGEN_RETURN(true); |
10836 | #endif |
10837 | break; |
10838 | break; |
10839 | default: |
10840 | break; |
10841 | } |
10842 | break; |
10843 | default: |
10844 | break; |
10845 | } |
10846 | break; |
10847 | default: |
10848 | break; |
10849 | } |
10850 | break; |
10851 | case Arg::Imm: |
10852 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10853 | case Arg::Tmp: |
10854 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10855 | case Arg::Tmp: |
10856 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10857 | case Arg::Tmp: |
10858 | #if CPU(X86_64) || CPU(ARM64) |
10859 | OPGEN_RETURN(true); |
10860 | #endif |
10861 | break; |
10862 | break; |
10863 | default: |
10864 | break; |
10865 | } |
10866 | break; |
10867 | default: |
10868 | break; |
10869 | } |
10870 | break; |
10871 | default: |
10872 | break; |
10873 | } |
10874 | break; |
10875 | case Arg::Addr: |
10876 | case Arg::Stack: |
10877 | case Arg::CallArg: |
10878 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10879 | case Arg::Tmp: |
10880 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10881 | case Arg::Tmp: |
10882 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10883 | case Arg::Tmp: |
10884 | #if CPU(X86_64) |
10885 | OPGEN_RETURN(true); |
10886 | #endif |
10887 | break; |
10888 | break; |
10889 | default: |
10890 | break; |
10891 | } |
10892 | break; |
10893 | default: |
10894 | break; |
10895 | } |
10896 | break; |
10897 | default: |
10898 | break; |
10899 | } |
10900 | break; |
10901 | default: |
10902 | break; |
10903 | } |
10904 | break; |
10905 | case Arg::Addr: |
10906 | case Arg::Stack: |
10907 | case Arg::CallArg: |
10908 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10909 | case Arg::Tmp: |
10910 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10911 | case Arg::Tmp: |
10912 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10913 | case Arg::Tmp: |
10914 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10915 | case Arg::Tmp: |
10916 | #if CPU(X86_64) |
10917 | OPGEN_RETURN(true); |
10918 | #endif |
10919 | break; |
10920 | break; |
10921 | default: |
10922 | break; |
10923 | } |
10924 | break; |
10925 | default: |
10926 | break; |
10927 | } |
10928 | break; |
10929 | default: |
10930 | break; |
10931 | } |
10932 | break; |
10933 | case Arg::Imm: |
10934 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10935 | case Arg::Tmp: |
10936 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10937 | case Arg::Tmp: |
10938 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10939 | case Arg::Tmp: |
10940 | #if CPU(X86_64) |
10941 | OPGEN_RETURN(true); |
10942 | #endif |
10943 | break; |
10944 | break; |
10945 | default: |
10946 | break; |
10947 | } |
10948 | break; |
10949 | default: |
10950 | break; |
10951 | } |
10952 | break; |
10953 | default: |
10954 | break; |
10955 | } |
10956 | break; |
10957 | default: |
10958 | break; |
10959 | } |
10960 | break; |
10961 | case Arg::Index: |
10962 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10963 | case Arg::Tmp: |
10964 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10965 | case Arg::Tmp: |
10966 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10967 | case Arg::Tmp: |
10968 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10969 | case Arg::Tmp: |
10970 | #if CPU(X86_64) |
10971 | OPGEN_RETURN(true); |
10972 | #endif |
10973 | break; |
10974 | break; |
10975 | default: |
10976 | break; |
10977 | } |
10978 | break; |
10979 | default: |
10980 | break; |
10981 | } |
10982 | break; |
10983 | default: |
10984 | break; |
10985 | } |
10986 | break; |
10987 | default: |
10988 | break; |
10989 | } |
10990 | break; |
10991 | default: |
10992 | break; |
10993 | } |
10994 | break; |
10995 | default: |
10996 | break; |
10997 | } |
10998 | break; |
10999 | default: |
11000 | break; |
11001 | } |
11002 | break; |
11003 | case Opcode::MoveDoubleConditionallyTest32: |
11004 | switch (sizeof...(Arguments)) { |
11005 | case 6: |
11006 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11007 | case Arg::ResCond: |
11008 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
11009 | case Arg::Tmp: |
11010 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11011 | case Arg::Tmp: |
11012 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11013 | case Arg::Tmp: |
11014 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11015 | case Arg::Tmp: |
11016 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11017 | case Arg::Tmp: |
11018 | OPGEN_RETURN(true); |
11019 | break; |
11020 | break; |
11021 | default: |
11022 | break; |
11023 | } |
11024 | break; |
11025 | default: |
11026 | break; |
11027 | } |
11028 | break; |
11029 | default: |
11030 | break; |
11031 | } |
11032 | break; |
11033 | case Arg::BitImm: |
11034 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11035 | case Arg::Tmp: |
11036 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11037 | case Arg::Tmp: |
11038 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11039 | case Arg::Tmp: |
11040 | OPGEN_RETURN(true); |
11041 | break; |
11042 | break; |
11043 | default: |
11044 | break; |
11045 | } |
11046 | break; |
11047 | default: |
11048 | break; |
11049 | } |
11050 | break; |
11051 | default: |
11052 | break; |
11053 | } |
11054 | break; |
11055 | default: |
11056 | break; |
11057 | } |
11058 | break; |
11059 | case Arg::Addr: |
11060 | case Arg::Stack: |
11061 | case Arg::CallArg: |
11062 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11063 | case Arg::Imm: |
11064 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11065 | case Arg::Tmp: |
11066 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11067 | case Arg::Tmp: |
11068 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11069 | case Arg::Tmp: |
11070 | #if CPU(X86) || CPU(X86_64) |
11071 | OPGEN_RETURN(true); |
11072 | #endif |
11073 | break; |
11074 | break; |
11075 | default: |
11076 | break; |
11077 | } |
11078 | break; |
11079 | default: |
11080 | break; |
11081 | } |
11082 | break; |
11083 | default: |
11084 | break; |
11085 | } |
11086 | break; |
11087 | default: |
11088 | break; |
11089 | } |
11090 | break; |
11091 | case Arg::Index: |
11092 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11093 | case Arg::Imm: |
11094 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11095 | case Arg::Tmp: |
11096 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11097 | case Arg::Tmp: |
11098 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11099 | case Arg::Tmp: |
11100 | #if CPU(X86) || CPU(X86_64) |
11101 | OPGEN_RETURN(true); |
11102 | #endif |
11103 | break; |
11104 | break; |
11105 | default: |
11106 | break; |
11107 | } |
11108 | break; |
11109 | default: |
11110 | break; |
11111 | } |
11112 | break; |
11113 | default: |
11114 | break; |
11115 | } |
11116 | break; |
11117 | default: |
11118 | break; |
11119 | } |
11120 | break; |
11121 | default: |
11122 | break; |
11123 | } |
11124 | break; |
11125 | default: |
11126 | break; |
11127 | } |
11128 | break; |
11129 | default: |
11130 | break; |
11131 | } |
11132 | break; |
11133 | case Opcode::MoveDoubleConditionallyTest64: |
11134 | switch (sizeof...(Arguments)) { |
11135 | case 6: |
11136 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11137 | case Arg::ResCond: |
11138 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
11139 | case Arg::Tmp: |
11140 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11141 | case Arg::Tmp: |
11142 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11143 | case Arg::Tmp: |
11144 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11145 | case Arg::Tmp: |
11146 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11147 | case Arg::Tmp: |
11148 | #if CPU(X86_64) || CPU(ARM64) |
11149 | OPGEN_RETURN(true); |
11150 | #endif |
11151 | break; |
11152 | break; |
11153 | default: |
11154 | break; |
11155 | } |
11156 | break; |
11157 | default: |
11158 | break; |
11159 | } |
11160 | break; |
11161 | default: |
11162 | break; |
11163 | } |
11164 | break; |
11165 | case Arg::Imm: |
11166 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11167 | case Arg::Tmp: |
11168 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11169 | case Arg::Tmp: |
11170 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11171 | case Arg::Tmp: |
11172 | #if CPU(X86_64) |
11173 | OPGEN_RETURN(true); |
11174 | #endif |
11175 | break; |
11176 | break; |
11177 | default: |
11178 | break; |
11179 | } |
11180 | break; |
11181 | default: |
11182 | break; |
11183 | } |
11184 | break; |
11185 | default: |
11186 | break; |
11187 | } |
11188 | break; |
11189 | default: |
11190 | break; |
11191 | } |
11192 | break; |
11193 | case Arg::Addr: |
11194 | case Arg::Stack: |
11195 | case Arg::CallArg: |
11196 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11197 | case Arg::Imm: |
11198 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11199 | case Arg::Tmp: |
11200 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11201 | case Arg::Tmp: |
11202 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11203 | case Arg::Tmp: |
11204 | #if CPU(X86_64) |
11205 | OPGEN_RETURN(true); |
11206 | #endif |
11207 | break; |
11208 | break; |
11209 | default: |
11210 | break; |
11211 | } |
11212 | break; |
11213 | default: |
11214 | break; |
11215 | } |
11216 | break; |
11217 | default: |
11218 | break; |
11219 | } |
11220 | break; |
11221 | case Arg::Tmp: |
11222 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11223 | case Arg::Tmp: |
11224 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11225 | case Arg::Tmp: |
11226 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11227 | case Arg::Tmp: |
11228 | #if CPU(X86_64) |
11229 | OPGEN_RETURN(true); |
11230 | #endif |
11231 | break; |
11232 | break; |
11233 | default: |
11234 | break; |
11235 | } |
11236 | break; |
11237 | default: |
11238 | break; |
11239 | } |
11240 | break; |
11241 | default: |
11242 | break; |
11243 | } |
11244 | break; |
11245 | default: |
11246 | break; |
11247 | } |
11248 | break; |
11249 | case Arg::Index: |
11250 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11251 | case Arg::Imm: |
11252 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11253 | case Arg::Tmp: |
11254 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11255 | case Arg::Tmp: |
11256 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11257 | case Arg::Tmp: |
11258 | #if CPU(X86_64) |
11259 | OPGEN_RETURN(true); |
11260 | #endif |
11261 | break; |
11262 | break; |
11263 | default: |
11264 | break; |
11265 | } |
11266 | break; |
11267 | default: |
11268 | break; |
11269 | } |
11270 | break; |
11271 | default: |
11272 | break; |
11273 | } |
11274 | break; |
11275 | default: |
11276 | break; |
11277 | } |
11278 | break; |
11279 | default: |
11280 | break; |
11281 | } |
11282 | break; |
11283 | default: |
11284 | break; |
11285 | } |
11286 | break; |
11287 | default: |
11288 | break; |
11289 | } |
11290 | break; |
11291 | case Opcode::MoveDoubleConditionallyDouble: |
11292 | switch (sizeof...(Arguments)) { |
11293 | case 6: |
11294 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11295 | case Arg::DoubleCond: |
11296 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
11297 | case Arg::Tmp: |
11298 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11299 | case Arg::Tmp: |
11300 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11301 | case Arg::Tmp: |
11302 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11303 | case Arg::Tmp: |
11304 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11305 | case Arg::Tmp: |
11306 | OPGEN_RETURN(true); |
11307 | break; |
11308 | break; |
11309 | default: |
11310 | break; |
11311 | } |
11312 | break; |
11313 | default: |
11314 | break; |
11315 | } |
11316 | break; |
11317 | default: |
11318 | break; |
11319 | } |
11320 | break; |
11321 | default: |
11322 | break; |
11323 | } |
11324 | break; |
11325 | default: |
11326 | break; |
11327 | } |
11328 | break; |
11329 | default: |
11330 | break; |
11331 | } |
11332 | break; |
11333 | default: |
11334 | break; |
11335 | } |
11336 | break; |
11337 | case Opcode::MoveDoubleConditionallyFloat: |
11338 | switch (sizeof...(Arguments)) { |
11339 | case 6: |
11340 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11341 | case Arg::DoubleCond: |
11342 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
11343 | case Arg::Tmp: |
11344 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11345 | case Arg::Tmp: |
11346 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11347 | case Arg::Tmp: |
11348 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11349 | case Arg::Tmp: |
11350 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11351 | case Arg::Tmp: |
11352 | OPGEN_RETURN(true); |
11353 | break; |
11354 | break; |
11355 | default: |
11356 | break; |
11357 | } |
11358 | break; |
11359 | default: |
11360 | break; |
11361 | } |
11362 | break; |
11363 | default: |
11364 | break; |
11365 | } |
11366 | break; |
11367 | default: |
11368 | break; |
11369 | } |
11370 | break; |
11371 | default: |
11372 | break; |
11373 | } |
11374 | break; |
11375 | default: |
11376 | break; |
11377 | } |
11378 | break; |
11379 | default: |
11380 | break; |
11381 | } |
11382 | break; |
11383 | case Opcode::MemoryFence: |
11384 | switch (sizeof...(Arguments)) { |
11385 | case 0: |
11386 | OPGEN_RETURN(true); |
11387 | break; |
11388 | break; |
11389 | default: |
11390 | break; |
11391 | } |
11392 | break; |
11393 | case Opcode::StoreFence: |
11394 | switch (sizeof...(Arguments)) { |
11395 | case 0: |
11396 | OPGEN_RETURN(true); |
11397 | break; |
11398 | break; |
11399 | default: |
11400 | break; |
11401 | } |
11402 | break; |
11403 | case Opcode::LoadFence: |
11404 | switch (sizeof...(Arguments)) { |
11405 | case 0: |
11406 | OPGEN_RETURN(true); |
11407 | break; |
11408 | break; |
11409 | default: |
11410 | break; |
11411 | } |
11412 | break; |
11413 | case Opcode::Jump: |
11414 | switch (sizeof...(Arguments)) { |
11415 | case 0: |
11416 | OPGEN_RETURN(true); |
11417 | break; |
11418 | break; |
11419 | default: |
11420 | break; |
11421 | } |
11422 | break; |
11423 | case Opcode::RetVoid: |
11424 | switch (sizeof...(Arguments)) { |
11425 | case 0: |
11426 | OPGEN_RETURN(true); |
11427 | break; |
11428 | break; |
11429 | default: |
11430 | break; |
11431 | } |
11432 | break; |
11433 | case Opcode::Ret32: |
11434 | switch (sizeof...(Arguments)) { |
11435 | case 1: |
11436 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11437 | case Arg::Tmp: |
11438 | OPGEN_RETURN(true); |
11439 | break; |
11440 | break; |
11441 | default: |
11442 | break; |
11443 | } |
11444 | break; |
11445 | default: |
11446 | break; |
11447 | } |
11448 | break; |
11449 | case Opcode::Ret64: |
11450 | switch (sizeof...(Arguments)) { |
11451 | case 1: |
11452 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11453 | case Arg::Tmp: |
11454 | #if CPU(X86_64) || CPU(ARM64) |
11455 | OPGEN_RETURN(true); |
11456 | #endif |
11457 | break; |
11458 | break; |
11459 | default: |
11460 | break; |
11461 | } |
11462 | break; |
11463 | default: |
11464 | break; |
11465 | } |
11466 | break; |
11467 | case Opcode::RetFloat: |
11468 | switch (sizeof...(Arguments)) { |
11469 | case 1: |
11470 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11471 | case Arg::Tmp: |
11472 | OPGEN_RETURN(true); |
11473 | break; |
11474 | break; |
11475 | default: |
11476 | break; |
11477 | } |
11478 | break; |
11479 | default: |
11480 | break; |
11481 | } |
11482 | break; |
11483 | case Opcode::RetDouble: |
11484 | switch (sizeof...(Arguments)) { |
11485 | case 1: |
11486 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11487 | case Arg::Tmp: |
11488 | OPGEN_RETURN(true); |
11489 | break; |
11490 | break; |
11491 | default: |
11492 | break; |
11493 | } |
11494 | break; |
11495 | default: |
11496 | break; |
11497 | } |
11498 | break; |
11499 | case Opcode::Oops: |
11500 | switch (sizeof...(Arguments)) { |
11501 | case 0: |
11502 | OPGEN_RETURN(true); |
11503 | break; |
11504 | break; |
11505 | default: |
11506 | break; |
11507 | } |
11508 | break; |
11509 | case Opcode::EntrySwitch: |
11510 | OPGEN_RETURN(EntrySwitchCustom::isValidFormStatic(arguments...)); |
11511 | break; |
11512 | case Opcode::Shuffle: |
11513 | OPGEN_RETURN(ShuffleCustom::isValidFormStatic(arguments...)); |
11514 | break; |
11515 | case Opcode::Patch: |
11516 | OPGEN_RETURN(PatchCustom::isValidFormStatic(arguments...)); |
11517 | break; |
11518 | case Opcode::CCall: |
11519 | OPGEN_RETURN(CCallCustom::isValidFormStatic(arguments...)); |
11520 | break; |
11521 | case Opcode::ColdCCall: |
11522 | OPGEN_RETURN(ColdCCallCustom::isValidFormStatic(arguments...)); |
11523 | break; |
11524 | case Opcode::WasmBoundsCheck: |
11525 | OPGEN_RETURN(WasmBoundsCheckCustom::isValidFormStatic(arguments...)); |
11526 | break; |
11527 | default: |
11528 | break; |
11529 | } |
11530 | return false; |
11531 | } |
11532 | inline bool isDefinitelyTerminal(Opcode opcode) |
11533 | { |
11534 | switch (opcode) { |
11535 | case Opcode::BranchAtomicStrongCAS8: |
11536 | case Opcode::BranchAtomicStrongCAS16: |
11537 | case Opcode::BranchAtomicStrongCAS32: |
11538 | case Opcode::BranchAtomicStrongCAS64: |
11539 | case Opcode::Branch8: |
11540 | case Opcode::Branch32: |
11541 | case Opcode::Branch64: |
11542 | case Opcode::BranchTest8: |
11543 | case Opcode::BranchTest32: |
11544 | case Opcode::BranchTest64: |
11545 | case Opcode::BranchTestBit64: |
11546 | case Opcode::BranchTestBit32: |
11547 | case Opcode::BranchDouble: |
11548 | case Opcode::BranchFloat: |
11549 | case Opcode::BranchAdd32: |
11550 | case Opcode::BranchAdd64: |
11551 | case Opcode::BranchMul32: |
11552 | case Opcode::BranchMul64: |
11553 | case Opcode::BranchSub32: |
11554 | case Opcode::BranchSub64: |
11555 | case Opcode::BranchNeg32: |
11556 | case Opcode::BranchNeg64: |
11557 | case Opcode::Jump: |
11558 | case Opcode::RetVoid: |
11559 | case Opcode::Ret32: |
11560 | case Opcode::Ret64: |
11561 | case Opcode::RetFloat: |
11562 | case Opcode::RetDouble: |
11563 | case Opcode::Oops: |
11564 | return true; |
11565 | default: |
11566 | return false; |
11567 | } |
11568 | } |
11569 | inline bool isReturn(Opcode opcode) |
11570 | { |
11571 | switch (opcode) { |
11572 | case Opcode::RetVoid: |
11573 | case Opcode::Ret32: |
11574 | case Opcode::Ret64: |
11575 | case Opcode::RetFloat: |
11576 | case Opcode::RetDouble: |
11577 | return true; |
11578 | default: |
11579 | return false; |
11580 | } |
11581 | } |
11582 | } } } // namespace JSC::B3::Air |
11583 | #endif // AirOpcodeUtils_h |
11584 | |