1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
|
/*
* Header file for nanoMIPS disassembler component of QEMU
*
* Copyright (C) 2018 Wave Computing
* Copyright (C) 2018 Matthew Fortune <matthew.fortune@mips.com>
* Copyright (C) 2018 Aleksandar Markovic <aleksandar.markovic@wavecomp.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef NANOMIPS_DISASSEMBLER_H
#define NANOMIPS_DISASSEMBLER_H
#include <string>
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef long long int64;
typedef unsigned long long uint64;
namespace img
{
typedef unsigned long long address;
}
class NMD
{
public:
enum TABLE_ENTRY_TYPE {
instruction,
call_instruction,
branch_instruction,
return_instruction,
reserved_block,
pool,
};
enum TABLE_ATTRIBUTE_TYPE {
MIPS64_ = 0x00000001,
XNP_ = 0x00000002,
XMMS_ = 0x00000004,
EVA_ = 0x00000008,
DSP_ = 0x00000010,
MT_ = 0x00000020,
EJTAG_ = 0x00000040,
TLBINV_ = 0x00000080,
CP0_ = 0x00000100,
CP1_ = 0x00000200,
CP2_ = 0x00000400,
UDI_ = 0x00000800,
MCU_ = 0x00001000,
VZ_ = 0x00002000,
TLB_ = 0x00004000,
MVH_ = 0x00008000,
ALL_ATTRIBUTES = 0xffffffffull,
};
NMD(img::address pc, TABLE_ATTRIBUTE_TYPE requested_instruction_categories)
: m_pc(pc)
, m_requested_instruction_categories(requested_instruction_categories)
{
}
int Disassemble(const uint16 *data, std::string & dis,
TABLE_ENTRY_TYPE & type);
private:
img::address m_pc;
TABLE_ATTRIBUTE_TYPE m_requested_instruction_categories;
typedef std::string(NMD:: *disassembly_function)(uint64 instruction);
typedef bool(NMD:: *conditional_function)(uint64 instruction);
struct Pool {
TABLE_ENTRY_TYPE type;
struct Pool *next_table;
int next_table_size;
int instructions_size;
uint64 mask;
uint64 value;
disassembly_function disassembly;
conditional_function condition;
uint64 attributes;
};
uint64 extract_op_code_value(const uint16 *data, int size);
int Disassemble(const uint16 *data, std::string & dis,
TABLE_ENTRY_TYPE & type, const Pool *table, int table_size);
uint64 renumber_registers(uint64 index, uint64 *register_list,
size_t register_list_size);
uint64 encode_gpr3(uint64 d);
uint64 encode_gpr3_store(uint64 d);
uint64 encode_rd1_from_rd(uint64 d);
uint64 encode_gpr4_zero(uint64 d);
uint64 encode_gpr4(uint64 d);
uint64 encode_rd2_reg1(uint64 d);
uint64 encode_rd2_reg2(uint64 d);
uint64 copy(uint64 d);
int64 copy(int64 d);
int64 neg_copy(uint64 d);
int64 neg_copy(int64 d);
uint64 encode_rs3_and_check_rs3_ge_rt3(uint64 d);
uint64 encode_rs3_and_check_rs3_lt_rt3(uint64 d);
uint64 encode_s_from_address(uint64 d);
uint64 encode_u_from_address(uint64 d);
uint64 encode_s_from_s_hi(uint64 d);
uint64 encode_count3_from_count(uint64 d);
uint64 encode_shift3_from_shift(uint64 d);
int64 encode_eu_from_s_li16(uint64 d);
uint64 encode_msbd_from_size(uint64 d);
uint64 encode_eu_from_u_andi16(uint64 d);
uint64 encode_msbd_from_pos_and_size(uint64 d);
uint64 encode_rt1_from_rt(uint64 d);
uint64 encode_lsb_from_pos_and_size(uint64 d);
std::string save_restore_list(uint64 rt, uint64 count, uint64 gp);
std::string GPR(uint64 reg);
std::string FPR(uint64 reg);
std::string AC(uint64 reg);
std::string IMMEDIATE(uint64 value);
std::string IMMEDIATE(int64 value);
std::string CPR(uint64 reg);
std::string ADDRESS(uint64 value, int instruction_size);
int64 extract_s_4_2_1_0(uint64 instruction);
int64 extr_sil0il0bs8_il15il8bs1Tmsb8(uint64 instruction);
int64 extr_sil0il10bs1_il1il1bs9Tmsb10(uint64 instruction);
int64 extr_sil0il11bs1_il1il1bs10Tmsb11(uint64 instruction);
int64 extr_sil0il14bs1_il1il1bs13Tmsb14(uint64 instruction);
int64 extr_sil0il16bs16_il16il0bs16Tmsb31(uint64 instruction);
int64 extr_sil0il21bs1_il1il1bs20Tmsb21(uint64 instruction);
int64 extr_sil0il25bs1_il1il1bs24Tmsb25(uint64 instruction);
int64 extr_sil0il31bs1_il2il21bs10_il12il12bs9Tmsb31(uint64 instruction);
int64 extr_sil0il7bs1_il1il1bs6Tmsb7(uint64 instruction);
int64 extr_sil11il0bs10Tmsb9(uint64 instruction);
int64 extract_shift_21_20_19_18_17_16(uint64 instruction);
int64 extr_sil2il2bs6_il15il8bs1Tmsb8(uint64 instruction);
int64 extr_sil3il3bs5_il15il8bs1Tmsb8(uint64 instruction);
uint64 extract_ac_13_12(uint64 instruction);
uint64 extract_bit_16_15_14_13_12_11(uint64 instruction);
uint64 extract_bit_23_22_21(uint64 instruction);
uint64 extract_c0s_20_19_18_17_16(uint64 instruction);
uint64 extract_code_17_to_0(uint64 instruction);
uint64 extract_code_18_to_0(uint64 instruction);
uint64 extract_code_1_0(uint64 instruction);
uint64 extract_code_2_1_0(uint64 instruction);
uint64 extract_code_25_24_23_22_21_20_19_18_17_16(uint64 instruction);
uint64 extract_cofun_25_24_23(uint64 instruction);
uint64 extract_count3_14_13_12(uint64 instruction);
uint64 extract_count_3_2_1_0(uint64 instruction);
uint64 extract_count_19_18_17_16(uint64 instruction);
uint64 extract_cs_20_19_18_17_16(uint64 instruction);
uint64 extract_cs_25_24_23_22_21(uint64 instruction);
uint64 extract_ct_25_24_23_22_21(uint64 instruction);
uint64 extract_eu_3_2_1_0(uint64 instruction);
uint64 extract_eu_6_5_4_3_2_1_0(uint64 instruction);
uint64 extract_fd_10_9_8_7_6(uint64 instruction);
uint64 extract_fs_15_14_13_12_11(uint64 instruction);
uint64 extract_ft_15_14_13_12_11(uint64 instruction);
uint64 extract_ft_20_19_18_17_16(uint64 instruction);
uint64 extract_gp_2(uint64 instruction);
uint64 extract_hint_25_24_23_22_21(uint64 instruction);
uint64 extract_hs_20_19_18_17_16(uint64 instruction);
uint64 extract_lsb_4_3_2_1_0(uint64 instruction);
uint64 extract_mask_20_19_18_17_16_15_14(uint64 instruction);
uint64 extract_msbt_10_9_8_7_6(uint64 instruction);
uint64 extract_op_25_24_23_22_21(uint64 instruction);
uint64 extract_op_25_to_3(uint64 instruction);
uint64 extract_rdl_25_24(uint64 instruction);
uint64 extract_rd2_3_8(uint64 instruction);
uint64 extract_rd3_3_2_1(uint64 instruction);
uint64 extract_rd_20_19_18_17_16(uint64 instruction);
uint64 extract_rs3_6_5_4(uint64 instruction);
uint64 extract_rs4_4_2_1_0(uint64 instruction);
uint64 extract_rs_4_3_2_1_0(uint64 instruction);
uint64 extract_rs_20_19_18_17_16(uint64 instruction);
uint64 extract_rsz4_4_2_1_0(uint64 instruction);
uint64 extract_rtl_11(uint64 instruction);
uint64 extract_rt3_9_8_7(uint64 instruction);
uint64 extract_rt4_9_7_6_5(uint64 instruction);
uint64 extract_rt_25_24_23_22_21(uint64 instruction);
uint64 extract_rt_41_40_39_38_37(uint64 instruction);
uint64 extract_rt_9_8_7_6_5(uint64 instruction);
uint64 extract_rtz3_9_8_7(uint64 instruction);
uint64 extract_rtz4_27_26_25_23_22_21(uint64 instruction);
uint64 extract_rtz4_9_7_6_5(uint64 instruction);
uint64 extract_ru_7_6_5_4_3(uint64 instruction);
uint64 extract_sa_15_14_13_12_11(uint64 instruction);
uint64 extract_sa_15_14_13_12(uint64 instruction);
uint64 extract_sa_15_14_13(uint64 instruction);
uint64 extract_sel_13_12_11(uint64 instruction);
uint64 extract_sel_15_14_13_12_11(uint64 instruction);
uint64 extract_shift3_2_1_0(uint64 instruction);
uint64 extract_shift_4_3_2_1_0(uint64 instruction);
uint64 extract_shift_5_4_3_2_1_0(uint64 instruction);
uint64 extract_shift_20_19_18_17_16(uint64 instruction);
uint64 extract_shift_10_9_8_7_6(uint64 instruction);
uint64 extract_shiftx_11_10_9_8_7_6(uint64 instruction);
uint64 extr_shiftxil7il1bs4Fmsb4(uint64 instruction);
uint64 extract_size_20_19_18_17_16(uint64 instruction);
uint64 extract_stripe_6(uint64 instruction);
uint64 extract_stype_20_19_18_17_16(uint64 instruction);
uint64 extract_u2_10_9(uint64 instruction);
uint64 extract_u_11_10_9_8_7_6_5_4_3_2_1_0(uint64 instruction);
uint64 extract_u_15_to_0(uint64 instruction);
uint64 extract_u_17_to_0(uint64 instruction);
uint64 extract_u_1_0(uint64 instruction);
uint64 extr_uil0il1bs4Fmsb4(uint64 instruction);
uint64 extr_uil0il2bs3Fmsb4(uint64 instruction);
uint64 extr_uil0il2bs4Fmsb5(uint64 instruction);
uint64 extr_uil0il2bs5Fmsb6(uint64 instruction);
uint64 extr_uil0il2bs6Fmsb7(uint64 instruction);
uint64 extr_uil0il2bs7Fmsb8(uint64 instruction);
uint64 extr_uil0il32bs32Fmsb63(uint64 instruction);
uint64 extract_u_10(uint64 instruction);
uint64 extract_u_17_16_15_14_13_12_11(uint64 instruction);
uint64 extract_u_20_19_18_17_16_15_14_13(uint64 instruction);
uint64 extr_uil1il1bs17Fmsb17(uint64 instruction);
uint64 extr_uil1il1bs2Fmsb2(uint64 instruction);
uint64 extr_uil2il2bs16Fmsb17(uint64 instruction);
uint64 extr_uil2il2bs19Fmsb20(uint64 instruction);
uint64 extr_uil3il3bs18Fmsb20(uint64 instruction);
uint64 extr_uil3il3bs1_il8il2bs1Fmsb3(uint64 instruction);
uint64 extr_uil3il3bs9Fmsb11(uint64 instruction);
uint64 extr_uil4il4bs4Fmsb7(uint64 instruction);
uint64 extr_xil0il0bs12Fmsb11(uint64 instruction);
uint64 extr_xil0il0bs3_il4il0bs1Fmsb2(uint64 instruction);
uint64 extr_xil10il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil10il0bs1_il11il0bs5Fmsb4(uint64 instruction);
uint64 extr_xil10il0bs1_il14il0bs2Fmsb1(uint64 instruction);
uint64 extr_xil10il0bs4_il22il0bs4Fmsb3(uint64 instruction);
uint64 extr_xil10il0bs6Fmsb5(uint64 instruction);
uint64 extr_xil11il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil11il0bs5Fmsb4(uint64 instruction);
uint64 extr_xil12il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil14il0bs1_il15il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil14il0bs2Fmsb1(uint64 instruction);
uint64 extr_xil15il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil16il0bs10Fmsb9(uint64 instruction);
uint64 extr_xil16il0bs5Fmsb4(uint64 instruction);
uint64 extr_xil17il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil17il0bs9Fmsb8(uint64 instruction);
uint64 extr_xil21il0bs5Fmsb4(uint64 instruction);
uint64 extr_xil24il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil2il0bs1_il15il0bs1Fmsb0(uint64 instruction);
uint64 extr_xil6il0bs3Fmsb2(uint64 instruction);
uint64 extr_xil6il0bs3_il10il0bs1Fmsb2(uint64 instruction);
uint64 extr_xil9il0bs2Fmsb1(uint64 instruction);
uint64 extr_xil9il0bs3Fmsb2(uint64 instruction);
uint64 extr_xil9il0bs3_il16il0bs5Fmsb4(uint64 instruction);
bool ADDIU_32__cond(uint64 instruction);
bool ADDIU_RS5__cond(uint64 instruction);
bool BALRSC_cond(uint64 instruction);
bool BEQC_16__cond(uint64 instruction);
bool BNEC_16__cond(uint64 instruction);
bool MOVE_cond(uint64 instruction);
bool P16_BR1_cond(uint64 instruction);
bool PREF_S9__cond(uint64 instruction);
bool PREFE_cond(uint64 instruction);
bool SLTU_cond(uint64 instruction);
std::string ABS_D(uint64 instruction);
std::string ABS_S(uint64 instruction);
std::string ABSQ_S_PH(uint64 instruction);
std::string ABSQ_S_QB(uint64 instruction);
std::string ABSQ_S_W(uint64 instruction);
std::string ACLR(uint64 instruction);
std::string ADD(uint64 instruction);
std::string ADD_D(uint64 instruction);
std::string ADD_S(uint64 instruction);
std::string ADDIU_32_(uint64 instruction);
std::string ADDIU_48_(uint64 instruction);
std::string ADDIU_GP48_(uint64 instruction);
std::string ADDIU_GP_B_(uint64 instruction);
std::string ADDIU_GP_W_(uint64 instruction);
std::string ADDIU_NEG_(uint64 instruction);
std::string ADDIU_R1_SP_(uint64 instruction);
std::string ADDIU_R2_(uint64 instruction);
std::string ADDIU_RS5_(uint64 instruction);
std::string ADDIUPC_32_(uint64 instruction);
std::string ADDIUPC_48_(uint64 instruction);
std::string ADDQ_PH(uint64 instruction);
std::string ADDQ_S_PH(uint64 instruction);
std::string ADDQ_S_W(uint64 instruction);
std::string ADDQH_PH(uint64 instruction);
std::string ADDQH_R_PH(uint64 instruction);
std::string ADDQH_R_W(uint64 instruction);
std::string ADDQH_W(uint64 instruction);
std::string ADDSC(uint64 instruction);
std::string ADDU_16_(uint64 instruction);
std::string ADDU_32_(uint64 instruction);
std::string ADDU_4X4_(uint64 instruction);
std::string ADDU_PH(uint64 instruction);
std::string ADDU_QB(uint64 instruction);
std::string ADDU_S_PH(uint64 instruction);
std::string ADDU_S_QB(uint64 instruction);
std::string ADDUH_QB(uint64 instruction);
std::string ADDUH_R_QB(uint64 instruction);
std::string ADDWC(uint64 instruction);
std::string ALUIPC(uint64 instruction);
std::string AND_16_(uint64 instruction);
std::string AND_32_(uint64 instruction);
std::string ANDI_16_(uint64 instruction);
std::string ANDI_32_(uint64 instruction);
std::string APPEND(uint64 instruction);
std::string ASET(uint64 instruction);
std::string BALC_16_(uint64 instruction);
std::string BALC_32_(uint64 instruction);
std::string BALRSC(uint64 instruction);
std::string BBEQZC(uint64 instruction);
std::string BBNEZC(uint64 instruction);
std::string BC_16_(uint64 instruction);
std::string BC_32_(uint64 instruction);
std::string BC1EQZC(uint64 instruction);
std::string BC1NEZC(uint64 instruction);
std::string BC2EQZC(uint64 instruction);
std::string BC2NEZC(uint64 instruction);
std::string BEQC_16_(uint64 instruction);
std::string BEQC_32_(uint64 instruction);
std::string BEQIC(uint64 instruction);
std::string BEQZC_16_(uint64 instruction);
std::string BGEC(uint64 instruction);
std::string BGEIC(uint64 instruction);
std::string BGEIUC(uint64 instruction);
std::string BGEUC(uint64 instruction);
std::string BLTC(uint64 instruction);
std::string BLTIC(uint64 instruction);
std::string BLTIUC(uint64 instruction);
std::string BLTUC(uint64 instruction);
std::string BNEC_16_(uint64 instruction);
std::string BNEC_32_(uint64 instruction);
std::string BNEIC(uint64 instruction);
std::string BNEZC_16_(uint64 instruction);
std::string BPOSGE32C(uint64 instruction);
std::string BREAK_16_(uint64 instruction);
std::string BREAK_32_(uint64 instruction);
std::string BRSC(uint64 instruction);
std::string CACHE(uint64 instruction);
std::string CACHEE(uint64 instruction);
std::string CEIL_L_D(uint64 instruction);
std::string CEIL_L_S(uint64 instruction);
std::string CEIL_W_D(uint64 instruction);
std::string CEIL_W_S(uint64 instruction);
std::string CFC1(uint64 instruction);
std::string CFC2(uint64 instruction);
std::string CLASS_D(uint64 instruction);
std::string CLASS_S(uint64 instruction);
std::string CLO(uint64 instruction);
std::string CLZ(uint64 instruction);
std::string CMP_AF_D(uint64 instruction);
std::string CMP_AF_S(uint64 instruction);
std::string CMP_EQ_D(uint64 instruction);
std::string CMP_EQ_PH(uint64 instruction);
std::string CMP_EQ_S(uint64 instruction);
std::string CMP_LE_D(uint64 instruction);
std::string CMP_LE_PH(uint64 instruction);
std::string CMP_LE_S(uint64 instruction);
std::string CMP_LT_D(uint64 instruction);
std::string CMP_LT_PH(uint64 instruction);
std::string CMP_LT_S(uint64 instruction);
std::string CMP_NE_D(uint64 instruction);
std::string CMP_NE_S(uint64 instruction);
std::string CMP_OR_D(uint64 instruction);
std::string CMP_OR_S(uint64 instruction);
std::string CMP_SAF_D(uint64 instruction);
std::string CMP_SAF_S(uint64 instruction);
std::string CMP_SEQ_D(uint64 instruction);
std::string CMP_SEQ_S(uint64 instruction);
std::string CMP_SLE_D(uint64 instruction);
std::string CMP_SLE_S(uint64 instruction);
std::string CMP_SLT_D(uint64 instruction);
std::string CMP_SLT_S(uint64 instruction);
std::string CMP_SNE_D(uint64 instruction);
std::string CMP_SNE_S(uint64 instruction);
std::string CMP_SOR_D(uint64 instruction);
std::string CMP_SOR_S(uint64 instruction);
std::string CMP_SUEQ_D(uint64 instruction);
std::string CMP_SUEQ_S(uint64 instruction);
std::string CMP_SULE_D(uint64 instruction);
std::string CMP_SULE_S(uint64 instruction);
std::string CMP_SULT_D(uint64 instruction);
std::string CMP_SULT_S(uint64 instruction);
std::string CMP_SUN_D(uint64 instruction);
std::string CMP_SUN_S(uint64 instruction);
std::string CMP_SUNE_D(uint64 instruction);
std::string CMP_SUNE_S(uint64 instruction);
std::string CMP_UEQ_D(uint64 instruction);
std::string CMP_UEQ_S(uint64 instruction);
std::string CMP_ULE_D(uint64 instruction);
std::string CMP_ULE_S(uint64 instruction);
std::string CMP_ULT_D(uint64 instruction);
std::string CMP_ULT_S(uint64 instruction);
std::string CMP_UN_D(uint64 instruction);
std::string CMP_UN_S(uint64 instruction);
std::string CMP_UNE_D(uint64 instruction);
std::string CMP_UNE_S(uint64 instruction);
std::string CMPGDU_EQ_QB(uint64 instruction);
std::string CMPGDU_LE_QB(uint64 instruction);
std::string CMPGDU_LT_QB(uint64 instruction);
std::string CMPGU_EQ_QB(uint64 instruction);
std::string CMPGU_LE_QB(uint64 instruction);
std::string CMPGU_LT_QB(uint64 instruction);
std::string CMPU_EQ_QB(uint64 instruction);
std::string CMPU_LE_QB(uint64 instruction);
std::string CMPU_LT_QB(uint64 instruction);
std::string COP2_1(uint64 instruction);
std::string CTC1(uint64 instruction);
std::string CTC2(uint64 instruction);
std::string CVT_D_L(uint64 instruction);
std::string CVT_D_S(uint64 instruction);
std::string CVT_D_W(uint64 instruction);
std::string CVT_L_D(uint64 instruction);
std::string CVT_L_S(uint64 instruction);
std::string CVT_S_D(uint64 instruction);
std::string CVT_S_L(uint64 instruction);
std::string CVT_S_PL(uint64 instruction);
std::string CVT_S_PU(uint64 instruction);
std::string CVT_S_W(uint64 instruction);
std::string CVT_W_D(uint64 instruction);
std::string CVT_W_S(uint64 instruction);
std::string DADDIU_48_(uint64 instruction);
std::string DADDIU_NEG_(uint64 instruction);
std::string DADDIU_U12_(uint64 instruction);
std::string DADD(uint64 instruction);
std::string DADDU(uint64 instruction);
std::string DCLO(uint64 instruction);
std::string DCLZ(uint64 instruction);
std::string DDIV(uint64 instruction);
std::string DDIVU(uint64 instruction);
std::string DERET(uint64 instruction);
std::string DEXTM(uint64 instruction);
std::string DEXT(uint64 instruction);
std::string DEXTU(uint64 instruction);
std::string DINSM(uint64 instruction);
std::string DINS(uint64 instruction);
std::string DINSU(uint64 instruction);
std::string DI(uint64 instruction);
std::string DIV(uint64 instruction);
std::string DIV_D(uint64 instruction);
std::string DIV_S(uint64 instruction);
std::string DIVU(uint64 instruction);
std::string DLSA(uint64 instruction);
std::string DLUI_48_(uint64 instruction);
std::string DMFC0(uint64 instruction);
std::string DMFC1(uint64 instruction);
std::string DMFC2(uint64 instruction);
std::string DMFGC0(uint64 instruction);
std::string DMOD(uint64 instruction);
std::string DMODU(uint64 instruction);
std::string DMTC0(uint64 instruction);
std::string DMTC1(uint64 instruction);
std::string DMTC2(uint64 instruction);
std::string DMTGC0(uint64 instruction);
std::string DMT(uint64 instruction);
std::string DMUH(uint64 instruction);
std::string DMUHU(uint64 instruction);
std::string DMUL(uint64 instruction);
std::string DMULU(uint64 instruction);
std::string DPAQ_S_W_PH(uint64 instruction);
std::string DPAQ_SA_L_W(uint64 instruction);
std::string DPAQX_S_W_PH(uint64 instruction);
std::string DPAQX_SA_W_PH(uint64 instruction);
std::string DPAU_H_QBL(uint64 instruction);
std::string DPAU_H_QBR(uint64 instruction);
std::string DPA_W_PH(uint64 instruction);
std::string DPAX_W_PH(uint64 instruction);
std::string DPS_W_PH(uint64 instruction);
std::string DPSQ_SA_L_W(uint64 instruction);
std::string DPSQ_S_W_PH(uint64 instruction);
std::string DPSQX_SA_W_PH(uint64 instruction);
std::string DPSQX_S_W_PH(uint64 instruction);
std::string DPSU_H_QBL(uint64 instruction);
std::string DPSU_H_QBR(uint64 instruction);
std::string DPSX_W_PH(uint64 instruction);
std::string DROTR(uint64 instruction);
std::string DROTR32(uint64 instruction);
std::string DROTRV(uint64 instruction);
std::string DROTX(uint64 instruction);
std::string DSLL(uint64 instruction);
std::string DSLL32(uint64 instruction);
std::string DSLLV(uint64 instruction);
std::string DSRA(uint64 instruction);
std::string DSRA32(uint64 instruction);
std::string DSRAV(uint64 instruction);
std::string DSRL32(uint64 instruction);
std::string DSRL(uint64 instruction);
std::string DSRLV(uint64 instruction);
std::string DSUB(uint64 instruction);
std::string DSUBU(uint64 instruction);
std::string DVP(uint64 instruction);
std::string DVPE(uint64 instruction);
std::string EHB(uint64 instruction);
std::string EI(uint64 instruction);
std::string EMT(uint64 instruction);
std::string ERET(uint64 instruction);
std::string ERETNC(uint64 instruction);
std::string EVP(uint64 instruction);
std::string EVPE(uint64 instruction);
std::string EXT(uint64 instruction);
std::string EXTD(uint64 instruction);
std::string EXTD32(uint64 instruction);
std::string EXTP(uint64 instruction);
std::string EXTPDP(uint64 instruction);
std::string EXTPDPV(uint64 instruction);
std::string EXTPV(uint64 instruction);
std::string EXTR_RS_W(uint64 instruction);
std::string EXTR_R_W(uint64 instruction);
std::string EXTR_S_H(uint64 instruction);
std::string EXTR_W(uint64 instruction);
std::string EXTRV_R_W(uint64 instruction);
std::string EXTRV_RS_W(uint64 instruction);
std::string EXTRV_S_H(uint64 instruction);
std::string EXTRV_W(uint64 instruction);
std::string EXTW(uint64 instruction);
std::string FLOOR_L_D(uint64 instruction);
std::string FLOOR_L_S(uint64 instruction);
std::string FLOOR_W_D(uint64 instruction);
std::string FLOOR_W_S(uint64 instruction);
std::string FORK(uint64 instruction);
std::string HYPCALL(uint64 instruction);
std::string HYPCALL_16_(uint64 instruction);
std::string INS(uint64 instruction);
std::string INSV(uint64 instruction);
std::string IRET(uint64 instruction);
std::string JALRC_16_(uint64 instruction);
std::string JALRC_32_(uint64 instruction);
std::string JALRC_HB(uint64 instruction);
std::string JRC(uint64 instruction);
std::string LB_16_(uint64 instruction);
std::string LB_GP_(uint64 instruction);
std::string LB_S9_(uint64 instruction);
std::string LB_U12_(uint64 instruction);
std::string LBE(uint64 instruction);
std::string LBU_16_(uint64 instruction);
std::string LBU_GP_(uint64 instruction);
std::string LBU_S9_(uint64 instruction);
std::string LBU_U12_(uint64 instruction);
std::string LBUE(uint64 instruction);
std::string LBUX(uint64 instruction);
std::string LBX(uint64 instruction);
std::string LD_GP_(uint64 instruction);
std::string LD_S9_(uint64 instruction);
std::string LD_U12_(uint64 instruction);
std::string LDC1_GP_(uint64 instruction);
std::string LDC1_S9_(uint64 instruction);
std::string LDC1_U12_(uint64 instruction);
std::string LDC1X(uint64 instruction);
std::string LDC1XS(uint64 instruction);
std::string LDC2(uint64 instruction);
std::string LDM(uint64 instruction);
std::string LDPC_48_(uint64 instruction);
std::string LDX(uint64 instruction);
std::string LDXS(uint64 instruction);
std::string LH_16_(uint64 instruction);
std::string LH_GP_(uint64 instruction);
std::string LH_S9_(uint64 instruction);
std::string LH_U12_(uint64 instruction);
std::string LHE(uint64 instruction);
std::string LHU_16_(uint64 instruction);
std::string LHU_GP_(uint64 instruction);
std::string LHU_S9_(uint64 instruction);
std::string LHU_U12_(uint64 instruction);
std::string LHUE(uint64 instruction);
std::string LHUX(uint64 instruction);
std::string LHUXS(uint64 instruction);
std::string LHX(uint64 instruction);
std::string LHXS(uint64 instruction);
std::string LI_16_(uint64 instruction);
std::string LI_48_(uint64 instruction);
std::string LL(uint64 instruction);
std::string LLD(uint64 instruction);
std::string LLDP(uint64 instruction);
std::string LLE(uint64 instruction);
std::string LLWP(uint64 instruction);
std::string LLWPE(uint64 instruction);
std::string LSA(uint64 instruction);
std::string LUI(uint64 instruction);
std::string LW_16_(uint64 instruction);
std::string LW_4X4_(uint64 instruction);
std::string LWC1_GP_(uint64 instruction);
std::string LWC1_S9_(uint64 instruction);
std::string LWC1_U12_(uint64 instruction);
std::string LWC1X(uint64 instruction);
std::string LWC1XS(uint64 instruction);
std::string LWC2(uint64 instruction);
std::string LWE(uint64 instruction);
std::string LW_GP_(uint64 instruction);
std::string LW_GP16_(uint64 instruction);
std::string LWM(uint64 instruction);
std::string LWPC_48_(uint64 instruction);
std::string LW_S9_(uint64 instruction);
std::string LW_SP_(uint64 instruction);
std::string LW_U12_(uint64 instruction);
std::string LWU_GP_(uint64 instruction);
std::string LWU_S9_(uint64 instruction);
std::string LWU_U12_(uint64 instruction);
std::string LWUX(uint64 instruction);
std::string LWUXS(uint64 instruction);
std::string LWX(uint64 instruction);
std::string LWXS_16_(uint64 instruction);
std::string LWXS_32_(uint64 instruction);
std::string MADD_DSP_(uint64 instruction);
std::string MADDF_D(uint64 instruction);
std::string MADDF_S(uint64 instruction);
std::string MADDU_DSP_(uint64 instruction);
std::string MAQ_S_W_PHL(uint64 instruction);
std::string MAQ_S_W_PHR(uint64 instruction);
std::string MAQ_SA_W_PHL(uint64 instruction);
std::string MAQ_SA_W_PHR(uint64 instruction);
std::string MAX_D(uint64 instruction);
std::string MAX_S(uint64 instruction);
std::string MAXA_D(uint64 instruction);
std::string MAXA_S(uint64 instruction);
std::string MFC0(uint64 instruction);
std::string MFC1(uint64 instruction);
std::string MFC2(uint64 instruction);
std::string MFGC0(uint64 instruction);
std::string MFHC0(uint64 instruction);
std::string MFHC1(uint64 instruction);
std::string MFHC2(uint64 instruction);
std::string MFHGC0(uint64 instruction);
std::string MFHI_DSP_(uint64 instruction);
std::string MFHTR(uint64 instruction);
std::string MFLO_DSP_(uint64 instruction);
std::string MFTR(uint64 instruction);
std::string MIN_D(uint64 instruction);
std::string MIN_S(uint64 instruction);
std::string MINA_D(uint64 instruction);
std::string MINA_S(uint64 instruction);
std::string MOD(uint64 instruction);
std::string MODSUB(uint64 instruction);
std::string MODU(uint64 instruction);
std::string MOV_D(uint64 instruction);
std::string MOV_S(uint64 instruction);
std::string MOVE_BALC(uint64 instruction);
std::string MOVEP(uint64 instruction);
std::string MOVEP_REV_(uint64 instruction);
std::string MOVE(uint64 instruction);
std::string MOVN(uint64 instruction);
std::string MOVZ(uint64 instruction);
std::string MSUB_DSP_(uint64 instruction);
std::string MSUBF_D(uint64 instruction);
std::string MSUBF_S(uint64 instruction);
std::string MSUBU_DSP_(uint64 instruction);
std::string MTC0(uint64 instruction);
std::string MTC1(uint64 instruction);
std::string MTC2(uint64 instruction);
std::string MTGC0(uint64 instruction);
std::string MTHC0(uint64 instruction);
std::string MTHC1(uint64 instruction);
std::string MTHC2(uint64 instruction);
std::string MTHGC0(uint64 instruction);
std::string MTHI_DSP_(uint64 instruction);
std::string MTHLIP(uint64 instruction);
std::string MTHTR(uint64 instruction);
std::string MTLO_DSP_(uint64 instruction);
std::string MTTR(uint64 instruction);
std::string MUH(uint64 instruction);
std::string MUHU(uint64 instruction);
std::string MUL_32_(uint64 instruction);
std::string MUL_4X4_(uint64 instruction);
std::string MUL_D(uint64 instruction);
std::string MUL_PH(uint64 instruction);
std::string MUL_S(uint64 instruction);
std::string MUL_S_PH(uint64 instruction);
std::string MULEQ_S_W_PHL(uint64 instruction);
std::string MULEQ_S_W_PHR(uint64 instruction);
std::string MULEU_S_PH_QBL(uint64 instruction);
std::string MULEU_S_PH_QBR(uint64 instruction);
std::string MULQ_RS_PH(uint64 instruction);
std::string MULQ_RS_W(uint64 instruction);
std::string MULQ_S_PH(uint64 instruction);
std::string MULQ_S_W(uint64 instruction);
std::string MULSA_W_PH(uint64 instruction);
std::string MULSAQ_S_W_PH(uint64 instruction);
std::string MULT_DSP_(uint64 instruction);
std::string MULTU_DSP_(uint64 instruction);
std::string MULU(uint64 instruction);
std::string NEG_D(uint64 instruction);
std::string NEG_S(uint64 instruction);
std::string NOP_16_(uint64 instruction);
std::string NOP_32_(uint64 instruction);
std::string NOR(uint64 instruction);
std::string NOT_16_(uint64 instruction);
std::string OR_16_(uint64 instruction);
std::string OR_32_(uint64 instruction);
std::string ORI(uint64 instruction);
std::string PACKRL_PH(uint64 instruction);
std::string PAUSE(uint64 instruction);
std::string PICK_PH(uint64 instruction);
std::string PICK_QB(uint64 instruction);
std::string PRECEQ_W_PHL(uint64 instruction);
std::string PRECEQ_W_PHR(uint64 instruction);
std::string PRECEQU_PH_QBL(uint64 instruction);
std::string PRECEQU_PH_QBLA(uint64 instruction);
std::string PRECEQU_PH_QBR(uint64 instruction);
std::string PRECEQU_PH_QBRA(uint64 instruction);
std::string PRECEU_PH_QBL(uint64 instruction);
std::string PRECEU_PH_QBLA(uint64 instruction);
std::string PRECEU_PH_QBR(uint64 instruction);
std::string PRECEU_PH_QBRA(uint64 instruction);
std::string PRECR_QB_PH(uint64 instruction);
std::string PRECR_SRA_PH_W(uint64 instruction);
std::string PRECR_SRA_R_PH_W(uint64 instruction);
std::string PRECRQ_PH_W(uint64 instruction);
std::string PRECRQ_QB_PH(uint64 instruction);
std::string PRECRQ_RS_PH_W(uint64 instruction);
std::string PRECRQU_S_QB_PH(uint64 instruction);
std::string PREF_S9_(uint64 instruction);
std::string PREF_U12_(uint64 instruction);
std::string PREFE(uint64 instruction);
std::string PREPEND(uint64 instruction);
std::string RADDU_W_QB(uint64 instruction);
std::string RDDSP(uint64 instruction);
std::string RDHWR(uint64 instruction);
std::string RDPGPR(uint64 instruction);
std::string RECIP_D(uint64 instruction);
std::string RECIP_S(uint64 instruction);
std::string REPL_PH(uint64 instruction);
std::string REPL_QB(uint64 instruction);
std::string REPLV_PH(uint64 instruction);
std::string REPLV_QB(uint64 instruction);
std::string RESTORE_32_(uint64 instruction);
std::string RESTORE_JRC_16_(uint64 instruction);
std::string RESTORE_JRC_32_(uint64 instruction);
std::string RESTOREF(uint64 instruction);
std::string RINT_D(uint64 instruction);
std::string RINT_S(uint64 instruction);
std::string ROTR(uint64 instruction);
std::string ROTRV(uint64 instruction);
std::string ROTX(uint64 instruction);
std::string ROUND_L_D(uint64 instruction);
std::string ROUND_L_S(uint64 instruction);
std::string ROUND_W_D(uint64 instruction);
std::string ROUND_W_S(uint64 instruction);
std::string RSQRT_D(uint64 instruction);
std::string RSQRT_S(uint64 instruction);
std::string SAVE_16_(uint64 instruction);
std::string SAVE_32_(uint64 instruction);
std::string SAVEF(uint64 instruction);
std::string SB_16_(uint64 instruction);
std::string SB_GP_(uint64 instruction);
std::string SB_S9_(uint64 instruction);
std::string SB_U12_(uint64 instruction);
std::string SBE(uint64 instruction);
std::string SBX(uint64 instruction);
std::string SC(uint64 instruction);
std::string SCD(uint64 instruction);
std::string SCDP(uint64 instruction);
std::string SCE(uint64 instruction);
std::string SCWP(uint64 instruction);
std::string SCWPE(uint64 instruction);
std::string SD_GP_(uint64 instruction);
std::string SD_S9_(uint64 instruction);
std::string SD_U12_(uint64 instruction);
std::string SDBBP_16_(uint64 instruction);
std::string SDBBP_32_(uint64 instruction);
std::string SDC1_GP_(uint64 instruction);
std::string SDC1_S9_(uint64 instruction);
std::string SDC1_U12_(uint64 instruction);
std::string SDC1X(uint64 instruction);
std::string SDC1XS(uint64 instruction);
std::string SDC2(uint64 instruction);
std::string SDM(uint64 instruction);
std::string SDPC_48_(uint64 instruction);
std::string SDX(uint64 instruction);
std::string SDXS(uint64 instruction);
std::string SEB(uint64 instruction);
std::string SEH(uint64 instruction);
std::string SEL_D(uint64 instruction);
std::string SEL_S(uint64 instruction);
std::string SELEQZ_D(uint64 instruction);
std::string SELEQZ_S(uint64 instruction);
std::string SELNEZ_D(uint64 instruction);
std::string SELNEZ_S(uint64 instruction);
std::string SEQI(uint64 instruction);
std::string SH_16_(uint64 instruction);
std::string SH_GP_(uint64 instruction);
std::string SH_S9_(uint64 instruction);
std::string SH_U12_(uint64 instruction);
std::string SHE(uint64 instruction);
std::string SHILO(uint64 instruction);
std::string SHILOV(uint64 instruction);
std::string SHLL_PH(uint64 instruction);
std::string SHLL_QB(uint64 instruction);
std::string SHLL_S_PH(uint64 instruction);
std::string SHLL_S_W(uint64 instruction);
std::string SHLLV_PH(uint64 instruction);
std::string SHLLV_QB(uint64 instruction);
std::string SHLLV_S_PH(uint64 instruction);
std::string SHLLV_S_W(uint64 instruction);
std::string SHRA_PH(uint64 instruction);
std::string SHRA_QB(uint64 instruction);
std::string SHRA_R_PH(uint64 instruction);
std::string SHRA_R_QB(uint64 instruction);
std::string SHRA_R_W(uint64 instruction);
std::string SHRAV_PH(uint64 instruction);
std::string SHRAV_QB(uint64 instruction);
std::string SHRAV_R_PH(uint64 instruction);
std::string SHRAV_R_QB(uint64 instruction);
std::string SHRAV_R_W(uint64 instruction);
std::string SHRL_PH(uint64 instruction);
std::string SHRL_QB(uint64 instruction);
std::string SHRLV_PH(uint64 instruction);
std::string SHRLV_QB(uint64 instruction);
std::string SHX(uint64 instruction);
std::string SHXS(uint64 instruction);
std::string SIGRIE(uint64 instruction);
std::string SLL_16_(uint64 instruction);
std::string SLL_32_(uint64 instruction);
std::string SLLV(uint64 instruction);
std::string SLT(uint64 instruction);
std::string SLTI(uint64 instruction);
std::string SLTIU(uint64 instruction);
std::string SLTU(uint64 instruction);
std::string SOV(uint64 instruction);
std::string SPECIAL2(uint64 instruction);
std::string SQRT_D(uint64 instruction);
std::string SQRT_S(uint64 instruction);
std::string SRA(uint64 instruction);
std::string SRAV(uint64 instruction);
std::string SRL_16_(uint64 instruction);
std::string SRL_32_(uint64 instruction);
std::string SRLV(uint64 instruction);
std::string SUB(uint64 instruction);
std::string SUB_D(uint64 instruction);
std::string SUB_S(uint64 instruction);
std::string SUBQ_PH(uint64 instruction);
std::string SUBQ_S_PH(uint64 instruction);
std::string SUBQ_S_W(uint64 instruction);
std::string SUBQH_PH(uint64 instruction);
std::string SUBQH_R_PH(uint64 instruction);
std::string SUBQH_R_W(uint64 instruction);
std::string SUBQH_W(uint64 instruction);
std::string SUBU_16_(uint64 instruction);
std::string SUBU_32_(uint64 instruction);
std::string SUBU_PH(uint64 instruction);
std::string SUBU_QB(uint64 instruction);
std::string SUBU_S_PH(uint64 instruction);
std::string SUBU_S_QB(uint64 instruction);
std::string SUBUH_QB(uint64 instruction);
std::string SUBUH_R_QB(uint64 instruction);
std::string SW_16_(uint64 instruction);
std::string SW_4X4_(uint64 instruction);
std::string SW_GP16_(uint64 instruction);
std::string SW_GP_(uint64 instruction);
std::string SW_S9_(uint64 instruction);
std::string SW_SP_(uint64 instruction);
std::string SW_U12_(uint64 instruction);
std::string SWC1_GP_(uint64 instruction);
std::string SWC1_S9_(uint64 instruction);
std::string SWC1_U12_(uint64 instruction);
std::string SWC1X(uint64 instruction);
std::string SWC1XS(uint64 instruction);
std::string SWC2(uint64 instruction);
std::string SWE(uint64 instruction);
std::string SWM(uint64 instruction);
std::string SWPC_48_(uint64 instruction);
std::string SWX(uint64 instruction);
std::string SWXS(uint64 instruction);
std::string SYNC(uint64 instruction);
std::string SYNCI(uint64 instruction);
std::string SYNCIE(uint64 instruction);
std::string SYSCALL_16_(uint64 instruction);
std::string SYSCALL_32_(uint64 instruction);
std::string TEQ(uint64 instruction);
std::string TLBGINV(uint64 instruction);
std::string TLBGINVF(uint64 instruction);
std::string TLBGP(uint64 instruction);
std::string TLBGR(uint64 instruction);
std::string TLBGWI(uint64 instruction);
std::string TLBGWR(uint64 instruction);
std::string TLBINV(uint64 instruction);
std::string TLBINVF(uint64 instruction);
std::string TLBP(uint64 instruction);
std::string TLBR(uint64 instruction);
std::string TLBWI(uint64 instruction);
std::string TLBWR(uint64 instruction);
std::string TNE(uint64 instruction);
std::string TRUNC_L_D(uint64 instruction);
std::string TRUNC_L_S(uint64 instruction);
std::string TRUNC_W_D(uint64 instruction);
std::string TRUNC_W_S(uint64 instruction);
std::string UALDM(uint64 instruction);
std::string UALH(uint64 instruction);
std::string UALWM(uint64 instruction);
std::string UASDM(uint64 instruction);
std::string UASH(uint64 instruction);
std::string UASWM(uint64 instruction);
std::string UDI(uint64 instruction);
std::string WAIT(uint64 instruction);
std::string WRDSP(uint64 instruction);
std::string WRPGPR(uint64 instruction);
std::string XOR_16_(uint64 instruction);
std::string XOR_32_(uint64 instruction);
std::string XORI(uint64 instruction);
std::string YIELD(uint64 instruction);
static Pool P_SYSCALL[2];
static Pool P_RI[4];
static Pool P_ADDIU[2];
static Pool P_TRAP[2];
static Pool P_CMOVE[2];
static Pool P_D_MT_VPE[2];
static Pool P_E_MT_VPE[2];
static Pool _P_MT_VPE[2];
static Pool P_MT_VPE[8];
static Pool P_DVP[2];
static Pool P_SLTU[2];
static Pool _POOL32A0[128];
static Pool ADDQ__S__PH[2];
static Pool MUL__S__PH[2];
static Pool ADDQH__R__PH[2];
static Pool ADDQH__R__W[2];
static Pool ADDU__S__QB[2];
static Pool ADDU__S__PH[2];
static Pool ADDUH__R__QB[2];
static Pool SHRAV__R__PH[2];
static Pool SHRAV__R__QB[2];
static Pool SUBQ__S__PH[2];
static Pool SUBQH__R__PH[2];
static Pool SUBQH__R__W[2];
static Pool SUBU__S__QB[2];
static Pool SUBU__S__PH[2];
static Pool SHRA__R__PH[2];
static Pool SUBUH__R__QB[2];
static Pool SHLLV__S__PH[2];
static Pool SHLL__S__PH[4];
static Pool PRECR_SRA__R__PH_W[2];
static Pool _POOL32A5[128];
static Pool PP_LSX[16];
static Pool PP_LSXS[16];
static Pool P_LSX[2];
static Pool POOL32Axf_1_0[4];
static Pool POOL32Axf_1_1[4];
static Pool POOL32Axf_1_3[4];
static Pool POOL32Axf_1_4[2];
static Pool MAQ_S_A__W_PHR[2];
static Pool MAQ_S_A__W_PHL[2];
static Pool POOL32Axf_1_5[2];
static Pool POOL32Axf_1_7[4];
static Pool POOL32Axf_1[8];
static Pool POOL32Axf_2_DSP__0_7[8];
static Pool POOL32Axf_2_DSP__8_15[8];
static Pool POOL32Axf_2_DSP__16_23[8];
static Pool POOL32Axf_2_DSP__24_31[8];
static Pool POOL32Axf_2[4];
static Pool POOL32Axf_4[128];
static Pool POOL32Axf_5_group0[32];
static Pool POOL32Axf_5_group1[32];
static Pool ERETx[2];
static Pool POOL32Axf_5_group3[32];
static Pool POOL32Axf_5[4];
static Pool SHRA__R__QB[2];
static Pool POOL32Axf_7[8];
static Pool POOL32Axf[8];
static Pool _POOL32A7[8];
static Pool P32A[8];
static Pool P_GP_D[2];
static Pool P_GP_W[4];
static Pool POOL48I[32];
static Pool PP_SR[4];
static Pool P_SR_F[8];
static Pool P_SR[2];
static Pool P_SLL[5];
static Pool P_SHIFT[16];
static Pool P_ROTX[4];
static Pool P_INS[4];
static Pool P_EXT[4];
static Pool P_U12[16];
static Pool RINT_fmt[2];
static Pool ADD_fmt0[2];
static Pool SELEQZ_fmt[2];
static Pool CLASS_fmt[2];
static Pool SUB_fmt0[2];
static Pool SELNEZ_fmt[2];
static Pool MUL_fmt0[2];
static Pool SEL_fmt[2];
static Pool DIV_fmt0[2];
static Pool ADD_fmt1[2];
static Pool SUB_fmt1[2];
static Pool MUL_fmt1[2];
static Pool MADDF_fmt[2];
static Pool DIV_fmt1[2];
static Pool MSUBF_fmt[2];
static Pool POOL32F_0[64];
static Pool MIN_fmt[2];
static Pool MAX_fmt[2];
static Pool MINA_fmt[2];
static Pool MAXA_fmt[2];
static Pool CVT_L_fmt[2];
static Pool RSQRT_fmt[2];
static Pool FLOOR_L_fmt[2];
static Pool CVT_W_fmt[2];
static Pool SQRT_fmt[2];
static Pool FLOOR_W_fmt[2];
static Pool RECIP_fmt[2];
static Pool CEIL_L_fmt[2];
static Pool CEIL_W_fmt[2];
static Pool TRUNC_L_fmt[2];
static Pool TRUNC_W_fmt[2];
static Pool ROUND_L_fmt[2];
static Pool ROUND_W_fmt[2];
static Pool POOL32Fxf_0[64];
static Pool MOV_fmt[4];
static Pool ABS_fmt[4];
static Pool NEG_fmt[4];
static Pool CVT_D_fmt[4];
static Pool CVT_S_fmt[4];
static Pool POOL32Fxf_1[32];
static Pool POOL32Fxf[4];
static Pool POOL32F_3[8];
static Pool CMP_condn_S[32];
static Pool CMP_condn_D[32];
static Pool POOL32F_5[8];
static Pool POOL32F[8];
static Pool POOL32S_0[64];
static Pool POOL32Sxf_4[128];
static Pool POOL32Sxf[8];
static Pool POOL32S_4[8];
static Pool POOL32S[8];
static Pool P_LUI[2];
static Pool P_GP_LH[2];
static Pool P_GP_SH[2];
static Pool P_GP_CP1[4];
static Pool P_GP_M64[4];
static Pool P_GP_BH[8];
static Pool P_LS_U12[16];
static Pool P_PREF_S9_[2];
static Pool P_LS_S0[16];
static Pool ASET_ACLR[2];
static Pool P_LL[4];
static Pool P_SC[4];
static Pool P_LLD[8];
static Pool P_SCD[8];
static Pool P_LS_S1[16];
static Pool P_PREFE[2];
static Pool P_LLE[4];
static Pool P_SCE[4];
static Pool P_LS_E0[16];
static Pool P_LS_WM[2];
static Pool P_LS_UAWM[2];
static Pool P_LS_DM[2];
static Pool P_LS_UADM[2];
static Pool P_LS_S9[8];
static Pool P_BAL[2];
static Pool P_BALRSC[2];
static Pool P_J[16];
static Pool P_BR3A[32];
static Pool P_BR1[4];
static Pool P_BR2[4];
static Pool P_BRI[8];
static Pool P32[32];
static Pool P16_SYSCALL[2];
static Pool P16_RI[4];
static Pool P16_MV[2];
static Pool P16_SHIFT[2];
static Pool POOL16C_00[4];
static Pool POOL16C_0[2];
static Pool P16C[2];
static Pool P16_A1[2];
static Pool P_ADDIU_RS5_[2];
static Pool P16_A2[2];
static Pool P16_ADDU[2];
static Pool P16_JRC[2];
static Pool P16_BR1[2];
static Pool P16_BR[2];
static Pool P16_SR[2];
static Pool P16_4X4[4];
static Pool P16_LB[4];
static Pool P16_LH[4];
static Pool P16[32];
static Pool MAJOR[2];
};
#endif
|