00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00055
00056
00057
00058
00059
00060
00061 #include <stddef.h>
00062 #include <string.h>
00063 #include "topcode.h"
00064 #include "isa_print_gen.h"
00065
00066
00067
00068
00069
00070
00071 main()
00072 {
00073 ISA_Print_Begin("MIPS");
00074
00075 Define_Macro("END_GROUP", ";");
00076 Define_Macro("PREDICATE", "(%s)");
00077 Define_Macro("BEGIN_BUNDLE", "");
00078 Define_Macro("END_BUNDLE", ";");
00079
00080 Set_AsmName_Func(NULL);
00081 #ifdef TARG_SL
00082
00083
00084
00085 ISA_PRINT_TYPE c3type1 = ISA_Print_Type_Create("c3type1", "%s %s,%s,%s,%s,%s,%s");
00086 Name();
00087 Result(0);
00088 Operand(0);
00089 Operand(1);
00090 Operand(2);
00091 Operand(3);
00092 Operand(4);
00093 Instruction_Print_Group(c3type1,
00094 TOP_c3_mac_ar,
00095 TOP_c3_macn_ar,
00096 TOP_c3_mula_ar,
00097 TOP_c3_samulh_a,
00098 TOP_c3_sasub_a,
00099 TOP_c3_sasubh_a,
00100 TOP_c3_saadd_a,
00101 TOP_c3_saaddh_a,
00102 TOP_UNDEFINED);
00103
00104
00105 ISA_PRINT_TYPE c3type2 = ISA_Print_Type_Create("c3type2", "%s %s,%s,%s,%s");
00106 Name();
00107 Result(0);
00108 Operand(0);
00109 Operand(1);
00110 Operand(2);
00111 Instruction_Print_Group(c3type2,
00112 TOP_c3_bitc,
00113 TOP_c3_bitr,
00114 TOP_c3_dmula,
00115 TOP_c3_dmulan,
00116 TOP_c3_mac,
00117 TOP_c3_macci,
00118 TOP_c3_maccr,
00119 TOP_c3_macd,
00120 TOP_c3_macn,
00121 TOP_c3_mula,
00122 TOP_c3_mulaci,
00123 TOP_c3_mulacr,
00124 TOP_c3_mulan,
00125 TOP_c3_dshll_i,
00126 TOP_c3_dshrl_i,
00127 TOP_c3_mac_i,
00128 TOP_c3_macn_i,
00129 TOP_c3_mula_i,
00130 TOP_c3_saadds,
00131 TOP_c3_sasubs,
00132 TOP_c3_saaddsh,
00133 TOP_c3_sasubsh,
00134 TOP_c3_samulsh,
00135 TOP_UNDEFINED);
00136
00137
00138 ISA_PRINT_TYPE c3type5= ISA_Print_Type_Create("c3type5", "%s %s,%s,%s,%s,%s,%s,%s");
00139 Name();
00140 Result(0);
00141 Operand(0);
00142 Operand(1);
00143 Operand(2);
00144 Operand(3);
00145 Operand(4);
00146 Operand(5);
00147 Instruction_Print_Group(c3type5,
00148 TOP_c3_dmula_a,
00149 TOP_c3_dmulan_a,
00150 TOP_c3_mac_a,
00151 TOP_c3_macn_a,
00152 TOP_c3_mula_a,
00153 TOP_c3_saddha_a,
00154 TOP_UNDEFINED);
00155
00156
00157 ISA_PRINT_TYPE c3type6= ISA_Print_Type_Create("c3type6", "%s %s,%s,%s,%s,%s,%s,%s,%s");
00158 Name();
00159 Result(0);
00160 Operand(0);
00161 Operand(1);
00162 Operand(2);
00163 Operand(3);
00164 Operand(4);
00165 Operand(5);
00166 Operand(6);
00167 Instruction_Print_Group(c3type6,
00168 TOP_c3_dmac_a,
00169 TOP_c3_dmacn_a,
00170 TOP_UNDEFINED);
00171
00172
00173 ISA_PRINT_TYPE c3type7 = ISA_Print_Type_Create("c3type7", "%s %s,%s,%s,%s,%s");
00174 Name();
00175 Result(0);
00176 Operand(0);
00177 Operand(1);
00178 Operand(2);
00179 Operand(3);
00180 Instruction_Print_Group(c3type7,
00181 TOP_c3_saddha,
00182 TOP_c3_dmac,
00183 TOP_c3_dmacn,
00184 TOP_UNDEFINED);
00185
00186
00187 ISA_PRINT_TYPE c3type8 = ISA_Print_Type_Create("c3type8", "%s %s,%s,%s");
00188 Name();
00189 Result(0);
00190 Operand(0);
00191 Operand(1);
00192 Instruction_Print_Group (c3type8,
00193 TOP_c3_lead,
00194 TOP_c3_revb,
00195 TOP_c3_sashllh,
00196 TOP_c3_dadd,
00197 TOP_c3_dsub,
00198 TOP_UNDEFINED);
00199
00200
00201 ISA_PRINT_TYPE c3type11 = ISA_Print_Type_Create("c3type11", "c3.mvfs %s,%s,%s");
00202 Result(0);
00203 Operand(0);
00204 Operand(1);
00205 Instruction_Print_Group(c3type11,
00206 TOP_c3_mvfacc,
00207 TOP_c3_mvfadd,
00208 TOP_c3_mvfadds,
00209 TOP_UNDEFINED);
00210
00211
00212 ISA_PRINT_TYPE c3type12 = ISA_Print_Type_Create("c3type12", "c3.mvts %s,%s,%s");
00213 Result(0);
00214 Operand(0);
00215 Operand(1);
00216 Instruction_Print_Group(c3type12,
00217 TOP_c3_mvtacc,
00218 TOP_c3_mvtadds,
00219 TOP_c3_mvtadd,
00220 TOP_UNDEFINED);
00221
00222 ISA_PRINT_TYPE c3type13 = ISA_Print_Type_Create("c3type13", "%s %s, %s,%s");
00223 Name();
00224 Result(0);
00225 Operand(0);
00226 Operand(1);
00227 Instruction_Print_Group(c3type13,
00228 TOP_c3_mvfs,
00229 TOP_c3_mvts,
00230 TOP_UNDEFINED);
00231
00232
00233 ISA_PRINT_TYPE c3type14 = ISA_Print_Type_Create("c3type14", "%s %s,%s,%s");
00234 Name();
00235 Result(0);
00236 Operand(0);
00237 Operand(1);
00238 Instruction_Print_Group(c3type14,
00239 TOP_c3_round,
00240 TOP_UNDEFINED);
00241
00242
00243 ISA_PRINT_TYPE c3type22 = ISA_Print_Type_Create("c3type22", "%s %s,%s,%s,%s,%s");
00244 Name();
00245 Operand(0);
00246 Operand(1);
00247 Operand(3);
00248 Operand(4);
00249 Operand(5);
00250 Instruction_Print_Group(c3type22,
00251 TOP_c3_st,
00252 TOP_c3_fftst,
00253 TOP_UNDEFINED);
00254
00255 ISA_PRINT_TYPE c3ld = ISA_Print_Type_Create("c3ld", "%s %s,%s,%s,%s,%s");
00256 Name();
00257 Result(0);
00258 Operand(0);
00259 Operand(2);
00260 Operand(3);
00261 Operand(4);
00262 Instruction_Print_Group(c3ld,
00263 TOP_c3_ld,
00264 TOP_c3_fftld,
00265 TOP_UNDEFINED);
00266
00267
00268 ISA_PRINT_TYPE c3_1des_4opr = ISA_Print_Type_Create("c3_1des_4opr", "%s %s,%s,%s,%s,%s");
00269 Name();
00270 Result(0);
00271 Operand(0);
00272 Operand(1);
00273 Operand(2);
00274 Operand(3);
00275 Instruction_Print_Group(c3_1des_4opr,
00276 TOP_C3_mac,
00277 TOP_C3_macn,
00278 TOP_C3_mula_ar,
00279 TOP_C3_saadd_a,
00280 TOP_C3_saaddh_a,
00281 TOP_C3_samulh_a,
00282 TOP_C3_sasub_a,
00283 TOP_C3_sasubh_a,
00284 TOP_C3_shlata_i,
00285 TOP_C3_shrata_i,
00286 TOP_C3_mac_i,
00287 TOP_C3_macn_i,
00288 TOP_UNDEFINED);
00289
00290 ISA_PRINT_TYPE c3_2des_2opr = ISA_Print_Type_Create("c3_2des_2opr", "%s %s,%s,%s");
00291 Name();
00292 Result(1);
00293 Operand(0);
00294 Operand(1);
00295 Instruction_Print_Group(c3_2des_2opr,
00296 TOP_C3_subc,
00297 TOP_UNDEFINED);
00298
00299 ISA_PRINT_TYPE c3_2des_3opr = ISA_Print_Type_Create("c3_2des_3opr", "%s %s,%s,%s,%s");
00300 Name();
00301 Result(1);
00302 Operand(0);
00303 Operand(1);
00304 Operand(2);
00305 Instruction_Print_Group(c3_2des_3opr,
00306 TOP_C3_muls,
00307 TOP_C3_mulus,
00308 TOP_UNDEFINED);
00309
00310 ISA_PRINT_TYPE c3_1des_3opr = ISA_Print_Type_Create("c3_1des_3opr", "%s %s,%s,%s,%s");
00311 Name();
00312 Result(0);
00313 Operand(0);
00314 Operand(1);
00315 Operand(2);
00316 Instruction_Print_Group(c3_1des_3opr,
00317 TOP_C3_aadda,
00318 TOP_C3_nega,
00319 TOP_C3_bitr,
00320 TOP_C3_cs,
00321 TOP_C3_dshll_i,
00322 TOP_C3_dshrl_i,
00323 TOP_C3_mula,
00324 TOP_C3_mulan,
00325 TOP_C3_mula_i,
00326 TOP_C3_round,
00327 TOP_C3_saadds,
00328 TOP_C3_saaddsh,
00329 TOP_C3_sasubsh,
00330 TOP_C3_samulsh,
00331 TOP_C3_sasubs,
00332 TOP_C3_shav,
00333 TOP_C3_shlafa_i,
00334 TOP_C3_shrafa_i,
00335 TOP_C3_shla_i,
00336 TOP_C3_shra_i,
00337 TOP_UNDEFINED);
00338
00339 ISA_PRINT_TYPE c3_1des_2opr = ISA_Print_Type_Create("c3_1des_2opr", "%s %s,%s,%s");
00340 Name();
00341 Result(0);
00342 Operand(0);
00343 Operand(1);
00344 Instruction_Print_Group(c3_1des_2opr,
00345 TOP_C3_dadd,
00346 TOP_C3_dsub,
00347 TOP_C3_revb,
00348 TOP_C3_mvfs,
00349 TOP_C3_mvts,
00350 TOP_UNDEFINED);
00351
00352
00353 ISA_PRINT_TYPE c3_gfs = ISA_Print_Type_Create("c3_gfs", "C3.mvfs %s,%s,%s");
00354 Result(0);
00355 Operand(0);
00356 Operand(1);
00357 Instruction_Print_Group(c3_gfs,
00358 TOP_C3_mvfacc,
00359 TOP_C3_mvfaddr,
00360 TOP_C3_mvfadds,
00361 TOP_UNDEFINED);
00362
00363 ISA_PRINT_TYPE c3_gts = ISA_Print_Type_Create("c3_gts", "C3.mvts %s,%s,%s");
00364 Result(0);
00365 Operand(0);
00366 Operand(1);
00367 Instruction_Print_Group(c3_gts,
00368 TOP_C3_mvtacc,
00369 TOP_C3_mvtaddr,
00370 TOP_C3_mvtadds,
00371 TOP_UNDEFINED);
00372
00373 ISA_PRINT_TYPE c3_1des_6opr = ISA_Print_Type_Create("c3_1des_6opr", "%s %s,%s,%s,%s,%s,%s,%s");
00374 Name();
00375 Result(0);
00376 Operand(0);
00377 Operand(1);
00378 Operand(2);
00379 Operand(3);
00380 Operand(4);
00381 Operand(5);
00382 Instruction_Print_Group(c3_1des_6opr,
00383 TOP_C3_dmac,
00384 TOP_C3_dmacn,
00385 TOP_C3_dmula_a,
00386 TOP_C3_dmulan_a,
00387 TOP_C3_mac_a,
00388 TOP_C3_macn_a,
00389 TOP_C3_sadda,
00390 TOP_UNDEFINED);
00391
00392 ISA_PRINT_TYPE c3_1des_7opr = ISA_Print_Type_Create("c3_1des_7opr", "%s %s,%s,%s,%s,%s,%s,%s,%s");
00393 Name();
00394 Result(0);
00395 Operand(0);
00396 Operand(1);
00397 Operand(2);
00398 Operand(3);
00399 Operand(4);
00400 Operand(5);
00401 Operand(6);
00402 Instruction_Print_Group(c3_1des_7opr,
00403 TOP_C3_dmac_a,
00404 TOP_C3_dmacn_a,
00405 TOP_C3_sadda_a,
00406 TOP_UNDEFINED);
00407
00408 ISA_PRINT_TYPE c3_1des_5opr = ISA_Print_Type_Create("c3_1des_5opr", "%s %s,%s,%s,%s,%s,%s");
00409 Name();
00410 Result(0);
00411 Operand(0);
00412 Operand(1);
00413 Operand(2);
00414 Operand(3);
00415 Operand(4);
00416 Instruction_Print_Group(c3_1des_5opr,
00417 TOP_C3_dmula,
00418 TOP_C3_dmulan,
00419 TOP_C3_mac_ar,
00420 TOP_C3_macn_ar,
00421 TOP_C3_mula_a,
00422 TOP_UNDEFINED);
00423
00424 ISA_PRINT_TYPE c3_0des_3opr = ISA_Print_Type_Create("c3_0des_3opr", "%s %s,%s,%s");
00425 Name();
00426 Operand(0);
00427 Operand(1);
00428 Operand(2);
00429 Instruction_Print_Group(c3_0des_3opr,
00430 TOP_C3_ffe,
00431 TOP_UNDEFINED);
00432
00433 ISA_PRINT_TYPE c3_1des_3opr_1 = ISA_Print_Type_Create("c3_1des_3opr_1", "%s %s,%s,%s,%s");
00434 Name();
00435 Result(0);
00436 Operand(0);
00437 Operand(2);
00438 Operand(3);
00439 Instruction_Print_Group(c3_1des_3opr_1,
00440 TOP_C3_ld,
00441 TOP_C3_fftld,
00442 TOP_UNDEFINED);
00443
00444 ISA_PRINT_TYPE c3_0des_4opr = ISA_Print_Type_Create("c3_0des_4opr", "%s %s,%s,%s,%s");
00445 Name();
00446 Operand(0);
00447 Operand(1);
00448 Operand(3);
00449 Operand(4);
00450 Instruction_Print_Group(c3_0des_4opr,
00451 TOP_C3_st,
00452 TOP_C3_fftst,
00453 TOP_UNDEFINED);
00454
00455 ISA_PRINT_TYPE c3_1des_1opr = ISA_Print_Type_Create("c3_1des_1opr", "%s %s,%s");
00456 Name();
00457 Result(0);
00458 Operand(0);
00459 Instruction_Print_Group(c3_1des_1opr,
00460 TOP_C3_lead,
00461 TOP_UNDEFINED);
00462
00463
00464
00465 ISA_PRINT_TYPE slad = ISA_Print_Type_Create("slad", "add %s,%s,%s");
00466 Result(0);
00467 Operand(0);
00468 Operand(1);
00469 Instruction_Print_Group(slad,
00470 TOP_addu,
00471 TOP_UNDEFINED);
00472
00473 ISA_PRINT_TYPE zdloop = ISA_Print_Type_Create("zdloop", "%s %s, %s");
00474 Name();
00475 Operand(0);
00476 Operand(1);
00477 Instruction_Print_Group(zdloop,
00478 TOP_loop,
00479 TOP_UNDEFINED);
00480
00481 ISA_PRINT_TYPE mvcg = ISA_Print_Type_Create("mvcg", "%s %s,%s");
00482 Name();
00483 Result(0);
00484 Operand(0);
00485 Instruction_Print_Group(mvcg,
00486 TOP_mvtc,
00487 TOP_mvfc,
00488 TOP_mvtc_i,
00489 TOP_mvtc16,
00490 TOP_mvfc16,
00491 TOP_mv16,
00492 TOP_UNDEFINED);
00493
00494 ISA_PRINT_TYPE c3muls = ISA_Print_Type_Create("c3muls", "%s %s,%s,%s,%s");
00495 Name();
00496 Result(1);
00497 Operand(0);
00498 Operand(1);
00499 Operand(2);
00500 Instruction_Print_Group(mvcg,
00501 TOP_c3_muls,
00502 TOP_c3_mulus,
00503 TOP_UNDEFINED);
00504
00505
00506
00507
00508 ISA_PRINT_TYPE sixteenop0 = ISA_Print_Type_Create("sixteenop0", "%s %s,%s");
00509 Name();
00510 Result(0);
00511 Operand(1);
00512 Instruction_Print_Group(sixteenop0,
00513 TOP_add16,
00514 TOP_add16_i,
00515 TOP_and16,
00516 TOP_and16_i,
00517 TOP_or16,
00518 TOP_or16_i,
00519 TOP_shll16,
00520 TOP_shll16_i,
00521 TOP_shra16,
00522 TOP_shra16_i,
00523 TOP_shrl16,
00524 TOP_shrl16_i,
00525 TOP_sub16,
00526 TOP_sub16_i,
00527 TOP_xor16,
00528 TOP_xor16_i,
00529 TOP_mv16_i,
00530 TOP_UNDEFINED);
00531
00532
00533 ISA_PRINT_TYPE sixteenop3 = ISA_Print_Type_Create("sixteenop3", "%s %s,%s");
00534 Name();
00535 Result(0);
00536 Operand(0);
00537 Instruction_Print_Group(sixteenop3,
00538 TOP_ldw16,
00539 TOP_UNDEFINED);
00540
00541 ISA_PRINT_TYPE sixteenop4 = ISA_Print_Type_Create("sixteenop4", "%s %s,%s");
00542 Name();
00543 Operand(0);
00544 Operand(1);
00545 Instruction_Print_Group(sixteenop4,
00546 TOP_stw16,
00547 TOP_c3_trback,
00548 TOP_c3_viterbi,
00549 TOP_c3_fft,
00550 TOP_UNDEFINED);
00551
00552 ISA_PRINT_TYPE sixteenop5 = ISA_Print_Type_Create("sixteenop5", "%s %s,%s");
00553 Name();
00554 Operand(0);
00555 Operand(2);
00556 Instruction_Print_Group(sixteenop5,
00557 TOP_br16_eqz,
00558 TOP_br16_nez,
00559 TOP_UNDEFINED);
00560
00561
00562 ISA_PRINT_TYPE sixteenop1 = ISA_Print_Type_Create("sixeenop1", "%s %s");
00563 Name();
00564 Operand(1);
00565 Instruction_Print_Group(sixteenop1,
00566 TOP_add16_sp,
00567 TOP_UNDEFINED);
00568
00569 ISA_PRINT_TYPE sixteenop101 = ISA_Print_Type_Create("sixeenop101", "%s %s");
00570 Name();
00571 Operand(0);
00572 Instruction_Print_Group(sixteenop101,
00573 TOP_abs16,
00574 TOP_ldub16_rs,
00575 TOP_lduh16_rs,
00576 TOP_inv16,
00577 #ifdef TARG_SL2
00578 TOP_c2_fork_m,
00579 TOP_c2_fork_n,
00580 TOP_c2_thctrl_act,
00581 TOP_c2_thctrl_mode4,
00582 TOP_c2_thctrl_mode5,
00583 TOP_c2_thctrl_mode6,
00584 TOP_c2_thctrl_mode7,
00585 #endif
00586 TOP_UNDEFINED);
00587
00588
00589 ISA_PRINT_TYPE sixteenop2 = ISA_Print_Type_Create("sixteenop2", "%s" );
00590 Name();
00591 Instruction_Print_Group(sixteenop2,
00592 TOP_jr16,
00593 TOP_jr16_lnk,
00594 TOP_nop16,
00595 TOP_ret16,
00596 TOP_UNDEFINED);
00597
00598
00599 ISA_PRINT_TYPE push16 = ISA_Print_Type_Create("push16", "%s %s,%s");
00600 Name();
00601 Operand(0);
00602 Operand(2);
00603 Instruction_Print_Group(push16,
00604 TOP_push16,
00605 TOP_UNDEFINED);
00606
00607
00608 ISA_PRINT_TYPE poppush = ISA_Print_Type_Create("pop16", "%s %s,%s");
00609 Name();
00610 Result(0);
00611 Operand(1);
00612 Instruction_Print_Group(poppush,
00613 TOP_pop16,
00614 TOP_UNDEFINED);
00615
00616 #endif
00617
00618 #if defined(TARG_SL)
00619 ISA_PRINT_TYPE rsub = ISA_Print_Type_Create("rsub", "sub %s,%s,%s");
00620 Result(0);
00621 Operand(0);
00622 Operand(1);
00623 Instruction_Print_Group(rsub,
00624 TOP_subu,
00625 TOP_UNDEFINED);
00626 #endif
00627
00628 #if defined(TARG_SL2)
00629 ISA_PRINT_TYPE ropop2 = ISA_Print_Type_Create("ropop", "%s %s,%s,%s");
00630 Name();
00631 Result(0);
00632 Operand(0);
00633 Operand(2);
00634 Instruction_Print_Group(ropop2,
00635 TOP_c2_mvgr_r2g_w,
00636 TOP_c2_mvgr_r2g_w_i,
00637 TOP_UNDEFINED);
00638 #endif
00639
00640 ISA_PRINT_TYPE ropop = ISA_Print_Type_Create("ropop", "%s %s,%s,%s");
00641 Name();
00642 Result(0);
00643 Operand(0);
00644 Operand(1);
00645 Instruction_Print_Group(ropop,
00646 TOP_add,
00647 #if !defined(TARG_SL)
00648 TOP_addu,
00649 TOP_subu,
00650 #endif
00651 TOP_sub,
00652 TOP_dadd,
00653 TOP_daddu,
00654 TOP_dsub,
00655 TOP_dsubu,
00656 TOP_and,
00657 TOP_nor,
00658 TOP_or,
00659 TOP_xor,
00660 TOP_sllv,
00661 TOP_srav,
00662 TOP_srlv,
00663 TOP_dsllv,
00664 TOP_dsrav,
00665 TOP_dsrlv,
00666 TOP_slt,
00667 TOP_sltu,
00668 TOP_add_s,
00669 TOP_add_d,
00670 TOP_div_s,
00671 TOP_div_d,
00672 TOP_mul_s,
00673 TOP_mul_d,
00674 TOP_sub_s,
00675 TOP_sub_d,
00676 TOP_addi,
00677 TOP_addiu,
00678 TOP_slti,
00679 TOP_sltiu,
00680 TOP_daddi,
00681 TOP_daddiu,
00682 TOP_andi,
00683 TOP_ori,
00684 TOP_xori,
00685 TOP_sll,
00686 TOP_sra,
00687 TOP_srl,
00688 TOP_dsll,
00689 TOP_dsll32,
00690 TOP_dsra,
00691 TOP_dsra32,
00692 TOP_dsrl,
00693 TOP_dsrl32,
00694 TOP_movf,
00695 TOP_movn,
00696 TOP_movt,
00697 TOP_movz,
00698 TOP_c_f_s,
00699 TOP_c_f_d,
00700 TOP_c_t_s,
00701 TOP_c_t_d,
00702 TOP_c_un_s,
00703 TOP_c_un_d,
00704 TOP_c_or_s,
00705 TOP_c_or_d,
00706 TOP_c_eq_s,
00707 TOP_c_eq_d,
00708 TOP_c_neq_s,
00709 TOP_c_neq_d,
00710 TOP_c_ueq_s,
00711 TOP_c_ueq_d,
00712 TOP_c_olg_s,
00713 TOP_c_olg_d,
00714 TOP_c_olt_s,
00715 TOP_c_olt_d,
00716 TOP_c_uge_s,
00717 TOP_c_uge_d,
00718 TOP_c_ult_s,
00719 TOP_c_ult_d,
00720 TOP_c_oge_s,
00721 TOP_c_oge_d,
00722 TOP_c_ole_s,
00723 TOP_c_ole_d,
00724 TOP_c_ugt_s,
00725 TOP_c_ugt_d,
00726 TOP_c_ule_s,
00727 TOP_c_ule_d,
00728 TOP_c_ogt_s,
00729 TOP_c_ogt_d,
00730 TOP_c_sf_s,
00731 TOP_c_sf_d,
00732 TOP_c_st_s,
00733 TOP_c_st_d,
00734 TOP_c_ngle_s,
00735 TOP_c_ngle_d,
00736 TOP_c_gle_s,
00737 TOP_c_gle_d,
00738 TOP_c_seq_s,
00739 TOP_c_seq_d,
00740 TOP_c_sne_s,
00741 TOP_c_sne_d,
00742 TOP_c_ngl_s,
00743 TOP_c_ngl_d,
00744 TOP_c_gl_s,
00745 TOP_c_gl_d,
00746 TOP_c_lt_s,
00747 TOP_c_lt_d,
00748 TOP_c_nlt_s,
00749 TOP_c_nlt_d,
00750 TOP_c_nge_s,
00751 TOP_c_nge_d,
00752 TOP_c_ge_s,
00753 TOP_c_ge_d,
00754 TOP_c_le_s,
00755 TOP_c_le_d,
00756 TOP_c_nle_s,
00757 TOP_c_nle_d,
00758 TOP_c_ngt_s,
00759 TOP_c_ngt_d,
00760 TOP_c_gt_s,
00761 TOP_c_gt_d,
00762 TOP_movf_s,
00763 TOP_movf_d,
00764 TOP_movn_s,
00765 TOP_movn_d,
00766 TOP_movt_s,
00767 TOP_movt_d,
00768 TOP_movz_s,
00769 TOP_movz_d,
00770 TOP_UNDEFINED);
00771
00772
00773 #ifdef TARG_SL
00774 ISA_PRINT_TYPE sljr = ISA_Print_Type_Create("op", "%s ");
00775 Name();
00776 Instruction_Print_Group(sljr,
00777 TOP_jr,
00778 TOP_jalr,
00779 TOP_UNDEFINED);
00780 #endif
00781
00782
00783 ISA_PRINT_TYPE op = ISA_Print_Type_Create("op", "%s %s");
00784 Name();
00785 Operand(0);
00786 Instruction_Print_Group(op,
00787 TOP_j,
00788 TOP_jal,
00789 #if !defined(TARG_SL)
00790 TOP_jalr,
00791 TOP_jr,
00792 #endif
00793 TOP_mthi,
00794 TOP_mtlo,
00795 TOP_UNDEFINED);
00796
00797
00798 ISA_PRINT_TYPE opop = ISA_Print_Type_Create("opop", "%s %s,%s");
00799 Name();
00800 Operand(0);
00801 Operand(1);
00802 Instruction_Print_Group(opop,
00803 TOP_mult,
00804 TOP_multu,
00805 TOP_dmult,
00806 TOP_dmultu,
00807 TOP_bgez,
00808 TOP_bgezal,
00809 TOP_bgtz,
00810 TOP_blez,
00811 TOP_bltz,
00812 TOP_bltzal,
00813 TOP_bc1f,
00814 TOP_bc1t,
00815 TOP_UNDEFINED);
00816
00817
00818
00819
00820
00821 ISA_PRINT_TYPE divide = ISA_Print_Type_Create("divide", "%s $0,%s,%s");
00822 Name();
00823 Operand(0);
00824 Operand(1);
00825 Instruction_Print_Group(divide,
00826 TOP_div,
00827 TOP_divu,
00828 TOP_ddiv,
00829 TOP_ddivu,
00830 TOP_UNDEFINED);
00831
00832
00833 ISA_PRINT_TYPE r = ISA_Print_Type_Create("r", "%s %s");
00834 Name();
00835 Result(0);
00836 Instruction_Print_Group(r,
00837 TOP_mfhi,
00838 TOP_mflo,
00839 #ifdef TARG_SL2
00840 TOP_c2_vlcs_wb,
00841 #endif
00842 TOP_UNDEFINED);
00843
00844
00845 ISA_PRINT_TYPE rop = ISA_Print_Type_Create("rop", "%s %s,%s");
00846 Name();
00847 Result(0);
00848 Operand(0);
00849 Instruction_Print_Group(rop,
00850 TOP_lui,
00851 TOP_neg_s,
00852 TOP_neg_d,
00853 TOP_sqrt_s,
00854 TOP_sqrt_d,
00855 TOP_abs_s,
00856 TOP_abs_d,
00857 TOP_recip_s,
00858 TOP_recip_d,
00859 TOP_rsqrt_s,
00860 TOP_rsqrt_d,
00861 TOP_mov_s,
00862 TOP_mov_d,
00863 TOP_mfc1,
00864 TOP_dmfc1,
00865 TOP_cvt_d_s,
00866 TOP_cvt_d_w,
00867 TOP_cvt_d_l,
00868 TOP_cvt_l_s,
00869 TOP_cvt_l_d,
00870 TOP_cvt_s_d,
00871 TOP_cvt_s_w,
00872 TOP_cvt_s_l,
00873 TOP_cvt_w_s,
00874 TOP_cvt_w_d,
00875 TOP_ceil_w_s,
00876 TOP_ceil_w_d,
00877 TOP_ceil_l_s,
00878 TOP_ceil_l_d,
00879 TOP_floor_w_s,
00880 TOP_floor_w_d,
00881 TOP_floor_l_s,
00882 TOP_floor_l_d,
00883 TOP_round_w_s,
00884 TOP_round_w_d,
00885 TOP_round_l_s,
00886 TOP_round_l_d,
00887 TOP_trunc_w_s,
00888 TOP_trunc_w_d,
00889 TOP_trunc_l_s,
00890 TOP_trunc_l_d,
00891 #ifdef TARG_SL2
00892 TOP_c2_vclp,
00893 TOP_c2_vclp_p,
00894 TOP_c2_vabs_p,
00895 TOP_c2_vabs_p_sm,
00896 TOP_c2_vabs_h,
00897 TOP_c2_vabs_h_sm,
00898 TOP_c2_vabs_w,
00899 TOP_c2_vabs_w_sm,
00900 TOP_c2_vcopy,
00901 TOP_c2_mvgr_g2r_ba_lh,
00902 TOP_c2_mvgr_g2r_ba_hh,
00903 TOP_c2_mvgr_g2r_ba_w,
00904 TOP_c2_mvgr_g2r_bh,
00905 TOP_c2_mvgr_g2r_bh_u,
00906 TOP_c2_mvgr_g2r_bv,
00907 TOP_c2_mvgr_g2r_bv_u,
00908 TOP_c2_mvgc_c2g,
00909 TOP_c2_mvgc_g2c,
00910 TOP_c2_ldi_s_h_u,
00911 TOP_c2_ldi_s_h,
00912 TOP_c2_ldi_s_w,
00913 TOP_c2_ldi_c,
00914 TOP_c2_ldi_v_b_u,
00915 TOP_c2_ldi_v_b,
00916 TOP_c2_ldi_v_h,
00917 TOP_c2_ldi_v_w,
00918 TOP_c2_ldi_v_m_b_u,
00919 TOP_c2_ldi_v_m_b,
00920 TOP_c2_ldi_v_m_h,
00921 TOP_c2_ldi_v_m_w,
00922 TOP_c2_bcst_q,
00923 TOP_c2_bcst_i,
00924 TOP_c2_vlcs_dc,
00925 TOP_c2_vlcs_ac,
00926 TOP_c2_mov_g,
00927 TOP_c2_mov_r ,
00928 TOP_c2_ldi_v2g_b_u,
00929 TOP_c2_ldi_v2g_b,
00930 TOP_c2_ldi_v2g_h_u,
00931 TOP_c2_ldi_v2g_h,
00932 TOP_c2_ldi_v2g_w,
00933 TOP_c2_lczero_z,
00934 TOP_c2_lczero_nz_fw,
00935 TOP_c2_lczero_nz_bw,
00936
00937 #endif
00938 TOP_UNDEFINED);
00939
00940 #if defined(TARG_SL)
00941
00942 ISA_PRINT_TYPE c2ldv2g = ISA_Print_Type_Create("c2ldv2g", "%s %s,%s(%s)");
00943 Name();
00944 Result(0);
00945 Operand(1);
00946 Operand(0);
00947 Instruction_Print_Group(c2ldv2g,
00948 TOP_c2_ld_v2g_b_u,
00949 TOP_c2_ld_v2g_b,
00950 TOP_c2_ld_v2g_h_u,
00951 TOP_c2_ld_v2g_h,
00952 TOP_c2_ld_v2g_w,
00953 TOP_UNDEFINED);
00954
00955 ISA_PRINT_TYPE c2stg2v = ISA_Print_Type_Create("c2stg2v", "%s %s,%s(%s)");
00956 Name();
00957 Operand(0);
00958 Operand(2);
00959 Operand(1);
00960 Instruction_Print_Group(c2stg2v,
00961 TOP_c2_st_g2v_b,
00962 TOP_c2_st_g2v_h,
00963 TOP_c2_st_g2v_w,
00964 TOP_UNDEFINED);
00965 #endif //TARG_SL
00966
00967
00968
00969 ISA_PRINT_TYPE opr = ISA_Print_Type_Create("opr", "%s %s,%s");
00970 Name();
00971 Operand(0);
00972 Result(0);
00973 Instruction_Print_Group(opr,
00974 TOP_mtc1,
00975 TOP_dmtc1,
00976 TOP_UNDEFINED);
00977 #if defined(TARG_SL)
00978
00979 ISA_PRINT_TYPE oprfcc = ISA_Print_Type_Create("oprfcc", "%s %s,$31");
00980 Name();
00981 Result(0);
00982 Instruction_Print_Group(oprfcc,
00983 TOP_cfc1,
00984 TOP_UNDEFINED);
00985
00986 ISA_PRINT_TYPE opr2fcc = ISA_Print_Type_Create("opr2fcc", "%s %s,$31");
00987 Name();
00988 Operand(0);
00989 Instruction_Print_Group(opr2fcc,
00990 TOP_ctc1,
00991 TOP_UNDEFINED);
00992 #endif
00993
00994
00995 ISA_PRINT_TYPE ropopop = ISA_Print_Type_Create("ropopop", "%s %s,%s,%s,%s");
00996 Name();
00997 Result(0);
00998 Operand(0);
00999 Operand(1);
01000 Operand(2);
01001 Instruction_Print_Group(ropopop,
01002 TOP_madd_s,
01003 TOP_madd_d,
01004 TOP_msub_s,
01005 TOP_msub_d,
01006 TOP_nmadd_s,
01007 TOP_nmadd_d,
01008 TOP_nmsub_s,
01009 TOP_nmsub_d,
01010 #ifdef TARG_SL2
01011 TOP_c2_vspel_adds,
01012 TOP_c2_vspel_mac_h,
01013 TOP_c2_smads,
01014 TOP_c2_cmov,
01015 TOP_c2_clp,
01016 TOP_c2_clp_i,
01017 TOP_c2_chkrng,
01018 TOP_c2_bxtr_u_l,
01019 TOP_c2_bxtr_s_l,
01020 TOP_c2_bxtr_u_m,
01021 TOP_c2_bxtr_s_m,
01022 TOP_c2_bxtrr48,
01023 TOP_c2_bxtrr48_i,
01024 TOP_c2_sum4_r,
01025 TOP_c2_med,
01026 TOP_c2_subs_g_i,
01027 TOP_c2_subs_g,
01028 TOP_c2_subs_r_h_i,
01029 TOP_c2_subs_r_h,
01030 TOP_c2_vsubs_h_abs,
01031 TOP_c2_vsubs_h_abs_sm,
01032 TOP_c2_mov_s_i,
01033 TOP_c2_mov_s,
01034 TOP_c2_sum4_saddr,
01035 TOP_c2_vmov_swin,
01036 TOP_c2_bdep_l,
01037 TOP_c2_bdep_m,
01038 TOP_c2_shor_l,
01039 TOP_c2_shor_rl,
01040 TOP_c2_shor_ra,
01041 TOP_c2_shadd_l,
01042 TOP_c2_shadd_rl,
01043 TOP_c2_shadd_ra,
01044 TOP_c2_shsub_l,
01045 TOP_c2_shsub_rl,
01046 TOP_c2_shsub_ra,
01047 TOP_c2_shor_l_i,
01048 TOP_c2_shor_rl_i,
01049 TOP_c2_shor_ra_i,
01050 TOP_c2_shadd_l_i,
01051 TOP_c2_shadd_rl_i,
01052 TOP_c2_shadd_ra_i,
01053 TOP_c2_shsub_l_i,
01054 TOP_c2_shsub_rl_i,
01055 TOP_c2_shsub_ra_i,
01056 #endif
01057 TOP_UNDEFINED);
01058
01059
01060 #ifdef TARG_SL2
01061 ISA_PRINT_TYPE rropop = ISA_Print_Type_Create("rropop", "%s %s,%s,%s,%s");
01062 Name();
01063 Result(0);
01064 Result(1);
01065 Operand(0);
01066 Operand(1);
01067 Instruction_Print_Group(rropop,
01068 TOP_c2_sad,
01069 TOP_UNDEFINED);
01070
01071 ISA_PRINT_TYPE ropoprop = ISA_Print_Type_Create("ropoprop", "%s %s,%s,%s,%s,%s");
01072 Name();
01073 Result(0);
01074 Result(1);
01075 Operand(0);
01076 Operand(1);
01077 Operand(2);
01078 Instruction_Print_Group(ropoprop,
01079 TOP_c2_satd,
01080 TOP_UNDEFINED);
01081
01082
01083 ISA_PRINT_TYPE mvsel = ISA_Print_Type_Create("mvsel", "c2.mvsel %s,%s,%s,%s");
01084 Result(0);
01085 Operand(0);
01086 Operand(1);
01087 Operand(2);
01088 Instruction_Print_Group(mvsel,
01089 TOP_c2_mvsel_mode0,
01090 TOP_c2_mvsel_mode1,
01091 TOP_c2_mvsel_mode2,
01092 TOP_c2_mvsel_mode345,
01093 TOP_UNDEFINED);
01094
01095 ISA_PRINT_TYPE rop0op2op3 = ISA_Print_Type_Create("rop0op2op3", "%s %s,%s,%s,%s");
01096 Name();
01097 Result(0);
01098 Operand(0);
01099 Operand(2);
01100 Operand(3);
01101 Instruction_Print_Group(rop0op2op3,
01102 TOP_c2_subs_r_w_i,
01103 TOP_c2_vspas,
01104 TOP_c2_vspel_mac_w,
01105 TOP_UNDEFINED);
01106
01107 ISA_PRINT_TYPE rop0op2op4 = ISA_Print_Type_Create("rop0op2op3", "%s %s,%s,%s,%s");
01108 Name();
01109 Result(0);
01110 Operand(0);
01111 Operand(2);
01112 Operand(4);
01113 Instruction_Print_Group(rop0op2op3,
01114 TOP_c2_subs_r_w,
01115 TOP_UNDEFINED);
01116
01117 ISA_PRINT_TYPE ropopopop = ISA_Print_Type_Create("ropopopop", "%s %s,%s,%s,%s,%s");
01118 Name();
01119 Result(0);
01120 Operand(0);
01121 Operand(1);
01122 Operand(2);
01123 Operand(3);
01124 Instruction_Print_Group(ropopopop,
01125 TOP_c2_vadds_h,
01126 TOP_c2_vadds_h_mode6,
01127 TOP_c2_vadds_h_mode2,
01128 TOP_c2_vsubs_h,
01129 TOP_c2_vsubs_h_sm,
01130 TOP_c2_mmul_h,
01131 TOP_c2_gsums,
01132 TOP_c2_vsubs_h_abs,
01133 TOP_c2_vsubs_h_abs_sm,
01134 TOP_UNDEFINED);
01135
01136 ISA_PRINT_TYPE vadds_h = ISA_Print_Type_Create("vadds_h", "c2.vadds.h %s,%s,%s,%s,%s");
01137 Result(0);
01138 Operand(0);
01139 Operand(1);
01140 Operand(2);
01141 Operand(3);
01142 Instruction_Print_Group(vadds_h,
01143 TOP_c2_vadds_h,
01144 TOP_c2_vadds_h_mode6,
01145 TOP_c2_vadds_h_mode2,
01146 TOP_UNDEFINED);
01147
01148 ISA_PRINT_TYPE vadds_w = ISA_Print_Type_Create("vadds_w", "c2.vadds.w %s,%s,%s,%s,%s");
01149 Result(0);
01150 Operand(0);
01151 Operand(2);
01152 Operand(4);
01153 Operand(5);
01154 Instruction_Print_Group(vadds_w,
01155 TOP_c2_vadds_w,
01156 TOP_c2_vadds_w_mode6,
01157 TOP_c2_vadds_w_mode2,
01158 TOP_UNDEFINED);
01159
01160 ISA_PRINT_TYPE vadds_p = ISA_Print_Type_Create("vadds_p", "c2.vadds.p %s,%s,%s,%s,%s");
01161 Result(0);
01162 Operand(0);
01163 Operand(2);
01164 Operand(4);
01165 Operand(5);
01166 Instruction_Print_Group(vadds_p,
01167 TOP_c2_vadds_p,
01168 TOP_c2_vadds_p_mode6,
01169 TOP_c2_vadds_p_mode2,
01170 TOP_UNDEFINED);
01171
01172 ISA_PRINT_TYPE rop0op2op4op5 = ISA_Print_Type_Create("rop0op2op4op5", "%s %s,%s,%s,%s,%s");
01173 Name();
01174 Result(0);
01175 Operand(0);
01176 Operand(2);
01177 Operand(4);
01178 Operand(5);
01179 Instruction_Print_Group(rop0op2op4op5,
01180 TOP_c2_vsubs_w,
01181 TOP_c2_vsubs_w_sm,
01182 TOP_c2_vsubs_p,
01183 TOP_c2_vsubs_p_sm,
01184 TOP_c2_vsubs_w_abs,
01185 TOP_c2_vsubs_w_abs_sm,
01186 TOP_c2_vsubs_p_abs,
01187 TOP_c2_vsubs_p_abs_sm,
01188 TOP_c2_mmul_w,
01189 TOP_UNDEFINED);
01190
01191 ISA_PRINT_TYPE ropopopopop = ISA_Print_Type_Create("ropopopop", "%s %s,%s,%s,%s,%s,%s");
01192 Name();
01193 Result(0);
01194 Operand(0);
01195 Operand(1);
01196 Operand(2);
01197 Operand(3);
01198 Operand(4);
01199 Instruction_Print_Group(ropopopopop,
01200 TOP_c2_mads,
01201 TOP_c2_add_shl_g_i,
01202 TOP_c2_add_shr_g_i,
01203 TOP_c2_add_shl_g,
01204 TOP_c2_add_shr_g,
01205 TOP_c2_add_shl_r_h_i,
01206 TOP_c2_add_shr_r_h_i,
01207 TOP_c2_add_shl_r_h,
01208 TOP_c2_add_shr_r_h,
01209 TOP_UNDEFINED);
01210
01211 ISA_PRINT_TYPE rop0op2op3op4op5 = ISA_Print_Type_Create("rop0op2op3op4op5", "%s %s,%s,%s,%s,%s,%s");
01212 Name();
01213 Result(0);
01214 Operand(0);
01215 Operand(2);
01216 Operand(3);
01217 Operand(4);
01218 Operand(5);
01219 Instruction_Print_Group(ropopopopop,
01220 TOP_c2_add_shl_r_w_i,
01221 TOP_c2_add_shr_r_w_i,
01222 TOP_UNDEFINED);
01223
01224 ISA_PRINT_TYPE rop0op2op4op5op6 = ISA_Print_Type_Create("rop0op2op4op5op6", "%s %s,%s,%s,%s,%s,%s");
01225 Name();
01226 Result(0);
01227 Operand(0);
01228 Operand(2);
01229 Operand(4);
01230 Operand(5);
01231 Operand(6);
01232 Instruction_Print_Group(ropopopopop,
01233 TOP_c2_add_shl_r_w,
01234 TOP_c2_add_shr_r_w,
01235 TOP_UNDEFINED);
01236
01237
01238 ISA_PRINT_TYPE c2muls = ISA_Print_Type_Create("c2muls", "c2.mul.s %s,%s,%s,%s,%s,%s");
01239
01240 Result(0);
01241 Operand(0);
01242 Operand(1);
01243 Operand(2);
01244 Operand(3);
01245 Operand(4);
01246 Instruction_Print_Group(c2muls,
01247 TOP_c2_muls,
01248 TOP_UNDEFINED);
01249
01250 ISA_PRINT_TYPE load_no_off = ISA_Print_Type_Create("load_no_off", "%s %s,(%s)");
01251 Name();
01252 Result(0);
01253 Operand(0);
01254 Instruction_Print_Group(load_no_off,
01255 TOP_c2_ld_v_b_u,
01256 TOP_c2_ld_v_b,
01257 TOP_c2_ld_v_h,
01258 TOP_c2_ld_v_w,
01259 TOP_c2_ld_v_sw,
01260 TOP_c2_ld_v_m_b_u,
01261 TOP_c2_ld_v_m_b,
01262 TOP_c2_ld_v_m_h,
01263 TOP_c2_ld_v_m_w,
01264 TOP_c2_ld_s_h_u_p,
01265 TOP_c2_ld_s_h_u,
01266 TOP_c2_ld_s_h_p,
01267 TOP_c2_ld_s_h,
01268 TOP_c2_ld_s_w_p,
01269 TOP_c2_ld_s_w,
01270 TOP_UNDEFINED);
01271
01272 #endif //TARG_SL2
01273
01274
01275 ISA_PRINT_TYPE opopop = ISA_Print_Type_Create("opopop", "%s %s,%s,%s");
01276 Name();
01277 Operand(0);
01278 Operand(1);
01279 Operand(2);
01280 Instruction_Print_Group(opopop,
01281 TOP_beq,
01282 TOP_bne,
01283 TOP_teq,
01284 TOP_teqi,
01285 TOP_tge,
01286 TOP_tgei,
01287 TOP_tgeiu,
01288 TOP_tgeu,
01289 TOP_tlt,
01290 TOP_tlti,
01291 TOP_tltiu,
01292 TOP_tltu,
01293 TOP_tne,
01294 TOP_tnei,
01295 TOP_UNDEFINED);
01296
01297
01298
01299
01300 ISA_PRINT_TYPE load = ISA_Print_Type_Create("load", "%s %s,%s(%s)");
01301 Name();
01302 Result(0);
01303 Operand(1);
01304 Operand(0);
01305 Instruction_Print_Group(load,
01306 TOP_lb,
01307 TOP_lbu,
01308 TOP_lh,
01309 TOP_lhu,
01310 TOP_lw,
01311 TOP_lwl,
01312 TOP_lwr,
01313 TOP_ll,
01314 TOP_lwu,
01315 TOP_ld,
01316 TOP_ldl,
01317 TOP_ldr,
01318 TOP_lld,
01319 TOP_lwc1,
01320 TOP_ldc1,
01321 TOP_UNDEFINED);
01322
01323
01324 ISA_PRINT_TYPE prefetch = ISA_Print_Type_Create("prefetch", "%s %s,%s(%s)");
01325 Name();
01326 Operand(0);
01327 Operand(2);
01328 Operand(1);
01329 Instruction_Print_Group(prefetch,
01330 TOP_pref,
01331 TOP_UNDEFINED);
01332
01333 #ifdef TARG_SL
01334 ISA_PRINT_TYPE store_no_off = ISA_Print_Type_Create("store_no_off", "%s %s,(%s)");
01335 Name();
01336 Operand(0);
01337 Operand(1);
01338 Instruction_Print_Group(store_no_off,
01339 #ifdef TARG_SL2
01340 TOP_c2_st_v_b,
01341 TOP_c2_st_v_h,
01342 TOP_c2_st_v_w,
01343 TOP_c2_st_v_m_b,
01344 TOP_c2_st_v_m_h,
01345 TOP_c2_st_v_m_w,
01346 TOP_c2_st_s_h,
01347 TOP_c2_st_s_h_p,
01348 TOP_c2_st_s_w,
01349 TOP_c2_st_s_w_p,
01350
01351 #endif
01352 TOP_UNDEFINED);
01353 #endif
01354
01355 ISA_PRINT_TYPE store_pair_no_off = ISA_Print_Type_Create("store_no_off", "%s %s,(%s)");
01356 Name();
01357 Operand(0);
01358 Operand(2);
01359 Instruction_Print_Group(store_pair_no_off,
01360 #ifdef TARG_SL2
01361 TOP_c2_st_v_w,
01362 TOP_c2_st_v_m_w,
01363 #endif
01364 TOP_UNDEFINED);
01365
01366
01367
01368 ISA_PRINT_TYPE store = ISA_Print_Type_Create("store", "%s %s,%s(%s)");
01369 Name();
01370 Operand(0);
01371 Operand(2);
01372 Operand(1);
01373 Instruction_Print_Group(store,
01374 TOP_sb,
01375 TOP_sh,
01376 TOP_sw,
01377 TOP_swl,
01378 TOP_swr,
01379 TOP_sc,
01380 TOP_sd,
01381 TOP_sdl,
01382 TOP_sdr,
01383 TOP_scd,
01384 TOP_swc1,
01385 TOP_sdc1,
01386 TOP_UNDEFINED);
01387
01388
01389 ISA_PRINT_TYPE no_rop = ISA_Print_Type_Create("no_rop", "%s");
01390 Name();
01391 Instruction_Print_Group(no_rop,
01392 TOP_nop,
01393 TOP_sync,
01394 TOP_break,
01395 TOP_syscall,
01396
01397 TOP_lwxc1,
01398 TOP_ldxc1,
01399 TOP_swxc1,
01400 TOP_sdxc1,
01401 #if !defined(TARG_SL)
01402 TOP_cfc1,
01403 TOP_ctc1,
01404 #endif
01405
01406 #ifdef TARG_SL
01407 TOP_ret,
01408 #endif
01409 TOP_prefx,
01410 #ifdef TARG_SL2
01411 TOP_c2_thctrl_lock,
01412 TOP_c2_thctrl_unlock,
01413 TOP_c2_thctrl_deact,
01414 TOP_c2_joint,
01415 TOP_c2_macro,
01416 #endif
01417 TOP_UNDEFINED);
01418
01419 #if defined(TARG_SL)
01420
01421 ISA_PRINT_TYPE mc_abs = ISA_Print_Type_Create("mc_abs","%s %s, %s");
01422 Name();
01423 Result(0);
01424 Operand(0);
01425 Instruction_Print_Group(mc_abs,
01426 TOP_mc_abs,
01427 TOP_UNDEFINED);
01428
01429 ISA_PRINT_TYPE slmc = ISA_Print_Type_Create("slmc", "%s %s,%s,%s, %s");
01430 Name();
01431 Result(0);
01432 Operand(0);
01433 Operand(1);
01434 Operand(2);
01435
01436 Instruction_Print_Group(slmc,
01437 TOP_mc_z_eq,
01438 TOP_mc_z_ne,
01439 TOP_mc_z_gt,
01440 TOP_mc_z_ge,
01441 TOP_mc_z_lt,
01442 TOP_mc_z_le,
01443 TOP_mc_zn_eq,
01444 TOP_mc_zn_ne,
01445 TOP_mc_zn_gt,
01446 TOP_mc_zn_ge,
01447 TOP_mc_zn_lt,
01448 TOP_mc_zn_le,
01449 TOP_mc_zc_eq,
01450 TOP_mc_zc_ne,
01451 TOP_mc_zc_gt,
01452 TOP_mc_zc_ge,
01453 TOP_mc_zc_lt,
01454 TOP_mc_zc_le,
01455 TOP_mc_r_eq,
01456 TOP_mc_r_ne,
01457 TOP_mc_r_gt,
01458 TOP_mc_r_ge,
01459 TOP_mc_r_lt,
01460 TOP_mc_r_le,
01461 TOP_UNDEFINED);
01462
01463
01464
01465 ISA_PRINT_TYPE extract_bit = ISA_Print_Type_Create("extract_bit", "%s %s,%s,%s,%s");
01466 Name();
01467 Result(0);
01468 Operand(0);
01469 Operand(1);
01470 Operand(2);
01471 Instruction_Print_Group(extract_bit,
01472 TOP_extrbs,
01473 TOP_extrbu,
01474 TOP_UNDEFINED);
01475
01476
01477 ISA_PRINT_TYPE deposit_bit = ISA_Print_Type_Create("deposit_bit", "%s %s,%s,%s,%s");
01478 Name();
01479 Result(0);
01480 Operand(1);
01481 Operand(2);
01482 Operand(3);
01483 Instruction_Print_Group(deposit_bit,
01484 TOP_depb,
01485 TOP_UNDEFINED);
01486
01487 #endif
01488 ISA_Print_End();
01489 }