1 | // Generated by opcode_generator.rb from /home/user/data/webkitgtk-2.25.2/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::Div32: |
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::UDiv32: |
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::Div64: |
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::UDiv64: |
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::MulDouble: |
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 | OPGEN_RETURN(true); |
1643 | break; |
1644 | break; |
1645 | default: |
1646 | break; |
1647 | } |
1648 | break; |
1649 | case Arg::Addr: |
1650 | case Arg::Stack: |
1651 | case Arg::CallArg: |
1652 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1653 | case Arg::Tmp: |
1654 | #if CPU(X86) || CPU(X86_64) |
1655 | OPGEN_RETURN(true); |
1656 | #endif |
1657 | break; |
1658 | break; |
1659 | default: |
1660 | break; |
1661 | } |
1662 | break; |
1663 | default: |
1664 | break; |
1665 | } |
1666 | break; |
1667 | case Arg::Addr: |
1668 | case Arg::Stack: |
1669 | case Arg::CallArg: |
1670 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1671 | case Arg::Tmp: |
1672 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1673 | case Arg::Tmp: |
1674 | #if CPU(X86) || CPU(X86_64) |
1675 | OPGEN_RETURN(true); |
1676 | #endif |
1677 | break; |
1678 | break; |
1679 | default: |
1680 | break; |
1681 | } |
1682 | break; |
1683 | default: |
1684 | break; |
1685 | } |
1686 | break; |
1687 | case Arg::Index: |
1688 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1689 | case Arg::Tmp: |
1690 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1691 | case Arg::Tmp: |
1692 | #if CPU(X86) || CPU(X86_64) |
1693 | OPGEN_RETURN(true); |
1694 | #endif |
1695 | break; |
1696 | break; |
1697 | default: |
1698 | break; |
1699 | } |
1700 | break; |
1701 | default: |
1702 | break; |
1703 | } |
1704 | break; |
1705 | default: |
1706 | break; |
1707 | } |
1708 | break; |
1709 | case 2: |
1710 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1711 | case Arg::Tmp: |
1712 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1713 | case Arg::Tmp: |
1714 | #if CPU(X86) || CPU(X86_64) |
1715 | OPGEN_RETURN(true); |
1716 | #endif |
1717 | break; |
1718 | break; |
1719 | default: |
1720 | break; |
1721 | } |
1722 | break; |
1723 | case Arg::Addr: |
1724 | case Arg::Stack: |
1725 | case Arg::CallArg: |
1726 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1727 | case Arg::Tmp: |
1728 | #if CPU(X86) || CPU(X86_64) |
1729 | OPGEN_RETURN(true); |
1730 | #endif |
1731 | break; |
1732 | break; |
1733 | default: |
1734 | break; |
1735 | } |
1736 | break; |
1737 | default: |
1738 | break; |
1739 | } |
1740 | break; |
1741 | default: |
1742 | break; |
1743 | } |
1744 | break; |
1745 | case Opcode::MulFloat: |
1746 | switch (sizeof...(Arguments)) { |
1747 | case 3: |
1748 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1749 | case Arg::Tmp: |
1750 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1751 | case Arg::Tmp: |
1752 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1753 | case Arg::Tmp: |
1754 | OPGEN_RETURN(true); |
1755 | break; |
1756 | break; |
1757 | default: |
1758 | break; |
1759 | } |
1760 | break; |
1761 | case Arg::Addr: |
1762 | case Arg::Stack: |
1763 | case Arg::CallArg: |
1764 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1765 | case Arg::Tmp: |
1766 | #if CPU(X86) || CPU(X86_64) |
1767 | OPGEN_RETURN(true); |
1768 | #endif |
1769 | break; |
1770 | break; |
1771 | default: |
1772 | break; |
1773 | } |
1774 | break; |
1775 | default: |
1776 | break; |
1777 | } |
1778 | break; |
1779 | case Arg::Addr: |
1780 | case Arg::Stack: |
1781 | case Arg::CallArg: |
1782 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1783 | case Arg::Tmp: |
1784 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1785 | case Arg::Tmp: |
1786 | #if CPU(X86) || CPU(X86_64) |
1787 | OPGEN_RETURN(true); |
1788 | #endif |
1789 | break; |
1790 | break; |
1791 | default: |
1792 | break; |
1793 | } |
1794 | break; |
1795 | default: |
1796 | break; |
1797 | } |
1798 | break; |
1799 | case Arg::Index: |
1800 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1801 | case Arg::Tmp: |
1802 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1803 | case Arg::Tmp: |
1804 | #if CPU(X86) || CPU(X86_64) |
1805 | OPGEN_RETURN(true); |
1806 | #endif |
1807 | break; |
1808 | break; |
1809 | default: |
1810 | break; |
1811 | } |
1812 | break; |
1813 | default: |
1814 | break; |
1815 | } |
1816 | break; |
1817 | default: |
1818 | break; |
1819 | } |
1820 | break; |
1821 | case 2: |
1822 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1823 | case Arg::Tmp: |
1824 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1825 | case Arg::Tmp: |
1826 | #if CPU(X86) || CPU(X86_64) |
1827 | OPGEN_RETURN(true); |
1828 | #endif |
1829 | break; |
1830 | break; |
1831 | default: |
1832 | break; |
1833 | } |
1834 | break; |
1835 | case Arg::Addr: |
1836 | case Arg::Stack: |
1837 | case Arg::CallArg: |
1838 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1839 | case Arg::Tmp: |
1840 | #if CPU(X86) || CPU(X86_64) |
1841 | OPGEN_RETURN(true); |
1842 | #endif |
1843 | break; |
1844 | break; |
1845 | default: |
1846 | break; |
1847 | } |
1848 | break; |
1849 | default: |
1850 | break; |
1851 | } |
1852 | break; |
1853 | default: |
1854 | break; |
1855 | } |
1856 | break; |
1857 | case Opcode::DivDouble: |
1858 | switch (sizeof...(Arguments)) { |
1859 | case 3: |
1860 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1861 | case Arg::Tmp: |
1862 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1863 | case Arg::Tmp: |
1864 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1865 | case Arg::Tmp: |
1866 | #if CPU(ARM64) |
1867 | OPGEN_RETURN(true); |
1868 | #endif |
1869 | break; |
1870 | break; |
1871 | default: |
1872 | break; |
1873 | } |
1874 | break; |
1875 | default: |
1876 | break; |
1877 | } |
1878 | break; |
1879 | default: |
1880 | break; |
1881 | } |
1882 | break; |
1883 | case 2: |
1884 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1885 | case Arg::Tmp: |
1886 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1887 | case Arg::Tmp: |
1888 | #if CPU(X86) || CPU(X86_64) |
1889 | OPGEN_RETURN(true); |
1890 | #endif |
1891 | break; |
1892 | break; |
1893 | default: |
1894 | break; |
1895 | } |
1896 | break; |
1897 | case Arg::Addr: |
1898 | case Arg::Stack: |
1899 | case Arg::CallArg: |
1900 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1901 | case Arg::Tmp: |
1902 | #if CPU(X86) || CPU(X86_64) |
1903 | OPGEN_RETURN(true); |
1904 | #endif |
1905 | break; |
1906 | break; |
1907 | default: |
1908 | break; |
1909 | } |
1910 | break; |
1911 | default: |
1912 | break; |
1913 | } |
1914 | break; |
1915 | default: |
1916 | break; |
1917 | } |
1918 | break; |
1919 | case Opcode::DivFloat: |
1920 | switch (sizeof...(Arguments)) { |
1921 | case 3: |
1922 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1923 | case Arg::Tmp: |
1924 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1925 | case Arg::Tmp: |
1926 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
1927 | case Arg::Tmp: |
1928 | #if CPU(ARM64) |
1929 | OPGEN_RETURN(true); |
1930 | #endif |
1931 | break; |
1932 | break; |
1933 | default: |
1934 | break; |
1935 | } |
1936 | break; |
1937 | default: |
1938 | break; |
1939 | } |
1940 | break; |
1941 | default: |
1942 | break; |
1943 | } |
1944 | break; |
1945 | case 2: |
1946 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1947 | case Arg::Tmp: |
1948 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1949 | case Arg::Tmp: |
1950 | #if CPU(X86) || CPU(X86_64) |
1951 | OPGEN_RETURN(true); |
1952 | #endif |
1953 | break; |
1954 | break; |
1955 | default: |
1956 | break; |
1957 | } |
1958 | break; |
1959 | case Arg::Addr: |
1960 | case Arg::Stack: |
1961 | case Arg::CallArg: |
1962 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1963 | case Arg::Tmp: |
1964 | #if CPU(X86) || CPU(X86_64) |
1965 | OPGEN_RETURN(true); |
1966 | #endif |
1967 | break; |
1968 | break; |
1969 | default: |
1970 | break; |
1971 | } |
1972 | break; |
1973 | default: |
1974 | break; |
1975 | } |
1976 | break; |
1977 | default: |
1978 | break; |
1979 | } |
1980 | break; |
1981 | case Opcode::X86ConvertToDoubleWord32: |
1982 | switch (sizeof...(Arguments)) { |
1983 | case 2: |
1984 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
1985 | case Arg::Tmp: |
1986 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
1987 | case Arg::Tmp: |
1988 | break; |
1989 | break; |
1990 | default: |
1991 | break; |
1992 | } |
1993 | break; |
1994 | default: |
1995 | break; |
1996 | } |
1997 | break; |
1998 | default: |
1999 | break; |
2000 | } |
2001 | break; |
2002 | case Opcode::X86ConvertToQuadWord64: |
2003 | switch (sizeof...(Arguments)) { |
2004 | case 2: |
2005 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2006 | case Arg::Tmp: |
2007 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2008 | case Arg::Tmp: |
2009 | break; |
2010 | break; |
2011 | default: |
2012 | break; |
2013 | } |
2014 | break; |
2015 | default: |
2016 | break; |
2017 | } |
2018 | break; |
2019 | default: |
2020 | break; |
2021 | } |
2022 | break; |
2023 | case Opcode::X86Div32: |
2024 | switch (sizeof...(Arguments)) { |
2025 | case 3: |
2026 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2027 | case Arg::Tmp: |
2028 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2029 | case Arg::Tmp: |
2030 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2031 | case Arg::Tmp: |
2032 | break; |
2033 | break; |
2034 | default: |
2035 | break; |
2036 | } |
2037 | break; |
2038 | default: |
2039 | break; |
2040 | } |
2041 | break; |
2042 | default: |
2043 | break; |
2044 | } |
2045 | break; |
2046 | default: |
2047 | break; |
2048 | } |
2049 | break; |
2050 | case Opcode::X86UDiv32: |
2051 | switch (sizeof...(Arguments)) { |
2052 | case 3: |
2053 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2054 | case Arg::Tmp: |
2055 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2056 | case Arg::Tmp: |
2057 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2058 | case Arg::Tmp: |
2059 | break; |
2060 | break; |
2061 | default: |
2062 | break; |
2063 | } |
2064 | break; |
2065 | default: |
2066 | break; |
2067 | } |
2068 | break; |
2069 | default: |
2070 | break; |
2071 | } |
2072 | break; |
2073 | default: |
2074 | break; |
2075 | } |
2076 | break; |
2077 | case Opcode::X86Div64: |
2078 | switch (sizeof...(Arguments)) { |
2079 | case 3: |
2080 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2081 | case Arg::Tmp: |
2082 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2083 | case Arg::Tmp: |
2084 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2085 | case Arg::Tmp: |
2086 | break; |
2087 | break; |
2088 | default: |
2089 | break; |
2090 | } |
2091 | break; |
2092 | default: |
2093 | break; |
2094 | } |
2095 | break; |
2096 | default: |
2097 | break; |
2098 | } |
2099 | break; |
2100 | default: |
2101 | break; |
2102 | } |
2103 | break; |
2104 | case Opcode::X86UDiv64: |
2105 | switch (sizeof...(Arguments)) { |
2106 | case 3: |
2107 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2108 | case Arg::Tmp: |
2109 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2110 | case Arg::Tmp: |
2111 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2112 | case Arg::Tmp: |
2113 | break; |
2114 | break; |
2115 | default: |
2116 | break; |
2117 | } |
2118 | break; |
2119 | default: |
2120 | break; |
2121 | } |
2122 | break; |
2123 | default: |
2124 | break; |
2125 | } |
2126 | break; |
2127 | default: |
2128 | break; |
2129 | } |
2130 | break; |
2131 | case Opcode::Lea32: |
2132 | switch (sizeof...(Arguments)) { |
2133 | case 2: |
2134 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2135 | case Arg::Addr: |
2136 | case Arg::Stack: |
2137 | case Arg::CallArg: |
2138 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2139 | case Arg::Tmp: |
2140 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2141 | return false; |
2142 | OPGEN_RETURN(true); |
2143 | break; |
2144 | break; |
2145 | default: |
2146 | break; |
2147 | } |
2148 | break; |
2149 | case Arg::Index: |
2150 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2151 | case Arg::Tmp: |
2152 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2153 | return false; |
2154 | #if CPU(X86) || CPU(X86_64) |
2155 | OPGEN_RETURN(true); |
2156 | #endif |
2157 | break; |
2158 | break; |
2159 | default: |
2160 | break; |
2161 | } |
2162 | break; |
2163 | default: |
2164 | break; |
2165 | } |
2166 | break; |
2167 | default: |
2168 | break; |
2169 | } |
2170 | break; |
2171 | case Opcode::Lea64: |
2172 | switch (sizeof...(Arguments)) { |
2173 | case 2: |
2174 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2175 | case Arg::Addr: |
2176 | case Arg::Stack: |
2177 | case Arg::CallArg: |
2178 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2179 | case Arg::Tmp: |
2180 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2181 | return false; |
2182 | OPGEN_RETURN(true); |
2183 | break; |
2184 | break; |
2185 | default: |
2186 | break; |
2187 | } |
2188 | break; |
2189 | case Arg::Index: |
2190 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2191 | case Arg::Tmp: |
2192 | if (opgenHiddenPtrIdentity(kinds)[0] == Arg::Stack) |
2193 | return false; |
2194 | #if CPU(X86) || CPU(X86_64) |
2195 | OPGEN_RETURN(true); |
2196 | #endif |
2197 | break; |
2198 | break; |
2199 | default: |
2200 | break; |
2201 | } |
2202 | break; |
2203 | default: |
2204 | break; |
2205 | } |
2206 | break; |
2207 | default: |
2208 | break; |
2209 | } |
2210 | break; |
2211 | case Opcode::And32: |
2212 | switch (sizeof...(Arguments)) { |
2213 | case 3: |
2214 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2215 | case Arg::Tmp: |
2216 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2217 | case Arg::Tmp: |
2218 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2219 | case Arg::Tmp: |
2220 | OPGEN_RETURN(true); |
2221 | break; |
2222 | break; |
2223 | default: |
2224 | break; |
2225 | } |
2226 | break; |
2227 | case Arg::Addr: |
2228 | case Arg::Stack: |
2229 | case Arg::CallArg: |
2230 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2231 | case Arg::Tmp: |
2232 | #if CPU(X86) || CPU(X86_64) |
2233 | OPGEN_RETURN(true); |
2234 | #endif |
2235 | break; |
2236 | break; |
2237 | default: |
2238 | break; |
2239 | } |
2240 | break; |
2241 | default: |
2242 | break; |
2243 | } |
2244 | break; |
2245 | case Arg::BitImm: |
2246 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2247 | case Arg::Tmp: |
2248 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2249 | case Arg::Tmp: |
2250 | #if CPU(ARM64) |
2251 | OPGEN_RETURN(true); |
2252 | #endif |
2253 | break; |
2254 | break; |
2255 | default: |
2256 | break; |
2257 | } |
2258 | break; |
2259 | default: |
2260 | break; |
2261 | } |
2262 | break; |
2263 | case Arg::Addr: |
2264 | case Arg::Stack: |
2265 | case Arg::CallArg: |
2266 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2267 | case Arg::Tmp: |
2268 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2269 | case Arg::Tmp: |
2270 | #if CPU(X86) || CPU(X86_64) |
2271 | OPGEN_RETURN(true); |
2272 | #endif |
2273 | break; |
2274 | break; |
2275 | default: |
2276 | break; |
2277 | } |
2278 | break; |
2279 | default: |
2280 | break; |
2281 | } |
2282 | break; |
2283 | default: |
2284 | break; |
2285 | } |
2286 | break; |
2287 | case 2: |
2288 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2289 | case Arg::Tmp: |
2290 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2291 | case Arg::Tmp: |
2292 | OPGEN_RETURN(true); |
2293 | break; |
2294 | break; |
2295 | case Arg::Addr: |
2296 | case Arg::Stack: |
2297 | case Arg::CallArg: |
2298 | #if CPU(X86) || CPU(X86_64) |
2299 | OPGEN_RETURN(true); |
2300 | #endif |
2301 | break; |
2302 | break; |
2303 | case Arg::Index: |
2304 | #if CPU(X86) || CPU(X86_64) |
2305 | OPGEN_RETURN(true); |
2306 | #endif |
2307 | break; |
2308 | break; |
2309 | default: |
2310 | break; |
2311 | } |
2312 | break; |
2313 | case Arg::Imm: |
2314 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2315 | case Arg::Tmp: |
2316 | #if CPU(X86) || CPU(X86_64) |
2317 | OPGEN_RETURN(true); |
2318 | #endif |
2319 | break; |
2320 | break; |
2321 | case Arg::Addr: |
2322 | case Arg::Stack: |
2323 | case Arg::CallArg: |
2324 | #if CPU(X86) || CPU(X86_64) |
2325 | OPGEN_RETURN(true); |
2326 | #endif |
2327 | break; |
2328 | break; |
2329 | case Arg::Index: |
2330 | #if CPU(X86) || CPU(X86_64) |
2331 | OPGEN_RETURN(true); |
2332 | #endif |
2333 | break; |
2334 | break; |
2335 | default: |
2336 | break; |
2337 | } |
2338 | break; |
2339 | case Arg::Addr: |
2340 | case Arg::Stack: |
2341 | case Arg::CallArg: |
2342 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2343 | case Arg::Tmp: |
2344 | #if CPU(X86) || CPU(X86_64) |
2345 | OPGEN_RETURN(true); |
2346 | #endif |
2347 | break; |
2348 | break; |
2349 | default: |
2350 | break; |
2351 | } |
2352 | break; |
2353 | case Arg::Index: |
2354 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2355 | case Arg::Tmp: |
2356 | #if CPU(X86) || CPU(X86_64) |
2357 | OPGEN_RETURN(true); |
2358 | #endif |
2359 | break; |
2360 | break; |
2361 | default: |
2362 | break; |
2363 | } |
2364 | break; |
2365 | default: |
2366 | break; |
2367 | } |
2368 | break; |
2369 | default: |
2370 | break; |
2371 | } |
2372 | break; |
2373 | case Opcode::And64: |
2374 | switch (sizeof...(Arguments)) { |
2375 | case 3: |
2376 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2377 | case Arg::Tmp: |
2378 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2379 | case Arg::Tmp: |
2380 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2381 | case Arg::Tmp: |
2382 | #if CPU(X86_64) || CPU(ARM64) |
2383 | OPGEN_RETURN(true); |
2384 | #endif |
2385 | break; |
2386 | break; |
2387 | default: |
2388 | break; |
2389 | } |
2390 | break; |
2391 | default: |
2392 | break; |
2393 | } |
2394 | break; |
2395 | #if USE(JSVALUE64) |
2396 | case Arg::BitImm64: |
2397 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2398 | case Arg::Tmp: |
2399 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2400 | case Arg::Tmp: |
2401 | #if CPU(ARM64) |
2402 | OPGEN_RETURN(true); |
2403 | #endif |
2404 | break; |
2405 | break; |
2406 | default: |
2407 | break; |
2408 | } |
2409 | break; |
2410 | default: |
2411 | break; |
2412 | } |
2413 | break; |
2414 | #endif // USE(JSVALUE64) |
2415 | default: |
2416 | break; |
2417 | } |
2418 | break; |
2419 | case 2: |
2420 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2421 | case Arg::Tmp: |
2422 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2423 | case Arg::Tmp: |
2424 | #if CPU(X86_64) |
2425 | OPGEN_RETURN(true); |
2426 | #endif |
2427 | break; |
2428 | break; |
2429 | case Arg::Addr: |
2430 | case Arg::Stack: |
2431 | case Arg::CallArg: |
2432 | #if CPU(X86_64) |
2433 | OPGEN_RETURN(true); |
2434 | #endif |
2435 | break; |
2436 | break; |
2437 | case Arg::Index: |
2438 | #if CPU(X86_64) |
2439 | OPGEN_RETURN(true); |
2440 | #endif |
2441 | break; |
2442 | break; |
2443 | default: |
2444 | break; |
2445 | } |
2446 | break; |
2447 | case Arg::Imm: |
2448 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2449 | case Arg::Tmp: |
2450 | #if CPU(X86_64) |
2451 | OPGEN_RETURN(true); |
2452 | #endif |
2453 | break; |
2454 | break; |
2455 | case Arg::Addr: |
2456 | case Arg::Stack: |
2457 | case Arg::CallArg: |
2458 | #if CPU(X86_64) |
2459 | OPGEN_RETURN(true); |
2460 | #endif |
2461 | break; |
2462 | break; |
2463 | case Arg::Index: |
2464 | #if CPU(X86_64) |
2465 | OPGEN_RETURN(true); |
2466 | #endif |
2467 | break; |
2468 | break; |
2469 | default: |
2470 | break; |
2471 | } |
2472 | break; |
2473 | case Arg::Addr: |
2474 | case Arg::Stack: |
2475 | case Arg::CallArg: |
2476 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2477 | case Arg::Tmp: |
2478 | #if CPU(X86_64) |
2479 | OPGEN_RETURN(true); |
2480 | #endif |
2481 | break; |
2482 | break; |
2483 | default: |
2484 | break; |
2485 | } |
2486 | break; |
2487 | case Arg::Index: |
2488 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2489 | case Arg::Tmp: |
2490 | #if CPU(X86_64) |
2491 | OPGEN_RETURN(true); |
2492 | #endif |
2493 | break; |
2494 | break; |
2495 | default: |
2496 | break; |
2497 | } |
2498 | break; |
2499 | default: |
2500 | break; |
2501 | } |
2502 | break; |
2503 | default: |
2504 | break; |
2505 | } |
2506 | break; |
2507 | case Opcode::AndDouble: |
2508 | switch (sizeof...(Arguments)) { |
2509 | case 3: |
2510 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2511 | case Arg::Tmp: |
2512 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2513 | case Arg::Tmp: |
2514 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2515 | case Arg::Tmp: |
2516 | OPGEN_RETURN(true); |
2517 | break; |
2518 | break; |
2519 | default: |
2520 | break; |
2521 | } |
2522 | break; |
2523 | default: |
2524 | break; |
2525 | } |
2526 | break; |
2527 | default: |
2528 | break; |
2529 | } |
2530 | break; |
2531 | case 2: |
2532 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2533 | case Arg::Tmp: |
2534 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2535 | case Arg::Tmp: |
2536 | #if CPU(X86) || CPU(X86_64) |
2537 | OPGEN_RETURN(true); |
2538 | #endif |
2539 | break; |
2540 | break; |
2541 | default: |
2542 | break; |
2543 | } |
2544 | break; |
2545 | default: |
2546 | break; |
2547 | } |
2548 | break; |
2549 | default: |
2550 | break; |
2551 | } |
2552 | break; |
2553 | case Opcode::AndFloat: |
2554 | switch (sizeof...(Arguments)) { |
2555 | case 3: |
2556 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2557 | case Arg::Tmp: |
2558 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2559 | case Arg::Tmp: |
2560 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2561 | case Arg::Tmp: |
2562 | OPGEN_RETURN(true); |
2563 | break; |
2564 | break; |
2565 | default: |
2566 | break; |
2567 | } |
2568 | break; |
2569 | default: |
2570 | break; |
2571 | } |
2572 | break; |
2573 | default: |
2574 | break; |
2575 | } |
2576 | break; |
2577 | case 2: |
2578 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2579 | case Arg::Tmp: |
2580 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2581 | case Arg::Tmp: |
2582 | #if CPU(X86) || CPU(X86_64) |
2583 | OPGEN_RETURN(true); |
2584 | #endif |
2585 | break; |
2586 | break; |
2587 | default: |
2588 | break; |
2589 | } |
2590 | break; |
2591 | default: |
2592 | break; |
2593 | } |
2594 | break; |
2595 | default: |
2596 | break; |
2597 | } |
2598 | break; |
2599 | case Opcode::OrDouble: |
2600 | switch (sizeof...(Arguments)) { |
2601 | case 3: |
2602 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2603 | case Arg::Tmp: |
2604 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2605 | case Arg::Tmp: |
2606 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2607 | case Arg::Tmp: |
2608 | OPGEN_RETURN(true); |
2609 | break; |
2610 | break; |
2611 | default: |
2612 | break; |
2613 | } |
2614 | break; |
2615 | default: |
2616 | break; |
2617 | } |
2618 | break; |
2619 | default: |
2620 | break; |
2621 | } |
2622 | break; |
2623 | case 2: |
2624 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2625 | case Arg::Tmp: |
2626 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2627 | case Arg::Tmp: |
2628 | #if CPU(X86) || CPU(X86_64) |
2629 | OPGEN_RETURN(true); |
2630 | #endif |
2631 | break; |
2632 | break; |
2633 | default: |
2634 | break; |
2635 | } |
2636 | break; |
2637 | default: |
2638 | break; |
2639 | } |
2640 | break; |
2641 | default: |
2642 | break; |
2643 | } |
2644 | break; |
2645 | case Opcode::OrFloat: |
2646 | switch (sizeof...(Arguments)) { |
2647 | case 3: |
2648 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2649 | case Arg::Tmp: |
2650 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2651 | case Arg::Tmp: |
2652 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2653 | case Arg::Tmp: |
2654 | OPGEN_RETURN(true); |
2655 | break; |
2656 | break; |
2657 | default: |
2658 | break; |
2659 | } |
2660 | break; |
2661 | default: |
2662 | break; |
2663 | } |
2664 | break; |
2665 | default: |
2666 | break; |
2667 | } |
2668 | break; |
2669 | case 2: |
2670 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2671 | case Arg::Tmp: |
2672 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2673 | case Arg::Tmp: |
2674 | #if CPU(X86) || CPU(X86_64) |
2675 | OPGEN_RETURN(true); |
2676 | #endif |
2677 | break; |
2678 | break; |
2679 | default: |
2680 | break; |
2681 | } |
2682 | break; |
2683 | default: |
2684 | break; |
2685 | } |
2686 | break; |
2687 | default: |
2688 | break; |
2689 | } |
2690 | break; |
2691 | case Opcode::XorDouble: |
2692 | switch (sizeof...(Arguments)) { |
2693 | case 3: |
2694 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2695 | case Arg::Tmp: |
2696 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2697 | case Arg::Tmp: |
2698 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2699 | case Arg::Tmp: |
2700 | #if CPU(X86) || CPU(X86_64) |
2701 | OPGEN_RETURN(true); |
2702 | #endif |
2703 | break; |
2704 | break; |
2705 | default: |
2706 | break; |
2707 | } |
2708 | break; |
2709 | default: |
2710 | break; |
2711 | } |
2712 | break; |
2713 | default: |
2714 | break; |
2715 | } |
2716 | break; |
2717 | case 2: |
2718 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2719 | case Arg::Tmp: |
2720 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2721 | case Arg::Tmp: |
2722 | #if CPU(X86) || CPU(X86_64) |
2723 | OPGEN_RETURN(true); |
2724 | #endif |
2725 | break; |
2726 | break; |
2727 | default: |
2728 | break; |
2729 | } |
2730 | break; |
2731 | default: |
2732 | break; |
2733 | } |
2734 | break; |
2735 | default: |
2736 | break; |
2737 | } |
2738 | break; |
2739 | case Opcode::XorFloat: |
2740 | switch (sizeof...(Arguments)) { |
2741 | case 3: |
2742 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2743 | case Arg::Tmp: |
2744 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2745 | case Arg::Tmp: |
2746 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2747 | case Arg::Tmp: |
2748 | #if CPU(X86) || CPU(X86_64) |
2749 | OPGEN_RETURN(true); |
2750 | #endif |
2751 | break; |
2752 | break; |
2753 | default: |
2754 | break; |
2755 | } |
2756 | break; |
2757 | default: |
2758 | break; |
2759 | } |
2760 | break; |
2761 | default: |
2762 | break; |
2763 | } |
2764 | break; |
2765 | case 2: |
2766 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2767 | case Arg::Tmp: |
2768 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2769 | case Arg::Tmp: |
2770 | #if CPU(X86) || CPU(X86_64) |
2771 | OPGEN_RETURN(true); |
2772 | #endif |
2773 | break; |
2774 | break; |
2775 | default: |
2776 | break; |
2777 | } |
2778 | break; |
2779 | default: |
2780 | break; |
2781 | } |
2782 | break; |
2783 | default: |
2784 | break; |
2785 | } |
2786 | break; |
2787 | case Opcode::Lshift32: |
2788 | switch (sizeof...(Arguments)) { |
2789 | case 3: |
2790 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2791 | case Arg::Tmp: |
2792 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2793 | case Arg::Tmp: |
2794 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2795 | case Arg::Tmp: |
2796 | #if CPU(ARM64) |
2797 | OPGEN_RETURN(true); |
2798 | #endif |
2799 | break; |
2800 | break; |
2801 | default: |
2802 | break; |
2803 | } |
2804 | break; |
2805 | case Arg::Imm: |
2806 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2807 | case Arg::Tmp: |
2808 | #if CPU(ARM64) |
2809 | OPGEN_RETURN(true); |
2810 | #endif |
2811 | break; |
2812 | break; |
2813 | default: |
2814 | break; |
2815 | } |
2816 | break; |
2817 | default: |
2818 | break; |
2819 | } |
2820 | break; |
2821 | default: |
2822 | break; |
2823 | } |
2824 | break; |
2825 | case 2: |
2826 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2827 | case Arg::Tmp: |
2828 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2829 | case Arg::Tmp: |
2830 | break; |
2831 | break; |
2832 | default: |
2833 | break; |
2834 | } |
2835 | break; |
2836 | case Arg::Imm: |
2837 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2838 | case Arg::Tmp: |
2839 | #if CPU(X86) || CPU(X86_64) |
2840 | OPGEN_RETURN(true); |
2841 | #endif |
2842 | break; |
2843 | break; |
2844 | default: |
2845 | break; |
2846 | } |
2847 | break; |
2848 | default: |
2849 | break; |
2850 | } |
2851 | break; |
2852 | default: |
2853 | break; |
2854 | } |
2855 | break; |
2856 | case Opcode::Lshift64: |
2857 | switch (sizeof...(Arguments)) { |
2858 | case 3: |
2859 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2860 | case Arg::Tmp: |
2861 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2862 | case Arg::Tmp: |
2863 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2864 | case Arg::Tmp: |
2865 | #if CPU(ARM64) |
2866 | OPGEN_RETURN(true); |
2867 | #endif |
2868 | break; |
2869 | break; |
2870 | default: |
2871 | break; |
2872 | } |
2873 | break; |
2874 | case Arg::Imm: |
2875 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2876 | case Arg::Tmp: |
2877 | #if CPU(ARM64) |
2878 | OPGEN_RETURN(true); |
2879 | #endif |
2880 | break; |
2881 | break; |
2882 | default: |
2883 | break; |
2884 | } |
2885 | break; |
2886 | default: |
2887 | break; |
2888 | } |
2889 | break; |
2890 | default: |
2891 | break; |
2892 | } |
2893 | break; |
2894 | case 2: |
2895 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2896 | case Arg::Tmp: |
2897 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2898 | case Arg::Tmp: |
2899 | break; |
2900 | break; |
2901 | default: |
2902 | break; |
2903 | } |
2904 | break; |
2905 | case Arg::Imm: |
2906 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2907 | case Arg::Tmp: |
2908 | #if CPU(X86_64) |
2909 | OPGEN_RETURN(true); |
2910 | #endif |
2911 | break; |
2912 | break; |
2913 | default: |
2914 | break; |
2915 | } |
2916 | break; |
2917 | default: |
2918 | break; |
2919 | } |
2920 | break; |
2921 | default: |
2922 | break; |
2923 | } |
2924 | break; |
2925 | case Opcode::Rshift32: |
2926 | switch (sizeof...(Arguments)) { |
2927 | case 3: |
2928 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2929 | case Arg::Tmp: |
2930 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2931 | case Arg::Tmp: |
2932 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2933 | case Arg::Tmp: |
2934 | #if CPU(ARM64) |
2935 | OPGEN_RETURN(true); |
2936 | #endif |
2937 | break; |
2938 | break; |
2939 | default: |
2940 | break; |
2941 | } |
2942 | break; |
2943 | case Arg::Imm: |
2944 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
2945 | case Arg::Tmp: |
2946 | #if CPU(ARM64) |
2947 | OPGEN_RETURN(true); |
2948 | #endif |
2949 | break; |
2950 | break; |
2951 | default: |
2952 | break; |
2953 | } |
2954 | break; |
2955 | default: |
2956 | break; |
2957 | } |
2958 | break; |
2959 | default: |
2960 | break; |
2961 | } |
2962 | break; |
2963 | case 2: |
2964 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2965 | case Arg::Tmp: |
2966 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2967 | case Arg::Tmp: |
2968 | break; |
2969 | break; |
2970 | default: |
2971 | break; |
2972 | } |
2973 | break; |
2974 | case Arg::Imm: |
2975 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
2976 | case Arg::Tmp: |
2977 | #if CPU(X86) || CPU(X86_64) |
2978 | OPGEN_RETURN(true); |
2979 | #endif |
2980 | break; |
2981 | break; |
2982 | default: |
2983 | break; |
2984 | } |
2985 | break; |
2986 | default: |
2987 | break; |
2988 | } |
2989 | break; |
2990 | default: |
2991 | break; |
2992 | } |
2993 | break; |
2994 | case Opcode::Rshift64: |
2995 | switch (sizeof...(Arguments)) { |
2996 | case 3: |
2997 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
2998 | case Arg::Tmp: |
2999 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3000 | case Arg::Tmp: |
3001 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3002 | case Arg::Tmp: |
3003 | #if CPU(ARM64) |
3004 | OPGEN_RETURN(true); |
3005 | #endif |
3006 | break; |
3007 | break; |
3008 | default: |
3009 | break; |
3010 | } |
3011 | break; |
3012 | case Arg::Imm: |
3013 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3014 | case Arg::Tmp: |
3015 | #if CPU(ARM64) |
3016 | OPGEN_RETURN(true); |
3017 | #endif |
3018 | break; |
3019 | break; |
3020 | default: |
3021 | break; |
3022 | } |
3023 | break; |
3024 | default: |
3025 | break; |
3026 | } |
3027 | break; |
3028 | default: |
3029 | break; |
3030 | } |
3031 | break; |
3032 | case 2: |
3033 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3034 | case Arg::Tmp: |
3035 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3036 | case Arg::Tmp: |
3037 | break; |
3038 | break; |
3039 | default: |
3040 | break; |
3041 | } |
3042 | break; |
3043 | case Arg::Imm: |
3044 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3045 | case Arg::Tmp: |
3046 | #if CPU(X86_64) |
3047 | OPGEN_RETURN(true); |
3048 | #endif |
3049 | break; |
3050 | break; |
3051 | default: |
3052 | break; |
3053 | } |
3054 | break; |
3055 | default: |
3056 | break; |
3057 | } |
3058 | break; |
3059 | default: |
3060 | break; |
3061 | } |
3062 | break; |
3063 | case Opcode::Urshift32: |
3064 | switch (sizeof...(Arguments)) { |
3065 | case 3: |
3066 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3067 | case Arg::Tmp: |
3068 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3069 | case Arg::Tmp: |
3070 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3071 | case Arg::Tmp: |
3072 | #if CPU(ARM64) |
3073 | OPGEN_RETURN(true); |
3074 | #endif |
3075 | break; |
3076 | break; |
3077 | default: |
3078 | break; |
3079 | } |
3080 | break; |
3081 | case Arg::Imm: |
3082 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3083 | case Arg::Tmp: |
3084 | #if CPU(ARM64) |
3085 | OPGEN_RETURN(true); |
3086 | #endif |
3087 | break; |
3088 | break; |
3089 | default: |
3090 | break; |
3091 | } |
3092 | break; |
3093 | default: |
3094 | break; |
3095 | } |
3096 | break; |
3097 | default: |
3098 | break; |
3099 | } |
3100 | break; |
3101 | case 2: |
3102 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3103 | case Arg::Tmp: |
3104 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3105 | case Arg::Tmp: |
3106 | break; |
3107 | break; |
3108 | default: |
3109 | break; |
3110 | } |
3111 | break; |
3112 | case Arg::Imm: |
3113 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3114 | case Arg::Tmp: |
3115 | #if CPU(X86) || CPU(X86_64) |
3116 | OPGEN_RETURN(true); |
3117 | #endif |
3118 | break; |
3119 | break; |
3120 | default: |
3121 | break; |
3122 | } |
3123 | break; |
3124 | default: |
3125 | break; |
3126 | } |
3127 | break; |
3128 | default: |
3129 | break; |
3130 | } |
3131 | break; |
3132 | case Opcode::Urshift64: |
3133 | switch (sizeof...(Arguments)) { |
3134 | case 3: |
3135 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3136 | case Arg::Tmp: |
3137 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3138 | case Arg::Tmp: |
3139 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3140 | case Arg::Tmp: |
3141 | #if CPU(ARM64) |
3142 | OPGEN_RETURN(true); |
3143 | #endif |
3144 | break; |
3145 | break; |
3146 | default: |
3147 | break; |
3148 | } |
3149 | break; |
3150 | case Arg::Imm: |
3151 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3152 | case Arg::Tmp: |
3153 | #if CPU(ARM64) |
3154 | OPGEN_RETURN(true); |
3155 | #endif |
3156 | break; |
3157 | break; |
3158 | default: |
3159 | break; |
3160 | } |
3161 | break; |
3162 | default: |
3163 | break; |
3164 | } |
3165 | break; |
3166 | default: |
3167 | break; |
3168 | } |
3169 | break; |
3170 | case 2: |
3171 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3172 | case Arg::Tmp: |
3173 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3174 | case Arg::Tmp: |
3175 | break; |
3176 | break; |
3177 | default: |
3178 | break; |
3179 | } |
3180 | break; |
3181 | case Arg::Imm: |
3182 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3183 | case Arg::Tmp: |
3184 | #if CPU(X86_64) |
3185 | OPGEN_RETURN(true); |
3186 | #endif |
3187 | break; |
3188 | break; |
3189 | default: |
3190 | break; |
3191 | } |
3192 | break; |
3193 | default: |
3194 | break; |
3195 | } |
3196 | break; |
3197 | default: |
3198 | break; |
3199 | } |
3200 | break; |
3201 | case Opcode::RotateRight32: |
3202 | switch (sizeof...(Arguments)) { |
3203 | case 2: |
3204 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3205 | case Arg::Tmp: |
3206 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3207 | case Arg::Tmp: |
3208 | break; |
3209 | break; |
3210 | default: |
3211 | break; |
3212 | } |
3213 | break; |
3214 | case Arg::Imm: |
3215 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3216 | case Arg::Tmp: |
3217 | #if CPU(X86_64) |
3218 | OPGEN_RETURN(true); |
3219 | #endif |
3220 | break; |
3221 | break; |
3222 | default: |
3223 | break; |
3224 | } |
3225 | break; |
3226 | default: |
3227 | break; |
3228 | } |
3229 | break; |
3230 | case 3: |
3231 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3232 | case Arg::Tmp: |
3233 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3234 | case Arg::Tmp: |
3235 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3236 | case Arg::Tmp: |
3237 | #if CPU(ARM64) |
3238 | OPGEN_RETURN(true); |
3239 | #endif |
3240 | break; |
3241 | break; |
3242 | default: |
3243 | break; |
3244 | } |
3245 | break; |
3246 | case Arg::Imm: |
3247 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3248 | case Arg::Tmp: |
3249 | #if CPU(ARM64) |
3250 | OPGEN_RETURN(true); |
3251 | #endif |
3252 | break; |
3253 | break; |
3254 | default: |
3255 | break; |
3256 | } |
3257 | break; |
3258 | default: |
3259 | break; |
3260 | } |
3261 | break; |
3262 | default: |
3263 | break; |
3264 | } |
3265 | break; |
3266 | default: |
3267 | break; |
3268 | } |
3269 | break; |
3270 | case Opcode::RotateRight64: |
3271 | switch (sizeof...(Arguments)) { |
3272 | case 2: |
3273 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3274 | case Arg::Tmp: |
3275 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3276 | case Arg::Tmp: |
3277 | break; |
3278 | break; |
3279 | default: |
3280 | break; |
3281 | } |
3282 | break; |
3283 | case Arg::Imm: |
3284 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3285 | case Arg::Tmp: |
3286 | #if CPU(X86_64) |
3287 | OPGEN_RETURN(true); |
3288 | #endif |
3289 | break; |
3290 | break; |
3291 | default: |
3292 | break; |
3293 | } |
3294 | break; |
3295 | default: |
3296 | break; |
3297 | } |
3298 | break; |
3299 | case 3: |
3300 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3301 | case Arg::Tmp: |
3302 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3303 | case Arg::Tmp: |
3304 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3305 | case Arg::Tmp: |
3306 | #if CPU(ARM64) |
3307 | OPGEN_RETURN(true); |
3308 | #endif |
3309 | break; |
3310 | break; |
3311 | default: |
3312 | break; |
3313 | } |
3314 | break; |
3315 | case Arg::Imm: |
3316 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3317 | case Arg::Tmp: |
3318 | #if CPU(ARM64) |
3319 | OPGEN_RETURN(true); |
3320 | #endif |
3321 | break; |
3322 | break; |
3323 | default: |
3324 | break; |
3325 | } |
3326 | break; |
3327 | default: |
3328 | break; |
3329 | } |
3330 | break; |
3331 | default: |
3332 | break; |
3333 | } |
3334 | break; |
3335 | default: |
3336 | break; |
3337 | } |
3338 | break; |
3339 | case Opcode::RotateLeft32: |
3340 | switch (sizeof...(Arguments)) { |
3341 | case 2: |
3342 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3343 | case Arg::Tmp: |
3344 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3345 | case Arg::Tmp: |
3346 | break; |
3347 | break; |
3348 | default: |
3349 | break; |
3350 | } |
3351 | break; |
3352 | case Arg::Imm: |
3353 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3354 | case Arg::Tmp: |
3355 | #if CPU(X86_64) |
3356 | OPGEN_RETURN(true); |
3357 | #endif |
3358 | break; |
3359 | break; |
3360 | default: |
3361 | break; |
3362 | } |
3363 | break; |
3364 | default: |
3365 | break; |
3366 | } |
3367 | break; |
3368 | default: |
3369 | break; |
3370 | } |
3371 | break; |
3372 | case Opcode::RotateLeft64: |
3373 | switch (sizeof...(Arguments)) { |
3374 | case 2: |
3375 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3376 | case Arg::Tmp: |
3377 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3378 | case Arg::Tmp: |
3379 | break; |
3380 | break; |
3381 | default: |
3382 | break; |
3383 | } |
3384 | break; |
3385 | case Arg::Imm: |
3386 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3387 | case Arg::Tmp: |
3388 | #if CPU(X86_64) |
3389 | OPGEN_RETURN(true); |
3390 | #endif |
3391 | break; |
3392 | break; |
3393 | default: |
3394 | break; |
3395 | } |
3396 | break; |
3397 | default: |
3398 | break; |
3399 | } |
3400 | break; |
3401 | default: |
3402 | break; |
3403 | } |
3404 | break; |
3405 | case Opcode::Or32: |
3406 | switch (sizeof...(Arguments)) { |
3407 | case 3: |
3408 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3409 | case Arg::Tmp: |
3410 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3411 | case Arg::Tmp: |
3412 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3413 | case Arg::Tmp: |
3414 | OPGEN_RETURN(true); |
3415 | break; |
3416 | break; |
3417 | default: |
3418 | break; |
3419 | } |
3420 | break; |
3421 | case Arg::Addr: |
3422 | case Arg::Stack: |
3423 | case Arg::CallArg: |
3424 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3425 | case Arg::Tmp: |
3426 | #if CPU(X86) || CPU(X86_64) |
3427 | OPGEN_RETURN(true); |
3428 | #endif |
3429 | break; |
3430 | break; |
3431 | default: |
3432 | break; |
3433 | } |
3434 | break; |
3435 | default: |
3436 | break; |
3437 | } |
3438 | break; |
3439 | case Arg::BitImm: |
3440 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3441 | case Arg::Tmp: |
3442 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3443 | case Arg::Tmp: |
3444 | #if CPU(ARM64) |
3445 | OPGEN_RETURN(true); |
3446 | #endif |
3447 | break; |
3448 | break; |
3449 | default: |
3450 | break; |
3451 | } |
3452 | break; |
3453 | default: |
3454 | break; |
3455 | } |
3456 | break; |
3457 | case Arg::Addr: |
3458 | case Arg::Stack: |
3459 | case Arg::CallArg: |
3460 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3461 | case Arg::Tmp: |
3462 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3463 | case Arg::Tmp: |
3464 | #if CPU(X86) || CPU(X86_64) |
3465 | OPGEN_RETURN(true); |
3466 | #endif |
3467 | break; |
3468 | break; |
3469 | default: |
3470 | break; |
3471 | } |
3472 | break; |
3473 | default: |
3474 | break; |
3475 | } |
3476 | break; |
3477 | default: |
3478 | break; |
3479 | } |
3480 | break; |
3481 | case 2: |
3482 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3483 | case Arg::Tmp: |
3484 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3485 | case Arg::Tmp: |
3486 | OPGEN_RETURN(true); |
3487 | break; |
3488 | break; |
3489 | case Arg::Addr: |
3490 | case Arg::Stack: |
3491 | case Arg::CallArg: |
3492 | #if CPU(X86) || CPU(X86_64) |
3493 | OPGEN_RETURN(true); |
3494 | #endif |
3495 | break; |
3496 | break; |
3497 | case Arg::Index: |
3498 | #if CPU(X86) || CPU(X86_64) |
3499 | OPGEN_RETURN(true); |
3500 | #endif |
3501 | break; |
3502 | break; |
3503 | default: |
3504 | break; |
3505 | } |
3506 | break; |
3507 | case Arg::Imm: |
3508 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3509 | case Arg::Tmp: |
3510 | #if CPU(X86) || CPU(X86_64) |
3511 | OPGEN_RETURN(true); |
3512 | #endif |
3513 | break; |
3514 | break; |
3515 | case Arg::Addr: |
3516 | case Arg::Stack: |
3517 | case Arg::CallArg: |
3518 | #if CPU(X86) || CPU(X86_64) |
3519 | OPGEN_RETURN(true); |
3520 | #endif |
3521 | break; |
3522 | break; |
3523 | case Arg::Index: |
3524 | #if CPU(X86) || CPU(X86_64) |
3525 | OPGEN_RETURN(true); |
3526 | #endif |
3527 | break; |
3528 | break; |
3529 | default: |
3530 | break; |
3531 | } |
3532 | break; |
3533 | case Arg::Addr: |
3534 | case Arg::Stack: |
3535 | case Arg::CallArg: |
3536 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3537 | case Arg::Tmp: |
3538 | #if CPU(X86) || CPU(X86_64) |
3539 | OPGEN_RETURN(true); |
3540 | #endif |
3541 | break; |
3542 | break; |
3543 | default: |
3544 | break; |
3545 | } |
3546 | break; |
3547 | case Arg::Index: |
3548 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3549 | case Arg::Tmp: |
3550 | #if CPU(X86) || CPU(X86_64) |
3551 | OPGEN_RETURN(true); |
3552 | #endif |
3553 | break; |
3554 | break; |
3555 | default: |
3556 | break; |
3557 | } |
3558 | break; |
3559 | default: |
3560 | break; |
3561 | } |
3562 | break; |
3563 | default: |
3564 | break; |
3565 | } |
3566 | break; |
3567 | case Opcode::Or64: |
3568 | switch (sizeof...(Arguments)) { |
3569 | case 3: |
3570 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3571 | case Arg::Tmp: |
3572 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3573 | case Arg::Tmp: |
3574 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3575 | case Arg::Tmp: |
3576 | #if CPU(X86_64) || CPU(ARM64) |
3577 | OPGEN_RETURN(true); |
3578 | #endif |
3579 | break; |
3580 | break; |
3581 | default: |
3582 | break; |
3583 | } |
3584 | break; |
3585 | default: |
3586 | break; |
3587 | } |
3588 | break; |
3589 | #if USE(JSVALUE64) |
3590 | case Arg::BitImm64: |
3591 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3592 | case Arg::Tmp: |
3593 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3594 | case Arg::Tmp: |
3595 | #if CPU(ARM64) |
3596 | OPGEN_RETURN(true); |
3597 | #endif |
3598 | break; |
3599 | break; |
3600 | default: |
3601 | break; |
3602 | } |
3603 | break; |
3604 | default: |
3605 | break; |
3606 | } |
3607 | break; |
3608 | #endif // USE(JSVALUE64) |
3609 | default: |
3610 | break; |
3611 | } |
3612 | break; |
3613 | case 2: |
3614 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3615 | case Arg::Tmp: |
3616 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3617 | case Arg::Tmp: |
3618 | #if CPU(X86_64) || CPU(ARM64) |
3619 | OPGEN_RETURN(true); |
3620 | #endif |
3621 | break; |
3622 | break; |
3623 | case Arg::Addr: |
3624 | case Arg::Stack: |
3625 | case Arg::CallArg: |
3626 | #if CPU(X86_64) |
3627 | OPGEN_RETURN(true); |
3628 | #endif |
3629 | break; |
3630 | break; |
3631 | case Arg::Index: |
3632 | #if CPU(X86_64) |
3633 | OPGEN_RETURN(true); |
3634 | #endif |
3635 | break; |
3636 | break; |
3637 | default: |
3638 | break; |
3639 | } |
3640 | break; |
3641 | case Arg::Imm: |
3642 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3643 | case Arg::Tmp: |
3644 | #if CPU(X86_64) |
3645 | OPGEN_RETURN(true); |
3646 | #endif |
3647 | break; |
3648 | break; |
3649 | case Arg::Addr: |
3650 | case Arg::Stack: |
3651 | case Arg::CallArg: |
3652 | #if CPU(X86_64) |
3653 | OPGEN_RETURN(true); |
3654 | #endif |
3655 | break; |
3656 | break; |
3657 | case Arg::Index: |
3658 | #if CPU(X86_64) |
3659 | OPGEN_RETURN(true); |
3660 | #endif |
3661 | break; |
3662 | break; |
3663 | default: |
3664 | break; |
3665 | } |
3666 | break; |
3667 | case Arg::Addr: |
3668 | case Arg::Stack: |
3669 | case Arg::CallArg: |
3670 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3671 | case Arg::Tmp: |
3672 | #if CPU(X86_64) |
3673 | OPGEN_RETURN(true); |
3674 | #endif |
3675 | break; |
3676 | break; |
3677 | default: |
3678 | break; |
3679 | } |
3680 | break; |
3681 | case Arg::Index: |
3682 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3683 | case Arg::Tmp: |
3684 | #if CPU(X86_64) |
3685 | OPGEN_RETURN(true); |
3686 | #endif |
3687 | break; |
3688 | break; |
3689 | default: |
3690 | break; |
3691 | } |
3692 | break; |
3693 | default: |
3694 | break; |
3695 | } |
3696 | break; |
3697 | default: |
3698 | break; |
3699 | } |
3700 | break; |
3701 | case Opcode::Xor32: |
3702 | switch (sizeof...(Arguments)) { |
3703 | case 3: |
3704 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3705 | case Arg::Tmp: |
3706 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3707 | case Arg::Tmp: |
3708 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3709 | case Arg::Tmp: |
3710 | OPGEN_RETURN(true); |
3711 | break; |
3712 | break; |
3713 | default: |
3714 | break; |
3715 | } |
3716 | break; |
3717 | case Arg::Addr: |
3718 | case Arg::Stack: |
3719 | case Arg::CallArg: |
3720 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3721 | case Arg::Tmp: |
3722 | #if CPU(X86) || CPU(X86_64) |
3723 | OPGEN_RETURN(true); |
3724 | #endif |
3725 | break; |
3726 | break; |
3727 | default: |
3728 | break; |
3729 | } |
3730 | break; |
3731 | default: |
3732 | break; |
3733 | } |
3734 | break; |
3735 | case Arg::BitImm: |
3736 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3737 | case Arg::Tmp: |
3738 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3739 | case Arg::Tmp: |
3740 | #if CPU(ARM64) |
3741 | OPGEN_RETURN(true); |
3742 | #endif |
3743 | break; |
3744 | break; |
3745 | default: |
3746 | break; |
3747 | } |
3748 | break; |
3749 | default: |
3750 | break; |
3751 | } |
3752 | break; |
3753 | case Arg::Addr: |
3754 | case Arg::Stack: |
3755 | case Arg::CallArg: |
3756 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3757 | case Arg::Tmp: |
3758 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3759 | case Arg::Tmp: |
3760 | #if CPU(X86) || CPU(X86_64) |
3761 | OPGEN_RETURN(true); |
3762 | #endif |
3763 | break; |
3764 | break; |
3765 | default: |
3766 | break; |
3767 | } |
3768 | break; |
3769 | default: |
3770 | break; |
3771 | } |
3772 | break; |
3773 | default: |
3774 | break; |
3775 | } |
3776 | break; |
3777 | case 2: |
3778 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3779 | case Arg::Tmp: |
3780 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3781 | case Arg::Tmp: |
3782 | OPGEN_RETURN(true); |
3783 | break; |
3784 | break; |
3785 | case Arg::Addr: |
3786 | case Arg::Stack: |
3787 | case Arg::CallArg: |
3788 | #if CPU(X86) || CPU(X86_64) |
3789 | OPGEN_RETURN(true); |
3790 | #endif |
3791 | break; |
3792 | break; |
3793 | case Arg::Index: |
3794 | #if CPU(X86) || CPU(X86_64) |
3795 | OPGEN_RETURN(true); |
3796 | #endif |
3797 | break; |
3798 | break; |
3799 | default: |
3800 | break; |
3801 | } |
3802 | break; |
3803 | case Arg::Imm: |
3804 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3805 | case Arg::Tmp: |
3806 | #if CPU(X86) || CPU(X86_64) |
3807 | OPGEN_RETURN(true); |
3808 | #endif |
3809 | break; |
3810 | break; |
3811 | case Arg::Addr: |
3812 | case Arg::Stack: |
3813 | case Arg::CallArg: |
3814 | #if CPU(X86) || CPU(X86_64) |
3815 | OPGEN_RETURN(true); |
3816 | #endif |
3817 | break; |
3818 | break; |
3819 | case Arg::Index: |
3820 | #if CPU(X86) || CPU(X86_64) |
3821 | OPGEN_RETURN(true); |
3822 | #endif |
3823 | break; |
3824 | break; |
3825 | default: |
3826 | break; |
3827 | } |
3828 | break; |
3829 | case Arg::Addr: |
3830 | case Arg::Stack: |
3831 | case Arg::CallArg: |
3832 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3833 | case Arg::Tmp: |
3834 | #if CPU(X86) || CPU(X86_64) |
3835 | OPGEN_RETURN(true); |
3836 | #endif |
3837 | break; |
3838 | break; |
3839 | default: |
3840 | break; |
3841 | } |
3842 | break; |
3843 | case Arg::Index: |
3844 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3845 | case Arg::Tmp: |
3846 | #if CPU(X86) || CPU(X86_64) |
3847 | OPGEN_RETURN(true); |
3848 | #endif |
3849 | break; |
3850 | break; |
3851 | default: |
3852 | break; |
3853 | } |
3854 | break; |
3855 | default: |
3856 | break; |
3857 | } |
3858 | break; |
3859 | default: |
3860 | break; |
3861 | } |
3862 | break; |
3863 | case Opcode::Xor64: |
3864 | switch (sizeof...(Arguments)) { |
3865 | case 3: |
3866 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3867 | case Arg::Tmp: |
3868 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3869 | case Arg::Tmp: |
3870 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3871 | case Arg::Tmp: |
3872 | #if CPU(X86_64) || CPU(ARM64) |
3873 | OPGEN_RETURN(true); |
3874 | #endif |
3875 | break; |
3876 | break; |
3877 | default: |
3878 | break; |
3879 | } |
3880 | break; |
3881 | default: |
3882 | break; |
3883 | } |
3884 | break; |
3885 | #if USE(JSVALUE64) |
3886 | case Arg::BitImm64: |
3887 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3888 | case Arg::Tmp: |
3889 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
3890 | case Arg::Tmp: |
3891 | #if CPU(ARM64) |
3892 | OPGEN_RETURN(true); |
3893 | #endif |
3894 | break; |
3895 | break; |
3896 | default: |
3897 | break; |
3898 | } |
3899 | break; |
3900 | default: |
3901 | break; |
3902 | } |
3903 | break; |
3904 | #endif // USE(JSVALUE64) |
3905 | default: |
3906 | break; |
3907 | } |
3908 | break; |
3909 | case 2: |
3910 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
3911 | case Arg::Tmp: |
3912 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3913 | case Arg::Tmp: |
3914 | #if CPU(X86_64) || CPU(ARM64) |
3915 | OPGEN_RETURN(true); |
3916 | #endif |
3917 | break; |
3918 | break; |
3919 | case Arg::Addr: |
3920 | case Arg::Stack: |
3921 | case Arg::CallArg: |
3922 | #if CPU(X86_64) |
3923 | OPGEN_RETURN(true); |
3924 | #endif |
3925 | break; |
3926 | break; |
3927 | case Arg::Index: |
3928 | #if CPU(X86_64) |
3929 | OPGEN_RETURN(true); |
3930 | #endif |
3931 | break; |
3932 | break; |
3933 | default: |
3934 | break; |
3935 | } |
3936 | break; |
3937 | case Arg::Addr: |
3938 | case Arg::Stack: |
3939 | case Arg::CallArg: |
3940 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3941 | case Arg::Tmp: |
3942 | #if CPU(X86_64) |
3943 | OPGEN_RETURN(true); |
3944 | #endif |
3945 | break; |
3946 | break; |
3947 | default: |
3948 | break; |
3949 | } |
3950 | break; |
3951 | case Arg::Index: |
3952 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3953 | case Arg::Tmp: |
3954 | #if CPU(X86_64) |
3955 | OPGEN_RETURN(true); |
3956 | #endif |
3957 | break; |
3958 | break; |
3959 | default: |
3960 | break; |
3961 | } |
3962 | break; |
3963 | case Arg::Imm: |
3964 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
3965 | case Arg::Addr: |
3966 | case Arg::Stack: |
3967 | case Arg::CallArg: |
3968 | #if CPU(X86_64) |
3969 | OPGEN_RETURN(true); |
3970 | #endif |
3971 | break; |
3972 | break; |
3973 | case Arg::Index: |
3974 | #if CPU(X86_64) |
3975 | OPGEN_RETURN(true); |
3976 | #endif |
3977 | break; |
3978 | break; |
3979 | case Arg::Tmp: |
3980 | #if CPU(X86_64) |
3981 | OPGEN_RETURN(true); |
3982 | #endif |
3983 | break; |
3984 | break; |
3985 | default: |
3986 | break; |
3987 | } |
3988 | break; |
3989 | default: |
3990 | break; |
3991 | } |
3992 | break; |
3993 | default: |
3994 | break; |
3995 | } |
3996 | break; |
3997 | case Opcode::Not32: |
3998 | switch (sizeof...(Arguments)) { |
3999 | case 2: |
4000 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4001 | case Arg::Tmp: |
4002 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4003 | case Arg::Tmp: |
4004 | #if CPU(ARM64) |
4005 | OPGEN_RETURN(true); |
4006 | #endif |
4007 | break; |
4008 | break; |
4009 | default: |
4010 | break; |
4011 | } |
4012 | break; |
4013 | default: |
4014 | break; |
4015 | } |
4016 | break; |
4017 | case 1: |
4018 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4019 | case Arg::Tmp: |
4020 | #if CPU(X86) || CPU(X86_64) |
4021 | OPGEN_RETURN(true); |
4022 | #endif |
4023 | break; |
4024 | break; |
4025 | case Arg::Addr: |
4026 | case Arg::Stack: |
4027 | case Arg::CallArg: |
4028 | #if CPU(X86) || CPU(X86_64) |
4029 | OPGEN_RETURN(true); |
4030 | #endif |
4031 | break; |
4032 | break; |
4033 | case Arg::Index: |
4034 | #if CPU(X86) || CPU(X86_64) |
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 Opcode::Not64: |
4048 | switch (sizeof...(Arguments)) { |
4049 | case 2: |
4050 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4051 | case Arg::Tmp: |
4052 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4053 | case Arg::Tmp: |
4054 | #if CPU(ARM64) |
4055 | OPGEN_RETURN(true); |
4056 | #endif |
4057 | break; |
4058 | break; |
4059 | default: |
4060 | break; |
4061 | } |
4062 | break; |
4063 | default: |
4064 | break; |
4065 | } |
4066 | break; |
4067 | case 1: |
4068 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4069 | case Arg::Tmp: |
4070 | #if CPU(X86_64) |
4071 | OPGEN_RETURN(true); |
4072 | #endif |
4073 | break; |
4074 | break; |
4075 | case Arg::Addr: |
4076 | case Arg::Stack: |
4077 | case Arg::CallArg: |
4078 | #if CPU(X86_64) |
4079 | OPGEN_RETURN(true); |
4080 | #endif |
4081 | break; |
4082 | break; |
4083 | case Arg::Index: |
4084 | #if CPU(X86_64) |
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 Opcode::AbsDouble: |
4098 | switch (sizeof...(Arguments)) { |
4099 | case 2: |
4100 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4101 | case Arg::Tmp: |
4102 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4103 | case Arg::Tmp: |
4104 | #if CPU(ARM64) |
4105 | OPGEN_RETURN(true); |
4106 | #endif |
4107 | break; |
4108 | break; |
4109 | default: |
4110 | break; |
4111 | } |
4112 | break; |
4113 | default: |
4114 | break; |
4115 | } |
4116 | break; |
4117 | default: |
4118 | break; |
4119 | } |
4120 | break; |
4121 | case Opcode::AbsFloat: |
4122 | switch (sizeof...(Arguments)) { |
4123 | case 2: |
4124 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4125 | case Arg::Tmp: |
4126 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4127 | case Arg::Tmp: |
4128 | #if CPU(ARM64) |
4129 | OPGEN_RETURN(true); |
4130 | #endif |
4131 | break; |
4132 | break; |
4133 | default: |
4134 | break; |
4135 | } |
4136 | break; |
4137 | default: |
4138 | break; |
4139 | } |
4140 | break; |
4141 | default: |
4142 | break; |
4143 | } |
4144 | break; |
4145 | case Opcode::CeilDouble: |
4146 | switch (sizeof...(Arguments)) { |
4147 | case 2: |
4148 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4149 | case Arg::Tmp: |
4150 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4151 | case Arg::Tmp: |
4152 | OPGEN_RETURN(true); |
4153 | break; |
4154 | break; |
4155 | default: |
4156 | break; |
4157 | } |
4158 | break; |
4159 | case Arg::Addr: |
4160 | case Arg::Stack: |
4161 | case Arg::CallArg: |
4162 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4163 | case Arg::Tmp: |
4164 | #if CPU(X86) || CPU(X86_64) |
4165 | OPGEN_RETURN(true); |
4166 | #endif |
4167 | break; |
4168 | break; |
4169 | default: |
4170 | break; |
4171 | } |
4172 | break; |
4173 | default: |
4174 | break; |
4175 | } |
4176 | break; |
4177 | default: |
4178 | break; |
4179 | } |
4180 | break; |
4181 | case Opcode::CeilFloat: |
4182 | switch (sizeof...(Arguments)) { |
4183 | case 2: |
4184 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4185 | case Arg::Tmp: |
4186 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4187 | case Arg::Tmp: |
4188 | OPGEN_RETURN(true); |
4189 | break; |
4190 | break; |
4191 | default: |
4192 | break; |
4193 | } |
4194 | break; |
4195 | case Arg::Addr: |
4196 | case Arg::Stack: |
4197 | case Arg::CallArg: |
4198 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4199 | case Arg::Tmp: |
4200 | #if CPU(X86) || CPU(X86_64) |
4201 | OPGEN_RETURN(true); |
4202 | #endif |
4203 | break; |
4204 | break; |
4205 | default: |
4206 | break; |
4207 | } |
4208 | break; |
4209 | default: |
4210 | break; |
4211 | } |
4212 | break; |
4213 | default: |
4214 | break; |
4215 | } |
4216 | break; |
4217 | case Opcode::FloorDouble: |
4218 | switch (sizeof...(Arguments)) { |
4219 | case 2: |
4220 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4221 | case Arg::Tmp: |
4222 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4223 | case Arg::Tmp: |
4224 | OPGEN_RETURN(true); |
4225 | break; |
4226 | break; |
4227 | default: |
4228 | break; |
4229 | } |
4230 | break; |
4231 | case Arg::Addr: |
4232 | case Arg::Stack: |
4233 | case Arg::CallArg: |
4234 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4235 | case Arg::Tmp: |
4236 | #if CPU(X86) || CPU(X86_64) |
4237 | OPGEN_RETURN(true); |
4238 | #endif |
4239 | break; |
4240 | break; |
4241 | default: |
4242 | break; |
4243 | } |
4244 | break; |
4245 | default: |
4246 | break; |
4247 | } |
4248 | break; |
4249 | default: |
4250 | break; |
4251 | } |
4252 | break; |
4253 | case Opcode::FloorFloat: |
4254 | switch (sizeof...(Arguments)) { |
4255 | case 2: |
4256 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4257 | case Arg::Tmp: |
4258 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4259 | case Arg::Tmp: |
4260 | OPGEN_RETURN(true); |
4261 | break; |
4262 | break; |
4263 | default: |
4264 | break; |
4265 | } |
4266 | break; |
4267 | case Arg::Addr: |
4268 | case Arg::Stack: |
4269 | case Arg::CallArg: |
4270 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4271 | case Arg::Tmp: |
4272 | #if CPU(X86) || CPU(X86_64) |
4273 | OPGEN_RETURN(true); |
4274 | #endif |
4275 | break; |
4276 | break; |
4277 | default: |
4278 | break; |
4279 | } |
4280 | break; |
4281 | default: |
4282 | break; |
4283 | } |
4284 | break; |
4285 | default: |
4286 | break; |
4287 | } |
4288 | break; |
4289 | case Opcode::SqrtDouble: |
4290 | switch (sizeof...(Arguments)) { |
4291 | case 2: |
4292 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4293 | case Arg::Tmp: |
4294 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4295 | case Arg::Tmp: |
4296 | OPGEN_RETURN(true); |
4297 | break; |
4298 | break; |
4299 | default: |
4300 | break; |
4301 | } |
4302 | break; |
4303 | case Arg::Addr: |
4304 | case Arg::Stack: |
4305 | case Arg::CallArg: |
4306 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4307 | case Arg::Tmp: |
4308 | #if CPU(X86) || CPU(X86_64) |
4309 | OPGEN_RETURN(true); |
4310 | #endif |
4311 | break; |
4312 | break; |
4313 | default: |
4314 | break; |
4315 | } |
4316 | break; |
4317 | default: |
4318 | break; |
4319 | } |
4320 | break; |
4321 | default: |
4322 | break; |
4323 | } |
4324 | break; |
4325 | case Opcode::SqrtFloat: |
4326 | switch (sizeof...(Arguments)) { |
4327 | case 2: |
4328 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4329 | case Arg::Tmp: |
4330 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4331 | case Arg::Tmp: |
4332 | OPGEN_RETURN(true); |
4333 | break; |
4334 | break; |
4335 | default: |
4336 | break; |
4337 | } |
4338 | break; |
4339 | case Arg::Addr: |
4340 | case Arg::Stack: |
4341 | case Arg::CallArg: |
4342 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4343 | case Arg::Tmp: |
4344 | #if CPU(X86) || CPU(X86_64) |
4345 | OPGEN_RETURN(true); |
4346 | #endif |
4347 | break; |
4348 | break; |
4349 | default: |
4350 | break; |
4351 | } |
4352 | break; |
4353 | default: |
4354 | break; |
4355 | } |
4356 | break; |
4357 | default: |
4358 | break; |
4359 | } |
4360 | break; |
4361 | case Opcode::ConvertInt32ToDouble: |
4362 | switch (sizeof...(Arguments)) { |
4363 | case 2: |
4364 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4365 | case Arg::Tmp: |
4366 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4367 | case Arg::Tmp: |
4368 | OPGEN_RETURN(true); |
4369 | break; |
4370 | break; |
4371 | default: |
4372 | break; |
4373 | } |
4374 | break; |
4375 | case Arg::Addr: |
4376 | case Arg::Stack: |
4377 | case Arg::CallArg: |
4378 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4379 | case Arg::Tmp: |
4380 | #if CPU(X86) || CPU(X86_64) |
4381 | OPGEN_RETURN(true); |
4382 | #endif |
4383 | break; |
4384 | break; |
4385 | default: |
4386 | break; |
4387 | } |
4388 | break; |
4389 | default: |
4390 | break; |
4391 | } |
4392 | break; |
4393 | default: |
4394 | break; |
4395 | } |
4396 | break; |
4397 | case Opcode::ConvertInt64ToDouble: |
4398 | switch (sizeof...(Arguments)) { |
4399 | case 2: |
4400 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4401 | case Arg::Tmp: |
4402 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4403 | case Arg::Tmp: |
4404 | #if CPU(X86_64) || CPU(ARM64) |
4405 | OPGEN_RETURN(true); |
4406 | #endif |
4407 | break; |
4408 | break; |
4409 | default: |
4410 | break; |
4411 | } |
4412 | break; |
4413 | case Arg::Addr: |
4414 | case Arg::Stack: |
4415 | case Arg::CallArg: |
4416 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4417 | case Arg::Tmp: |
4418 | #if CPU(X86_64) |
4419 | OPGEN_RETURN(true); |
4420 | #endif |
4421 | break; |
4422 | break; |
4423 | default: |
4424 | break; |
4425 | } |
4426 | break; |
4427 | default: |
4428 | break; |
4429 | } |
4430 | break; |
4431 | default: |
4432 | break; |
4433 | } |
4434 | break; |
4435 | case Opcode::ConvertInt32ToFloat: |
4436 | switch (sizeof...(Arguments)) { |
4437 | case 2: |
4438 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4439 | case Arg::Tmp: |
4440 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4441 | case Arg::Tmp: |
4442 | OPGEN_RETURN(true); |
4443 | break; |
4444 | break; |
4445 | default: |
4446 | break; |
4447 | } |
4448 | break; |
4449 | case Arg::Addr: |
4450 | case Arg::Stack: |
4451 | case Arg::CallArg: |
4452 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4453 | case Arg::Tmp: |
4454 | #if CPU(X86) || CPU(X86_64) |
4455 | OPGEN_RETURN(true); |
4456 | #endif |
4457 | break; |
4458 | break; |
4459 | default: |
4460 | break; |
4461 | } |
4462 | break; |
4463 | default: |
4464 | break; |
4465 | } |
4466 | break; |
4467 | default: |
4468 | break; |
4469 | } |
4470 | break; |
4471 | case Opcode::ConvertInt64ToFloat: |
4472 | switch (sizeof...(Arguments)) { |
4473 | case 2: |
4474 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4475 | case Arg::Tmp: |
4476 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4477 | case Arg::Tmp: |
4478 | #if CPU(X86_64) || CPU(ARM64) |
4479 | OPGEN_RETURN(true); |
4480 | #endif |
4481 | break; |
4482 | break; |
4483 | default: |
4484 | break; |
4485 | } |
4486 | break; |
4487 | case Arg::Addr: |
4488 | case Arg::Stack: |
4489 | case Arg::CallArg: |
4490 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4491 | case Arg::Tmp: |
4492 | #if CPU(X86_64) |
4493 | OPGEN_RETURN(true); |
4494 | #endif |
4495 | break; |
4496 | break; |
4497 | default: |
4498 | break; |
4499 | } |
4500 | break; |
4501 | default: |
4502 | break; |
4503 | } |
4504 | break; |
4505 | default: |
4506 | break; |
4507 | } |
4508 | break; |
4509 | case Opcode::CountLeadingZeros32: |
4510 | switch (sizeof...(Arguments)) { |
4511 | case 2: |
4512 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4513 | case Arg::Tmp: |
4514 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4515 | case Arg::Tmp: |
4516 | OPGEN_RETURN(true); |
4517 | break; |
4518 | break; |
4519 | default: |
4520 | break; |
4521 | } |
4522 | break; |
4523 | case Arg::Addr: |
4524 | case Arg::Stack: |
4525 | case Arg::CallArg: |
4526 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4527 | case Arg::Tmp: |
4528 | #if CPU(X86) || CPU(X86_64) |
4529 | OPGEN_RETURN(true); |
4530 | #endif |
4531 | break; |
4532 | break; |
4533 | default: |
4534 | break; |
4535 | } |
4536 | break; |
4537 | default: |
4538 | break; |
4539 | } |
4540 | break; |
4541 | default: |
4542 | break; |
4543 | } |
4544 | break; |
4545 | case Opcode::CountLeadingZeros64: |
4546 | switch (sizeof...(Arguments)) { |
4547 | case 2: |
4548 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4549 | case Arg::Tmp: |
4550 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4551 | case Arg::Tmp: |
4552 | #if CPU(X86_64) || CPU(ARM64) |
4553 | OPGEN_RETURN(true); |
4554 | #endif |
4555 | break; |
4556 | break; |
4557 | default: |
4558 | break; |
4559 | } |
4560 | break; |
4561 | case Arg::Addr: |
4562 | case Arg::Stack: |
4563 | case Arg::CallArg: |
4564 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4565 | case Arg::Tmp: |
4566 | #if CPU(X86_64) |
4567 | OPGEN_RETURN(true); |
4568 | #endif |
4569 | break; |
4570 | break; |
4571 | default: |
4572 | break; |
4573 | } |
4574 | break; |
4575 | default: |
4576 | break; |
4577 | } |
4578 | break; |
4579 | default: |
4580 | break; |
4581 | } |
4582 | break; |
4583 | case Opcode::ConvertDoubleToFloat: |
4584 | switch (sizeof...(Arguments)) { |
4585 | case 2: |
4586 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4587 | case Arg::Tmp: |
4588 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4589 | case Arg::Tmp: |
4590 | OPGEN_RETURN(true); |
4591 | break; |
4592 | break; |
4593 | default: |
4594 | break; |
4595 | } |
4596 | break; |
4597 | case Arg::Addr: |
4598 | case Arg::Stack: |
4599 | case Arg::CallArg: |
4600 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4601 | case Arg::Tmp: |
4602 | #if CPU(X86) || CPU(X86_64) |
4603 | OPGEN_RETURN(true); |
4604 | #endif |
4605 | break; |
4606 | break; |
4607 | default: |
4608 | break; |
4609 | } |
4610 | break; |
4611 | default: |
4612 | break; |
4613 | } |
4614 | break; |
4615 | default: |
4616 | break; |
4617 | } |
4618 | break; |
4619 | case Opcode::ConvertFloatToDouble: |
4620 | switch (sizeof...(Arguments)) { |
4621 | case 2: |
4622 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4623 | case Arg::Tmp: |
4624 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4625 | case Arg::Tmp: |
4626 | OPGEN_RETURN(true); |
4627 | break; |
4628 | break; |
4629 | default: |
4630 | break; |
4631 | } |
4632 | break; |
4633 | case Arg::Addr: |
4634 | case Arg::Stack: |
4635 | case Arg::CallArg: |
4636 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4637 | case Arg::Tmp: |
4638 | #if CPU(X86) || CPU(X86_64) |
4639 | OPGEN_RETURN(true); |
4640 | #endif |
4641 | break; |
4642 | break; |
4643 | default: |
4644 | break; |
4645 | } |
4646 | break; |
4647 | default: |
4648 | break; |
4649 | } |
4650 | break; |
4651 | default: |
4652 | break; |
4653 | } |
4654 | break; |
4655 | case Opcode::Move: |
4656 | switch (sizeof...(Arguments)) { |
4657 | case 2: |
4658 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4659 | case Arg::Tmp: |
4660 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4661 | case Arg::Tmp: |
4662 | OPGEN_RETURN(true); |
4663 | break; |
4664 | break; |
4665 | case Arg::Addr: |
4666 | case Arg::Stack: |
4667 | case Arg::CallArg: |
4668 | OPGEN_RETURN(true); |
4669 | break; |
4670 | break; |
4671 | case Arg::Index: |
4672 | OPGEN_RETURN(true); |
4673 | break; |
4674 | break; |
4675 | default: |
4676 | break; |
4677 | } |
4678 | break; |
4679 | case Arg::Imm: |
4680 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4681 | case Arg::Tmp: |
4682 | OPGEN_RETURN(true); |
4683 | break; |
4684 | break; |
4685 | case Arg::Addr: |
4686 | case Arg::Stack: |
4687 | case Arg::CallArg: |
4688 | #if CPU(X86) || CPU(X86_64) |
4689 | OPGEN_RETURN(true); |
4690 | #endif |
4691 | break; |
4692 | break; |
4693 | default: |
4694 | break; |
4695 | } |
4696 | break; |
4697 | #if USE(JSVALUE64) |
4698 | case Arg::BigImm: |
4699 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4700 | case Arg::Tmp: |
4701 | OPGEN_RETURN(true); |
4702 | break; |
4703 | break; |
4704 | default: |
4705 | break; |
4706 | } |
4707 | break; |
4708 | #endif // USE(JSVALUE64) |
4709 | case Arg::Addr: |
4710 | case Arg::Stack: |
4711 | case Arg::CallArg: |
4712 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4713 | case Arg::Tmp: |
4714 | OPGEN_RETURN(true); |
4715 | break; |
4716 | break; |
4717 | default: |
4718 | break; |
4719 | } |
4720 | break; |
4721 | case Arg::Index: |
4722 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4723 | case Arg::Tmp: |
4724 | OPGEN_RETURN(true); |
4725 | break; |
4726 | break; |
4727 | default: |
4728 | break; |
4729 | } |
4730 | break; |
4731 | default: |
4732 | break; |
4733 | } |
4734 | break; |
4735 | case 3: |
4736 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4737 | case Arg::Addr: |
4738 | case Arg::Stack: |
4739 | case Arg::CallArg: |
4740 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4741 | case Arg::Addr: |
4742 | case Arg::Stack: |
4743 | case Arg::CallArg: |
4744 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
4745 | case Arg::Tmp: |
4746 | OPGEN_RETURN(true); |
4747 | break; |
4748 | break; |
4749 | default: |
4750 | break; |
4751 | } |
4752 | break; |
4753 | default: |
4754 | break; |
4755 | } |
4756 | break; |
4757 | default: |
4758 | break; |
4759 | } |
4760 | break; |
4761 | default: |
4762 | break; |
4763 | } |
4764 | break; |
4765 | case Opcode::Swap32: |
4766 | switch (sizeof...(Arguments)) { |
4767 | case 2: |
4768 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4769 | case Arg::Tmp: |
4770 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4771 | case Arg::Tmp: |
4772 | #if CPU(X86) || CPU(X86_64) |
4773 | OPGEN_RETURN(true); |
4774 | #endif |
4775 | break; |
4776 | break; |
4777 | case Arg::Addr: |
4778 | case Arg::Stack: |
4779 | case Arg::CallArg: |
4780 | #if CPU(X86) || CPU(X86_64) |
4781 | OPGEN_RETURN(true); |
4782 | #endif |
4783 | break; |
4784 | break; |
4785 | default: |
4786 | break; |
4787 | } |
4788 | break; |
4789 | default: |
4790 | break; |
4791 | } |
4792 | break; |
4793 | default: |
4794 | break; |
4795 | } |
4796 | break; |
4797 | case Opcode::Swap64: |
4798 | switch (sizeof...(Arguments)) { |
4799 | case 2: |
4800 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4801 | case Arg::Tmp: |
4802 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4803 | case Arg::Tmp: |
4804 | #if CPU(X86_64) |
4805 | OPGEN_RETURN(true); |
4806 | #endif |
4807 | break; |
4808 | break; |
4809 | case Arg::Addr: |
4810 | case Arg::Stack: |
4811 | case Arg::CallArg: |
4812 | #if CPU(X86_64) |
4813 | OPGEN_RETURN(true); |
4814 | #endif |
4815 | break; |
4816 | break; |
4817 | default: |
4818 | break; |
4819 | } |
4820 | break; |
4821 | default: |
4822 | break; |
4823 | } |
4824 | break; |
4825 | default: |
4826 | break; |
4827 | } |
4828 | break; |
4829 | case Opcode::Move32: |
4830 | switch (sizeof...(Arguments)) { |
4831 | case 2: |
4832 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4833 | case Arg::Tmp: |
4834 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4835 | case Arg::Tmp: |
4836 | OPGEN_RETURN(true); |
4837 | break; |
4838 | break; |
4839 | case Arg::Addr: |
4840 | case Arg::Stack: |
4841 | case Arg::CallArg: |
4842 | OPGEN_RETURN(true); |
4843 | break; |
4844 | break; |
4845 | case Arg::Index: |
4846 | OPGEN_RETURN(true); |
4847 | break; |
4848 | break; |
4849 | default: |
4850 | break; |
4851 | } |
4852 | break; |
4853 | case Arg::Addr: |
4854 | case Arg::Stack: |
4855 | case Arg::CallArg: |
4856 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4857 | case Arg::Tmp: |
4858 | OPGEN_RETURN(true); |
4859 | break; |
4860 | break; |
4861 | default: |
4862 | break; |
4863 | } |
4864 | break; |
4865 | case Arg::Index: |
4866 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4867 | case Arg::Tmp: |
4868 | OPGEN_RETURN(true); |
4869 | break; |
4870 | break; |
4871 | default: |
4872 | break; |
4873 | } |
4874 | break; |
4875 | case Arg::Imm: |
4876 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4877 | case Arg::Tmp: |
4878 | #if CPU(X86) || CPU(X86_64) |
4879 | OPGEN_RETURN(true); |
4880 | #endif |
4881 | break; |
4882 | break; |
4883 | case Arg::Addr: |
4884 | case Arg::Stack: |
4885 | case Arg::CallArg: |
4886 | #if CPU(X86) || CPU(X86_64) |
4887 | OPGEN_RETURN(true); |
4888 | #endif |
4889 | break; |
4890 | break; |
4891 | case Arg::Index: |
4892 | #if CPU(X86) || CPU(X86_64) |
4893 | OPGEN_RETURN(true); |
4894 | #endif |
4895 | break; |
4896 | break; |
4897 | default: |
4898 | break; |
4899 | } |
4900 | break; |
4901 | default: |
4902 | break; |
4903 | } |
4904 | break; |
4905 | case 3: |
4906 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4907 | case Arg::Addr: |
4908 | case Arg::Stack: |
4909 | case Arg::CallArg: |
4910 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4911 | case Arg::Addr: |
4912 | case Arg::Stack: |
4913 | case Arg::CallArg: |
4914 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
4915 | case Arg::Tmp: |
4916 | OPGEN_RETURN(true); |
4917 | break; |
4918 | break; |
4919 | default: |
4920 | break; |
4921 | } |
4922 | break; |
4923 | default: |
4924 | break; |
4925 | } |
4926 | break; |
4927 | default: |
4928 | break; |
4929 | } |
4930 | break; |
4931 | default: |
4932 | break; |
4933 | } |
4934 | break; |
4935 | case Opcode::StoreZero32: |
4936 | switch (sizeof...(Arguments)) { |
4937 | case 1: |
4938 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4939 | case Arg::Addr: |
4940 | case Arg::Stack: |
4941 | case Arg::CallArg: |
4942 | OPGEN_RETURN(true); |
4943 | break; |
4944 | break; |
4945 | case Arg::Index: |
4946 | OPGEN_RETURN(true); |
4947 | break; |
4948 | break; |
4949 | default: |
4950 | break; |
4951 | } |
4952 | break; |
4953 | default: |
4954 | break; |
4955 | } |
4956 | break; |
4957 | case Opcode::StoreZero64: |
4958 | switch (sizeof...(Arguments)) { |
4959 | case 1: |
4960 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4961 | case Arg::Addr: |
4962 | case Arg::Stack: |
4963 | case Arg::CallArg: |
4964 | #if CPU(X86_64) || CPU(ARM64) |
4965 | OPGEN_RETURN(true); |
4966 | #endif |
4967 | break; |
4968 | break; |
4969 | case Arg::Index: |
4970 | #if CPU(X86_64) || CPU(ARM64) |
4971 | OPGEN_RETURN(true); |
4972 | #endif |
4973 | break; |
4974 | break; |
4975 | default: |
4976 | break; |
4977 | } |
4978 | break; |
4979 | default: |
4980 | break; |
4981 | } |
4982 | break; |
4983 | case Opcode::SignExtend32ToPtr: |
4984 | switch (sizeof...(Arguments)) { |
4985 | case 2: |
4986 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
4987 | case Arg::Tmp: |
4988 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
4989 | case Arg::Tmp: |
4990 | OPGEN_RETURN(true); |
4991 | break; |
4992 | break; |
4993 | default: |
4994 | break; |
4995 | } |
4996 | break; |
4997 | default: |
4998 | break; |
4999 | } |
5000 | break; |
5001 | default: |
5002 | break; |
5003 | } |
5004 | break; |
5005 | case Opcode::ZeroExtend8To32: |
5006 | switch (sizeof...(Arguments)) { |
5007 | case 2: |
5008 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5009 | case Arg::Tmp: |
5010 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5011 | case Arg::Tmp: |
5012 | OPGEN_RETURN(true); |
5013 | break; |
5014 | break; |
5015 | default: |
5016 | break; |
5017 | } |
5018 | break; |
5019 | case Arg::Addr: |
5020 | case Arg::Stack: |
5021 | case Arg::CallArg: |
5022 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5023 | case Arg::Tmp: |
5024 | #if CPU(X86) || CPU(X86_64) |
5025 | OPGEN_RETURN(true); |
5026 | #endif |
5027 | break; |
5028 | break; |
5029 | default: |
5030 | break; |
5031 | } |
5032 | break; |
5033 | case Arg::Index: |
5034 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5035 | case Arg::Tmp: |
5036 | #if CPU(X86) || CPU(X86_64) |
5037 | OPGEN_RETURN(true); |
5038 | #endif |
5039 | break; |
5040 | break; |
5041 | default: |
5042 | break; |
5043 | } |
5044 | break; |
5045 | default: |
5046 | break; |
5047 | } |
5048 | break; |
5049 | default: |
5050 | break; |
5051 | } |
5052 | break; |
5053 | case Opcode::SignExtend8To32: |
5054 | switch (sizeof...(Arguments)) { |
5055 | case 2: |
5056 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5057 | case Arg::Tmp: |
5058 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5059 | case Arg::Tmp: |
5060 | OPGEN_RETURN(true); |
5061 | break; |
5062 | break; |
5063 | default: |
5064 | break; |
5065 | } |
5066 | break; |
5067 | case Arg::Addr: |
5068 | case Arg::Stack: |
5069 | case Arg::CallArg: |
5070 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5071 | case Arg::Tmp: |
5072 | #if CPU(X86) || CPU(X86_64) |
5073 | OPGEN_RETURN(true); |
5074 | #endif |
5075 | break; |
5076 | break; |
5077 | default: |
5078 | break; |
5079 | } |
5080 | break; |
5081 | case Arg::Index: |
5082 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5083 | case Arg::Tmp: |
5084 | #if CPU(X86) || CPU(X86_64) |
5085 | OPGEN_RETURN(true); |
5086 | #endif |
5087 | break; |
5088 | break; |
5089 | default: |
5090 | break; |
5091 | } |
5092 | break; |
5093 | default: |
5094 | break; |
5095 | } |
5096 | break; |
5097 | default: |
5098 | break; |
5099 | } |
5100 | break; |
5101 | case Opcode::ZeroExtend16To32: |
5102 | switch (sizeof...(Arguments)) { |
5103 | case 2: |
5104 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5105 | case Arg::Tmp: |
5106 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5107 | case Arg::Tmp: |
5108 | OPGEN_RETURN(true); |
5109 | break; |
5110 | break; |
5111 | default: |
5112 | break; |
5113 | } |
5114 | break; |
5115 | case Arg::Addr: |
5116 | case Arg::Stack: |
5117 | case Arg::CallArg: |
5118 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5119 | case Arg::Tmp: |
5120 | #if CPU(X86) || CPU(X86_64) |
5121 | OPGEN_RETURN(true); |
5122 | #endif |
5123 | break; |
5124 | break; |
5125 | default: |
5126 | break; |
5127 | } |
5128 | break; |
5129 | case Arg::Index: |
5130 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5131 | case Arg::Tmp: |
5132 | #if CPU(X86) || CPU(X86_64) |
5133 | OPGEN_RETURN(true); |
5134 | #endif |
5135 | break; |
5136 | break; |
5137 | default: |
5138 | break; |
5139 | } |
5140 | break; |
5141 | default: |
5142 | break; |
5143 | } |
5144 | break; |
5145 | default: |
5146 | break; |
5147 | } |
5148 | break; |
5149 | case Opcode::SignExtend16To32: |
5150 | switch (sizeof...(Arguments)) { |
5151 | case 2: |
5152 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5153 | case Arg::Tmp: |
5154 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5155 | case Arg::Tmp: |
5156 | OPGEN_RETURN(true); |
5157 | break; |
5158 | break; |
5159 | default: |
5160 | break; |
5161 | } |
5162 | break; |
5163 | case Arg::Addr: |
5164 | case Arg::Stack: |
5165 | case Arg::CallArg: |
5166 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5167 | case Arg::Tmp: |
5168 | #if CPU(X86) || CPU(X86_64) |
5169 | OPGEN_RETURN(true); |
5170 | #endif |
5171 | break; |
5172 | break; |
5173 | default: |
5174 | break; |
5175 | } |
5176 | break; |
5177 | case Arg::Index: |
5178 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5179 | case Arg::Tmp: |
5180 | #if CPU(X86) || CPU(X86_64) |
5181 | OPGEN_RETURN(true); |
5182 | #endif |
5183 | break; |
5184 | break; |
5185 | default: |
5186 | break; |
5187 | } |
5188 | break; |
5189 | default: |
5190 | break; |
5191 | } |
5192 | break; |
5193 | default: |
5194 | break; |
5195 | } |
5196 | break; |
5197 | case Opcode::MoveFloat: |
5198 | switch (sizeof...(Arguments)) { |
5199 | case 2: |
5200 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5201 | case Arg::Tmp: |
5202 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5203 | case Arg::Tmp: |
5204 | OPGEN_RETURN(true); |
5205 | break; |
5206 | break; |
5207 | case Arg::Addr: |
5208 | case Arg::Stack: |
5209 | case Arg::CallArg: |
5210 | OPGEN_RETURN(true); |
5211 | break; |
5212 | break; |
5213 | case Arg::Index: |
5214 | OPGEN_RETURN(true); |
5215 | break; |
5216 | break; |
5217 | default: |
5218 | break; |
5219 | } |
5220 | break; |
5221 | case Arg::Addr: |
5222 | case Arg::Stack: |
5223 | case Arg::CallArg: |
5224 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5225 | case Arg::Tmp: |
5226 | OPGEN_RETURN(true); |
5227 | break; |
5228 | break; |
5229 | default: |
5230 | break; |
5231 | } |
5232 | break; |
5233 | case Arg::Index: |
5234 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5235 | case Arg::Tmp: |
5236 | OPGEN_RETURN(true); |
5237 | break; |
5238 | break; |
5239 | default: |
5240 | break; |
5241 | } |
5242 | break; |
5243 | default: |
5244 | break; |
5245 | } |
5246 | break; |
5247 | case 3: |
5248 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5249 | case Arg::Addr: |
5250 | case Arg::Stack: |
5251 | case Arg::CallArg: |
5252 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5253 | case Arg::Addr: |
5254 | case Arg::Stack: |
5255 | case Arg::CallArg: |
5256 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
5257 | case Arg::Tmp: |
5258 | OPGEN_RETURN(true); |
5259 | break; |
5260 | break; |
5261 | default: |
5262 | break; |
5263 | } |
5264 | break; |
5265 | default: |
5266 | break; |
5267 | } |
5268 | break; |
5269 | default: |
5270 | break; |
5271 | } |
5272 | break; |
5273 | default: |
5274 | break; |
5275 | } |
5276 | break; |
5277 | case Opcode::MoveDouble: |
5278 | switch (sizeof...(Arguments)) { |
5279 | case 2: |
5280 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5281 | case Arg::Tmp: |
5282 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5283 | case Arg::Tmp: |
5284 | OPGEN_RETURN(true); |
5285 | break; |
5286 | break; |
5287 | case Arg::Addr: |
5288 | case Arg::Stack: |
5289 | case Arg::CallArg: |
5290 | OPGEN_RETURN(true); |
5291 | break; |
5292 | break; |
5293 | case Arg::Index: |
5294 | OPGEN_RETURN(true); |
5295 | break; |
5296 | break; |
5297 | default: |
5298 | break; |
5299 | } |
5300 | break; |
5301 | case Arg::Addr: |
5302 | case Arg::Stack: |
5303 | case Arg::CallArg: |
5304 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5305 | case Arg::Tmp: |
5306 | OPGEN_RETURN(true); |
5307 | break; |
5308 | break; |
5309 | default: |
5310 | break; |
5311 | } |
5312 | break; |
5313 | case Arg::Index: |
5314 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5315 | case Arg::Tmp: |
5316 | OPGEN_RETURN(true); |
5317 | break; |
5318 | break; |
5319 | default: |
5320 | break; |
5321 | } |
5322 | break; |
5323 | default: |
5324 | break; |
5325 | } |
5326 | break; |
5327 | case 3: |
5328 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5329 | case Arg::Addr: |
5330 | case Arg::Stack: |
5331 | case Arg::CallArg: |
5332 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5333 | case Arg::Addr: |
5334 | case Arg::Stack: |
5335 | case Arg::CallArg: |
5336 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
5337 | case Arg::Tmp: |
5338 | OPGEN_RETURN(true); |
5339 | break; |
5340 | break; |
5341 | default: |
5342 | break; |
5343 | } |
5344 | break; |
5345 | default: |
5346 | break; |
5347 | } |
5348 | break; |
5349 | default: |
5350 | break; |
5351 | } |
5352 | break; |
5353 | default: |
5354 | break; |
5355 | } |
5356 | break; |
5357 | case Opcode::MoveZeroToDouble: |
5358 | switch (sizeof...(Arguments)) { |
5359 | case 1: |
5360 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5361 | case Arg::Tmp: |
5362 | OPGEN_RETURN(true); |
5363 | break; |
5364 | break; |
5365 | default: |
5366 | break; |
5367 | } |
5368 | break; |
5369 | default: |
5370 | break; |
5371 | } |
5372 | break; |
5373 | case Opcode::Move64ToDouble: |
5374 | switch (sizeof...(Arguments)) { |
5375 | case 2: |
5376 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5377 | case Arg::Tmp: |
5378 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5379 | case Arg::Tmp: |
5380 | #if CPU(X86_64) || CPU(ARM64) |
5381 | OPGEN_RETURN(true); |
5382 | #endif |
5383 | break; |
5384 | break; |
5385 | default: |
5386 | break; |
5387 | } |
5388 | break; |
5389 | case Arg::Addr: |
5390 | case Arg::Stack: |
5391 | case Arg::CallArg: |
5392 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5393 | case Arg::Tmp: |
5394 | #if CPU(X86_64) |
5395 | OPGEN_RETURN(true); |
5396 | #endif |
5397 | break; |
5398 | break; |
5399 | default: |
5400 | break; |
5401 | } |
5402 | break; |
5403 | case Arg::Index: |
5404 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5405 | case Arg::Tmp: |
5406 | #if CPU(X86_64) || CPU(ARM64) |
5407 | OPGEN_RETURN(true); |
5408 | #endif |
5409 | break; |
5410 | break; |
5411 | default: |
5412 | break; |
5413 | } |
5414 | break; |
5415 | default: |
5416 | break; |
5417 | } |
5418 | break; |
5419 | default: |
5420 | break; |
5421 | } |
5422 | break; |
5423 | case Opcode::Move32ToFloat: |
5424 | switch (sizeof...(Arguments)) { |
5425 | case 2: |
5426 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5427 | case Arg::Tmp: |
5428 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5429 | case Arg::Tmp: |
5430 | OPGEN_RETURN(true); |
5431 | break; |
5432 | break; |
5433 | default: |
5434 | break; |
5435 | } |
5436 | break; |
5437 | case Arg::Addr: |
5438 | case Arg::Stack: |
5439 | case Arg::CallArg: |
5440 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5441 | case Arg::Tmp: |
5442 | #if CPU(X86) || CPU(X86_64) |
5443 | OPGEN_RETURN(true); |
5444 | #endif |
5445 | break; |
5446 | break; |
5447 | default: |
5448 | break; |
5449 | } |
5450 | break; |
5451 | case Arg::Index: |
5452 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5453 | case Arg::Tmp: |
5454 | OPGEN_RETURN(true); |
5455 | break; |
5456 | break; |
5457 | default: |
5458 | break; |
5459 | } |
5460 | break; |
5461 | default: |
5462 | break; |
5463 | } |
5464 | break; |
5465 | default: |
5466 | break; |
5467 | } |
5468 | break; |
5469 | case Opcode::MoveDoubleTo64: |
5470 | switch (sizeof...(Arguments)) { |
5471 | case 2: |
5472 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5473 | case Arg::Tmp: |
5474 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5475 | case Arg::Tmp: |
5476 | #if CPU(X86_64) || CPU(ARM64) |
5477 | OPGEN_RETURN(true); |
5478 | #endif |
5479 | break; |
5480 | break; |
5481 | default: |
5482 | break; |
5483 | } |
5484 | break; |
5485 | case Arg::Addr: |
5486 | case Arg::Stack: |
5487 | case Arg::CallArg: |
5488 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5489 | case Arg::Tmp: |
5490 | #if CPU(X86_64) || CPU(ARM64) |
5491 | OPGEN_RETURN(true); |
5492 | #endif |
5493 | break; |
5494 | break; |
5495 | default: |
5496 | break; |
5497 | } |
5498 | break; |
5499 | case Arg::Index: |
5500 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5501 | case Arg::Tmp: |
5502 | #if CPU(X86_64) || CPU(ARM64) |
5503 | OPGEN_RETURN(true); |
5504 | #endif |
5505 | break; |
5506 | break; |
5507 | default: |
5508 | break; |
5509 | } |
5510 | break; |
5511 | default: |
5512 | break; |
5513 | } |
5514 | break; |
5515 | default: |
5516 | break; |
5517 | } |
5518 | break; |
5519 | case Opcode::MoveFloatTo32: |
5520 | switch (sizeof...(Arguments)) { |
5521 | case 2: |
5522 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5523 | case Arg::Tmp: |
5524 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5525 | case Arg::Tmp: |
5526 | OPGEN_RETURN(true); |
5527 | break; |
5528 | break; |
5529 | default: |
5530 | break; |
5531 | } |
5532 | break; |
5533 | case Arg::Addr: |
5534 | case Arg::Stack: |
5535 | case Arg::CallArg: |
5536 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5537 | case Arg::Tmp: |
5538 | OPGEN_RETURN(true); |
5539 | break; |
5540 | break; |
5541 | default: |
5542 | break; |
5543 | } |
5544 | break; |
5545 | case Arg::Index: |
5546 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5547 | case Arg::Tmp: |
5548 | OPGEN_RETURN(true); |
5549 | break; |
5550 | break; |
5551 | default: |
5552 | break; |
5553 | } |
5554 | break; |
5555 | default: |
5556 | break; |
5557 | } |
5558 | break; |
5559 | default: |
5560 | break; |
5561 | } |
5562 | break; |
5563 | case Opcode::Load8: |
5564 | switch (sizeof...(Arguments)) { |
5565 | case 2: |
5566 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5567 | case Arg::Addr: |
5568 | case Arg::Stack: |
5569 | case Arg::CallArg: |
5570 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5571 | case Arg::Tmp: |
5572 | OPGEN_RETURN(true); |
5573 | break; |
5574 | break; |
5575 | default: |
5576 | break; |
5577 | } |
5578 | break; |
5579 | case Arg::Index: |
5580 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5581 | case Arg::Tmp: |
5582 | OPGEN_RETURN(true); |
5583 | break; |
5584 | break; |
5585 | default: |
5586 | break; |
5587 | } |
5588 | break; |
5589 | default: |
5590 | break; |
5591 | } |
5592 | break; |
5593 | default: |
5594 | break; |
5595 | } |
5596 | break; |
5597 | case Opcode::LoadAcq8: |
5598 | switch (sizeof...(Arguments)) { |
5599 | case 2: |
5600 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5601 | case Arg::SimpleAddr: |
5602 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5603 | case Arg::Tmp: |
5604 | #if CPU(ARMv7) || CPU(ARM64) |
5605 | OPGEN_RETURN(true); |
5606 | #endif |
5607 | break; |
5608 | break; |
5609 | default: |
5610 | break; |
5611 | } |
5612 | break; |
5613 | default: |
5614 | break; |
5615 | } |
5616 | break; |
5617 | default: |
5618 | break; |
5619 | } |
5620 | break; |
5621 | case Opcode::Store8: |
5622 | switch (sizeof...(Arguments)) { |
5623 | case 2: |
5624 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5625 | case Arg::Tmp: |
5626 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5627 | case Arg::Index: |
5628 | OPGEN_RETURN(true); |
5629 | break; |
5630 | break; |
5631 | case Arg::Addr: |
5632 | case Arg::Stack: |
5633 | case Arg::CallArg: |
5634 | OPGEN_RETURN(true); |
5635 | break; |
5636 | break; |
5637 | default: |
5638 | break; |
5639 | } |
5640 | break; |
5641 | case Arg::Imm: |
5642 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5643 | case Arg::Index: |
5644 | #if CPU(X86) || CPU(X86_64) |
5645 | OPGEN_RETURN(true); |
5646 | #endif |
5647 | break; |
5648 | break; |
5649 | case Arg::Addr: |
5650 | case Arg::Stack: |
5651 | case Arg::CallArg: |
5652 | #if CPU(X86) || CPU(X86_64) |
5653 | OPGEN_RETURN(true); |
5654 | #endif |
5655 | break; |
5656 | break; |
5657 | default: |
5658 | break; |
5659 | } |
5660 | break; |
5661 | default: |
5662 | break; |
5663 | } |
5664 | break; |
5665 | default: |
5666 | break; |
5667 | } |
5668 | break; |
5669 | case Opcode::StoreRel8: |
5670 | switch (sizeof...(Arguments)) { |
5671 | case 2: |
5672 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5673 | case Arg::Tmp: |
5674 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5675 | case Arg::SimpleAddr: |
5676 | #if CPU(ARMv7) || CPU(ARM64) |
5677 | OPGEN_RETURN(true); |
5678 | #endif |
5679 | break; |
5680 | break; |
5681 | default: |
5682 | break; |
5683 | } |
5684 | break; |
5685 | default: |
5686 | break; |
5687 | } |
5688 | break; |
5689 | default: |
5690 | break; |
5691 | } |
5692 | break; |
5693 | case Opcode::Load8SignedExtendTo32: |
5694 | switch (sizeof...(Arguments)) { |
5695 | case 2: |
5696 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5697 | case Arg::Addr: |
5698 | case Arg::Stack: |
5699 | case Arg::CallArg: |
5700 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5701 | case Arg::Tmp: |
5702 | OPGEN_RETURN(true); |
5703 | break; |
5704 | break; |
5705 | default: |
5706 | break; |
5707 | } |
5708 | break; |
5709 | case Arg::Index: |
5710 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5711 | case Arg::Tmp: |
5712 | OPGEN_RETURN(true); |
5713 | break; |
5714 | break; |
5715 | default: |
5716 | break; |
5717 | } |
5718 | break; |
5719 | default: |
5720 | break; |
5721 | } |
5722 | break; |
5723 | default: |
5724 | break; |
5725 | } |
5726 | break; |
5727 | case Opcode::LoadAcq8SignedExtendTo32: |
5728 | switch (sizeof...(Arguments)) { |
5729 | case 2: |
5730 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5731 | case Arg::SimpleAddr: |
5732 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5733 | case Arg::Tmp: |
5734 | #if CPU(ARMv7) || CPU(ARM64) |
5735 | OPGEN_RETURN(true); |
5736 | #endif |
5737 | break; |
5738 | break; |
5739 | default: |
5740 | break; |
5741 | } |
5742 | break; |
5743 | default: |
5744 | break; |
5745 | } |
5746 | break; |
5747 | default: |
5748 | break; |
5749 | } |
5750 | break; |
5751 | case Opcode::Load16: |
5752 | switch (sizeof...(Arguments)) { |
5753 | case 2: |
5754 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5755 | case Arg::Addr: |
5756 | case Arg::Stack: |
5757 | case Arg::CallArg: |
5758 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5759 | case Arg::Tmp: |
5760 | OPGEN_RETURN(true); |
5761 | break; |
5762 | break; |
5763 | default: |
5764 | break; |
5765 | } |
5766 | break; |
5767 | case Arg::Index: |
5768 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5769 | case Arg::Tmp: |
5770 | OPGEN_RETURN(true); |
5771 | break; |
5772 | break; |
5773 | default: |
5774 | break; |
5775 | } |
5776 | break; |
5777 | default: |
5778 | break; |
5779 | } |
5780 | break; |
5781 | default: |
5782 | break; |
5783 | } |
5784 | break; |
5785 | case Opcode::LoadAcq16: |
5786 | switch (sizeof...(Arguments)) { |
5787 | case 2: |
5788 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5789 | case Arg::SimpleAddr: |
5790 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5791 | case Arg::Tmp: |
5792 | #if CPU(ARMv7) || CPU(ARM64) |
5793 | OPGEN_RETURN(true); |
5794 | #endif |
5795 | break; |
5796 | break; |
5797 | default: |
5798 | break; |
5799 | } |
5800 | break; |
5801 | default: |
5802 | break; |
5803 | } |
5804 | break; |
5805 | default: |
5806 | break; |
5807 | } |
5808 | break; |
5809 | case Opcode::Load16SignedExtendTo32: |
5810 | switch (sizeof...(Arguments)) { |
5811 | case 2: |
5812 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5813 | case Arg::Addr: |
5814 | case Arg::Stack: |
5815 | case Arg::CallArg: |
5816 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5817 | case Arg::Tmp: |
5818 | OPGEN_RETURN(true); |
5819 | break; |
5820 | break; |
5821 | default: |
5822 | break; |
5823 | } |
5824 | break; |
5825 | case Arg::Index: |
5826 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5827 | case Arg::Tmp: |
5828 | OPGEN_RETURN(true); |
5829 | break; |
5830 | break; |
5831 | default: |
5832 | break; |
5833 | } |
5834 | break; |
5835 | default: |
5836 | break; |
5837 | } |
5838 | break; |
5839 | default: |
5840 | break; |
5841 | } |
5842 | break; |
5843 | case Opcode::LoadAcq16SignedExtendTo32: |
5844 | switch (sizeof...(Arguments)) { |
5845 | case 2: |
5846 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5847 | case Arg::SimpleAddr: |
5848 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5849 | case Arg::Tmp: |
5850 | #if CPU(ARMv7) || CPU(ARM64) |
5851 | OPGEN_RETURN(true); |
5852 | #endif |
5853 | break; |
5854 | break; |
5855 | default: |
5856 | break; |
5857 | } |
5858 | break; |
5859 | default: |
5860 | break; |
5861 | } |
5862 | break; |
5863 | default: |
5864 | break; |
5865 | } |
5866 | break; |
5867 | case Opcode::Store16: |
5868 | switch (sizeof...(Arguments)) { |
5869 | case 2: |
5870 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5871 | case Arg::Tmp: |
5872 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5873 | case Arg::Index: |
5874 | OPGEN_RETURN(true); |
5875 | break; |
5876 | break; |
5877 | case Arg::Addr: |
5878 | case Arg::Stack: |
5879 | case Arg::CallArg: |
5880 | OPGEN_RETURN(true); |
5881 | break; |
5882 | break; |
5883 | default: |
5884 | break; |
5885 | } |
5886 | break; |
5887 | case Arg::Imm: |
5888 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5889 | case Arg::Index: |
5890 | #if CPU(X86) || CPU(X86_64) |
5891 | OPGEN_RETURN(true); |
5892 | #endif |
5893 | break; |
5894 | break; |
5895 | case Arg::Addr: |
5896 | case Arg::Stack: |
5897 | case Arg::CallArg: |
5898 | #if CPU(X86) || CPU(X86_64) |
5899 | OPGEN_RETURN(true); |
5900 | #endif |
5901 | break; |
5902 | break; |
5903 | default: |
5904 | break; |
5905 | } |
5906 | break; |
5907 | default: |
5908 | break; |
5909 | } |
5910 | break; |
5911 | default: |
5912 | break; |
5913 | } |
5914 | break; |
5915 | case Opcode::StoreRel16: |
5916 | switch (sizeof...(Arguments)) { |
5917 | case 2: |
5918 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5919 | case Arg::Tmp: |
5920 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5921 | case Arg::SimpleAddr: |
5922 | #if CPU(ARMv7) || CPU(ARM64) |
5923 | OPGEN_RETURN(true); |
5924 | #endif |
5925 | break; |
5926 | break; |
5927 | default: |
5928 | break; |
5929 | } |
5930 | break; |
5931 | default: |
5932 | break; |
5933 | } |
5934 | break; |
5935 | default: |
5936 | break; |
5937 | } |
5938 | break; |
5939 | case Opcode::LoadAcq32: |
5940 | switch (sizeof...(Arguments)) { |
5941 | case 2: |
5942 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5943 | case Arg::SimpleAddr: |
5944 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5945 | case Arg::Tmp: |
5946 | #if CPU(ARMv7) || CPU(ARM64) |
5947 | OPGEN_RETURN(true); |
5948 | #endif |
5949 | break; |
5950 | break; |
5951 | default: |
5952 | break; |
5953 | } |
5954 | break; |
5955 | default: |
5956 | break; |
5957 | } |
5958 | break; |
5959 | default: |
5960 | break; |
5961 | } |
5962 | break; |
5963 | case Opcode::StoreRel32: |
5964 | switch (sizeof...(Arguments)) { |
5965 | case 2: |
5966 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5967 | case Arg::Tmp: |
5968 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5969 | case Arg::SimpleAddr: |
5970 | #if CPU(ARMv7) || CPU(ARM64) |
5971 | OPGEN_RETURN(true); |
5972 | #endif |
5973 | break; |
5974 | break; |
5975 | default: |
5976 | break; |
5977 | } |
5978 | break; |
5979 | default: |
5980 | break; |
5981 | } |
5982 | break; |
5983 | default: |
5984 | break; |
5985 | } |
5986 | break; |
5987 | case Opcode::LoadAcq64: |
5988 | switch (sizeof...(Arguments)) { |
5989 | case 2: |
5990 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
5991 | case Arg::SimpleAddr: |
5992 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
5993 | case Arg::Tmp: |
5994 | #if CPU(ARM64) |
5995 | OPGEN_RETURN(true); |
5996 | #endif |
5997 | break; |
5998 | break; |
5999 | default: |
6000 | break; |
6001 | } |
6002 | break; |
6003 | default: |
6004 | break; |
6005 | } |
6006 | break; |
6007 | default: |
6008 | break; |
6009 | } |
6010 | break; |
6011 | case Opcode::StoreRel64: |
6012 | switch (sizeof...(Arguments)) { |
6013 | case 2: |
6014 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6015 | case Arg::Tmp: |
6016 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6017 | case Arg::SimpleAddr: |
6018 | #if CPU(ARM64) |
6019 | OPGEN_RETURN(true); |
6020 | #endif |
6021 | break; |
6022 | break; |
6023 | default: |
6024 | break; |
6025 | } |
6026 | break; |
6027 | default: |
6028 | break; |
6029 | } |
6030 | break; |
6031 | default: |
6032 | break; |
6033 | } |
6034 | break; |
6035 | case Opcode::Xchg8: |
6036 | switch (sizeof...(Arguments)) { |
6037 | case 2: |
6038 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6039 | case Arg::Tmp: |
6040 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6041 | case Arg::Addr: |
6042 | case Arg::Stack: |
6043 | case Arg::CallArg: |
6044 | #if CPU(X86) || CPU(X86_64) |
6045 | OPGEN_RETURN(true); |
6046 | #endif |
6047 | break; |
6048 | break; |
6049 | case Arg::Index: |
6050 | #if CPU(X86) || CPU(X86_64) |
6051 | OPGEN_RETURN(true); |
6052 | #endif |
6053 | break; |
6054 | break; |
6055 | default: |
6056 | break; |
6057 | } |
6058 | break; |
6059 | default: |
6060 | break; |
6061 | } |
6062 | break; |
6063 | default: |
6064 | break; |
6065 | } |
6066 | break; |
6067 | case Opcode::Xchg16: |
6068 | switch (sizeof...(Arguments)) { |
6069 | case 2: |
6070 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6071 | case Arg::Tmp: |
6072 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6073 | case Arg::Addr: |
6074 | case Arg::Stack: |
6075 | case Arg::CallArg: |
6076 | #if CPU(X86) || CPU(X86_64) |
6077 | OPGEN_RETURN(true); |
6078 | #endif |
6079 | break; |
6080 | break; |
6081 | case Arg::Index: |
6082 | #if CPU(X86) || CPU(X86_64) |
6083 | OPGEN_RETURN(true); |
6084 | #endif |
6085 | break; |
6086 | break; |
6087 | default: |
6088 | break; |
6089 | } |
6090 | break; |
6091 | default: |
6092 | break; |
6093 | } |
6094 | break; |
6095 | default: |
6096 | break; |
6097 | } |
6098 | break; |
6099 | case Opcode::Xchg32: |
6100 | switch (sizeof...(Arguments)) { |
6101 | case 2: |
6102 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6103 | case Arg::Tmp: |
6104 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6105 | case Arg::Addr: |
6106 | case Arg::Stack: |
6107 | case Arg::CallArg: |
6108 | #if CPU(X86) || CPU(X86_64) |
6109 | OPGEN_RETURN(true); |
6110 | #endif |
6111 | break; |
6112 | break; |
6113 | case Arg::Index: |
6114 | #if CPU(X86) || CPU(X86_64) |
6115 | OPGEN_RETURN(true); |
6116 | #endif |
6117 | break; |
6118 | break; |
6119 | default: |
6120 | break; |
6121 | } |
6122 | break; |
6123 | default: |
6124 | break; |
6125 | } |
6126 | break; |
6127 | default: |
6128 | break; |
6129 | } |
6130 | break; |
6131 | case Opcode::Xchg64: |
6132 | switch (sizeof...(Arguments)) { |
6133 | case 2: |
6134 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6135 | case Arg::Tmp: |
6136 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6137 | case Arg::Addr: |
6138 | case Arg::Stack: |
6139 | case Arg::CallArg: |
6140 | #if CPU(X86_64) |
6141 | OPGEN_RETURN(true); |
6142 | #endif |
6143 | break; |
6144 | break; |
6145 | case Arg::Index: |
6146 | #if CPU(X86_64) |
6147 | OPGEN_RETURN(true); |
6148 | #endif |
6149 | break; |
6150 | break; |
6151 | default: |
6152 | break; |
6153 | } |
6154 | break; |
6155 | default: |
6156 | break; |
6157 | } |
6158 | break; |
6159 | default: |
6160 | break; |
6161 | } |
6162 | break; |
6163 | case Opcode::AtomicStrongCAS8: |
6164 | switch (sizeof...(Arguments)) { |
6165 | case 5: |
6166 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6167 | case Arg::StatusCond: |
6168 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6169 | case Arg::Tmp: |
6170 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6171 | case Arg::Tmp: |
6172 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6173 | case Arg::Addr: |
6174 | case Arg::Stack: |
6175 | case Arg::CallArg: |
6176 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6177 | case Arg::Tmp: |
6178 | break; |
6179 | break; |
6180 | default: |
6181 | break; |
6182 | } |
6183 | break; |
6184 | case Arg::Index: |
6185 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6186 | case Arg::Tmp: |
6187 | break; |
6188 | break; |
6189 | default: |
6190 | break; |
6191 | } |
6192 | break; |
6193 | default: |
6194 | break; |
6195 | } |
6196 | break; |
6197 | default: |
6198 | break; |
6199 | } |
6200 | break; |
6201 | default: |
6202 | break; |
6203 | } |
6204 | break; |
6205 | default: |
6206 | break; |
6207 | } |
6208 | break; |
6209 | case 3: |
6210 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6211 | case Arg::Tmp: |
6212 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6213 | case Arg::Tmp: |
6214 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6215 | case Arg::Addr: |
6216 | case Arg::Stack: |
6217 | case Arg::CallArg: |
6218 | break; |
6219 | break; |
6220 | case Arg::Index: |
6221 | break; |
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 Opcode::AtomicStrongCAS16: |
6240 | switch (sizeof...(Arguments)) { |
6241 | case 5: |
6242 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6243 | case Arg::StatusCond: |
6244 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6245 | case Arg::Tmp: |
6246 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6247 | case Arg::Tmp: |
6248 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6249 | case Arg::Addr: |
6250 | case Arg::Stack: |
6251 | case Arg::CallArg: |
6252 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6253 | case Arg::Tmp: |
6254 | break; |
6255 | break; |
6256 | default: |
6257 | break; |
6258 | } |
6259 | break; |
6260 | case Arg::Index: |
6261 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6262 | case Arg::Tmp: |
6263 | break; |
6264 | break; |
6265 | default: |
6266 | break; |
6267 | } |
6268 | break; |
6269 | default: |
6270 | break; |
6271 | } |
6272 | break; |
6273 | default: |
6274 | break; |
6275 | } |
6276 | break; |
6277 | default: |
6278 | break; |
6279 | } |
6280 | break; |
6281 | default: |
6282 | break; |
6283 | } |
6284 | break; |
6285 | case 3: |
6286 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6287 | case Arg::Tmp: |
6288 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6289 | case Arg::Tmp: |
6290 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6291 | case Arg::Addr: |
6292 | case Arg::Stack: |
6293 | case Arg::CallArg: |
6294 | break; |
6295 | break; |
6296 | case Arg::Index: |
6297 | break; |
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 Opcode::AtomicStrongCAS32: |
6316 | switch (sizeof...(Arguments)) { |
6317 | case 5: |
6318 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6319 | case Arg::StatusCond: |
6320 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6321 | case Arg::Tmp: |
6322 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6323 | case Arg::Tmp: |
6324 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6325 | case Arg::Addr: |
6326 | case Arg::Stack: |
6327 | case Arg::CallArg: |
6328 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6329 | case Arg::Tmp: |
6330 | break; |
6331 | break; |
6332 | default: |
6333 | break; |
6334 | } |
6335 | break; |
6336 | case Arg::Index: |
6337 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6338 | case Arg::Tmp: |
6339 | break; |
6340 | break; |
6341 | default: |
6342 | break; |
6343 | } |
6344 | break; |
6345 | default: |
6346 | break; |
6347 | } |
6348 | break; |
6349 | default: |
6350 | break; |
6351 | } |
6352 | break; |
6353 | default: |
6354 | break; |
6355 | } |
6356 | break; |
6357 | default: |
6358 | break; |
6359 | } |
6360 | break; |
6361 | case 3: |
6362 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6363 | case Arg::Tmp: |
6364 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6365 | case Arg::Tmp: |
6366 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6367 | case Arg::Addr: |
6368 | case Arg::Stack: |
6369 | case Arg::CallArg: |
6370 | break; |
6371 | break; |
6372 | case Arg::Index: |
6373 | break; |
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 Opcode::AtomicStrongCAS64: |
6392 | switch (sizeof...(Arguments)) { |
6393 | case 5: |
6394 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6395 | case Arg::StatusCond: |
6396 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6397 | case Arg::Tmp: |
6398 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6399 | case Arg::Tmp: |
6400 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6401 | case Arg::Addr: |
6402 | case Arg::Stack: |
6403 | case Arg::CallArg: |
6404 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6405 | case Arg::Tmp: |
6406 | break; |
6407 | break; |
6408 | default: |
6409 | break; |
6410 | } |
6411 | break; |
6412 | case Arg::Index: |
6413 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
6414 | case Arg::Tmp: |
6415 | break; |
6416 | break; |
6417 | default: |
6418 | break; |
6419 | } |
6420 | break; |
6421 | default: |
6422 | break; |
6423 | } |
6424 | break; |
6425 | default: |
6426 | break; |
6427 | } |
6428 | break; |
6429 | default: |
6430 | break; |
6431 | } |
6432 | break; |
6433 | default: |
6434 | break; |
6435 | } |
6436 | break; |
6437 | case 3: |
6438 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6439 | case Arg::Tmp: |
6440 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6441 | case Arg::Tmp: |
6442 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6443 | case Arg::Addr: |
6444 | case Arg::Stack: |
6445 | case Arg::CallArg: |
6446 | break; |
6447 | break; |
6448 | case Arg::Index: |
6449 | break; |
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 Opcode::BranchAtomicStrongCAS8: |
6468 | switch (sizeof...(Arguments)) { |
6469 | case 4: |
6470 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6471 | case Arg::StatusCond: |
6472 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6473 | case Arg::Tmp: |
6474 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6475 | case Arg::Tmp: |
6476 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6477 | case Arg::Addr: |
6478 | case Arg::Stack: |
6479 | case Arg::CallArg: |
6480 | break; |
6481 | break; |
6482 | case Arg::Index: |
6483 | break; |
6484 | break; |
6485 | default: |
6486 | break; |
6487 | } |
6488 | break; |
6489 | default: |
6490 | break; |
6491 | } |
6492 | break; |
6493 | default: |
6494 | break; |
6495 | } |
6496 | break; |
6497 | default: |
6498 | break; |
6499 | } |
6500 | break; |
6501 | default: |
6502 | break; |
6503 | } |
6504 | break; |
6505 | case Opcode::BranchAtomicStrongCAS16: |
6506 | switch (sizeof...(Arguments)) { |
6507 | case 4: |
6508 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6509 | case Arg::StatusCond: |
6510 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6511 | case Arg::Tmp: |
6512 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6513 | case Arg::Tmp: |
6514 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6515 | case Arg::Addr: |
6516 | case Arg::Stack: |
6517 | case Arg::CallArg: |
6518 | break; |
6519 | break; |
6520 | case Arg::Index: |
6521 | break; |
6522 | break; |
6523 | default: |
6524 | break; |
6525 | } |
6526 | break; |
6527 | default: |
6528 | break; |
6529 | } |
6530 | break; |
6531 | default: |
6532 | break; |
6533 | } |
6534 | break; |
6535 | default: |
6536 | break; |
6537 | } |
6538 | break; |
6539 | default: |
6540 | break; |
6541 | } |
6542 | break; |
6543 | case Opcode::BranchAtomicStrongCAS32: |
6544 | switch (sizeof...(Arguments)) { |
6545 | case 4: |
6546 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6547 | case Arg::StatusCond: |
6548 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6549 | case Arg::Tmp: |
6550 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6551 | case Arg::Tmp: |
6552 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6553 | case Arg::Addr: |
6554 | case Arg::Stack: |
6555 | case Arg::CallArg: |
6556 | break; |
6557 | break; |
6558 | case Arg::Index: |
6559 | break; |
6560 | break; |
6561 | default: |
6562 | break; |
6563 | } |
6564 | break; |
6565 | default: |
6566 | break; |
6567 | } |
6568 | break; |
6569 | default: |
6570 | break; |
6571 | } |
6572 | break; |
6573 | default: |
6574 | break; |
6575 | } |
6576 | break; |
6577 | default: |
6578 | break; |
6579 | } |
6580 | break; |
6581 | case Opcode::BranchAtomicStrongCAS64: |
6582 | switch (sizeof...(Arguments)) { |
6583 | case 4: |
6584 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6585 | case Arg::StatusCond: |
6586 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6587 | case Arg::Tmp: |
6588 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
6589 | case Arg::Tmp: |
6590 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
6591 | case Arg::Addr: |
6592 | case Arg::Stack: |
6593 | case Arg::CallArg: |
6594 | break; |
6595 | break; |
6596 | case Arg::Index: |
6597 | break; |
6598 | break; |
6599 | default: |
6600 | break; |
6601 | } |
6602 | break; |
6603 | default: |
6604 | break; |
6605 | } |
6606 | break; |
6607 | default: |
6608 | break; |
6609 | } |
6610 | break; |
6611 | default: |
6612 | break; |
6613 | } |
6614 | break; |
6615 | default: |
6616 | break; |
6617 | } |
6618 | break; |
6619 | case Opcode::AtomicAdd8: |
6620 | switch (sizeof...(Arguments)) { |
6621 | case 2: |
6622 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6623 | case Arg::Imm: |
6624 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6625 | case Arg::Addr: |
6626 | case Arg::Stack: |
6627 | case Arg::CallArg: |
6628 | #if CPU(X86) || CPU(X86_64) |
6629 | OPGEN_RETURN(true); |
6630 | #endif |
6631 | break; |
6632 | break; |
6633 | case Arg::Index: |
6634 | #if CPU(X86) || CPU(X86_64) |
6635 | OPGEN_RETURN(true); |
6636 | #endif |
6637 | break; |
6638 | break; |
6639 | default: |
6640 | break; |
6641 | } |
6642 | break; |
6643 | case Arg::Tmp: |
6644 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6645 | case Arg::Addr: |
6646 | case Arg::Stack: |
6647 | case Arg::CallArg: |
6648 | #if CPU(X86) || CPU(X86_64) |
6649 | OPGEN_RETURN(true); |
6650 | #endif |
6651 | break; |
6652 | break; |
6653 | case Arg::Index: |
6654 | #if CPU(X86) || CPU(X86_64) |
6655 | OPGEN_RETURN(true); |
6656 | #endif |
6657 | break; |
6658 | break; |
6659 | default: |
6660 | break; |
6661 | } |
6662 | break; |
6663 | default: |
6664 | break; |
6665 | } |
6666 | break; |
6667 | default: |
6668 | break; |
6669 | } |
6670 | break; |
6671 | case Opcode::AtomicAdd16: |
6672 | switch (sizeof...(Arguments)) { |
6673 | case 2: |
6674 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6675 | case Arg::Imm: |
6676 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6677 | case Arg::Addr: |
6678 | case Arg::Stack: |
6679 | case Arg::CallArg: |
6680 | #if CPU(X86) || CPU(X86_64) |
6681 | OPGEN_RETURN(true); |
6682 | #endif |
6683 | break; |
6684 | break; |
6685 | case Arg::Index: |
6686 | #if CPU(X86) || CPU(X86_64) |
6687 | OPGEN_RETURN(true); |
6688 | #endif |
6689 | break; |
6690 | break; |
6691 | default: |
6692 | break; |
6693 | } |
6694 | break; |
6695 | case Arg::Tmp: |
6696 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6697 | case Arg::Addr: |
6698 | case Arg::Stack: |
6699 | case Arg::CallArg: |
6700 | #if CPU(X86) || CPU(X86_64) |
6701 | OPGEN_RETURN(true); |
6702 | #endif |
6703 | break; |
6704 | break; |
6705 | case Arg::Index: |
6706 | #if CPU(X86) || CPU(X86_64) |
6707 | OPGEN_RETURN(true); |
6708 | #endif |
6709 | break; |
6710 | break; |
6711 | default: |
6712 | break; |
6713 | } |
6714 | break; |
6715 | default: |
6716 | break; |
6717 | } |
6718 | break; |
6719 | default: |
6720 | break; |
6721 | } |
6722 | break; |
6723 | case Opcode::AtomicAdd32: |
6724 | switch (sizeof...(Arguments)) { |
6725 | case 2: |
6726 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6727 | case Arg::Imm: |
6728 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6729 | case Arg::Addr: |
6730 | case Arg::Stack: |
6731 | case Arg::CallArg: |
6732 | #if CPU(X86) || CPU(X86_64) |
6733 | OPGEN_RETURN(true); |
6734 | #endif |
6735 | break; |
6736 | break; |
6737 | case Arg::Index: |
6738 | #if CPU(X86) || CPU(X86_64) |
6739 | OPGEN_RETURN(true); |
6740 | #endif |
6741 | break; |
6742 | break; |
6743 | default: |
6744 | break; |
6745 | } |
6746 | break; |
6747 | case Arg::Tmp: |
6748 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6749 | case Arg::Addr: |
6750 | case Arg::Stack: |
6751 | case Arg::CallArg: |
6752 | #if CPU(X86) || CPU(X86_64) |
6753 | OPGEN_RETURN(true); |
6754 | #endif |
6755 | break; |
6756 | break; |
6757 | case Arg::Index: |
6758 | #if CPU(X86) || CPU(X86_64) |
6759 | OPGEN_RETURN(true); |
6760 | #endif |
6761 | break; |
6762 | break; |
6763 | default: |
6764 | break; |
6765 | } |
6766 | break; |
6767 | default: |
6768 | break; |
6769 | } |
6770 | break; |
6771 | default: |
6772 | break; |
6773 | } |
6774 | break; |
6775 | case Opcode::AtomicAdd64: |
6776 | switch (sizeof...(Arguments)) { |
6777 | case 2: |
6778 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6779 | case Arg::Imm: |
6780 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6781 | case Arg::Addr: |
6782 | case Arg::Stack: |
6783 | case Arg::CallArg: |
6784 | #if CPU(X86_64) |
6785 | OPGEN_RETURN(true); |
6786 | #endif |
6787 | break; |
6788 | break; |
6789 | case Arg::Index: |
6790 | #if CPU(X86_64) |
6791 | OPGEN_RETURN(true); |
6792 | #endif |
6793 | break; |
6794 | break; |
6795 | default: |
6796 | break; |
6797 | } |
6798 | break; |
6799 | case Arg::Tmp: |
6800 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6801 | case Arg::Addr: |
6802 | case Arg::Stack: |
6803 | case Arg::CallArg: |
6804 | #if CPU(X86_64) |
6805 | OPGEN_RETURN(true); |
6806 | #endif |
6807 | break; |
6808 | break; |
6809 | case Arg::Index: |
6810 | #if CPU(X86_64) |
6811 | OPGEN_RETURN(true); |
6812 | #endif |
6813 | break; |
6814 | break; |
6815 | default: |
6816 | break; |
6817 | } |
6818 | break; |
6819 | default: |
6820 | break; |
6821 | } |
6822 | break; |
6823 | default: |
6824 | break; |
6825 | } |
6826 | break; |
6827 | case Opcode::AtomicSub8: |
6828 | switch (sizeof...(Arguments)) { |
6829 | case 2: |
6830 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6831 | case Arg::Imm: |
6832 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6833 | case Arg::Addr: |
6834 | case Arg::Stack: |
6835 | case Arg::CallArg: |
6836 | #if CPU(X86) || CPU(X86_64) |
6837 | OPGEN_RETURN(true); |
6838 | #endif |
6839 | break; |
6840 | break; |
6841 | case Arg::Index: |
6842 | #if CPU(X86) || CPU(X86_64) |
6843 | OPGEN_RETURN(true); |
6844 | #endif |
6845 | break; |
6846 | break; |
6847 | default: |
6848 | break; |
6849 | } |
6850 | break; |
6851 | case Arg::Tmp: |
6852 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6853 | case Arg::Addr: |
6854 | case Arg::Stack: |
6855 | case Arg::CallArg: |
6856 | #if CPU(X86) || CPU(X86_64) |
6857 | OPGEN_RETURN(true); |
6858 | #endif |
6859 | break; |
6860 | break; |
6861 | case Arg::Index: |
6862 | #if CPU(X86) || CPU(X86_64) |
6863 | OPGEN_RETURN(true); |
6864 | #endif |
6865 | break; |
6866 | break; |
6867 | default: |
6868 | break; |
6869 | } |
6870 | break; |
6871 | default: |
6872 | break; |
6873 | } |
6874 | break; |
6875 | default: |
6876 | break; |
6877 | } |
6878 | break; |
6879 | case Opcode::AtomicSub16: |
6880 | switch (sizeof...(Arguments)) { |
6881 | case 2: |
6882 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6883 | case Arg::Imm: |
6884 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6885 | case Arg::Addr: |
6886 | case Arg::Stack: |
6887 | case Arg::CallArg: |
6888 | #if CPU(X86) || CPU(X86_64) |
6889 | OPGEN_RETURN(true); |
6890 | #endif |
6891 | break; |
6892 | break; |
6893 | case Arg::Index: |
6894 | #if CPU(X86) || CPU(X86_64) |
6895 | OPGEN_RETURN(true); |
6896 | #endif |
6897 | break; |
6898 | break; |
6899 | default: |
6900 | break; |
6901 | } |
6902 | break; |
6903 | case Arg::Tmp: |
6904 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6905 | case Arg::Addr: |
6906 | case Arg::Stack: |
6907 | case Arg::CallArg: |
6908 | #if CPU(X86) || CPU(X86_64) |
6909 | OPGEN_RETURN(true); |
6910 | #endif |
6911 | break; |
6912 | break; |
6913 | case Arg::Index: |
6914 | #if CPU(X86) || CPU(X86_64) |
6915 | OPGEN_RETURN(true); |
6916 | #endif |
6917 | break; |
6918 | break; |
6919 | default: |
6920 | break; |
6921 | } |
6922 | break; |
6923 | default: |
6924 | break; |
6925 | } |
6926 | break; |
6927 | default: |
6928 | break; |
6929 | } |
6930 | break; |
6931 | case Opcode::AtomicSub32: |
6932 | switch (sizeof...(Arguments)) { |
6933 | case 2: |
6934 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6935 | case Arg::Imm: |
6936 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6937 | case Arg::Addr: |
6938 | case Arg::Stack: |
6939 | case Arg::CallArg: |
6940 | #if CPU(X86) || CPU(X86_64) |
6941 | OPGEN_RETURN(true); |
6942 | #endif |
6943 | break; |
6944 | break; |
6945 | case Arg::Index: |
6946 | #if CPU(X86) || CPU(X86_64) |
6947 | OPGEN_RETURN(true); |
6948 | #endif |
6949 | break; |
6950 | break; |
6951 | default: |
6952 | break; |
6953 | } |
6954 | break; |
6955 | case Arg::Tmp: |
6956 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6957 | case Arg::Addr: |
6958 | case Arg::Stack: |
6959 | case Arg::CallArg: |
6960 | #if CPU(X86) || CPU(X86_64) |
6961 | OPGEN_RETURN(true); |
6962 | #endif |
6963 | break; |
6964 | break; |
6965 | case Arg::Index: |
6966 | #if CPU(X86) || CPU(X86_64) |
6967 | OPGEN_RETURN(true); |
6968 | #endif |
6969 | break; |
6970 | break; |
6971 | default: |
6972 | break; |
6973 | } |
6974 | break; |
6975 | default: |
6976 | break; |
6977 | } |
6978 | break; |
6979 | default: |
6980 | break; |
6981 | } |
6982 | break; |
6983 | case Opcode::AtomicSub64: |
6984 | switch (sizeof...(Arguments)) { |
6985 | case 2: |
6986 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
6987 | case Arg::Imm: |
6988 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
6989 | case Arg::Addr: |
6990 | case Arg::Stack: |
6991 | case Arg::CallArg: |
6992 | #if CPU(X86_64) |
6993 | OPGEN_RETURN(true); |
6994 | #endif |
6995 | break; |
6996 | break; |
6997 | case Arg::Index: |
6998 | #if CPU(X86_64) |
6999 | OPGEN_RETURN(true); |
7000 | #endif |
7001 | break; |
7002 | break; |
7003 | default: |
7004 | break; |
7005 | } |
7006 | break; |
7007 | case Arg::Tmp: |
7008 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7009 | case Arg::Addr: |
7010 | case Arg::Stack: |
7011 | case Arg::CallArg: |
7012 | #if CPU(X86_64) |
7013 | OPGEN_RETURN(true); |
7014 | #endif |
7015 | break; |
7016 | break; |
7017 | case Arg::Index: |
7018 | #if CPU(X86_64) |
7019 | OPGEN_RETURN(true); |
7020 | #endif |
7021 | break; |
7022 | break; |
7023 | default: |
7024 | break; |
7025 | } |
7026 | break; |
7027 | default: |
7028 | break; |
7029 | } |
7030 | break; |
7031 | default: |
7032 | break; |
7033 | } |
7034 | break; |
7035 | case Opcode::AtomicAnd8: |
7036 | switch (sizeof...(Arguments)) { |
7037 | case 2: |
7038 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7039 | case Arg::Imm: |
7040 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7041 | case Arg::Addr: |
7042 | case Arg::Stack: |
7043 | case Arg::CallArg: |
7044 | #if CPU(X86) || CPU(X86_64) |
7045 | OPGEN_RETURN(true); |
7046 | #endif |
7047 | break; |
7048 | break; |
7049 | case Arg::Index: |
7050 | #if CPU(X86) || CPU(X86_64) |
7051 | OPGEN_RETURN(true); |
7052 | #endif |
7053 | break; |
7054 | break; |
7055 | default: |
7056 | break; |
7057 | } |
7058 | break; |
7059 | case Arg::Tmp: |
7060 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7061 | case Arg::Addr: |
7062 | case Arg::Stack: |
7063 | case Arg::CallArg: |
7064 | #if CPU(X86) || CPU(X86_64) |
7065 | OPGEN_RETURN(true); |
7066 | #endif |
7067 | break; |
7068 | break; |
7069 | case Arg::Index: |
7070 | #if CPU(X86) || CPU(X86_64) |
7071 | OPGEN_RETURN(true); |
7072 | #endif |
7073 | break; |
7074 | break; |
7075 | default: |
7076 | break; |
7077 | } |
7078 | break; |
7079 | default: |
7080 | break; |
7081 | } |
7082 | break; |
7083 | default: |
7084 | break; |
7085 | } |
7086 | break; |
7087 | case Opcode::AtomicAnd16: |
7088 | switch (sizeof...(Arguments)) { |
7089 | case 2: |
7090 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7091 | case Arg::Imm: |
7092 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7093 | case Arg::Addr: |
7094 | case Arg::Stack: |
7095 | case Arg::CallArg: |
7096 | #if CPU(X86) || CPU(X86_64) |
7097 | OPGEN_RETURN(true); |
7098 | #endif |
7099 | break; |
7100 | break; |
7101 | case Arg::Index: |
7102 | #if CPU(X86) || CPU(X86_64) |
7103 | OPGEN_RETURN(true); |
7104 | #endif |
7105 | break; |
7106 | break; |
7107 | default: |
7108 | break; |
7109 | } |
7110 | break; |
7111 | case Arg::Tmp: |
7112 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7113 | case Arg::Addr: |
7114 | case Arg::Stack: |
7115 | case Arg::CallArg: |
7116 | #if CPU(X86) || CPU(X86_64) |
7117 | OPGEN_RETURN(true); |
7118 | #endif |
7119 | break; |
7120 | break; |
7121 | case Arg::Index: |
7122 | #if CPU(X86) || CPU(X86_64) |
7123 | OPGEN_RETURN(true); |
7124 | #endif |
7125 | break; |
7126 | break; |
7127 | default: |
7128 | break; |
7129 | } |
7130 | break; |
7131 | default: |
7132 | break; |
7133 | } |
7134 | break; |
7135 | default: |
7136 | break; |
7137 | } |
7138 | break; |
7139 | case Opcode::AtomicAnd32: |
7140 | switch (sizeof...(Arguments)) { |
7141 | case 2: |
7142 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7143 | case Arg::Imm: |
7144 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7145 | case Arg::Addr: |
7146 | case Arg::Stack: |
7147 | case Arg::CallArg: |
7148 | #if CPU(X86) || CPU(X86_64) |
7149 | OPGEN_RETURN(true); |
7150 | #endif |
7151 | break; |
7152 | break; |
7153 | case Arg::Index: |
7154 | #if CPU(X86) || CPU(X86_64) |
7155 | OPGEN_RETURN(true); |
7156 | #endif |
7157 | break; |
7158 | break; |
7159 | default: |
7160 | break; |
7161 | } |
7162 | break; |
7163 | case Arg::Tmp: |
7164 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7165 | case Arg::Addr: |
7166 | case Arg::Stack: |
7167 | case Arg::CallArg: |
7168 | #if CPU(X86) || CPU(X86_64) |
7169 | OPGEN_RETURN(true); |
7170 | #endif |
7171 | break; |
7172 | break; |
7173 | case Arg::Index: |
7174 | #if CPU(X86) || CPU(X86_64) |
7175 | OPGEN_RETURN(true); |
7176 | #endif |
7177 | break; |
7178 | break; |
7179 | default: |
7180 | break; |
7181 | } |
7182 | break; |
7183 | default: |
7184 | break; |
7185 | } |
7186 | break; |
7187 | default: |
7188 | break; |
7189 | } |
7190 | break; |
7191 | case Opcode::AtomicAnd64: |
7192 | switch (sizeof...(Arguments)) { |
7193 | case 2: |
7194 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7195 | case Arg::Imm: |
7196 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7197 | case Arg::Addr: |
7198 | case Arg::Stack: |
7199 | case Arg::CallArg: |
7200 | #if CPU(X86_64) |
7201 | OPGEN_RETURN(true); |
7202 | #endif |
7203 | break; |
7204 | break; |
7205 | case Arg::Index: |
7206 | #if CPU(X86_64) |
7207 | OPGEN_RETURN(true); |
7208 | #endif |
7209 | break; |
7210 | break; |
7211 | default: |
7212 | break; |
7213 | } |
7214 | break; |
7215 | case Arg::Tmp: |
7216 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7217 | case Arg::Addr: |
7218 | case Arg::Stack: |
7219 | case Arg::CallArg: |
7220 | #if CPU(X86_64) |
7221 | OPGEN_RETURN(true); |
7222 | #endif |
7223 | break; |
7224 | break; |
7225 | case Arg::Index: |
7226 | #if CPU(X86_64) |
7227 | OPGEN_RETURN(true); |
7228 | #endif |
7229 | break; |
7230 | break; |
7231 | default: |
7232 | break; |
7233 | } |
7234 | break; |
7235 | default: |
7236 | break; |
7237 | } |
7238 | break; |
7239 | default: |
7240 | break; |
7241 | } |
7242 | break; |
7243 | case Opcode::AtomicOr8: |
7244 | switch (sizeof...(Arguments)) { |
7245 | case 2: |
7246 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7247 | case Arg::Imm: |
7248 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7249 | case Arg::Addr: |
7250 | case Arg::Stack: |
7251 | case Arg::CallArg: |
7252 | #if CPU(X86) || CPU(X86_64) |
7253 | OPGEN_RETURN(true); |
7254 | #endif |
7255 | break; |
7256 | break; |
7257 | case Arg::Index: |
7258 | #if CPU(X86) || CPU(X86_64) |
7259 | OPGEN_RETURN(true); |
7260 | #endif |
7261 | break; |
7262 | break; |
7263 | default: |
7264 | break; |
7265 | } |
7266 | break; |
7267 | case Arg::Tmp: |
7268 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7269 | case Arg::Addr: |
7270 | case Arg::Stack: |
7271 | case Arg::CallArg: |
7272 | #if CPU(X86) || CPU(X86_64) |
7273 | OPGEN_RETURN(true); |
7274 | #endif |
7275 | break; |
7276 | break; |
7277 | case Arg::Index: |
7278 | #if CPU(X86) || CPU(X86_64) |
7279 | OPGEN_RETURN(true); |
7280 | #endif |
7281 | break; |
7282 | break; |
7283 | default: |
7284 | break; |
7285 | } |
7286 | break; |
7287 | default: |
7288 | break; |
7289 | } |
7290 | break; |
7291 | default: |
7292 | break; |
7293 | } |
7294 | break; |
7295 | case Opcode::AtomicOr16: |
7296 | switch (sizeof...(Arguments)) { |
7297 | case 2: |
7298 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7299 | case Arg::Imm: |
7300 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7301 | case Arg::Addr: |
7302 | case Arg::Stack: |
7303 | case Arg::CallArg: |
7304 | #if CPU(X86) || CPU(X86_64) |
7305 | OPGEN_RETURN(true); |
7306 | #endif |
7307 | break; |
7308 | break; |
7309 | case Arg::Index: |
7310 | #if CPU(X86) || CPU(X86_64) |
7311 | OPGEN_RETURN(true); |
7312 | #endif |
7313 | break; |
7314 | break; |
7315 | default: |
7316 | break; |
7317 | } |
7318 | break; |
7319 | case Arg::Tmp: |
7320 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7321 | case Arg::Addr: |
7322 | case Arg::Stack: |
7323 | case Arg::CallArg: |
7324 | #if CPU(X86) || CPU(X86_64) |
7325 | OPGEN_RETURN(true); |
7326 | #endif |
7327 | break; |
7328 | break; |
7329 | case Arg::Index: |
7330 | #if CPU(X86) || CPU(X86_64) |
7331 | OPGEN_RETURN(true); |
7332 | #endif |
7333 | break; |
7334 | break; |
7335 | default: |
7336 | break; |
7337 | } |
7338 | break; |
7339 | default: |
7340 | break; |
7341 | } |
7342 | break; |
7343 | default: |
7344 | break; |
7345 | } |
7346 | break; |
7347 | case Opcode::AtomicOr32: |
7348 | switch (sizeof...(Arguments)) { |
7349 | case 2: |
7350 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7351 | case Arg::Imm: |
7352 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7353 | case Arg::Addr: |
7354 | case Arg::Stack: |
7355 | case Arg::CallArg: |
7356 | #if CPU(X86) || CPU(X86_64) |
7357 | OPGEN_RETURN(true); |
7358 | #endif |
7359 | break; |
7360 | break; |
7361 | case Arg::Index: |
7362 | #if CPU(X86) || CPU(X86_64) |
7363 | OPGEN_RETURN(true); |
7364 | #endif |
7365 | break; |
7366 | break; |
7367 | default: |
7368 | break; |
7369 | } |
7370 | break; |
7371 | case Arg::Tmp: |
7372 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7373 | case Arg::Addr: |
7374 | case Arg::Stack: |
7375 | case Arg::CallArg: |
7376 | #if CPU(X86) || CPU(X86_64) |
7377 | OPGEN_RETURN(true); |
7378 | #endif |
7379 | break; |
7380 | break; |
7381 | case Arg::Index: |
7382 | #if CPU(X86) || CPU(X86_64) |
7383 | OPGEN_RETURN(true); |
7384 | #endif |
7385 | break; |
7386 | break; |
7387 | default: |
7388 | break; |
7389 | } |
7390 | break; |
7391 | default: |
7392 | break; |
7393 | } |
7394 | break; |
7395 | default: |
7396 | break; |
7397 | } |
7398 | break; |
7399 | case Opcode::AtomicOr64: |
7400 | switch (sizeof...(Arguments)) { |
7401 | case 2: |
7402 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7403 | case Arg::Imm: |
7404 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7405 | case Arg::Addr: |
7406 | case Arg::Stack: |
7407 | case Arg::CallArg: |
7408 | #if CPU(X86_64) |
7409 | OPGEN_RETURN(true); |
7410 | #endif |
7411 | break; |
7412 | break; |
7413 | case Arg::Index: |
7414 | #if CPU(X86_64) |
7415 | OPGEN_RETURN(true); |
7416 | #endif |
7417 | break; |
7418 | break; |
7419 | default: |
7420 | break; |
7421 | } |
7422 | break; |
7423 | case Arg::Tmp: |
7424 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7425 | case Arg::Addr: |
7426 | case Arg::Stack: |
7427 | case Arg::CallArg: |
7428 | #if CPU(X86_64) |
7429 | OPGEN_RETURN(true); |
7430 | #endif |
7431 | break; |
7432 | break; |
7433 | case Arg::Index: |
7434 | #if CPU(X86_64) |
7435 | OPGEN_RETURN(true); |
7436 | #endif |
7437 | break; |
7438 | break; |
7439 | default: |
7440 | break; |
7441 | } |
7442 | break; |
7443 | default: |
7444 | break; |
7445 | } |
7446 | break; |
7447 | default: |
7448 | break; |
7449 | } |
7450 | break; |
7451 | case Opcode::AtomicXor8: |
7452 | switch (sizeof...(Arguments)) { |
7453 | case 2: |
7454 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7455 | case Arg::Imm: |
7456 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7457 | case Arg::Addr: |
7458 | case Arg::Stack: |
7459 | case Arg::CallArg: |
7460 | #if CPU(X86) || CPU(X86_64) |
7461 | OPGEN_RETURN(true); |
7462 | #endif |
7463 | break; |
7464 | break; |
7465 | case Arg::Index: |
7466 | #if CPU(X86) || CPU(X86_64) |
7467 | OPGEN_RETURN(true); |
7468 | #endif |
7469 | break; |
7470 | break; |
7471 | default: |
7472 | break; |
7473 | } |
7474 | break; |
7475 | case Arg::Tmp: |
7476 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7477 | case Arg::Addr: |
7478 | case Arg::Stack: |
7479 | case Arg::CallArg: |
7480 | #if CPU(X86) || CPU(X86_64) |
7481 | OPGEN_RETURN(true); |
7482 | #endif |
7483 | break; |
7484 | break; |
7485 | case Arg::Index: |
7486 | #if CPU(X86) || CPU(X86_64) |
7487 | OPGEN_RETURN(true); |
7488 | #endif |
7489 | break; |
7490 | break; |
7491 | default: |
7492 | break; |
7493 | } |
7494 | break; |
7495 | default: |
7496 | break; |
7497 | } |
7498 | break; |
7499 | default: |
7500 | break; |
7501 | } |
7502 | break; |
7503 | case Opcode::AtomicXor16: |
7504 | switch (sizeof...(Arguments)) { |
7505 | case 2: |
7506 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7507 | case Arg::Imm: |
7508 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7509 | case Arg::Addr: |
7510 | case Arg::Stack: |
7511 | case Arg::CallArg: |
7512 | #if CPU(X86) || CPU(X86_64) |
7513 | OPGEN_RETURN(true); |
7514 | #endif |
7515 | break; |
7516 | break; |
7517 | case Arg::Index: |
7518 | #if CPU(X86) || CPU(X86_64) |
7519 | OPGEN_RETURN(true); |
7520 | #endif |
7521 | break; |
7522 | break; |
7523 | default: |
7524 | break; |
7525 | } |
7526 | break; |
7527 | case Arg::Tmp: |
7528 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7529 | case Arg::Addr: |
7530 | case Arg::Stack: |
7531 | case Arg::CallArg: |
7532 | #if CPU(X86) || CPU(X86_64) |
7533 | OPGEN_RETURN(true); |
7534 | #endif |
7535 | break; |
7536 | break; |
7537 | case Arg::Index: |
7538 | #if CPU(X86) || CPU(X86_64) |
7539 | OPGEN_RETURN(true); |
7540 | #endif |
7541 | break; |
7542 | break; |
7543 | default: |
7544 | break; |
7545 | } |
7546 | break; |
7547 | default: |
7548 | break; |
7549 | } |
7550 | break; |
7551 | default: |
7552 | break; |
7553 | } |
7554 | break; |
7555 | case Opcode::AtomicXor32: |
7556 | switch (sizeof...(Arguments)) { |
7557 | case 2: |
7558 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7559 | case Arg::Imm: |
7560 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7561 | case Arg::Addr: |
7562 | case Arg::Stack: |
7563 | case Arg::CallArg: |
7564 | #if CPU(X86) || CPU(X86_64) |
7565 | OPGEN_RETURN(true); |
7566 | #endif |
7567 | break; |
7568 | break; |
7569 | case Arg::Index: |
7570 | #if CPU(X86) || CPU(X86_64) |
7571 | OPGEN_RETURN(true); |
7572 | #endif |
7573 | break; |
7574 | break; |
7575 | default: |
7576 | break; |
7577 | } |
7578 | break; |
7579 | case Arg::Tmp: |
7580 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7581 | case Arg::Addr: |
7582 | case Arg::Stack: |
7583 | case Arg::CallArg: |
7584 | #if CPU(X86) || CPU(X86_64) |
7585 | OPGEN_RETURN(true); |
7586 | #endif |
7587 | break; |
7588 | break; |
7589 | case Arg::Index: |
7590 | #if CPU(X86) || CPU(X86_64) |
7591 | OPGEN_RETURN(true); |
7592 | #endif |
7593 | break; |
7594 | break; |
7595 | default: |
7596 | break; |
7597 | } |
7598 | break; |
7599 | default: |
7600 | break; |
7601 | } |
7602 | break; |
7603 | default: |
7604 | break; |
7605 | } |
7606 | break; |
7607 | case Opcode::AtomicXor64: |
7608 | switch (sizeof...(Arguments)) { |
7609 | case 2: |
7610 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7611 | case Arg::Imm: |
7612 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7613 | case Arg::Addr: |
7614 | case Arg::Stack: |
7615 | case Arg::CallArg: |
7616 | #if CPU(X86_64) |
7617 | OPGEN_RETURN(true); |
7618 | #endif |
7619 | break; |
7620 | break; |
7621 | case Arg::Index: |
7622 | #if CPU(X86_64) |
7623 | OPGEN_RETURN(true); |
7624 | #endif |
7625 | break; |
7626 | break; |
7627 | default: |
7628 | break; |
7629 | } |
7630 | break; |
7631 | case Arg::Tmp: |
7632 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7633 | case Arg::Addr: |
7634 | case Arg::Stack: |
7635 | case Arg::CallArg: |
7636 | #if CPU(X86_64) |
7637 | OPGEN_RETURN(true); |
7638 | #endif |
7639 | break; |
7640 | break; |
7641 | case Arg::Index: |
7642 | #if CPU(X86_64) |
7643 | OPGEN_RETURN(true); |
7644 | #endif |
7645 | break; |
7646 | break; |
7647 | default: |
7648 | break; |
7649 | } |
7650 | break; |
7651 | default: |
7652 | break; |
7653 | } |
7654 | break; |
7655 | default: |
7656 | break; |
7657 | } |
7658 | break; |
7659 | case Opcode::AtomicNeg8: |
7660 | switch (sizeof...(Arguments)) { |
7661 | case 1: |
7662 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7663 | case Arg::Addr: |
7664 | case Arg::Stack: |
7665 | case Arg::CallArg: |
7666 | #if CPU(X86) || CPU(X86_64) |
7667 | OPGEN_RETURN(true); |
7668 | #endif |
7669 | break; |
7670 | break; |
7671 | case Arg::Index: |
7672 | #if CPU(X86) || 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 | case Opcode::AtomicNeg16: |
7686 | switch (sizeof...(Arguments)) { |
7687 | case 1: |
7688 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7689 | case Arg::Addr: |
7690 | case Arg::Stack: |
7691 | case Arg::CallArg: |
7692 | #if CPU(X86) || CPU(X86_64) |
7693 | OPGEN_RETURN(true); |
7694 | #endif |
7695 | break; |
7696 | break; |
7697 | case Arg::Index: |
7698 | #if CPU(X86) || CPU(X86_64) |
7699 | OPGEN_RETURN(true); |
7700 | #endif |
7701 | break; |
7702 | break; |
7703 | default: |
7704 | break; |
7705 | } |
7706 | break; |
7707 | default: |
7708 | break; |
7709 | } |
7710 | break; |
7711 | case Opcode::AtomicNeg32: |
7712 | switch (sizeof...(Arguments)) { |
7713 | case 1: |
7714 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7715 | case Arg::Addr: |
7716 | case Arg::Stack: |
7717 | case Arg::CallArg: |
7718 | #if CPU(X86) || CPU(X86_64) |
7719 | OPGEN_RETURN(true); |
7720 | #endif |
7721 | break; |
7722 | break; |
7723 | case Arg::Index: |
7724 | #if CPU(X86) || CPU(X86_64) |
7725 | OPGEN_RETURN(true); |
7726 | #endif |
7727 | break; |
7728 | break; |
7729 | default: |
7730 | break; |
7731 | } |
7732 | break; |
7733 | default: |
7734 | break; |
7735 | } |
7736 | break; |
7737 | case Opcode::AtomicNeg64: |
7738 | switch (sizeof...(Arguments)) { |
7739 | case 1: |
7740 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7741 | case Arg::Addr: |
7742 | case Arg::Stack: |
7743 | case Arg::CallArg: |
7744 | #if CPU(X86_64) |
7745 | OPGEN_RETURN(true); |
7746 | #endif |
7747 | break; |
7748 | break; |
7749 | case Arg::Index: |
7750 | #if CPU(X86_64) |
7751 | OPGEN_RETURN(true); |
7752 | #endif |
7753 | break; |
7754 | break; |
7755 | default: |
7756 | break; |
7757 | } |
7758 | break; |
7759 | default: |
7760 | break; |
7761 | } |
7762 | break; |
7763 | case Opcode::AtomicNot8: |
7764 | switch (sizeof...(Arguments)) { |
7765 | case 1: |
7766 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7767 | case Arg::Addr: |
7768 | case Arg::Stack: |
7769 | case Arg::CallArg: |
7770 | #if CPU(X86) || CPU(X86_64) |
7771 | OPGEN_RETURN(true); |
7772 | #endif |
7773 | break; |
7774 | break; |
7775 | case Arg::Index: |
7776 | #if CPU(X86) || CPU(X86_64) |
7777 | OPGEN_RETURN(true); |
7778 | #endif |
7779 | break; |
7780 | break; |
7781 | default: |
7782 | break; |
7783 | } |
7784 | break; |
7785 | default: |
7786 | break; |
7787 | } |
7788 | break; |
7789 | case Opcode::AtomicNot16: |
7790 | switch (sizeof...(Arguments)) { |
7791 | case 1: |
7792 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7793 | case Arg::Addr: |
7794 | case Arg::Stack: |
7795 | case Arg::CallArg: |
7796 | #if CPU(X86) || CPU(X86_64) |
7797 | OPGEN_RETURN(true); |
7798 | #endif |
7799 | break; |
7800 | break; |
7801 | case Arg::Index: |
7802 | #if CPU(X86) || CPU(X86_64) |
7803 | OPGEN_RETURN(true); |
7804 | #endif |
7805 | break; |
7806 | break; |
7807 | default: |
7808 | break; |
7809 | } |
7810 | break; |
7811 | default: |
7812 | break; |
7813 | } |
7814 | break; |
7815 | case Opcode::AtomicNot32: |
7816 | switch (sizeof...(Arguments)) { |
7817 | case 1: |
7818 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7819 | case Arg::Addr: |
7820 | case Arg::Stack: |
7821 | case Arg::CallArg: |
7822 | #if CPU(X86) || CPU(X86_64) |
7823 | OPGEN_RETURN(true); |
7824 | #endif |
7825 | break; |
7826 | break; |
7827 | case Arg::Index: |
7828 | #if CPU(X86) || CPU(X86_64) |
7829 | OPGEN_RETURN(true); |
7830 | #endif |
7831 | break; |
7832 | break; |
7833 | default: |
7834 | break; |
7835 | } |
7836 | break; |
7837 | default: |
7838 | break; |
7839 | } |
7840 | break; |
7841 | case Opcode::AtomicNot64: |
7842 | switch (sizeof...(Arguments)) { |
7843 | case 1: |
7844 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7845 | case Arg::Addr: |
7846 | case Arg::Stack: |
7847 | case Arg::CallArg: |
7848 | #if CPU(X86_64) |
7849 | OPGEN_RETURN(true); |
7850 | #endif |
7851 | break; |
7852 | break; |
7853 | case Arg::Index: |
7854 | #if CPU(X86_64) |
7855 | OPGEN_RETURN(true); |
7856 | #endif |
7857 | break; |
7858 | break; |
7859 | default: |
7860 | break; |
7861 | } |
7862 | break; |
7863 | default: |
7864 | break; |
7865 | } |
7866 | break; |
7867 | case Opcode::AtomicXchgAdd8: |
7868 | switch (sizeof...(Arguments)) { |
7869 | case 2: |
7870 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7871 | case Arg::Tmp: |
7872 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7873 | case Arg::Addr: |
7874 | case Arg::Stack: |
7875 | case Arg::CallArg: |
7876 | #if CPU(X86) || CPU(X86_64) |
7877 | OPGEN_RETURN(true); |
7878 | #endif |
7879 | break; |
7880 | break; |
7881 | case Arg::Index: |
7882 | #if CPU(X86) || CPU(X86_64) |
7883 | OPGEN_RETURN(true); |
7884 | #endif |
7885 | break; |
7886 | break; |
7887 | default: |
7888 | break; |
7889 | } |
7890 | break; |
7891 | default: |
7892 | break; |
7893 | } |
7894 | break; |
7895 | default: |
7896 | break; |
7897 | } |
7898 | break; |
7899 | case Opcode::AtomicXchgAdd16: |
7900 | switch (sizeof...(Arguments)) { |
7901 | case 2: |
7902 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7903 | case Arg::Tmp: |
7904 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7905 | case Arg::Addr: |
7906 | case Arg::Stack: |
7907 | case Arg::CallArg: |
7908 | #if CPU(X86) || CPU(X86_64) |
7909 | OPGEN_RETURN(true); |
7910 | #endif |
7911 | break; |
7912 | break; |
7913 | case Arg::Index: |
7914 | #if CPU(X86) || CPU(X86_64) |
7915 | OPGEN_RETURN(true); |
7916 | #endif |
7917 | break; |
7918 | break; |
7919 | default: |
7920 | break; |
7921 | } |
7922 | break; |
7923 | default: |
7924 | break; |
7925 | } |
7926 | break; |
7927 | default: |
7928 | break; |
7929 | } |
7930 | break; |
7931 | case Opcode::AtomicXchgAdd32: |
7932 | switch (sizeof...(Arguments)) { |
7933 | case 2: |
7934 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7935 | case Arg::Tmp: |
7936 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7937 | case Arg::Addr: |
7938 | case Arg::Stack: |
7939 | case Arg::CallArg: |
7940 | #if CPU(X86) || CPU(X86_64) |
7941 | OPGEN_RETURN(true); |
7942 | #endif |
7943 | break; |
7944 | break; |
7945 | case Arg::Index: |
7946 | #if CPU(X86) || CPU(X86_64) |
7947 | OPGEN_RETURN(true); |
7948 | #endif |
7949 | break; |
7950 | break; |
7951 | default: |
7952 | break; |
7953 | } |
7954 | break; |
7955 | default: |
7956 | break; |
7957 | } |
7958 | break; |
7959 | default: |
7960 | break; |
7961 | } |
7962 | break; |
7963 | case Opcode::AtomicXchgAdd64: |
7964 | switch (sizeof...(Arguments)) { |
7965 | case 2: |
7966 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7967 | case Arg::Tmp: |
7968 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
7969 | case Arg::Addr: |
7970 | case Arg::Stack: |
7971 | case Arg::CallArg: |
7972 | #if CPU(X86_64) |
7973 | OPGEN_RETURN(true); |
7974 | #endif |
7975 | break; |
7976 | break; |
7977 | case Arg::Index: |
7978 | #if CPU(X86_64) |
7979 | OPGEN_RETURN(true); |
7980 | #endif |
7981 | break; |
7982 | break; |
7983 | default: |
7984 | break; |
7985 | } |
7986 | break; |
7987 | default: |
7988 | break; |
7989 | } |
7990 | break; |
7991 | default: |
7992 | break; |
7993 | } |
7994 | break; |
7995 | case Opcode::AtomicXchg8: |
7996 | switch (sizeof...(Arguments)) { |
7997 | case 2: |
7998 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
7999 | case Arg::Tmp: |
8000 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8001 | case Arg::Addr: |
8002 | case Arg::Stack: |
8003 | case Arg::CallArg: |
8004 | #if CPU(X86) || CPU(X86_64) |
8005 | OPGEN_RETURN(true); |
8006 | #endif |
8007 | break; |
8008 | break; |
8009 | case Arg::Index: |
8010 | #if CPU(X86) || CPU(X86_64) |
8011 | OPGEN_RETURN(true); |
8012 | #endif |
8013 | break; |
8014 | break; |
8015 | default: |
8016 | break; |
8017 | } |
8018 | break; |
8019 | default: |
8020 | break; |
8021 | } |
8022 | break; |
8023 | default: |
8024 | break; |
8025 | } |
8026 | break; |
8027 | case Opcode::AtomicXchg16: |
8028 | switch (sizeof...(Arguments)) { |
8029 | case 2: |
8030 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8031 | case Arg::Tmp: |
8032 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8033 | case Arg::Addr: |
8034 | case Arg::Stack: |
8035 | case Arg::CallArg: |
8036 | #if CPU(X86) || CPU(X86_64) |
8037 | OPGEN_RETURN(true); |
8038 | #endif |
8039 | break; |
8040 | break; |
8041 | case Arg::Index: |
8042 | #if CPU(X86) || CPU(X86_64) |
8043 | OPGEN_RETURN(true); |
8044 | #endif |
8045 | break; |
8046 | break; |
8047 | default: |
8048 | break; |
8049 | } |
8050 | break; |
8051 | default: |
8052 | break; |
8053 | } |
8054 | break; |
8055 | default: |
8056 | break; |
8057 | } |
8058 | break; |
8059 | case Opcode::AtomicXchg32: |
8060 | switch (sizeof...(Arguments)) { |
8061 | case 2: |
8062 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8063 | case Arg::Tmp: |
8064 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8065 | case Arg::Addr: |
8066 | case Arg::Stack: |
8067 | case Arg::CallArg: |
8068 | #if CPU(X86) || CPU(X86_64) |
8069 | OPGEN_RETURN(true); |
8070 | #endif |
8071 | break; |
8072 | break; |
8073 | case Arg::Index: |
8074 | #if CPU(X86) || CPU(X86_64) |
8075 | OPGEN_RETURN(true); |
8076 | #endif |
8077 | break; |
8078 | break; |
8079 | default: |
8080 | break; |
8081 | } |
8082 | break; |
8083 | default: |
8084 | break; |
8085 | } |
8086 | break; |
8087 | default: |
8088 | break; |
8089 | } |
8090 | break; |
8091 | case Opcode::AtomicXchg64: |
8092 | switch (sizeof...(Arguments)) { |
8093 | case 2: |
8094 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8095 | case Arg::Tmp: |
8096 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8097 | case Arg::Addr: |
8098 | case Arg::Stack: |
8099 | case Arg::CallArg: |
8100 | #if CPU(X86_64) |
8101 | OPGEN_RETURN(true); |
8102 | #endif |
8103 | break; |
8104 | break; |
8105 | case Arg::Index: |
8106 | #if CPU(X86_64) |
8107 | OPGEN_RETURN(true); |
8108 | #endif |
8109 | break; |
8110 | break; |
8111 | default: |
8112 | break; |
8113 | } |
8114 | break; |
8115 | default: |
8116 | break; |
8117 | } |
8118 | break; |
8119 | default: |
8120 | break; |
8121 | } |
8122 | break; |
8123 | case Opcode::LoadLink8: |
8124 | switch (sizeof...(Arguments)) { |
8125 | case 2: |
8126 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8127 | case Arg::SimpleAddr: |
8128 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8129 | case Arg::Tmp: |
8130 | #if CPU(ARM64) |
8131 | OPGEN_RETURN(true); |
8132 | #endif |
8133 | break; |
8134 | break; |
8135 | default: |
8136 | break; |
8137 | } |
8138 | break; |
8139 | default: |
8140 | break; |
8141 | } |
8142 | break; |
8143 | default: |
8144 | break; |
8145 | } |
8146 | break; |
8147 | case Opcode::LoadLinkAcq8: |
8148 | switch (sizeof...(Arguments)) { |
8149 | case 2: |
8150 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8151 | case Arg::SimpleAddr: |
8152 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8153 | case Arg::Tmp: |
8154 | #if CPU(ARM64) |
8155 | OPGEN_RETURN(true); |
8156 | #endif |
8157 | break; |
8158 | break; |
8159 | default: |
8160 | break; |
8161 | } |
8162 | break; |
8163 | default: |
8164 | break; |
8165 | } |
8166 | break; |
8167 | default: |
8168 | break; |
8169 | } |
8170 | break; |
8171 | case Opcode::StoreCond8: |
8172 | switch (sizeof...(Arguments)) { |
8173 | case 3: |
8174 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8175 | case Arg::Tmp: |
8176 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8177 | case Arg::SimpleAddr: |
8178 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8179 | case Arg::Tmp: |
8180 | #if CPU(ARM64) |
8181 | OPGEN_RETURN(true); |
8182 | #endif |
8183 | break; |
8184 | break; |
8185 | default: |
8186 | break; |
8187 | } |
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::StoreCondRel8: |
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::LoadLink16: |
8232 | switch (sizeof...(Arguments)) { |
8233 | case 2: |
8234 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8235 | case Arg::SimpleAddr: |
8236 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8237 | case Arg::Tmp: |
8238 | #if CPU(ARM64) |
8239 | OPGEN_RETURN(true); |
8240 | #endif |
8241 | break; |
8242 | break; |
8243 | default: |
8244 | break; |
8245 | } |
8246 | break; |
8247 | default: |
8248 | break; |
8249 | } |
8250 | break; |
8251 | default: |
8252 | break; |
8253 | } |
8254 | break; |
8255 | case Opcode::LoadLinkAcq16: |
8256 | switch (sizeof...(Arguments)) { |
8257 | case 2: |
8258 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8259 | case Arg::SimpleAddr: |
8260 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8261 | case Arg::Tmp: |
8262 | #if CPU(ARM64) |
8263 | OPGEN_RETURN(true); |
8264 | #endif |
8265 | break; |
8266 | break; |
8267 | default: |
8268 | break; |
8269 | } |
8270 | break; |
8271 | default: |
8272 | break; |
8273 | } |
8274 | break; |
8275 | default: |
8276 | break; |
8277 | } |
8278 | break; |
8279 | case Opcode::StoreCond16: |
8280 | switch (sizeof...(Arguments)) { |
8281 | case 3: |
8282 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8283 | case Arg::Tmp: |
8284 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8285 | case Arg::SimpleAddr: |
8286 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8287 | case Arg::Tmp: |
8288 | #if CPU(ARM64) |
8289 | OPGEN_RETURN(true); |
8290 | #endif |
8291 | break; |
8292 | break; |
8293 | default: |
8294 | break; |
8295 | } |
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::StoreCondRel16: |
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::LoadLink32: |
8340 | switch (sizeof...(Arguments)) { |
8341 | case 2: |
8342 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8343 | case Arg::SimpleAddr: |
8344 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8345 | case Arg::Tmp: |
8346 | #if CPU(ARM64) |
8347 | OPGEN_RETURN(true); |
8348 | #endif |
8349 | break; |
8350 | break; |
8351 | default: |
8352 | break; |
8353 | } |
8354 | break; |
8355 | default: |
8356 | break; |
8357 | } |
8358 | break; |
8359 | default: |
8360 | break; |
8361 | } |
8362 | break; |
8363 | case Opcode::LoadLinkAcq32: |
8364 | switch (sizeof...(Arguments)) { |
8365 | case 2: |
8366 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8367 | case Arg::SimpleAddr: |
8368 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8369 | case Arg::Tmp: |
8370 | #if CPU(ARM64) |
8371 | OPGEN_RETURN(true); |
8372 | #endif |
8373 | break; |
8374 | break; |
8375 | default: |
8376 | break; |
8377 | } |
8378 | break; |
8379 | default: |
8380 | break; |
8381 | } |
8382 | break; |
8383 | default: |
8384 | break; |
8385 | } |
8386 | break; |
8387 | case Opcode::StoreCond32: |
8388 | switch (sizeof...(Arguments)) { |
8389 | case 3: |
8390 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8391 | case Arg::Tmp: |
8392 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8393 | case Arg::SimpleAddr: |
8394 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8395 | case Arg::Tmp: |
8396 | #if CPU(ARM64) |
8397 | OPGEN_RETURN(true); |
8398 | #endif |
8399 | break; |
8400 | break; |
8401 | default: |
8402 | break; |
8403 | } |
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::StoreCondRel32: |
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::LoadLink64: |
8448 | switch (sizeof...(Arguments)) { |
8449 | case 2: |
8450 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8451 | case Arg::SimpleAddr: |
8452 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8453 | case Arg::Tmp: |
8454 | #if CPU(ARM64) |
8455 | OPGEN_RETURN(true); |
8456 | #endif |
8457 | break; |
8458 | break; |
8459 | default: |
8460 | break; |
8461 | } |
8462 | break; |
8463 | default: |
8464 | break; |
8465 | } |
8466 | break; |
8467 | default: |
8468 | break; |
8469 | } |
8470 | break; |
8471 | case Opcode::LoadLinkAcq64: |
8472 | switch (sizeof...(Arguments)) { |
8473 | case 2: |
8474 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8475 | case Arg::SimpleAddr: |
8476 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8477 | case Arg::Tmp: |
8478 | #if CPU(ARM64) |
8479 | OPGEN_RETURN(true); |
8480 | #endif |
8481 | break; |
8482 | break; |
8483 | default: |
8484 | break; |
8485 | } |
8486 | break; |
8487 | default: |
8488 | break; |
8489 | } |
8490 | break; |
8491 | default: |
8492 | break; |
8493 | } |
8494 | break; |
8495 | case Opcode::StoreCond64: |
8496 | switch (sizeof...(Arguments)) { |
8497 | case 3: |
8498 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8499 | case Arg::Tmp: |
8500 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8501 | case Arg::SimpleAddr: |
8502 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8503 | case Arg::Tmp: |
8504 | #if CPU(ARM64) |
8505 | OPGEN_RETURN(true); |
8506 | #endif |
8507 | break; |
8508 | break; |
8509 | default: |
8510 | break; |
8511 | } |
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::StoreCondRel64: |
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::Depend32: |
8556 | switch (sizeof...(Arguments)) { |
8557 | case 2: |
8558 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8559 | case Arg::Tmp: |
8560 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8561 | case Arg::Tmp: |
8562 | #if CPU(ARM64) |
8563 | OPGEN_RETURN(true); |
8564 | #endif |
8565 | break; |
8566 | break; |
8567 | default: |
8568 | break; |
8569 | } |
8570 | break; |
8571 | default: |
8572 | break; |
8573 | } |
8574 | break; |
8575 | default: |
8576 | break; |
8577 | } |
8578 | break; |
8579 | case Opcode::Depend64: |
8580 | switch (sizeof...(Arguments)) { |
8581 | case 2: |
8582 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8583 | case Arg::Tmp: |
8584 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8585 | case Arg::Tmp: |
8586 | #if CPU(ARM64) |
8587 | OPGEN_RETURN(true); |
8588 | #endif |
8589 | break; |
8590 | break; |
8591 | default: |
8592 | break; |
8593 | } |
8594 | break; |
8595 | default: |
8596 | break; |
8597 | } |
8598 | break; |
8599 | default: |
8600 | break; |
8601 | } |
8602 | break; |
8603 | case Opcode::Compare32: |
8604 | switch (sizeof...(Arguments)) { |
8605 | case 4: |
8606 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8607 | case Arg::RelCond: |
8608 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8609 | case Arg::Tmp: |
8610 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8611 | case Arg::Tmp: |
8612 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8613 | case Arg::Tmp: |
8614 | OPGEN_RETURN(true); |
8615 | break; |
8616 | break; |
8617 | default: |
8618 | break; |
8619 | } |
8620 | break; |
8621 | case Arg::Imm: |
8622 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8623 | case Arg::Tmp: |
8624 | OPGEN_RETURN(true); |
8625 | break; |
8626 | break; |
8627 | default: |
8628 | break; |
8629 | } |
8630 | break; |
8631 | default: |
8632 | break; |
8633 | } |
8634 | break; |
8635 | default: |
8636 | break; |
8637 | } |
8638 | break; |
8639 | default: |
8640 | break; |
8641 | } |
8642 | break; |
8643 | default: |
8644 | break; |
8645 | } |
8646 | break; |
8647 | case Opcode::Compare64: |
8648 | switch (sizeof...(Arguments)) { |
8649 | case 4: |
8650 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8651 | case Arg::RelCond: |
8652 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8653 | case Arg::Tmp: |
8654 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8655 | case Arg::Tmp: |
8656 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8657 | case Arg::Tmp: |
8658 | #if CPU(X86_64) || CPU(ARM64) |
8659 | OPGEN_RETURN(true); |
8660 | #endif |
8661 | break; |
8662 | break; |
8663 | default: |
8664 | break; |
8665 | } |
8666 | break; |
8667 | case Arg::Imm: |
8668 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8669 | case Arg::Tmp: |
8670 | #if CPU(X86_64) |
8671 | OPGEN_RETURN(true); |
8672 | #endif |
8673 | break; |
8674 | break; |
8675 | default: |
8676 | break; |
8677 | } |
8678 | break; |
8679 | default: |
8680 | break; |
8681 | } |
8682 | break; |
8683 | default: |
8684 | break; |
8685 | } |
8686 | break; |
8687 | default: |
8688 | break; |
8689 | } |
8690 | break; |
8691 | default: |
8692 | break; |
8693 | } |
8694 | break; |
8695 | case Opcode::Test32: |
8696 | switch (sizeof...(Arguments)) { |
8697 | case 4: |
8698 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8699 | case Arg::ResCond: |
8700 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8701 | case Arg::Addr: |
8702 | case Arg::Stack: |
8703 | case Arg::CallArg: |
8704 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8705 | case Arg::Imm: |
8706 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8707 | case Arg::Tmp: |
8708 | #if CPU(X86) || CPU(X86_64) |
8709 | OPGEN_RETURN(true); |
8710 | #endif |
8711 | break; |
8712 | break; |
8713 | default: |
8714 | break; |
8715 | } |
8716 | break; |
8717 | default: |
8718 | break; |
8719 | } |
8720 | break; |
8721 | case Arg::Tmp: |
8722 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8723 | case Arg::Tmp: |
8724 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8725 | case Arg::Tmp: |
8726 | OPGEN_RETURN(true); |
8727 | break; |
8728 | break; |
8729 | default: |
8730 | break; |
8731 | } |
8732 | break; |
8733 | case Arg::BitImm: |
8734 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8735 | case Arg::Tmp: |
8736 | OPGEN_RETURN(true); |
8737 | break; |
8738 | break; |
8739 | default: |
8740 | break; |
8741 | } |
8742 | break; |
8743 | default: |
8744 | break; |
8745 | } |
8746 | break; |
8747 | default: |
8748 | break; |
8749 | } |
8750 | break; |
8751 | default: |
8752 | break; |
8753 | } |
8754 | break; |
8755 | default: |
8756 | break; |
8757 | } |
8758 | break; |
8759 | case Opcode::Test64: |
8760 | switch (sizeof...(Arguments)) { |
8761 | case 4: |
8762 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8763 | case Arg::ResCond: |
8764 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8765 | case Arg::Tmp: |
8766 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8767 | case Arg::Imm: |
8768 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8769 | case Arg::Tmp: |
8770 | #if CPU(X86_64) |
8771 | OPGEN_RETURN(true); |
8772 | #endif |
8773 | break; |
8774 | break; |
8775 | default: |
8776 | break; |
8777 | } |
8778 | break; |
8779 | case Arg::Tmp: |
8780 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8781 | case Arg::Tmp: |
8782 | #if CPU(X86_64) || CPU(ARM64) |
8783 | OPGEN_RETURN(true); |
8784 | #endif |
8785 | break; |
8786 | break; |
8787 | default: |
8788 | break; |
8789 | } |
8790 | break; |
8791 | default: |
8792 | break; |
8793 | } |
8794 | break; |
8795 | default: |
8796 | break; |
8797 | } |
8798 | break; |
8799 | default: |
8800 | break; |
8801 | } |
8802 | break; |
8803 | default: |
8804 | break; |
8805 | } |
8806 | break; |
8807 | case Opcode::CompareDouble: |
8808 | switch (sizeof...(Arguments)) { |
8809 | case 4: |
8810 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8811 | case Arg::DoubleCond: |
8812 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8813 | case Arg::Tmp: |
8814 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8815 | case Arg::Tmp: |
8816 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8817 | case Arg::Tmp: |
8818 | OPGEN_RETURN(true); |
8819 | break; |
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 | default: |
8838 | break; |
8839 | } |
8840 | break; |
8841 | case Opcode::CompareFloat: |
8842 | switch (sizeof...(Arguments)) { |
8843 | case 4: |
8844 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8845 | case Arg::DoubleCond: |
8846 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8847 | case Arg::Tmp: |
8848 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8849 | case Arg::Tmp: |
8850 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
8851 | case Arg::Tmp: |
8852 | OPGEN_RETURN(true); |
8853 | break; |
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 | default: |
8872 | break; |
8873 | } |
8874 | break; |
8875 | case Opcode::Branch8: |
8876 | switch (sizeof...(Arguments)) { |
8877 | case 3: |
8878 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8879 | case Arg::RelCond: |
8880 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8881 | case Arg::Addr: |
8882 | case Arg::Stack: |
8883 | case Arg::CallArg: |
8884 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8885 | case Arg::Imm: |
8886 | #if CPU(X86) || CPU(X86_64) |
8887 | OPGEN_RETURN(true); |
8888 | #endif |
8889 | break; |
8890 | break; |
8891 | default: |
8892 | break; |
8893 | } |
8894 | break; |
8895 | case Arg::Index: |
8896 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8897 | case Arg::Imm: |
8898 | #if CPU(X86) || CPU(X86_64) |
8899 | OPGEN_RETURN(true); |
8900 | #endif |
8901 | break; |
8902 | break; |
8903 | default: |
8904 | break; |
8905 | } |
8906 | break; |
8907 | default: |
8908 | break; |
8909 | } |
8910 | break; |
8911 | default: |
8912 | break; |
8913 | } |
8914 | break; |
8915 | default: |
8916 | break; |
8917 | } |
8918 | break; |
8919 | case Opcode::Branch32: |
8920 | switch (sizeof...(Arguments)) { |
8921 | case 3: |
8922 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8923 | case Arg::RelCond: |
8924 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8925 | case Arg::Addr: |
8926 | case Arg::Stack: |
8927 | case Arg::CallArg: |
8928 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8929 | case Arg::Imm: |
8930 | #if CPU(X86) || CPU(X86_64) |
8931 | OPGEN_RETURN(true); |
8932 | #endif |
8933 | break; |
8934 | break; |
8935 | case Arg::Tmp: |
8936 | #if CPU(X86) || CPU(X86_64) |
8937 | OPGEN_RETURN(true); |
8938 | #endif |
8939 | break; |
8940 | break; |
8941 | default: |
8942 | break; |
8943 | } |
8944 | break; |
8945 | case Arg::Tmp: |
8946 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8947 | case Arg::Tmp: |
8948 | OPGEN_RETURN(true); |
8949 | break; |
8950 | break; |
8951 | case Arg::Imm: |
8952 | OPGEN_RETURN(true); |
8953 | break; |
8954 | break; |
8955 | case Arg::Addr: |
8956 | case Arg::Stack: |
8957 | case Arg::CallArg: |
8958 | #if CPU(X86) || CPU(X86_64) |
8959 | OPGEN_RETURN(true); |
8960 | #endif |
8961 | break; |
8962 | break; |
8963 | default: |
8964 | break; |
8965 | } |
8966 | break; |
8967 | case Arg::Index: |
8968 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8969 | case Arg::Imm: |
8970 | #if CPU(X86) || CPU(X86_64) |
8971 | OPGEN_RETURN(true); |
8972 | #endif |
8973 | break; |
8974 | break; |
8975 | default: |
8976 | break; |
8977 | } |
8978 | break; |
8979 | default: |
8980 | break; |
8981 | } |
8982 | break; |
8983 | default: |
8984 | break; |
8985 | } |
8986 | break; |
8987 | default: |
8988 | break; |
8989 | } |
8990 | break; |
8991 | case Opcode::Branch64: |
8992 | switch (sizeof...(Arguments)) { |
8993 | case 3: |
8994 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
8995 | case Arg::RelCond: |
8996 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
8997 | case Arg::Tmp: |
8998 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
8999 | case Arg::Tmp: |
9000 | #if CPU(X86_64) || CPU(ARM64) |
9001 | OPGEN_RETURN(true); |
9002 | #endif |
9003 | break; |
9004 | break; |
9005 | case Arg::Imm: |
9006 | #if CPU(X86_64) || CPU(ARM64) |
9007 | OPGEN_RETURN(true); |
9008 | #endif |
9009 | break; |
9010 | break; |
9011 | case Arg::Addr: |
9012 | case Arg::Stack: |
9013 | case Arg::CallArg: |
9014 | #if CPU(X86_64) |
9015 | OPGEN_RETURN(true); |
9016 | #endif |
9017 | break; |
9018 | break; |
9019 | default: |
9020 | break; |
9021 | } |
9022 | break; |
9023 | case Arg::Addr: |
9024 | case Arg::Stack: |
9025 | case Arg::CallArg: |
9026 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9027 | case Arg::Tmp: |
9028 | #if CPU(X86_64) |
9029 | OPGEN_RETURN(true); |
9030 | #endif |
9031 | break; |
9032 | break; |
9033 | case Arg::Imm: |
9034 | #if CPU(X86_64) |
9035 | OPGEN_RETURN(true); |
9036 | #endif |
9037 | break; |
9038 | break; |
9039 | default: |
9040 | break; |
9041 | } |
9042 | break; |
9043 | case Arg::Index: |
9044 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9045 | case Arg::Tmp: |
9046 | #if CPU(X86_64) |
9047 | OPGEN_RETURN(true); |
9048 | #endif |
9049 | break; |
9050 | break; |
9051 | default: |
9052 | break; |
9053 | } |
9054 | break; |
9055 | default: |
9056 | break; |
9057 | } |
9058 | break; |
9059 | default: |
9060 | break; |
9061 | } |
9062 | break; |
9063 | default: |
9064 | break; |
9065 | } |
9066 | break; |
9067 | case Opcode::BranchTest8: |
9068 | switch (sizeof...(Arguments)) { |
9069 | case 3: |
9070 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9071 | case Arg::ResCond: |
9072 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9073 | case Arg::Addr: |
9074 | case Arg::Stack: |
9075 | case Arg::CallArg: |
9076 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9077 | case Arg::BitImm: |
9078 | #if CPU(X86) || CPU(X86_64) |
9079 | OPGEN_RETURN(true); |
9080 | #endif |
9081 | break; |
9082 | break; |
9083 | default: |
9084 | break; |
9085 | } |
9086 | break; |
9087 | case Arg::Index: |
9088 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9089 | case Arg::BitImm: |
9090 | #if CPU(X86) || CPU(X86_64) |
9091 | OPGEN_RETURN(true); |
9092 | #endif |
9093 | break; |
9094 | break; |
9095 | default: |
9096 | break; |
9097 | } |
9098 | break; |
9099 | default: |
9100 | break; |
9101 | } |
9102 | break; |
9103 | default: |
9104 | break; |
9105 | } |
9106 | break; |
9107 | default: |
9108 | break; |
9109 | } |
9110 | break; |
9111 | case Opcode::BranchTest32: |
9112 | switch (sizeof...(Arguments)) { |
9113 | case 3: |
9114 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9115 | case Arg::ResCond: |
9116 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9117 | case Arg::Tmp: |
9118 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9119 | case Arg::Tmp: |
9120 | OPGEN_RETURN(true); |
9121 | break; |
9122 | break; |
9123 | case Arg::BitImm: |
9124 | OPGEN_RETURN(true); |
9125 | break; |
9126 | break; |
9127 | default: |
9128 | break; |
9129 | } |
9130 | break; |
9131 | case Arg::Addr: |
9132 | case Arg::Stack: |
9133 | case Arg::CallArg: |
9134 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9135 | case Arg::BitImm: |
9136 | #if CPU(X86) || CPU(X86_64) |
9137 | OPGEN_RETURN(true); |
9138 | #endif |
9139 | break; |
9140 | break; |
9141 | default: |
9142 | break; |
9143 | } |
9144 | break; |
9145 | case Arg::Index: |
9146 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9147 | case Arg::BitImm: |
9148 | #if CPU(X86) || CPU(X86_64) |
9149 | OPGEN_RETURN(true); |
9150 | #endif |
9151 | break; |
9152 | break; |
9153 | default: |
9154 | break; |
9155 | } |
9156 | break; |
9157 | default: |
9158 | break; |
9159 | } |
9160 | break; |
9161 | default: |
9162 | break; |
9163 | } |
9164 | break; |
9165 | default: |
9166 | break; |
9167 | } |
9168 | break; |
9169 | case Opcode::BranchTest64: |
9170 | switch (sizeof...(Arguments)) { |
9171 | case 3: |
9172 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9173 | case Arg::ResCond: |
9174 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9175 | case Arg::Tmp: |
9176 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9177 | case Arg::Tmp: |
9178 | #if CPU(X86_64) || CPU(ARM64) |
9179 | OPGEN_RETURN(true); |
9180 | #endif |
9181 | break; |
9182 | break; |
9183 | #if USE(JSVALUE64) |
9184 | case Arg::BitImm64: |
9185 | #if CPU(ARM64) |
9186 | OPGEN_RETURN(true); |
9187 | #endif |
9188 | break; |
9189 | break; |
9190 | #endif // USE(JSVALUE64) |
9191 | case Arg::BitImm: |
9192 | #if CPU(X86_64) |
9193 | OPGEN_RETURN(true); |
9194 | #endif |
9195 | break; |
9196 | break; |
9197 | default: |
9198 | break; |
9199 | } |
9200 | break; |
9201 | case Arg::Addr: |
9202 | case Arg::Stack: |
9203 | case Arg::CallArg: |
9204 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9205 | case Arg::BitImm: |
9206 | #if CPU(X86_64) |
9207 | OPGEN_RETURN(true); |
9208 | #endif |
9209 | break; |
9210 | break; |
9211 | case Arg::Tmp: |
9212 | #if CPU(X86_64) |
9213 | OPGEN_RETURN(true); |
9214 | #endif |
9215 | break; |
9216 | break; |
9217 | default: |
9218 | break; |
9219 | } |
9220 | break; |
9221 | case Arg::Index: |
9222 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9223 | case Arg::BitImm: |
9224 | #if CPU(X86_64) |
9225 | OPGEN_RETURN(true); |
9226 | #endif |
9227 | break; |
9228 | break; |
9229 | default: |
9230 | break; |
9231 | } |
9232 | break; |
9233 | default: |
9234 | break; |
9235 | } |
9236 | break; |
9237 | default: |
9238 | break; |
9239 | } |
9240 | break; |
9241 | default: |
9242 | break; |
9243 | } |
9244 | break; |
9245 | case Opcode::BranchDouble: |
9246 | switch (sizeof...(Arguments)) { |
9247 | case 3: |
9248 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9249 | case Arg::DoubleCond: |
9250 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9251 | case Arg::Tmp: |
9252 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9253 | case Arg::Tmp: |
9254 | OPGEN_RETURN(true); |
9255 | break; |
9256 | break; |
9257 | default: |
9258 | break; |
9259 | } |
9260 | break; |
9261 | default: |
9262 | break; |
9263 | } |
9264 | break; |
9265 | default: |
9266 | break; |
9267 | } |
9268 | break; |
9269 | default: |
9270 | break; |
9271 | } |
9272 | break; |
9273 | case Opcode::BranchFloat: |
9274 | switch (sizeof...(Arguments)) { |
9275 | case 3: |
9276 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9277 | case Arg::DoubleCond: |
9278 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9279 | case Arg::Tmp: |
9280 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9281 | case Arg::Tmp: |
9282 | OPGEN_RETURN(true); |
9283 | break; |
9284 | break; |
9285 | default: |
9286 | break; |
9287 | } |
9288 | break; |
9289 | default: |
9290 | break; |
9291 | } |
9292 | break; |
9293 | default: |
9294 | break; |
9295 | } |
9296 | break; |
9297 | default: |
9298 | break; |
9299 | } |
9300 | break; |
9301 | case Opcode::BranchAdd32: |
9302 | switch (sizeof...(Arguments)) { |
9303 | case 4: |
9304 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9305 | case Arg::ResCond: |
9306 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9307 | case Arg::Tmp: |
9308 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9309 | case Arg::Tmp: |
9310 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9311 | case Arg::Tmp: |
9312 | OPGEN_RETURN(true); |
9313 | break; |
9314 | break; |
9315 | default: |
9316 | break; |
9317 | } |
9318 | break; |
9319 | case Arg::Addr: |
9320 | case Arg::Stack: |
9321 | case Arg::CallArg: |
9322 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9323 | case Arg::Tmp: |
9324 | #if CPU(X86) || CPU(X86_64) |
9325 | OPGEN_RETURN(true); |
9326 | #endif |
9327 | break; |
9328 | break; |
9329 | default: |
9330 | break; |
9331 | } |
9332 | break; |
9333 | default: |
9334 | break; |
9335 | } |
9336 | break; |
9337 | case Arg::Addr: |
9338 | case Arg::Stack: |
9339 | case Arg::CallArg: |
9340 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9341 | case Arg::Tmp: |
9342 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9343 | case Arg::Tmp: |
9344 | #if CPU(X86) || CPU(X86_64) |
9345 | OPGEN_RETURN(true); |
9346 | #endif |
9347 | break; |
9348 | break; |
9349 | default: |
9350 | break; |
9351 | } |
9352 | break; |
9353 | default: |
9354 | break; |
9355 | } |
9356 | break; |
9357 | default: |
9358 | break; |
9359 | } |
9360 | break; |
9361 | default: |
9362 | break; |
9363 | } |
9364 | break; |
9365 | case 3: |
9366 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9367 | case Arg::ResCond: |
9368 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9369 | case Arg::Tmp: |
9370 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9371 | case Arg::Tmp: |
9372 | OPGEN_RETURN(true); |
9373 | break; |
9374 | break; |
9375 | case Arg::Addr: |
9376 | case Arg::Stack: |
9377 | case Arg::CallArg: |
9378 | #if CPU(X86) || CPU(X86_64) |
9379 | OPGEN_RETURN(true); |
9380 | #endif |
9381 | break; |
9382 | break; |
9383 | default: |
9384 | break; |
9385 | } |
9386 | break; |
9387 | case Arg::Imm: |
9388 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9389 | case Arg::Tmp: |
9390 | OPGEN_RETURN(true); |
9391 | break; |
9392 | break; |
9393 | case Arg::Addr: |
9394 | case Arg::Stack: |
9395 | case Arg::CallArg: |
9396 | #if CPU(X86) || CPU(X86_64) |
9397 | OPGEN_RETURN(true); |
9398 | #endif |
9399 | break; |
9400 | break; |
9401 | default: |
9402 | break; |
9403 | } |
9404 | break; |
9405 | case Arg::Addr: |
9406 | case Arg::Stack: |
9407 | case Arg::CallArg: |
9408 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9409 | case Arg::Tmp: |
9410 | #if CPU(X86) || CPU(X86_64) |
9411 | OPGEN_RETURN(true); |
9412 | #endif |
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::BranchAdd64: |
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::Imm: |
9500 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9501 | case Arg::Tmp: |
9502 | #if CPU(X86_64) || CPU(ARM64) |
9503 | OPGEN_RETURN(true); |
9504 | #endif |
9505 | break; |
9506 | break; |
9507 | default: |
9508 | break; |
9509 | } |
9510 | break; |
9511 | case Arg::Tmp: |
9512 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9513 | case Arg::Tmp: |
9514 | #if CPU(X86_64) || CPU(ARM64) |
9515 | OPGEN_RETURN(true); |
9516 | #endif |
9517 | break; |
9518 | break; |
9519 | default: |
9520 | break; |
9521 | } |
9522 | break; |
9523 | case Arg::Addr: |
9524 | case Arg::Stack: |
9525 | case Arg::CallArg: |
9526 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9527 | case Arg::Tmp: |
9528 | #if CPU(X86_64) |
9529 | OPGEN_RETURN(true); |
9530 | #endif |
9531 | break; |
9532 | break; |
9533 | default: |
9534 | break; |
9535 | } |
9536 | break; |
9537 | default: |
9538 | break; |
9539 | } |
9540 | break; |
9541 | default: |
9542 | break; |
9543 | } |
9544 | break; |
9545 | default: |
9546 | break; |
9547 | } |
9548 | break; |
9549 | case Opcode::BranchMul32: |
9550 | switch (sizeof...(Arguments)) { |
9551 | case 3: |
9552 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9553 | case Arg::ResCond: |
9554 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9555 | case Arg::Tmp: |
9556 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9557 | case Arg::Tmp: |
9558 | #if CPU(X86) || CPU(X86_64) |
9559 | OPGEN_RETURN(true); |
9560 | #endif |
9561 | break; |
9562 | break; |
9563 | default: |
9564 | break; |
9565 | } |
9566 | break; |
9567 | case Arg::Addr: |
9568 | case Arg::Stack: |
9569 | case Arg::CallArg: |
9570 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9571 | case Arg::Tmp: |
9572 | #if CPU(X86) || CPU(X86_64) |
9573 | OPGEN_RETURN(true); |
9574 | #endif |
9575 | break; |
9576 | break; |
9577 | default: |
9578 | break; |
9579 | } |
9580 | break; |
9581 | default: |
9582 | break; |
9583 | } |
9584 | break; |
9585 | default: |
9586 | break; |
9587 | } |
9588 | break; |
9589 | case 4: |
9590 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9591 | case Arg::ResCond: |
9592 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9593 | case Arg::Tmp: |
9594 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9595 | case Arg::Imm: |
9596 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9597 | case Arg::Tmp: |
9598 | #if CPU(X86) || CPU(X86_64) |
9599 | OPGEN_RETURN(true); |
9600 | #endif |
9601 | break; |
9602 | break; |
9603 | default: |
9604 | break; |
9605 | } |
9606 | break; |
9607 | default: |
9608 | break; |
9609 | } |
9610 | break; |
9611 | default: |
9612 | break; |
9613 | } |
9614 | break; |
9615 | default: |
9616 | break; |
9617 | } |
9618 | break; |
9619 | case 6: |
9620 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9621 | case Arg::ResCond: |
9622 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9623 | case Arg::Tmp: |
9624 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9625 | case Arg::Tmp: |
9626 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9627 | case Arg::Tmp: |
9628 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9629 | case Arg::Tmp: |
9630 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
9631 | case Arg::Tmp: |
9632 | #if CPU(ARM64) |
9633 | OPGEN_RETURN(true); |
9634 | #endif |
9635 | break; |
9636 | break; |
9637 | default: |
9638 | break; |
9639 | } |
9640 | break; |
9641 | default: |
9642 | break; |
9643 | } |
9644 | break; |
9645 | default: |
9646 | break; |
9647 | } |
9648 | break; |
9649 | default: |
9650 | break; |
9651 | } |
9652 | break; |
9653 | default: |
9654 | break; |
9655 | } |
9656 | break; |
9657 | default: |
9658 | break; |
9659 | } |
9660 | break; |
9661 | default: |
9662 | break; |
9663 | } |
9664 | break; |
9665 | case Opcode::BranchMul64: |
9666 | switch (sizeof...(Arguments)) { |
9667 | case 3: |
9668 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9669 | case Arg::ResCond: |
9670 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9671 | case Arg::Tmp: |
9672 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9673 | case Arg::Tmp: |
9674 | #if CPU(X86_64) |
9675 | OPGEN_RETURN(true); |
9676 | #endif |
9677 | break; |
9678 | break; |
9679 | default: |
9680 | break; |
9681 | } |
9682 | break; |
9683 | default: |
9684 | break; |
9685 | } |
9686 | break; |
9687 | default: |
9688 | break; |
9689 | } |
9690 | break; |
9691 | case 6: |
9692 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9693 | case Arg::ResCond: |
9694 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9695 | case Arg::Tmp: |
9696 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9697 | case Arg::Tmp: |
9698 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9699 | case Arg::Tmp: |
9700 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9701 | case Arg::Tmp: |
9702 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
9703 | case Arg::Tmp: |
9704 | #if CPU(ARM64) |
9705 | OPGEN_RETURN(true); |
9706 | #endif |
9707 | break; |
9708 | break; |
9709 | default: |
9710 | break; |
9711 | } |
9712 | break; |
9713 | default: |
9714 | break; |
9715 | } |
9716 | break; |
9717 | default: |
9718 | break; |
9719 | } |
9720 | break; |
9721 | default: |
9722 | break; |
9723 | } |
9724 | break; |
9725 | default: |
9726 | break; |
9727 | } |
9728 | break; |
9729 | default: |
9730 | break; |
9731 | } |
9732 | break; |
9733 | default: |
9734 | break; |
9735 | } |
9736 | break; |
9737 | case Opcode::BranchSub32: |
9738 | switch (sizeof...(Arguments)) { |
9739 | case 3: |
9740 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9741 | case Arg::ResCond: |
9742 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9743 | case Arg::Tmp: |
9744 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9745 | case Arg::Tmp: |
9746 | OPGEN_RETURN(true); |
9747 | break; |
9748 | break; |
9749 | case Arg::Addr: |
9750 | case Arg::Stack: |
9751 | case Arg::CallArg: |
9752 | #if CPU(X86) || CPU(X86_64) |
9753 | OPGEN_RETURN(true); |
9754 | #endif |
9755 | break; |
9756 | break; |
9757 | default: |
9758 | break; |
9759 | } |
9760 | break; |
9761 | case Arg::Imm: |
9762 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9763 | case Arg::Tmp: |
9764 | OPGEN_RETURN(true); |
9765 | break; |
9766 | break; |
9767 | case Arg::Addr: |
9768 | case Arg::Stack: |
9769 | case Arg::CallArg: |
9770 | #if CPU(X86) || CPU(X86_64) |
9771 | OPGEN_RETURN(true); |
9772 | #endif |
9773 | break; |
9774 | break; |
9775 | default: |
9776 | break; |
9777 | } |
9778 | break; |
9779 | case Arg::Addr: |
9780 | case Arg::Stack: |
9781 | case Arg::CallArg: |
9782 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9783 | case Arg::Tmp: |
9784 | #if CPU(X86) || CPU(X86_64) |
9785 | OPGEN_RETURN(true); |
9786 | #endif |
9787 | break; |
9788 | break; |
9789 | default: |
9790 | break; |
9791 | } |
9792 | break; |
9793 | default: |
9794 | break; |
9795 | } |
9796 | break; |
9797 | default: |
9798 | break; |
9799 | } |
9800 | break; |
9801 | default: |
9802 | break; |
9803 | } |
9804 | break; |
9805 | case Opcode::BranchSub64: |
9806 | switch (sizeof...(Arguments)) { |
9807 | case 3: |
9808 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9809 | case Arg::ResCond: |
9810 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9811 | case Arg::Imm: |
9812 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9813 | case Arg::Tmp: |
9814 | #if CPU(X86_64) || CPU(ARM64) |
9815 | OPGEN_RETURN(true); |
9816 | #endif |
9817 | break; |
9818 | break; |
9819 | default: |
9820 | break; |
9821 | } |
9822 | break; |
9823 | case Arg::Tmp: |
9824 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9825 | case Arg::Tmp: |
9826 | #if CPU(X86_64) || CPU(ARM64) |
9827 | OPGEN_RETURN(true); |
9828 | #endif |
9829 | break; |
9830 | break; |
9831 | default: |
9832 | break; |
9833 | } |
9834 | break; |
9835 | default: |
9836 | break; |
9837 | } |
9838 | break; |
9839 | default: |
9840 | break; |
9841 | } |
9842 | break; |
9843 | default: |
9844 | break; |
9845 | } |
9846 | break; |
9847 | case Opcode::BranchNeg32: |
9848 | switch (sizeof...(Arguments)) { |
9849 | case 2: |
9850 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9851 | case Arg::ResCond: |
9852 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9853 | case Arg::Tmp: |
9854 | OPGEN_RETURN(true); |
9855 | break; |
9856 | break; |
9857 | default: |
9858 | break; |
9859 | } |
9860 | break; |
9861 | default: |
9862 | break; |
9863 | } |
9864 | break; |
9865 | default: |
9866 | break; |
9867 | } |
9868 | break; |
9869 | case Opcode::BranchNeg64: |
9870 | switch (sizeof...(Arguments)) { |
9871 | case 2: |
9872 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9873 | case Arg::ResCond: |
9874 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9875 | case Arg::Tmp: |
9876 | #if CPU(X86_64) || CPU(ARM64) |
9877 | OPGEN_RETURN(true); |
9878 | #endif |
9879 | break; |
9880 | break; |
9881 | default: |
9882 | break; |
9883 | } |
9884 | break; |
9885 | default: |
9886 | break; |
9887 | } |
9888 | break; |
9889 | default: |
9890 | break; |
9891 | } |
9892 | break; |
9893 | case Opcode::MoveConditionally32: |
9894 | switch (sizeof...(Arguments)) { |
9895 | case 5: |
9896 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9897 | case Arg::RelCond: |
9898 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9899 | case Arg::Tmp: |
9900 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9901 | case Arg::Tmp: |
9902 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9903 | case Arg::Tmp: |
9904 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9905 | case Arg::Tmp: |
9906 | OPGEN_RETURN(true); |
9907 | break; |
9908 | break; |
9909 | default: |
9910 | break; |
9911 | } |
9912 | break; |
9913 | default: |
9914 | break; |
9915 | } |
9916 | break; |
9917 | default: |
9918 | break; |
9919 | } |
9920 | break; |
9921 | default: |
9922 | break; |
9923 | } |
9924 | break; |
9925 | default: |
9926 | break; |
9927 | } |
9928 | break; |
9929 | case 6: |
9930 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9931 | case Arg::RelCond: |
9932 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
9933 | case Arg::Tmp: |
9934 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
9935 | case Arg::Tmp: |
9936 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9937 | case Arg::Tmp: |
9938 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9939 | case Arg::Tmp: |
9940 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
9941 | case Arg::Tmp: |
9942 | OPGEN_RETURN(true); |
9943 | break; |
9944 | break; |
9945 | default: |
9946 | break; |
9947 | } |
9948 | break; |
9949 | default: |
9950 | break; |
9951 | } |
9952 | break; |
9953 | default: |
9954 | break; |
9955 | } |
9956 | break; |
9957 | case Arg::Imm: |
9958 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
9959 | case Arg::Tmp: |
9960 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
9961 | case Arg::Tmp: |
9962 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
9963 | case Arg::Tmp: |
9964 | OPGEN_RETURN(true); |
9965 | break; |
9966 | break; |
9967 | default: |
9968 | break; |
9969 | } |
9970 | break; |
9971 | default: |
9972 | break; |
9973 | } |
9974 | break; |
9975 | default: |
9976 | break; |
9977 | } |
9978 | break; |
9979 | default: |
9980 | break; |
9981 | } |
9982 | break; |
9983 | default: |
9984 | break; |
9985 | } |
9986 | break; |
9987 | default: |
9988 | break; |
9989 | } |
9990 | break; |
9991 | default: |
9992 | break; |
9993 | } |
9994 | break; |
9995 | case Opcode::MoveConditionally64: |
9996 | switch (sizeof...(Arguments)) { |
9997 | case 5: |
9998 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
9999 | case Arg::RelCond: |
10000 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10001 | case Arg::Tmp: |
10002 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10003 | case Arg::Tmp: |
10004 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10005 | case Arg::Tmp: |
10006 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10007 | case Arg::Tmp: |
10008 | #if CPU(X86_64) || CPU(ARM64) |
10009 | OPGEN_RETURN(true); |
10010 | #endif |
10011 | break; |
10012 | break; |
10013 | default: |
10014 | break; |
10015 | } |
10016 | break; |
10017 | default: |
10018 | break; |
10019 | } |
10020 | break; |
10021 | default: |
10022 | break; |
10023 | } |
10024 | break; |
10025 | default: |
10026 | break; |
10027 | } |
10028 | break; |
10029 | default: |
10030 | break; |
10031 | } |
10032 | break; |
10033 | case 6: |
10034 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10035 | case Arg::RelCond: |
10036 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10037 | case Arg::Tmp: |
10038 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10039 | case Arg::Tmp: |
10040 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10041 | case Arg::Tmp: |
10042 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10043 | case Arg::Tmp: |
10044 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10045 | case Arg::Tmp: |
10046 | #if CPU(X86_64) || CPU(ARM64) |
10047 | OPGEN_RETURN(true); |
10048 | #endif |
10049 | break; |
10050 | break; |
10051 | default: |
10052 | break; |
10053 | } |
10054 | break; |
10055 | default: |
10056 | break; |
10057 | } |
10058 | break; |
10059 | default: |
10060 | break; |
10061 | } |
10062 | break; |
10063 | case Arg::Imm: |
10064 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10065 | case Arg::Tmp: |
10066 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10067 | case Arg::Tmp: |
10068 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10069 | case Arg::Tmp: |
10070 | #if CPU(X86_64) || CPU(ARM64) |
10071 | OPGEN_RETURN(true); |
10072 | #endif |
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 | default: |
10088 | break; |
10089 | } |
10090 | break; |
10091 | default: |
10092 | break; |
10093 | } |
10094 | break; |
10095 | default: |
10096 | break; |
10097 | } |
10098 | break; |
10099 | default: |
10100 | break; |
10101 | } |
10102 | break; |
10103 | case Opcode::MoveConditionallyTest32: |
10104 | switch (sizeof...(Arguments)) { |
10105 | case 5: |
10106 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10107 | case Arg::ResCond: |
10108 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10109 | case Arg::Tmp: |
10110 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10111 | case Arg::Tmp: |
10112 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10113 | case Arg::Tmp: |
10114 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10115 | case Arg::Tmp: |
10116 | OPGEN_RETURN(true); |
10117 | break; |
10118 | break; |
10119 | default: |
10120 | break; |
10121 | } |
10122 | break; |
10123 | default: |
10124 | break; |
10125 | } |
10126 | break; |
10127 | case Arg::Imm: |
10128 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10129 | case Arg::Tmp: |
10130 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10131 | case Arg::Tmp: |
10132 | #if CPU(X86) || CPU(X86_64) |
10133 | OPGEN_RETURN(true); |
10134 | #endif |
10135 | break; |
10136 | break; |
10137 | default: |
10138 | break; |
10139 | } |
10140 | break; |
10141 | default: |
10142 | break; |
10143 | } |
10144 | break; |
10145 | default: |
10146 | break; |
10147 | } |
10148 | break; |
10149 | default: |
10150 | break; |
10151 | } |
10152 | break; |
10153 | default: |
10154 | break; |
10155 | } |
10156 | break; |
10157 | case 6: |
10158 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10159 | case Arg::ResCond: |
10160 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10161 | case Arg::Tmp: |
10162 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10163 | case Arg::Tmp: |
10164 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10165 | case Arg::Tmp: |
10166 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10167 | case Arg::Tmp: |
10168 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10169 | case Arg::Tmp: |
10170 | OPGEN_RETURN(true); |
10171 | break; |
10172 | break; |
10173 | default: |
10174 | break; |
10175 | } |
10176 | break; |
10177 | default: |
10178 | break; |
10179 | } |
10180 | break; |
10181 | default: |
10182 | break; |
10183 | } |
10184 | break; |
10185 | case Arg::BitImm: |
10186 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10187 | case Arg::Tmp: |
10188 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10189 | case Arg::Tmp: |
10190 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10191 | case Arg::Tmp: |
10192 | OPGEN_RETURN(true); |
10193 | break; |
10194 | break; |
10195 | default: |
10196 | break; |
10197 | } |
10198 | break; |
10199 | default: |
10200 | break; |
10201 | } |
10202 | break; |
10203 | default: |
10204 | break; |
10205 | } |
10206 | break; |
10207 | default: |
10208 | break; |
10209 | } |
10210 | break; |
10211 | default: |
10212 | break; |
10213 | } |
10214 | break; |
10215 | default: |
10216 | break; |
10217 | } |
10218 | break; |
10219 | default: |
10220 | break; |
10221 | } |
10222 | break; |
10223 | case Opcode::MoveConditionallyTest64: |
10224 | switch (sizeof...(Arguments)) { |
10225 | case 5: |
10226 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10227 | case Arg::ResCond: |
10228 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10229 | case Arg::Tmp: |
10230 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10231 | case Arg::Tmp: |
10232 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10233 | case Arg::Tmp: |
10234 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10235 | case Arg::Tmp: |
10236 | #if CPU(X86_64) || CPU(ARM64) |
10237 | OPGEN_RETURN(true); |
10238 | #endif |
10239 | break; |
10240 | break; |
10241 | default: |
10242 | break; |
10243 | } |
10244 | break; |
10245 | default: |
10246 | break; |
10247 | } |
10248 | break; |
10249 | case Arg::Imm: |
10250 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10251 | case Arg::Tmp: |
10252 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10253 | case Arg::Tmp: |
10254 | #if CPU(X86_64) |
10255 | OPGEN_RETURN(true); |
10256 | #endif |
10257 | break; |
10258 | break; |
10259 | default: |
10260 | break; |
10261 | } |
10262 | break; |
10263 | default: |
10264 | break; |
10265 | } |
10266 | break; |
10267 | default: |
10268 | break; |
10269 | } |
10270 | break; |
10271 | default: |
10272 | break; |
10273 | } |
10274 | break; |
10275 | default: |
10276 | break; |
10277 | } |
10278 | break; |
10279 | case 6: |
10280 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10281 | case Arg::ResCond: |
10282 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10283 | case Arg::Tmp: |
10284 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10285 | case Arg::Tmp: |
10286 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10287 | case Arg::Tmp: |
10288 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10289 | case Arg::Tmp: |
10290 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10291 | case Arg::Tmp: |
10292 | #if CPU(X86_64) || CPU(ARM64) |
10293 | OPGEN_RETURN(true); |
10294 | #endif |
10295 | break; |
10296 | break; |
10297 | default: |
10298 | break; |
10299 | } |
10300 | break; |
10301 | default: |
10302 | break; |
10303 | } |
10304 | break; |
10305 | default: |
10306 | break; |
10307 | } |
10308 | break; |
10309 | case Arg::Imm: |
10310 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10311 | case Arg::Tmp: |
10312 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10313 | case Arg::Tmp: |
10314 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10315 | case Arg::Tmp: |
10316 | #if CPU(X86_64) |
10317 | OPGEN_RETURN(true); |
10318 | #endif |
10319 | break; |
10320 | break; |
10321 | default: |
10322 | break; |
10323 | } |
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 | case Opcode::MoveConditionallyDouble: |
10350 | switch (sizeof...(Arguments)) { |
10351 | case 6: |
10352 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10353 | case Arg::DoubleCond: |
10354 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10355 | case Arg::Tmp: |
10356 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10357 | case Arg::Tmp: |
10358 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10359 | case Arg::Tmp: |
10360 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10361 | case Arg::Tmp: |
10362 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10363 | case Arg::Tmp: |
10364 | OPGEN_RETURN(true); |
10365 | break; |
10366 | break; |
10367 | default: |
10368 | break; |
10369 | } |
10370 | break; |
10371 | default: |
10372 | break; |
10373 | } |
10374 | break; |
10375 | default: |
10376 | break; |
10377 | } |
10378 | break; |
10379 | default: |
10380 | break; |
10381 | } |
10382 | break; |
10383 | default: |
10384 | break; |
10385 | } |
10386 | break; |
10387 | default: |
10388 | break; |
10389 | } |
10390 | break; |
10391 | case 5: |
10392 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10393 | case Arg::DoubleCond: |
10394 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10395 | case Arg::Tmp: |
10396 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10397 | case Arg::Tmp: |
10398 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10399 | case Arg::Tmp: |
10400 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10401 | case Arg::Tmp: |
10402 | OPGEN_RETURN(true); |
10403 | break; |
10404 | break; |
10405 | default: |
10406 | break; |
10407 | } |
10408 | break; |
10409 | default: |
10410 | break; |
10411 | } |
10412 | break; |
10413 | default: |
10414 | break; |
10415 | } |
10416 | break; |
10417 | default: |
10418 | break; |
10419 | } |
10420 | break; |
10421 | default: |
10422 | break; |
10423 | } |
10424 | break; |
10425 | default: |
10426 | break; |
10427 | } |
10428 | break; |
10429 | case Opcode::MoveConditionallyFloat: |
10430 | switch (sizeof...(Arguments)) { |
10431 | case 6: |
10432 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10433 | case Arg::DoubleCond: |
10434 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10435 | case Arg::Tmp: |
10436 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10437 | case Arg::Tmp: |
10438 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10439 | case Arg::Tmp: |
10440 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10441 | case Arg::Tmp: |
10442 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10443 | case Arg::Tmp: |
10444 | OPGEN_RETURN(true); |
10445 | break; |
10446 | break; |
10447 | default: |
10448 | break; |
10449 | } |
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 | case 5: |
10472 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10473 | case Arg::DoubleCond: |
10474 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10475 | case Arg::Tmp: |
10476 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10477 | case Arg::Tmp: |
10478 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10479 | case Arg::Tmp: |
10480 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10481 | case Arg::Tmp: |
10482 | OPGEN_RETURN(true); |
10483 | break; |
10484 | break; |
10485 | default: |
10486 | break; |
10487 | } |
10488 | break; |
10489 | default: |
10490 | break; |
10491 | } |
10492 | break; |
10493 | default: |
10494 | break; |
10495 | } |
10496 | break; |
10497 | default: |
10498 | break; |
10499 | } |
10500 | break; |
10501 | default: |
10502 | break; |
10503 | } |
10504 | break; |
10505 | default: |
10506 | break; |
10507 | } |
10508 | break; |
10509 | case Opcode::MoveDoubleConditionally32: |
10510 | switch (sizeof...(Arguments)) { |
10511 | case 6: |
10512 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10513 | case Arg::RelCond: |
10514 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10515 | case Arg::Tmp: |
10516 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10517 | case Arg::Tmp: |
10518 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10519 | case Arg::Tmp: |
10520 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10521 | case Arg::Tmp: |
10522 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10523 | case Arg::Tmp: |
10524 | OPGEN_RETURN(true); |
10525 | break; |
10526 | break; |
10527 | default: |
10528 | break; |
10529 | } |
10530 | break; |
10531 | default: |
10532 | break; |
10533 | } |
10534 | break; |
10535 | default: |
10536 | break; |
10537 | } |
10538 | break; |
10539 | case Arg::Imm: |
10540 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10541 | case Arg::Tmp: |
10542 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10543 | case Arg::Tmp: |
10544 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10545 | case Arg::Tmp: |
10546 | OPGEN_RETURN(true); |
10547 | break; |
10548 | break; |
10549 | default: |
10550 | break; |
10551 | } |
10552 | break; |
10553 | default: |
10554 | break; |
10555 | } |
10556 | break; |
10557 | default: |
10558 | break; |
10559 | } |
10560 | break; |
10561 | case Arg::Addr: |
10562 | case Arg::Stack: |
10563 | case Arg::CallArg: |
10564 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10565 | case Arg::Tmp: |
10566 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10567 | case Arg::Tmp: |
10568 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10569 | case Arg::Tmp: |
10570 | #if CPU(X86) || CPU(X86_64) |
10571 | OPGEN_RETURN(true); |
10572 | #endif |
10573 | break; |
10574 | break; |
10575 | default: |
10576 | break; |
10577 | } |
10578 | break; |
10579 | default: |
10580 | break; |
10581 | } |
10582 | break; |
10583 | default: |
10584 | break; |
10585 | } |
10586 | break; |
10587 | default: |
10588 | break; |
10589 | } |
10590 | break; |
10591 | case Arg::Addr: |
10592 | case Arg::Stack: |
10593 | case Arg::CallArg: |
10594 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10595 | case Arg::Imm: |
10596 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10597 | case Arg::Tmp: |
10598 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10599 | case Arg::Tmp: |
10600 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10601 | case Arg::Tmp: |
10602 | #if CPU(X86) || CPU(X86_64) |
10603 | OPGEN_RETURN(true); |
10604 | #endif |
10605 | break; |
10606 | break; |
10607 | default: |
10608 | break; |
10609 | } |
10610 | break; |
10611 | default: |
10612 | break; |
10613 | } |
10614 | break; |
10615 | default: |
10616 | break; |
10617 | } |
10618 | break; |
10619 | case Arg::Tmp: |
10620 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10621 | case Arg::Tmp: |
10622 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10623 | case Arg::Tmp: |
10624 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10625 | case Arg::Tmp: |
10626 | #if CPU(X86) || CPU(X86_64) |
10627 | OPGEN_RETURN(true); |
10628 | #endif |
10629 | break; |
10630 | break; |
10631 | default: |
10632 | break; |
10633 | } |
10634 | break; |
10635 | default: |
10636 | break; |
10637 | } |
10638 | break; |
10639 | default: |
10640 | break; |
10641 | } |
10642 | break; |
10643 | default: |
10644 | break; |
10645 | } |
10646 | break; |
10647 | case Arg::Index: |
10648 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10649 | case Arg::Imm: |
10650 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10651 | case Arg::Tmp: |
10652 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10653 | case Arg::Tmp: |
10654 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10655 | case Arg::Tmp: |
10656 | #if CPU(X86) || CPU(X86_64) |
10657 | OPGEN_RETURN(true); |
10658 | #endif |
10659 | break; |
10660 | break; |
10661 | default: |
10662 | break; |
10663 | } |
10664 | break; |
10665 | default: |
10666 | break; |
10667 | } |
10668 | break; |
10669 | default: |
10670 | break; |
10671 | } |
10672 | break; |
10673 | default: |
10674 | break; |
10675 | } |
10676 | break; |
10677 | default: |
10678 | break; |
10679 | } |
10680 | break; |
10681 | default: |
10682 | break; |
10683 | } |
10684 | break; |
10685 | default: |
10686 | break; |
10687 | } |
10688 | break; |
10689 | case Opcode::MoveDoubleConditionally64: |
10690 | switch (sizeof...(Arguments)) { |
10691 | case 6: |
10692 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10693 | case Arg::RelCond: |
10694 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10695 | case Arg::Tmp: |
10696 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10697 | case Arg::Tmp: |
10698 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10699 | case Arg::Tmp: |
10700 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10701 | case Arg::Tmp: |
10702 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10703 | case Arg::Tmp: |
10704 | #if CPU(X86_64) || CPU(ARM64) |
10705 | OPGEN_RETURN(true); |
10706 | #endif |
10707 | break; |
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::Imm: |
10722 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10723 | case Arg::Tmp: |
10724 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10725 | case Arg::Tmp: |
10726 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10727 | case Arg::Tmp: |
10728 | #if CPU(X86_64) || CPU(ARM64) |
10729 | OPGEN_RETURN(true); |
10730 | #endif |
10731 | break; |
10732 | break; |
10733 | default: |
10734 | break; |
10735 | } |
10736 | break; |
10737 | default: |
10738 | break; |
10739 | } |
10740 | break; |
10741 | default: |
10742 | break; |
10743 | } |
10744 | break; |
10745 | case Arg::Addr: |
10746 | case Arg::Stack: |
10747 | case Arg::CallArg: |
10748 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10749 | case Arg::Tmp: |
10750 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10751 | case Arg::Tmp: |
10752 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10753 | case Arg::Tmp: |
10754 | #if CPU(X86_64) |
10755 | OPGEN_RETURN(true); |
10756 | #endif |
10757 | break; |
10758 | break; |
10759 | default: |
10760 | break; |
10761 | } |
10762 | break; |
10763 | default: |
10764 | break; |
10765 | } |
10766 | break; |
10767 | default: |
10768 | break; |
10769 | } |
10770 | break; |
10771 | default: |
10772 | break; |
10773 | } |
10774 | break; |
10775 | case Arg::Addr: |
10776 | case Arg::Stack: |
10777 | case Arg::CallArg: |
10778 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10779 | case Arg::Tmp: |
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_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 | case Arg::Imm: |
10804 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10805 | case Arg::Tmp: |
10806 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10807 | case Arg::Tmp: |
10808 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10809 | case Arg::Tmp: |
10810 | #if CPU(X86_64) |
10811 | OPGEN_RETURN(true); |
10812 | #endif |
10813 | break; |
10814 | break; |
10815 | default: |
10816 | break; |
10817 | } |
10818 | break; |
10819 | default: |
10820 | break; |
10821 | } |
10822 | break; |
10823 | default: |
10824 | break; |
10825 | } |
10826 | break; |
10827 | default: |
10828 | break; |
10829 | } |
10830 | break; |
10831 | case Arg::Index: |
10832 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10833 | case Arg::Tmp: |
10834 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10835 | case Arg::Tmp: |
10836 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10837 | case Arg::Tmp: |
10838 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10839 | case Arg::Tmp: |
10840 | #if CPU(X86_64) |
10841 | OPGEN_RETURN(true); |
10842 | #endif |
10843 | break; |
10844 | break; |
10845 | default: |
10846 | break; |
10847 | } |
10848 | break; |
10849 | default: |
10850 | break; |
10851 | } |
10852 | break; |
10853 | default: |
10854 | break; |
10855 | } |
10856 | break; |
10857 | default: |
10858 | break; |
10859 | } |
10860 | break; |
10861 | default: |
10862 | break; |
10863 | } |
10864 | break; |
10865 | default: |
10866 | break; |
10867 | } |
10868 | break; |
10869 | default: |
10870 | break; |
10871 | } |
10872 | break; |
10873 | case Opcode::MoveDoubleConditionallyTest32: |
10874 | switch (sizeof...(Arguments)) { |
10875 | case 6: |
10876 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
10877 | case Arg::ResCond: |
10878 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
10879 | case Arg::Tmp: |
10880 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
10881 | case Arg::Tmp: |
10882 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10883 | case Arg::Tmp: |
10884 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10885 | case Arg::Tmp: |
10886 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10887 | case Arg::Tmp: |
10888 | OPGEN_RETURN(true); |
10889 | break; |
10890 | break; |
10891 | default: |
10892 | break; |
10893 | } |
10894 | break; |
10895 | default: |
10896 | break; |
10897 | } |
10898 | break; |
10899 | default: |
10900 | break; |
10901 | } |
10902 | break; |
10903 | case Arg::BitImm: |
10904 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
10905 | case Arg::Tmp: |
10906 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
10907 | case Arg::Tmp: |
10908 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
10909 | case Arg::Tmp: |
10910 | OPGEN_RETURN(true); |
10911 | break; |
10912 | break; |
10913 | default: |
10914 | break; |
10915 | } |
10916 | break; |
10917 | default: |
10918 | break; |
10919 | } |
10920 | break; |
10921 | default: |
10922 | break; |
10923 | } |
10924 | break; |
10925 | default: |
10926 | break; |
10927 | } |
10928 | break; |
10929 | case Arg::Addr: |
10930 | case Arg::Stack: |
10931 | case Arg::CallArg: |
10932 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
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) || 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::Imm: |
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) || 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::MoveDoubleConditionallyTest64: |
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 | #if CPU(X86_64) || CPU(ARM64) |
11019 | OPGEN_RETURN(true); |
11020 | #endif |
11021 | break; |
11022 | break; |
11023 | default: |
11024 | break; |
11025 | } |
11026 | break; |
11027 | default: |
11028 | break; |
11029 | } |
11030 | break; |
11031 | default: |
11032 | break; |
11033 | } |
11034 | break; |
11035 | case Arg::Imm: |
11036 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11037 | case Arg::Tmp: |
11038 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11039 | case Arg::Tmp: |
11040 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11041 | case Arg::Tmp: |
11042 | #if CPU(X86_64) |
11043 | OPGEN_RETURN(true); |
11044 | #endif |
11045 | break; |
11046 | break; |
11047 | default: |
11048 | break; |
11049 | } |
11050 | break; |
11051 | default: |
11052 | break; |
11053 | } |
11054 | break; |
11055 | default: |
11056 | break; |
11057 | } |
11058 | break; |
11059 | default: |
11060 | break; |
11061 | } |
11062 | break; |
11063 | case Arg::Addr: |
11064 | case Arg::Stack: |
11065 | case Arg::CallArg: |
11066 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11067 | case Arg::Imm: |
11068 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11069 | case Arg::Tmp: |
11070 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11071 | case Arg::Tmp: |
11072 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11073 | case Arg::Tmp: |
11074 | #if CPU(X86_64) |
11075 | OPGEN_RETURN(true); |
11076 | #endif |
11077 | break; |
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::Tmp: |
11092 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11093 | case Arg::Tmp: |
11094 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11095 | case Arg::Tmp: |
11096 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11097 | case Arg::Tmp: |
11098 | #if CPU(X86_64) |
11099 | OPGEN_RETURN(true); |
11100 | #endif |
11101 | break; |
11102 | break; |
11103 | default: |
11104 | break; |
11105 | } |
11106 | break; |
11107 | default: |
11108 | break; |
11109 | } |
11110 | break; |
11111 | default: |
11112 | break; |
11113 | } |
11114 | break; |
11115 | default: |
11116 | break; |
11117 | } |
11118 | break; |
11119 | case Arg::Index: |
11120 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11121 | case Arg::Imm: |
11122 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11123 | case Arg::Tmp: |
11124 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11125 | case Arg::Tmp: |
11126 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11127 | case Arg::Tmp: |
11128 | #if CPU(X86_64) |
11129 | OPGEN_RETURN(true); |
11130 | #endif |
11131 | break; |
11132 | break; |
11133 | default: |
11134 | break; |
11135 | } |
11136 | break; |
11137 | default: |
11138 | break; |
11139 | } |
11140 | break; |
11141 | default: |
11142 | break; |
11143 | } |
11144 | break; |
11145 | default: |
11146 | break; |
11147 | } |
11148 | break; |
11149 | default: |
11150 | break; |
11151 | } |
11152 | break; |
11153 | default: |
11154 | break; |
11155 | } |
11156 | break; |
11157 | default: |
11158 | break; |
11159 | } |
11160 | break; |
11161 | case Opcode::MoveDoubleConditionallyDouble: |
11162 | switch (sizeof...(Arguments)) { |
11163 | case 6: |
11164 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11165 | case Arg::DoubleCond: |
11166 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
11167 | case Arg::Tmp: |
11168 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11169 | case Arg::Tmp: |
11170 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11171 | case Arg::Tmp: |
11172 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11173 | case Arg::Tmp: |
11174 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11175 | case Arg::Tmp: |
11176 | OPGEN_RETURN(true); |
11177 | break; |
11178 | break; |
11179 | default: |
11180 | break; |
11181 | } |
11182 | break; |
11183 | default: |
11184 | break; |
11185 | } |
11186 | break; |
11187 | default: |
11188 | break; |
11189 | } |
11190 | break; |
11191 | default: |
11192 | break; |
11193 | } |
11194 | break; |
11195 | default: |
11196 | break; |
11197 | } |
11198 | break; |
11199 | default: |
11200 | break; |
11201 | } |
11202 | break; |
11203 | default: |
11204 | break; |
11205 | } |
11206 | break; |
11207 | case Opcode::MoveDoubleConditionallyFloat: |
11208 | switch (sizeof...(Arguments)) { |
11209 | case 6: |
11210 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11211 | case Arg::DoubleCond: |
11212 | switch (opgenHiddenPtrIdentity(kinds)[1]) { |
11213 | case Arg::Tmp: |
11214 | switch (opgenHiddenPtrIdentity(kinds)[2]) { |
11215 | case Arg::Tmp: |
11216 | switch (opgenHiddenPtrIdentity(kinds)[3]) { |
11217 | case Arg::Tmp: |
11218 | switch (opgenHiddenPtrIdentity(kinds)[4]) { |
11219 | case Arg::Tmp: |
11220 | switch (opgenHiddenPtrIdentity(kinds)[5]) { |
11221 | case Arg::Tmp: |
11222 | OPGEN_RETURN(true); |
11223 | break; |
11224 | break; |
11225 | default: |
11226 | break; |
11227 | } |
11228 | break; |
11229 | default: |
11230 | break; |
11231 | } |
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 | default: |
11250 | break; |
11251 | } |
11252 | break; |
11253 | case Opcode::MemoryFence: |
11254 | switch (sizeof...(Arguments)) { |
11255 | case 0: |
11256 | OPGEN_RETURN(true); |
11257 | break; |
11258 | break; |
11259 | default: |
11260 | break; |
11261 | } |
11262 | break; |
11263 | case Opcode::StoreFence: |
11264 | switch (sizeof...(Arguments)) { |
11265 | case 0: |
11266 | OPGEN_RETURN(true); |
11267 | break; |
11268 | break; |
11269 | default: |
11270 | break; |
11271 | } |
11272 | break; |
11273 | case Opcode::LoadFence: |
11274 | switch (sizeof...(Arguments)) { |
11275 | case 0: |
11276 | OPGEN_RETURN(true); |
11277 | break; |
11278 | break; |
11279 | default: |
11280 | break; |
11281 | } |
11282 | break; |
11283 | case Opcode::Jump: |
11284 | switch (sizeof...(Arguments)) { |
11285 | case 0: |
11286 | OPGEN_RETURN(true); |
11287 | break; |
11288 | break; |
11289 | default: |
11290 | break; |
11291 | } |
11292 | break; |
11293 | case Opcode::RetVoid: |
11294 | switch (sizeof...(Arguments)) { |
11295 | case 0: |
11296 | OPGEN_RETURN(true); |
11297 | break; |
11298 | break; |
11299 | default: |
11300 | break; |
11301 | } |
11302 | break; |
11303 | case Opcode::Ret32: |
11304 | switch (sizeof...(Arguments)) { |
11305 | case 1: |
11306 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11307 | case Arg::Tmp: |
11308 | OPGEN_RETURN(true); |
11309 | break; |
11310 | break; |
11311 | default: |
11312 | break; |
11313 | } |
11314 | break; |
11315 | default: |
11316 | break; |
11317 | } |
11318 | break; |
11319 | case Opcode::Ret64: |
11320 | switch (sizeof...(Arguments)) { |
11321 | case 1: |
11322 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11323 | case Arg::Tmp: |
11324 | #if CPU(X86_64) || CPU(ARM64) |
11325 | OPGEN_RETURN(true); |
11326 | #endif |
11327 | break; |
11328 | break; |
11329 | default: |
11330 | break; |
11331 | } |
11332 | break; |
11333 | default: |
11334 | break; |
11335 | } |
11336 | break; |
11337 | case Opcode::RetFloat: |
11338 | switch (sizeof...(Arguments)) { |
11339 | case 1: |
11340 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11341 | case Arg::Tmp: |
11342 | OPGEN_RETURN(true); |
11343 | break; |
11344 | break; |
11345 | default: |
11346 | break; |
11347 | } |
11348 | break; |
11349 | default: |
11350 | break; |
11351 | } |
11352 | break; |
11353 | case Opcode::RetDouble: |
11354 | switch (sizeof...(Arguments)) { |
11355 | case 1: |
11356 | switch (opgenHiddenPtrIdentity(kinds)[0]) { |
11357 | case Arg::Tmp: |
11358 | OPGEN_RETURN(true); |
11359 | break; |
11360 | break; |
11361 | default: |
11362 | break; |
11363 | } |
11364 | break; |
11365 | default: |
11366 | break; |
11367 | } |
11368 | break; |
11369 | case Opcode::Oops: |
11370 | switch (sizeof...(Arguments)) { |
11371 | case 0: |
11372 | OPGEN_RETURN(true); |
11373 | break; |
11374 | break; |
11375 | default: |
11376 | break; |
11377 | } |
11378 | break; |
11379 | case Opcode::EntrySwitch: |
11380 | OPGEN_RETURN(EntrySwitchCustom::isValidFormStatic(arguments...)); |
11381 | break; |
11382 | case Opcode::Shuffle: |
11383 | OPGEN_RETURN(ShuffleCustom::isValidFormStatic(arguments...)); |
11384 | break; |
11385 | case Opcode::Patch: |
11386 | OPGEN_RETURN(PatchCustom::isValidFormStatic(arguments...)); |
11387 | break; |
11388 | case Opcode::CCall: |
11389 | OPGEN_RETURN(CCallCustom::isValidFormStatic(arguments...)); |
11390 | break; |
11391 | case Opcode::ColdCCall: |
11392 | OPGEN_RETURN(ColdCCallCustom::isValidFormStatic(arguments...)); |
11393 | break; |
11394 | case Opcode::WasmBoundsCheck: |
11395 | OPGEN_RETURN(WasmBoundsCheckCustom::isValidFormStatic(arguments...)); |
11396 | break; |
11397 | default: |
11398 | break; |
11399 | } |
11400 | return false; |
11401 | } |
11402 | inline bool isDefinitelyTerminal(Opcode opcode) |
11403 | { |
11404 | switch (opcode) { |
11405 | case Opcode::BranchAtomicStrongCAS8: |
11406 | case Opcode::BranchAtomicStrongCAS16: |
11407 | case Opcode::BranchAtomicStrongCAS32: |
11408 | case Opcode::BranchAtomicStrongCAS64: |
11409 | case Opcode::Branch8: |
11410 | case Opcode::Branch32: |
11411 | case Opcode::Branch64: |
11412 | case Opcode::BranchTest8: |
11413 | case Opcode::BranchTest32: |
11414 | case Opcode::BranchTest64: |
11415 | case Opcode::BranchDouble: |
11416 | case Opcode::BranchFloat: |
11417 | case Opcode::BranchAdd32: |
11418 | case Opcode::BranchAdd64: |
11419 | case Opcode::BranchMul32: |
11420 | case Opcode::BranchMul64: |
11421 | case Opcode::BranchSub32: |
11422 | case Opcode::BranchSub64: |
11423 | case Opcode::BranchNeg32: |
11424 | case Opcode::BranchNeg64: |
11425 | case Opcode::Jump: |
11426 | case Opcode::RetVoid: |
11427 | case Opcode::Ret32: |
11428 | case Opcode::Ret64: |
11429 | case Opcode::RetFloat: |
11430 | case Opcode::RetDouble: |
11431 | case Opcode::Oops: |
11432 | return true; |
11433 | default: |
11434 | return false; |
11435 | } |
11436 | } |
11437 | inline bool isReturn(Opcode opcode) |
11438 | { |
11439 | switch (opcode) { |
11440 | case Opcode::RetVoid: |
11441 | case Opcode::Ret32: |
11442 | case Opcode::Ret64: |
11443 | case Opcode::RetFloat: |
11444 | case Opcode::RetDouble: |
11445 | return true; |
11446 | default: |
11447 | return false; |
11448 | } |
11449 | } |
11450 | } } } // namespace JSC::B3::Air |
11451 | #endif // AirOpcodeUtils_h |
11452 | |