diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-24 04:07:32 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-24 04:07:32 -0500 |
commit | aea0b94653b6a5dff6f12ec14fd344db73b3a9f8 (patch) | |
tree | 72b35360e77181c94fb61dcbd1784bfa97eaf6a0 /sim | |
parent | 43fbcdcd03fec85a9ea147000c3feec9d4989d6c (diff) | |
download | gdb-aea0b94653b6a5dff6f12ec14fd344db73b3a9f8.zip gdb-aea0b94653b6a5dff6f12ec14fd344db73b3a9f8.tar.gz gdb-aea0b94653b6a5dff6f12ec14fd344db73b3a9f8.tar.bz2 |
sim: cgen: regenerate decode tables
Integrate some changes from upstream cgen that tightened up the
generated output. Shouldn't be any functional changes here.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/cris/decodev10.c | 3180 | ||||
-rw-r--r-- | sim/cris/decodev32.c | 2326 | ||||
-rw-r--r-- | sim/frv/decode.c | 1902 | ||||
-rw-r--r-- | sim/iq2000/decode.c | 464 | ||||
-rw-r--r-- | sim/lm32/decode.c | 130 | ||||
-rw-r--r-- | sim/m32r/decode.c | 400 | ||||
-rw-r--r-- | sim/m32r/decode2.c | 518 | ||||
-rw-r--r-- | sim/m32r/decodex.c | 492 | ||||
-rw-r--r-- | sim/or1k/decode.c | 2242 |
9 files changed, 5827 insertions, 5827 deletions
diff --git a/sim/cris/decodev10.c b/sim/cris/decodev10.c index 650c5db..7683530 100644 --- a/sim/cris/decodev10.c +++ b/sim/cris/decodev10.c @@ -331,2055 +331,2055 @@ crisv10f_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 4) & (255 << 0))); switch (val0) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 15 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 15 : itype = CRISV10F_INSN_BCC_B; goto extract_sfmt_bcc_b; - case 14 : itype = CRISV10F_INSN_BA_B; goto extract_sfmt_ba_b; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 15: itype = CRISV10F_INSN_BCC_B; goto extract_sfmt_bcc_b; + case 14: itype = CRISV10F_INSN_BA_B; goto extract_sfmt_ba_b; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 16 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 19 : /* fall through */ - case 20 : /* fall through */ - case 21 : /* fall through */ - case 22 : /* fall through */ - case 23 : /* fall through */ - case 24 : /* fall through */ - case 25 : /* fall through */ - case 26 : /* fall through */ - case 27 : /* fall through */ - case 28 : /* fall through */ - case 29 : /* fall through */ - case 30 : /* fall through */ - case 31 : + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDOQ; goto extract_sfmt_addoq; - case 15 : itype = CRISV10F_INSN_BDAPQPC; goto extract_sfmt_bdapqpc; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDOQ; goto extract_sfmt_addoq; + case 15: itype = CRISV10F_INSN_BDAPQPC; goto extract_sfmt_bdapqpc; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : itype = CRISV10F_INSN_ADDQ; goto extract_sfmt_addq; - case 36 : /* fall through */ - case 37 : /* fall through */ - case 38 : /* fall through */ - case 39 : itype = CRISV10F_INSN_MOVEQ; goto extract_sfmt_moveq; - case 40 : /* fall through */ - case 41 : /* fall through */ - case 42 : /* fall through */ - case 43 : itype = CRISV10F_INSN_SUBQ; goto extract_sfmt_addq; - case 44 : /* fall through */ - case 45 : /* fall through */ - case 46 : /* fall through */ - case 47 : itype = CRISV10F_INSN_CMPQ; goto extract_sfmt_cmpq; - case 48 : /* fall through */ - case 49 : /* fall through */ - case 50 : /* fall through */ - case 51 : itype = CRISV10F_INSN_ANDQ; goto extract_sfmt_andq; - case 52 : /* fall through */ - case 53 : /* fall through */ - case 54 : /* fall through */ - case 55 : itype = CRISV10F_INSN_ORQ; goto extract_sfmt_andq; - case 56 : /* fall through */ - case 57 : itype = CRISV10F_INSN_BTSTQ; goto extract_sfmt_btstq; - case 58 : /* fall through */ - case 59 : itype = CRISV10F_INSN_ASRQ; goto extract_sfmt_asrq; - case 60 : /* fall through */ - case 61 : itype = CRISV10F_INSN_LSLQ; goto extract_sfmt_asrq; - case 62 : /* fall through */ - case 63 : itype = CRISV10F_INSN_LSRQ; goto extract_sfmt_asrq; - case 64 : itype = CRISV10F_INSN_ADDU_B_R; goto extract_sfmt_add_d_r; - case 65 : itype = CRISV10F_INSN_ADDU_W_R; goto extract_sfmt_add_d_r; - case 66 : itype = CRISV10F_INSN_ADDS_B_R; goto extract_sfmt_add_d_r; - case 67 : itype = CRISV10F_INSN_ADDS_W_R; goto extract_sfmt_add_d_r; - case 68 : itype = CRISV10F_INSN_MOVU_B_R; goto extract_sfmt_movs_b_r; - case 69 : itype = CRISV10F_INSN_MOVU_W_R; goto extract_sfmt_movs_b_r; - case 70 : itype = CRISV10F_INSN_MOVS_B_R; goto extract_sfmt_movs_b_r; - case 71 : itype = CRISV10F_INSN_MOVS_W_R; goto extract_sfmt_movs_b_r; - case 72 : itype = CRISV10F_INSN_SUBU_B_R; goto extract_sfmt_add_d_r; - case 73 : itype = CRISV10F_INSN_SUBU_W_R; goto extract_sfmt_add_d_r; - case 74 : itype = CRISV10F_INSN_SUBS_B_R; goto extract_sfmt_add_d_r; - case 75 : itype = CRISV10F_INSN_SUBS_W_R; goto extract_sfmt_add_d_r; - case 76 : itype = CRISV10F_INSN_LSLR_B_R; goto extract_sfmt_lsrr_b_r; - case 77 : itype = CRISV10F_INSN_LSLR_W_R; goto extract_sfmt_lsrr_b_r; - case 78 : itype = CRISV10F_INSN_LSLR_D_R; goto extract_sfmt_lsrr_d_r; - case 79 : itype = CRISV10F_INSN_BTST; goto extract_sfmt_btst; - case 80 : + case 32: + case 33: + case 34: + case 35: itype = CRISV10F_INSN_ADDQ; goto extract_sfmt_addq; + case 36: + case 37: + case 38: + case 39: itype = CRISV10F_INSN_MOVEQ; goto extract_sfmt_moveq; + case 40: + case 41: + case 42: + case 43: itype = CRISV10F_INSN_SUBQ; goto extract_sfmt_addq; + case 44: + case 45: + case 46: + case 47: itype = CRISV10F_INSN_CMPQ; goto extract_sfmt_cmpq; + case 48: + case 49: + case 50: + case 51: itype = CRISV10F_INSN_ANDQ; goto extract_sfmt_andq; + case 52: + case 53: + case 54: + case 55: itype = CRISV10F_INSN_ORQ; goto extract_sfmt_andq; + case 56: + case 57: itype = CRISV10F_INSN_BTSTQ; goto extract_sfmt_btstq; + case 58: + case 59: itype = CRISV10F_INSN_ASRQ; goto extract_sfmt_asrq; + case 60: + case 61: itype = CRISV10F_INSN_LSLQ; goto extract_sfmt_asrq; + case 62: + case 63: itype = CRISV10F_INSN_LSRQ; goto extract_sfmt_asrq; + case 64: itype = CRISV10F_INSN_ADDU_B_R; goto extract_sfmt_add_d_r; + case 65: itype = CRISV10F_INSN_ADDU_W_R; goto extract_sfmt_add_d_r; + case 66: itype = CRISV10F_INSN_ADDS_B_R; goto extract_sfmt_add_d_r; + case 67: itype = CRISV10F_INSN_ADDS_W_R; goto extract_sfmt_add_d_r; + case 68: itype = CRISV10F_INSN_MOVU_B_R; goto extract_sfmt_movs_b_r; + case 69: itype = CRISV10F_INSN_MOVU_W_R; goto extract_sfmt_movs_b_r; + case 70: itype = CRISV10F_INSN_MOVS_B_R; goto extract_sfmt_movs_b_r; + case 71: itype = CRISV10F_INSN_MOVS_W_R; goto extract_sfmt_movs_b_r; + case 72: itype = CRISV10F_INSN_SUBU_B_R; goto extract_sfmt_add_d_r; + case 73: itype = CRISV10F_INSN_SUBU_W_R; goto extract_sfmt_add_d_r; + case 74: itype = CRISV10F_INSN_SUBS_B_R; goto extract_sfmt_add_d_r; + case 75: itype = CRISV10F_INSN_SUBS_W_R; goto extract_sfmt_add_d_r; + case 76: itype = CRISV10F_INSN_LSLR_B_R; goto extract_sfmt_lsrr_b_r; + case 77: itype = CRISV10F_INSN_LSLR_W_R; goto extract_sfmt_lsrr_b_r; + case 78: itype = CRISV10F_INSN_LSLR_D_R; goto extract_sfmt_lsrr_d_r; + case 79: itype = CRISV10F_INSN_BTST; goto extract_sfmt_btst; + case 80: { unsigned int val1 = (((insn >> 8) & (7 << 4)) | ((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 16 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 19 : /* fall through */ - case 20 : /* fall through */ - case 21 : /* fall through */ - case 22 : /* fall through */ - case 23 : /* fall through */ - case 24 : /* fall through */ - case 25 : /* fall through */ - case 26 : /* fall through */ - case 27 : /* fall through */ - case 28 : /* fall through */ - case 29 : /* fall through */ - case 30 : /* fall through */ - case 31 : /* fall through */ - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : /* fall through */ - case 36 : /* fall through */ - case 37 : /* fall through */ - case 38 : /* fall through */ - case 39 : /* fall through */ - case 40 : /* fall through */ - case 41 : /* fall through */ - case 42 : /* fall through */ - case 43 : /* fall through */ - case 44 : /* fall through */ - case 45 : /* fall through */ - case 46 : /* fall through */ - case 47 : /* fall through */ - case 48 : /* fall through */ - case 49 : /* fall through */ - case 50 : /* fall through */ - case 51 : /* fall through */ - case 52 : /* fall through */ - case 53 : /* fall through */ - case 54 : /* fall through */ - case 55 : /* fall through */ - case 56 : /* fall through */ - case 57 : /* fall through */ - case 58 : /* fall through */ - case 59 : /* fall through */ - case 60 : /* fall through */ - case 61 : /* fall through */ - case 62 : /* fall through */ - case 63 : /* fall through */ - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : /* fall through */ - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : /* fall through */ - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : /* fall through */ - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : /* fall through */ - case 80 : /* fall through */ - case 81 : /* fall through */ - case 82 : /* fall through */ - case 83 : /* fall through */ - case 84 : /* fall through */ - case 85 : /* fall through */ - case 86 : /* fall through */ - case 87 : /* fall through */ - case 88 : /* fall through */ - case 89 : /* fall through */ - case 90 : /* fall through */ - case 91 : /* fall through */ - case 92 : /* fall through */ - case 93 : /* fall through */ - case 94 : /* fall through */ - case 95 : /* fall through */ - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : /* fall through */ - case 100 : /* fall through */ - case 101 : /* fall through */ - case 102 : /* fall through */ - case 103 : /* fall through */ - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : /* fall through */ - case 108 : /* fall through */ - case 109 : /* fall through */ - case 110 : /* fall through */ - case 111 : /* fall through */ - case 112 : /* fall through */ - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : /* fall through */ - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : /* fall through */ - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : /* fall through */ - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : /* fall through */ - case 127 : itype = CRISV10F_INSN_ADDI_B_R; goto extract_sfmt_addi_b_r; - case 15 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: + case 112: + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: itype = CRISV10F_INSN_ADDI_B_R; goto extract_sfmt_addi_b_r; + case 15: { unsigned int val2 = (((insn >> 15) & (1 << 0))); switch (val2) { - case 0 : itype = CRISV10F_INSN_NOP; goto extract_sfmt_nop; - case 1 : itype = CRISV10F_INSN_ADDI_B_R; goto extract_sfmt_addi_b_r; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = CRISV10F_INSN_NOP; goto extract_sfmt_nop; + case 1: itype = CRISV10F_INSN_ADDI_B_R; goto extract_sfmt_addi_b_r; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 81 : itype = CRISV10F_INSN_ADDI_W_R; goto extract_sfmt_addi_b_r; - case 82 : itype = CRISV10F_INSN_ADDI_D_R; goto extract_sfmt_addi_b_r; - case 83 : itype = CRISV10F_INSN_SCC; goto extract_sfmt_scc; - case 84 : + case 81: itype = CRISV10F_INSN_ADDI_W_R; goto extract_sfmt_addi_b_r; + case 82: itype = CRISV10F_INSN_ADDI_D_R; goto extract_sfmt_addi_b_r; + case 83: itype = CRISV10F_INSN_SCC; goto extract_sfmt_scc; + case 84: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDI_ACR_B_R; goto extract_sfmt_addi_acr_b_r; - case 15 : itype = CRISV10F_INSN_BIAP_PC_B_R; goto extract_sfmt_biap_pc_b_r; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDI_ACR_B_R; goto extract_sfmt_addi_acr_b_r; + case 15: itype = CRISV10F_INSN_BIAP_PC_B_R; goto extract_sfmt_biap_pc_b_r; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 85 : + case 85: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDI_ACR_W_R; goto extract_sfmt_addi_acr_b_r; - case 15 : itype = CRISV10F_INSN_BIAP_PC_W_R; goto extract_sfmt_biap_pc_b_r; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDI_ACR_W_R; goto extract_sfmt_addi_acr_b_r; + case 15: itype = CRISV10F_INSN_BIAP_PC_W_R; goto extract_sfmt_biap_pc_b_r; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 86 : + case 86: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDI_ACR_D_R; goto extract_sfmt_addi_acr_b_r; - case 15 : itype = CRISV10F_INSN_BIAP_PC_D_R; goto extract_sfmt_biap_pc_b_r; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDI_ACR_D_R; goto extract_sfmt_addi_acr_b_r; + case 15: itype = CRISV10F_INSN_BIAP_PC_D_R; goto extract_sfmt_biap_pc_b_r; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 88 : itype = CRISV10F_INSN_NEG_B_R; goto extract_sfmt_neg_b_r; - case 89 : itype = CRISV10F_INSN_NEG_W_R; goto extract_sfmt_neg_b_r; - case 90 : itype = CRISV10F_INSN_NEG_D_R; goto extract_sfmt_neg_d_r; - case 91 : itype = CRISV10F_INSN_SETF; goto extract_sfmt_setf; - case 92 : itype = CRISV10F_INSN_BOUND_R_B_R; goto extract_sfmt_dstep; - case 93 : itype = CRISV10F_INSN_BOUND_R_W_R; goto extract_sfmt_dstep; - case 94 : itype = CRISV10F_INSN_BOUND_R_D_R; goto extract_sfmt_dstep; - case 95 : itype = CRISV10F_INSN_CLEARF; goto extract_sfmt_setf; - case 96 : itype = CRISV10F_INSN_ADD_B_R; goto extract_sfmt_add_b_r; - case 97 : itype = CRISV10F_INSN_ADD_W_R; goto extract_sfmt_add_b_r; - case 98 : itype = CRISV10F_INSN_ADD_D_R; goto extract_sfmt_add_d_r; - case 99 : itype = CRISV10F_INSN_MOVE_R_SPRV10; goto extract_sfmt_move_r_sprv10; - case 100 : itype = CRISV10F_INSN_MOVE_B_R; goto extract_sfmt_move_b_r; - case 101 : itype = CRISV10F_INSN_MOVE_W_R; goto extract_sfmt_move_b_r; - case 102 : + case 88: itype = CRISV10F_INSN_NEG_B_R; goto extract_sfmt_neg_b_r; + case 89: itype = CRISV10F_INSN_NEG_W_R; goto extract_sfmt_neg_b_r; + case 90: itype = CRISV10F_INSN_NEG_D_R; goto extract_sfmt_neg_d_r; + case 91: itype = CRISV10F_INSN_SETF; goto extract_sfmt_setf; + case 92: itype = CRISV10F_INSN_BOUND_R_B_R; goto extract_sfmt_dstep; + case 93: itype = CRISV10F_INSN_BOUND_R_W_R; goto extract_sfmt_dstep; + case 94: itype = CRISV10F_INSN_BOUND_R_D_R; goto extract_sfmt_dstep; + case 95: itype = CRISV10F_INSN_CLEARF; goto extract_sfmt_setf; + case 96: itype = CRISV10F_INSN_ADD_B_R; goto extract_sfmt_add_b_r; + case 97: itype = CRISV10F_INSN_ADD_W_R; goto extract_sfmt_add_b_r; + case 98: itype = CRISV10F_INSN_ADD_D_R; goto extract_sfmt_add_d_r; + case 99: itype = CRISV10F_INSN_MOVE_R_SPRV10; goto extract_sfmt_move_r_sprv10; + case 100: itype = CRISV10F_INSN_MOVE_B_R; goto extract_sfmt_move_b_r; + case 101: itype = CRISV10F_INSN_MOVE_W_R; goto extract_sfmt_move_b_r; + case 102: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVE_D_R; goto extract_sfmt_move_d_r; - case 15 : itype = CRISV10F_INSN_MOVEPCR; goto extract_sfmt_movepcr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVE_D_R; goto extract_sfmt_move_d_r; + case 15: itype = CRISV10F_INSN_MOVEPCR; goto extract_sfmt_movepcr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 103 : + case 103: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVE_SPR_RV10; goto extract_sfmt_move_spr_rv10; - case 15 : itype = CRISV10F_INSN_RET_TYPE; goto extract_sfmt_ret_type; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVE_SPR_RV10; goto extract_sfmt_move_spr_rv10; + case 15: itype = CRISV10F_INSN_RET_TYPE; goto extract_sfmt_ret_type; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 104 : itype = CRISV10F_INSN_SUB_B_R; goto extract_sfmt_add_b_r; - case 105 : itype = CRISV10F_INSN_SUB_W_R; goto extract_sfmt_add_b_r; - case 106 : itype = CRISV10F_INSN_SUB_D_R; goto extract_sfmt_add_d_r; - case 107 : itype = CRISV10F_INSN_ABS; goto extract_sfmt_movs_b_r; - case 108 : itype = CRISV10F_INSN_CMP_R_B_R; goto extract_sfmt_cmp_r_b_r; - case 109 : itype = CRISV10F_INSN_CMP_R_W_R; goto extract_sfmt_cmp_r_b_r; - case 110 : itype = CRISV10F_INSN_CMP_R_D_R; goto extract_sfmt_cmp_r_b_r; - case 111 : itype = CRISV10F_INSN_DSTEP; goto extract_sfmt_dstep; - case 112 : itype = CRISV10F_INSN_AND_B_R; goto extract_sfmt_and_b_r; - case 113 : itype = CRISV10F_INSN_AND_W_R; goto extract_sfmt_and_b_r; - case 114 : itype = CRISV10F_INSN_AND_D_R; goto extract_sfmt_and_d_r; - case 115 : itype = CRISV10F_INSN_LZ; goto extract_sfmt_movs_b_r; - case 116 : itype = CRISV10F_INSN_ORR_B_R; goto extract_sfmt_and_b_r; - case 117 : itype = CRISV10F_INSN_ORR_W_R; goto extract_sfmt_and_b_r; - case 118 : itype = CRISV10F_INSN_ORR_D_R; goto extract_sfmt_and_d_r; - case 119 : itype = CRISV10F_INSN_SWAP; goto extract_sfmt_swap; - case 120 : itype = CRISV10F_INSN_ASRR_B_R; goto extract_sfmt_and_b_r; - case 121 : itype = CRISV10F_INSN_ASRR_W_R; goto extract_sfmt_and_b_r; - case 122 : itype = CRISV10F_INSN_ASRR_D_R; goto extract_sfmt_and_d_r; - case 123 : itype = CRISV10F_INSN_XOR; goto extract_sfmt_dstep; - case 124 : itype = CRISV10F_INSN_LSRR_B_R; goto extract_sfmt_lsrr_b_r; - case 125 : itype = CRISV10F_INSN_LSRR_W_R; goto extract_sfmt_lsrr_b_r; - case 126 : itype = CRISV10F_INSN_LSRR_D_R; goto extract_sfmt_lsrr_d_r; - case 127 : itype = CRISV10F_INSN_MSTEP; goto extract_sfmt_mstep; - case 128 : itype = CRISV10F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 129 : itype = CRISV10F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 130 : itype = CRISV10F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 131 : + case 104: itype = CRISV10F_INSN_SUB_B_R; goto extract_sfmt_add_b_r; + case 105: itype = CRISV10F_INSN_SUB_W_R; goto extract_sfmt_add_b_r; + case 106: itype = CRISV10F_INSN_SUB_D_R; goto extract_sfmt_add_d_r; + case 107: itype = CRISV10F_INSN_ABS; goto extract_sfmt_movs_b_r; + case 108: itype = CRISV10F_INSN_CMP_R_B_R; goto extract_sfmt_cmp_r_b_r; + case 109: itype = CRISV10F_INSN_CMP_R_W_R; goto extract_sfmt_cmp_r_b_r; + case 110: itype = CRISV10F_INSN_CMP_R_D_R; goto extract_sfmt_cmp_r_b_r; + case 111: itype = CRISV10F_INSN_DSTEP; goto extract_sfmt_dstep; + case 112: itype = CRISV10F_INSN_AND_B_R; goto extract_sfmt_and_b_r; + case 113: itype = CRISV10F_INSN_AND_W_R; goto extract_sfmt_and_b_r; + case 114: itype = CRISV10F_INSN_AND_D_R; goto extract_sfmt_and_d_r; + case 115: itype = CRISV10F_INSN_LZ; goto extract_sfmt_movs_b_r; + case 116: itype = CRISV10F_INSN_ORR_B_R; goto extract_sfmt_and_b_r; + case 117: itype = CRISV10F_INSN_ORR_W_R; goto extract_sfmt_and_b_r; + case 118: itype = CRISV10F_INSN_ORR_D_R; goto extract_sfmt_and_d_r; + case 119: itype = CRISV10F_INSN_SWAP; goto extract_sfmt_swap; + case 120: itype = CRISV10F_INSN_ASRR_B_R; goto extract_sfmt_and_b_r; + case 121: itype = CRISV10F_INSN_ASRR_W_R; goto extract_sfmt_and_b_r; + case 122: itype = CRISV10F_INSN_ASRR_D_R; goto extract_sfmt_and_d_r; + case 123: itype = CRISV10F_INSN_XOR; goto extract_sfmt_dstep; + case 124: itype = CRISV10F_INSN_LSRR_B_R; goto extract_sfmt_lsrr_b_r; + case 125: itype = CRISV10F_INSN_LSRR_W_R; goto extract_sfmt_lsrr_b_r; + case 126: itype = CRISV10F_INSN_LSRR_D_R; goto extract_sfmt_lsrr_d_r; + case 127: itype = CRISV10F_INSN_MSTEP; goto extract_sfmt_mstep; + case 128: itype = CRISV10F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 129: itype = CRISV10F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 130: itype = CRISV10F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 131: { unsigned int val1 = (((insn >> 8) & (7 << 4)) | ((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 15 : /* fall through */ - case 16 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 19 : /* fall through */ - case 20 : /* fall through */ - case 21 : /* fall through */ - case 22 : /* fall through */ - case 23 : /* fall through */ - case 24 : /* fall through */ - case 25 : /* fall through */ - case 26 : /* fall through */ - case 27 : /* fall through */ - case 28 : /* fall through */ - case 29 : /* fall through */ - case 30 : /* fall through */ - case 31 : /* fall through */ - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : /* fall through */ - case 36 : /* fall through */ - case 37 : /* fall through */ - case 38 : /* fall through */ - case 39 : /* fall through */ - case 40 : /* fall through */ - case 41 : /* fall through */ - case 42 : /* fall through */ - case 43 : /* fall through */ - case 44 : /* fall through */ - case 45 : /* fall through */ - case 46 : /* fall through */ - case 47 : /* fall through */ - case 48 : /* fall through */ - case 49 : /* fall through */ - case 50 : /* fall through */ - case 51 : /* fall through */ - case 52 : /* fall through */ - case 53 : /* fall through */ - case 54 : /* fall through */ - case 55 : /* fall through */ - case 56 : /* fall through */ - case 57 : /* fall through */ - case 58 : /* fall through */ - case 59 : /* fall through */ - case 60 : /* fall through */ - case 61 : /* fall through */ - case 62 : /* fall through */ - case 63 : /* fall through */ - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : /* fall through */ - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : /* fall through */ - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : /* fall through */ - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : /* fall through */ - case 80 : /* fall through */ - case 81 : /* fall through */ - case 82 : /* fall through */ - case 83 : /* fall through */ - case 84 : /* fall through */ - case 85 : /* fall through */ - case 86 : /* fall through */ - case 87 : /* fall through */ - case 88 : /* fall through */ - case 89 : /* fall through */ - case 90 : /* fall through */ - case 91 : /* fall through */ - case 92 : /* fall through */ - case 93 : /* fall through */ - case 94 : /* fall through */ - case 95 : /* fall through */ - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : /* fall through */ - case 100 : /* fall through */ - case 101 : /* fall through */ - case 102 : /* fall through */ - case 103 : /* fall through */ - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : /* fall through */ - case 108 : /* fall through */ - case 109 : /* fall through */ - case 110 : /* fall through */ - case 111 : /* fall through */ - case 112 : /* fall through */ - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : /* fall through */ - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : /* fall through */ - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : /* fall through */ - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : itype = CRISV10F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 127 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: + case 112: + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: itype = CRISV10F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 127: { unsigned int val2 = (((insn >> 15) & (1 << 0))); switch (val2) { - case 0 : itype = CRISV10F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 1 : itype = CRISV10F_INSN_ADDSPCPC; goto extract_sfmt_addspcpc; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = CRISV10F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 1: itype = CRISV10F_INSN_ADDSPCPC; goto extract_sfmt_addspcpc; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 132 : itype = CRISV10F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; - case 133 : itype = CRISV10F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; - case 134 : itype = CRISV10F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; - case 135 : itype = CRISV10F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; - case 136 : itype = CRISV10F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 137 : itype = CRISV10F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 138 : itype = CRISV10F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 139 : itype = CRISV10F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 140 : itype = CRISV10F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 141 : itype = CRISV10F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 142 : itype = CRISV10F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 143 : itype = CRISV10F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 144 : itype = CRISV10F_INSN_MULU_B; goto extract_sfmt_muls_b; - case 145 : itype = CRISV10F_INSN_MULU_W; goto extract_sfmt_muls_b; - case 146 : itype = CRISV10F_INSN_MULU_D; goto extract_sfmt_muls_b; - case 147 : + case 132: itype = CRISV10F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; + case 133: itype = CRISV10F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; + case 134: itype = CRISV10F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; + case 135: itype = CRISV10F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; + case 136: itype = CRISV10F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 137: itype = CRISV10F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 138: itype = CRISV10F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 139: itype = CRISV10F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 140: itype = CRISV10F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 141: itype = CRISV10F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 142: itype = CRISV10F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 143: itype = CRISV10F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 144: itype = CRISV10F_INSN_MULU_B; goto extract_sfmt_muls_b; + case 145: itype = CRISV10F_INSN_MULU_W; goto extract_sfmt_muls_b; + case 146: itype = CRISV10F_INSN_MULU_D; goto extract_sfmt_muls_b; + case 147: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 15 : itype = CRISV10F_INSN_JUMP_M; goto extract_sfmt_jump_m; - case 14 : itype = CRISV10F_INSN_BREAK; goto extract_sfmt_break; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 15: itype = CRISV10F_INSN_JUMP_M; goto extract_sfmt_jump_m; + case 14: itype = CRISV10F_INSN_BREAK; goto extract_sfmt_break; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 148 : itype = CRISV10F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; - case 149 : itype = CRISV10F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; - case 150 : itype = CRISV10F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; - case 151 : + case 148: itype = CRISV10F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; + case 149: itype = CRISV10F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; + case 150: itype = CRISV10F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; + case 151: if ((base_insn & 0xfbf0) == 0x970) { itype = CRISV10F_INSN_DIP_M; goto extract_sfmt_dip_m; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 155 : itype = CRISV10F_INSN_JUMP_R; goto extract_sfmt_jump_r; - case 156 : itype = CRISV10F_INSN_BOUND_M_B_M; goto extract_sfmt_bound_m_b_m; - case 157 : itype = CRISV10F_INSN_BOUND_M_W_M; goto extract_sfmt_bound_m_w_m; - case 158 : itype = CRISV10F_INSN_BOUND_M_D_M; goto extract_sfmt_bound_m_d_m; - case 160 : itype = CRISV10F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; - case 161 : itype = CRISV10F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; - case 162 : itype = CRISV10F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; - case 163 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 164 : itype = CRISV10F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; - case 165 : itype = CRISV10F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; - case 166 : itype = CRISV10F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; - case 167 : /* fall through */ - case 231 : itype = CRISV10F_INSN_MOVE_SPR_MV10; goto extract_sfmt_move_spr_mv10; - case 168 : itype = CRISV10F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; - case 169 : itype = CRISV10F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; - case 170 : itype = CRISV10F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; - case 172 : itype = CRISV10F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 173 : itype = CRISV10F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 174 : itype = CRISV10F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; - case 176 : itype = CRISV10F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; - case 177 : itype = CRISV10F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; - case 178 : itype = CRISV10F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; - case 180 : itype = CRISV10F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; - case 181 : itype = CRISV10F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; - case 182 : itype = CRISV10F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; - case 183 : /* fall through */ - case 247 : + case 155: itype = CRISV10F_INSN_JUMP_R; goto extract_sfmt_jump_r; + case 156: itype = CRISV10F_INSN_BOUND_M_B_M; goto extract_sfmt_bound_m_b_m; + case 157: itype = CRISV10F_INSN_BOUND_M_W_M; goto extract_sfmt_bound_m_w_m; + case 158: itype = CRISV10F_INSN_BOUND_M_D_M; goto extract_sfmt_bound_m_d_m; + case 160: itype = CRISV10F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; + case 161: itype = CRISV10F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; + case 162: itype = CRISV10F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; + case 163: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 164: itype = CRISV10F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; + case 165: itype = CRISV10F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; + case 166: itype = CRISV10F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; + case 167: + case 231: itype = CRISV10F_INSN_MOVE_SPR_MV10; goto extract_sfmt_move_spr_mv10; + case 168: itype = CRISV10F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; + case 169: itype = CRISV10F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; + case 170: itype = CRISV10F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; + case 172: itype = CRISV10F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 173: itype = CRISV10F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 174: itype = CRISV10F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; + case 176: itype = CRISV10F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; + case 177: itype = CRISV10F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; + case 178: itype = CRISV10F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; + case 180: itype = CRISV10F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; + case 181: itype = CRISV10F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; + case 182: itype = CRISV10F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; + case 183: + case 247: if ((base_insn & 0xfbf0) == 0x3b70) { itype = CRISV10F_INSN_SBFS; goto extract_sfmt_sbfs; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 184 : /* fall through */ - case 248 : + case 184: + case 248: if ((base_insn & 0xfbf0) == 0xb80) { itype = CRISV10F_INSN_TEST_M_B_M; goto extract_sfmt_test_m_b_m; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 185 : /* fall through */ - case 249 : + case 185: + case 249: if ((base_insn & 0xfbf0) == 0xb90) { itype = CRISV10F_INSN_TEST_M_W_M; goto extract_sfmt_test_m_w_m; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 186 : /* fall through */ - case 250 : + case 186: + case 250: if ((base_insn & 0xfbf0) == 0xba0) { itype = CRISV10F_INSN_TEST_M_D_M; goto extract_sfmt_test_m_d_m; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 187 : /* fall through */ - case 251 : + case 187: + case 251: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVEM_M_R; goto extract_sfmt_movem_m_r; - case 15 : itype = CRISV10F_INSN_MOVEM_M_PC; goto extract_sfmt_movem_m_pc; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVEM_M_R; goto extract_sfmt_movem_m_r; + case 15: itype = CRISV10F_INSN_MOVEM_M_PC; goto extract_sfmt_movem_m_pc; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 188 : /* fall through */ - case 252 : itype = CRISV10F_INSN_MOVE_R_M_B_M; goto extract_sfmt_move_r_m_b_m; - case 189 : /* fall through */ - case 253 : itype = CRISV10F_INSN_MOVE_R_M_W_M; goto extract_sfmt_move_r_m_w_m; - case 190 : /* fall through */ - case 254 : itype = CRISV10F_INSN_MOVE_R_M_D_M; goto extract_sfmt_move_r_m_d_m; - case 191 : /* fall through */ - case 255 : itype = CRISV10F_INSN_MOVEM_R_M; goto extract_sfmt_movem_r_m; - case 192 : + case 188: + case 252: itype = CRISV10F_INSN_MOVE_R_M_B_M; goto extract_sfmt_move_r_m_b_m; + case 189: + case 253: itype = CRISV10F_INSN_MOVE_R_M_W_M; goto extract_sfmt_move_r_m_w_m; + case 190: + case 254: itype = CRISV10F_INSN_MOVE_R_M_D_M; goto extract_sfmt_move_r_m_d_m; + case 191: + case 255: itype = CRISV10F_INSN_MOVEM_R_M; goto extract_sfmt_movem_r_m; + case 192: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV10F_INSN_ADDUCBR; goto extract_sfmt_addscbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV10F_INSN_ADDUCBR; goto extract_sfmt_addscbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 193 : + case 193: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV10F_INSN_ADDUCWR; goto extract_sfmt_addscwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV10F_INSN_ADDUCWR; goto extract_sfmt_addscwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 194 : + case 194: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV10F_INSN_ADDSCBR; goto extract_sfmt_addscbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV10F_INSN_ADDSCBR; goto extract_sfmt_addscbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 195 : + case 195: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV10F_INSN_ADDSCWR; goto extract_sfmt_addscwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV10F_INSN_ADDSCWR; goto extract_sfmt_addscwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 196 : + case 196: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; - case 15 : itype = CRISV10F_INSN_MOVUCBR; goto extract_sfmt_movucbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; + case 15: itype = CRISV10F_INSN_MOVUCBR; goto extract_sfmt_movucbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 197 : + case 197: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; - case 15 : itype = CRISV10F_INSN_MOVUCWR; goto extract_sfmt_movucwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; + case 15: itype = CRISV10F_INSN_MOVUCWR; goto extract_sfmt_movucwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 198 : + case 198: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; - case 15 : itype = CRISV10F_INSN_MOVSCBR; goto extract_sfmt_movscbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; + case 15: itype = CRISV10F_INSN_MOVSCBR; goto extract_sfmt_movscbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 199 : + case 199: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; - case 15 : itype = CRISV10F_INSN_MOVSCWR; goto extract_sfmt_movscwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; + case 15: itype = CRISV10F_INSN_MOVSCWR; goto extract_sfmt_movscwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 200 : + case 200: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV10F_INSN_SUBUCBR; goto extract_sfmt_addscbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV10F_INSN_SUBUCBR; goto extract_sfmt_addscbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 201 : + case 201: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV10F_INSN_SUBUCWR; goto extract_sfmt_addscwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV10F_INSN_SUBUCWR; goto extract_sfmt_addscwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 202 : + case 202: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV10F_INSN_SUBSCBR; goto extract_sfmt_addscbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV10F_INSN_SUBSCBR; goto extract_sfmt_addscbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 203 : + case 203: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV10F_INSN_SUBSCWR; goto extract_sfmt_addscwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV10F_INSN_SUBSCWR; goto extract_sfmt_addscwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 204 : + case 204: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 15 : itype = CRISV10F_INSN_CMPUCBR; goto extract_sfmt_cmpucbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 15: itype = CRISV10F_INSN_CMPUCBR; goto extract_sfmt_cmpucbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 205 : + case 205: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 15 : itype = CRISV10F_INSN_CMPUCWR; goto extract_sfmt_cmpucwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 15: itype = CRISV10F_INSN_CMPUCWR; goto extract_sfmt_cmpucwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 206 : + case 206: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 15 : itype = CRISV10F_INSN_CMPSCBR; goto extract_sfmt_cmpcbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 15: itype = CRISV10F_INSN_CMPSCBR; goto extract_sfmt_cmpcbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 207 : + case 207: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 15 : itype = CRISV10F_INSN_CMPSCWR; goto extract_sfmt_cmpcwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 15: itype = CRISV10F_INSN_CMPSCWR; goto extract_sfmt_cmpcwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 208 : itype = CRISV10F_INSN_MULS_B; goto extract_sfmt_muls_b; - case 209 : itype = CRISV10F_INSN_MULS_W; goto extract_sfmt_muls_b; - case 210 : itype = CRISV10F_INSN_MULS_D; goto extract_sfmt_muls_b; - case 211 : + case 208: itype = CRISV10F_INSN_MULS_B; goto extract_sfmt_muls_b; + case 209: itype = CRISV10F_INSN_MULS_W; goto extract_sfmt_muls_b; + case 210: itype = CRISV10F_INSN_MULS_D; goto extract_sfmt_muls_b; + case 211: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_JUMP_M; goto extract_sfmt_jump_m; - case 15 : itype = CRISV10F_INSN_JUMP_C; goto extract_sfmt_jump_c; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_JUMP_M; goto extract_sfmt_jump_m; + case 15: itype = CRISV10F_INSN_JUMP_C; goto extract_sfmt_jump_c; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 212 : + case 212: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; - case 15 : itype = CRISV10F_INSN_ADDO_CB; goto extract_sfmt_addo_cb; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; + case 15: itype = CRISV10F_INSN_ADDO_CB; goto extract_sfmt_addo_cb; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 213 : + case 213: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; - case 15 : itype = CRISV10F_INSN_ADDO_CW; goto extract_sfmt_addo_cw; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; + case 15: itype = CRISV10F_INSN_ADDO_CW; goto extract_sfmt_addo_cw; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 214 : + case 214: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; - case 15 : itype = CRISV10F_INSN_ADDO_CD; goto extract_sfmt_addo_cd; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; + case 15: itype = CRISV10F_INSN_ADDO_CD; goto extract_sfmt_addo_cd; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 15 : + case 15: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; - case 15 : itype = CRISV10F_INSN_BDAP_32_PC; goto extract_sfmt_bdap_32_pc; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; + case 15: itype = CRISV10F_INSN_BDAP_32_PC; goto extract_sfmt_bdap_32_pc; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 215 : + case 215: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: if ((base_insn & 0xfbf0) == 0x970) { itype = CRISV10F_INSN_DIP_M; goto extract_sfmt_dip_m; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((base_insn & 0xffff) == 0xd7f) { itype = CRISV10F_INSN_DIP_C; goto extract_sfmt_dip_c; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 220 : + case 220: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_BOUND_M_B_M; goto extract_sfmt_bound_m_b_m; - case 15 : itype = CRISV10F_INSN_BOUND_CB; goto extract_sfmt_bound_cb; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_BOUND_M_B_M; goto extract_sfmt_bound_m_b_m; + case 15: itype = CRISV10F_INSN_BOUND_CB; goto extract_sfmt_bound_cb; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 221 : + case 221: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_BOUND_M_W_M; goto extract_sfmt_bound_m_w_m; - case 15 : itype = CRISV10F_INSN_BOUND_CW; goto extract_sfmt_bound_cw; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_BOUND_M_W_M; goto extract_sfmt_bound_m_w_m; + case 15: itype = CRISV10F_INSN_BOUND_CW; goto extract_sfmt_bound_cw; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 222 : + case 222: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_BOUND_M_D_M; goto extract_sfmt_bound_m_d_m; - case 15 : itype = CRISV10F_INSN_BOUND_CD; goto extract_sfmt_bound_cd; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_BOUND_M_D_M; goto extract_sfmt_bound_m_d_m; + case 15: itype = CRISV10F_INSN_BOUND_CD; goto extract_sfmt_bound_cd; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 223 : + case 223: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 15 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 15: if ((base_insn & 0xfff) == 0xdff) { itype = CRISV10F_INSN_BCC_W; goto extract_sfmt_bcc_w; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((base_insn & 0xffff) == 0xedff) { itype = CRISV10F_INSN_BA_W; goto extract_sfmt_ba_w; } itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 224 : + case 224: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; - case 15 : itype = CRISV10F_INSN_ADDCBR; goto extract_sfmt_addcbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; + case 15: itype = CRISV10F_INSN_ADDCBR; goto extract_sfmt_addcbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 225 : + case 225: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; - case 15 : itype = CRISV10F_INSN_ADDCWR; goto extract_sfmt_addcwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; + case 15: itype = CRISV10F_INSN_ADDCWR; goto extract_sfmt_addcwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 226 : + case 226: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; - case 15 : itype = CRISV10F_INSN_ADDCDR; goto extract_sfmt_addcdr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; + case 15: itype = CRISV10F_INSN_ADDCDR; goto extract_sfmt_addcdr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 15 : + case 15: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; - case 15 : itype = CRISV10F_INSN_ADDCPC; goto extract_sfmt_addcpc; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; + case 15: itype = CRISV10F_INSN_ADDCPC; goto extract_sfmt_addcpc; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 227 : + case 227: { unsigned int val1 = (((insn >> 11) & (15 << 1)) | ((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 20 : /* fall through */ - case 22 : /* fall through */ - case 24 : /* fall through */ - case 26 : /* fall through */ - case 28 : /* fall through */ - case 30 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 1 : + case 0: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 12: + case 13: + case 14: + case 17: + case 18: + case 20: + case 22: + case 24: + case 26: + case 28: + case 30: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 1: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_M_PCPLUS_P0; goto extract_sfmt_move_m_pcplus_p0; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_M_PCPLUS_P0; goto extract_sfmt_move_m_pcplus_p0; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 11 : + case 11: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P5; goto extract_sfmt_move_c_sprv10_p5; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P5; goto extract_sfmt_move_c_sprv10_p5; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 15 : + case 15: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P7; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P7; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 16 : + case 16: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_M_SPPLUS_P8; goto extract_sfmt_move_m_spplus_p8; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_M_SPPLUS_P8; goto extract_sfmt_move_m_spplus_p8; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 19 : + case 19: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P9; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P9; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 21 : + case 21: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P10; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P10; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 23 : + case 23: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P11; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P11; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 25 : + case 25: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P12; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P12; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 27 : + case 27: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P13; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P13; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 29 : + case 29: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P14; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P14; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 31 : + case 31: { unsigned int val2 = (((insn >> 1) & (7 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; - case 7 : itype = CRISV10F_INSN_MOVE_C_SPRV10_P15; goto extract_sfmt_move_c_sprv10_p9; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: itype = CRISV10F_INSN_MOVE_M_SPRV10; goto extract_sfmt_move_m_sprv10; + case 7: itype = CRISV10F_INSN_MOVE_C_SPRV10_P15; goto extract_sfmt_move_c_sprv10_p9; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 228 : + case 228: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; - case 15 : itype = CRISV10F_INSN_MOVECBR; goto extract_sfmt_movecbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; + case 15: itype = CRISV10F_INSN_MOVECBR; goto extract_sfmt_movecbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 229 : + case 229: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; - case 15 : itype = CRISV10F_INSN_MOVECWR; goto extract_sfmt_movecwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; + case 15: itype = CRISV10F_INSN_MOVECWR; goto extract_sfmt_movecwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 230 : + case 230: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; - case 15 : itype = CRISV10F_INSN_MOVECDR; goto extract_sfmt_movecdr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; + case 15: itype = CRISV10F_INSN_MOVECDR; goto extract_sfmt_movecdr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 232 : + case 232: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; - case 15 : itype = CRISV10F_INSN_SUBCBR; goto extract_sfmt_addcbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; + case 15: itype = CRISV10F_INSN_SUBCBR; goto extract_sfmt_addcbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 233 : + case 233: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; - case 15 : itype = CRISV10F_INSN_SUBCWR; goto extract_sfmt_addcwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; + case 15: itype = CRISV10F_INSN_SUBCWR; goto extract_sfmt_addcwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 234 : + case 234: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; - case 15 : itype = CRISV10F_INSN_SUBCDR; goto extract_sfmt_addcdr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; + case 15: itype = CRISV10F_INSN_SUBCDR; goto extract_sfmt_addcdr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 236 : + case 236: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 15 : itype = CRISV10F_INSN_CMPCBR; goto extract_sfmt_cmpcbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 15: itype = CRISV10F_INSN_CMPCBR; goto extract_sfmt_cmpcbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 237 : + case 237: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 15 : itype = CRISV10F_INSN_CMPCWR; goto extract_sfmt_cmpcwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 15: itype = CRISV10F_INSN_CMPCWR; goto extract_sfmt_cmpcwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 238 : + case 238: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; - case 15 : itype = CRISV10F_INSN_CMPCDR; goto extract_sfmt_cmpcdr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; + case 15: itype = CRISV10F_INSN_CMPCDR; goto extract_sfmt_cmpcdr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 240 : + case 240: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; - case 15 : itype = CRISV10F_INSN_ANDCBR; goto extract_sfmt_andcbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; + case 15: itype = CRISV10F_INSN_ANDCBR; goto extract_sfmt_andcbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 241 : + case 241: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; - case 15 : itype = CRISV10F_INSN_ANDCWR; goto extract_sfmt_andcwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; + case 15: itype = CRISV10F_INSN_ANDCWR; goto extract_sfmt_andcwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 242 : + case 242: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; - case 15 : itype = CRISV10F_INSN_ANDCDR; goto extract_sfmt_andcdr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; + case 15: itype = CRISV10F_INSN_ANDCDR; goto extract_sfmt_andcdr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 244 : + case 244: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; - case 15 : itype = CRISV10F_INSN_ORCBR; goto extract_sfmt_andcbr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; + case 15: itype = CRISV10F_INSN_ORCBR; goto extract_sfmt_andcbr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 245 : + case 245: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; - case 15 : itype = CRISV10F_INSN_ORCWR; goto extract_sfmt_andcwr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; + case 15: itype = CRISV10F_INSN_ORCWR; goto extract_sfmt_andcwr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 246 : + case 246: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV10F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; - case 15 : itype = CRISV10F_INSN_ORCDR; goto extract_sfmt_andcdr; - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV10F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; + case 15: itype = CRISV10F_INSN_ORCDR; goto extract_sfmt_andcdr; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV10F_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/cris/decodev32.c b/sim/cris/decodev32.c index 9928f20..292b605 100644 --- a/sim/cris/decodev32.c +++ b/sim/cris/decodev32.c @@ -335,1574 +335,1574 @@ crisv32f_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 4) & (255 << 0))); switch (val0) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 15 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 15 : itype = CRISV32F_INSN_BCC_B; goto extract_sfmt_bcc_b; - case 14 : itype = CRISV32F_INSN_BA_B; goto extract_sfmt_ba_b; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 15: itype = CRISV32F_INSN_BCC_B; goto extract_sfmt_bcc_b; + case 14: itype = CRISV32F_INSN_BA_B; goto extract_sfmt_ba_b; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 16 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 19 : /* fall through */ - case 20 : /* fall through */ - case 21 : /* fall through */ - case 22 : /* fall through */ - case 23 : /* fall through */ - case 24 : /* fall through */ - case 25 : /* fall through */ - case 26 : /* fall through */ - case 27 : /* fall through */ - case 28 : /* fall through */ - case 29 : /* fall through */ - case 30 : /* fall through */ - case 31 : itype = CRISV32F_INSN_ADDOQ; goto extract_sfmt_addoq; - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : itype = CRISV32F_INSN_ADDQ; goto extract_sfmt_addq; - case 36 : /* fall through */ - case 37 : /* fall through */ - case 38 : /* fall through */ - case 39 : itype = CRISV32F_INSN_MOVEQ; goto extract_sfmt_moveq; - case 40 : /* fall through */ - case 41 : /* fall through */ - case 42 : /* fall through */ - case 43 : itype = CRISV32F_INSN_SUBQ; goto extract_sfmt_addq; - case 44 : /* fall through */ - case 45 : /* fall through */ - case 46 : /* fall through */ - case 47 : itype = CRISV32F_INSN_CMPQ; goto extract_sfmt_cmpq; - case 48 : /* fall through */ - case 49 : /* fall through */ - case 50 : /* fall through */ - case 51 : itype = CRISV32F_INSN_ANDQ; goto extract_sfmt_andq; - case 52 : /* fall through */ - case 53 : /* fall through */ - case 54 : /* fall through */ - case 55 : itype = CRISV32F_INSN_ORQ; goto extract_sfmt_andq; - case 56 : /* fall through */ - case 57 : itype = CRISV32F_INSN_BTSTQ; goto extract_sfmt_btstq; - case 58 : /* fall through */ - case 59 : itype = CRISV32F_INSN_ASRQ; goto extract_sfmt_asrq; - case 60 : /* fall through */ - case 61 : itype = CRISV32F_INSN_LSLQ; goto extract_sfmt_asrq; - case 62 : /* fall through */ - case 63 : itype = CRISV32F_INSN_LSRQ; goto extract_sfmt_asrq; - case 64 : itype = CRISV32F_INSN_ADDU_B_R; goto extract_sfmt_add_d_r; - case 65 : itype = CRISV32F_INSN_ADDU_W_R; goto extract_sfmt_add_d_r; - case 66 : itype = CRISV32F_INSN_ADDS_B_R; goto extract_sfmt_add_d_r; - case 67 : itype = CRISV32F_INSN_ADDS_W_R; goto extract_sfmt_add_d_r; - case 68 : itype = CRISV32F_INSN_MOVU_B_R; goto extract_sfmt_movs_b_r; - case 69 : itype = CRISV32F_INSN_MOVU_W_R; goto extract_sfmt_movs_b_r; - case 70 : itype = CRISV32F_INSN_MOVS_B_R; goto extract_sfmt_movs_b_r; - case 71 : itype = CRISV32F_INSN_MOVS_W_R; goto extract_sfmt_movs_b_r; - case 72 : itype = CRISV32F_INSN_SUBU_B_R; goto extract_sfmt_add_d_r; - case 73 : itype = CRISV32F_INSN_SUBU_W_R; goto extract_sfmt_add_d_r; - case 74 : itype = CRISV32F_INSN_SUBS_B_R; goto extract_sfmt_add_d_r; - case 75 : itype = CRISV32F_INSN_SUBS_W_R; goto extract_sfmt_add_d_r; - case 76 : itype = CRISV32F_INSN_LSLR_B_R; goto extract_sfmt_lsrr_b_r; - case 77 : itype = CRISV32F_INSN_LSLR_W_R; goto extract_sfmt_lsrr_b_r; - case 78 : itype = CRISV32F_INSN_LSLR_D_R; goto extract_sfmt_lsrr_d_r; - case 79 : itype = CRISV32F_INSN_BTST; goto extract_sfmt_btst; - case 80 : itype = CRISV32F_INSN_ADDI_B_R; goto extract_sfmt_addi_b_r; - case 81 : itype = CRISV32F_INSN_ADDI_W_R; goto extract_sfmt_addi_b_r; - case 82 : itype = CRISV32F_INSN_ADDI_D_R; goto extract_sfmt_addi_b_r; - case 83 : itype = CRISV32F_INSN_SCC; goto extract_sfmt_scc; - case 84 : itype = CRISV32F_INSN_ADDI_ACR_B_R; goto extract_sfmt_addi_acr_b_r; - case 85 : itype = CRISV32F_INSN_ADDI_ACR_W_R; goto extract_sfmt_addi_acr_b_r; - case 86 : itype = CRISV32F_INSN_ADDI_ACR_D_R; goto extract_sfmt_addi_acr_b_r; - case 87 : itype = CRISV32F_INSN_ADDC_R; goto extract_sfmt_add_d_r; - case 88 : itype = CRISV32F_INSN_NEG_B_R; goto extract_sfmt_neg_b_r; - case 89 : itype = CRISV32F_INSN_NEG_W_R; goto extract_sfmt_neg_b_r; - case 90 : itype = CRISV32F_INSN_NEG_D_R; goto extract_sfmt_neg_d_r; - case 91 : itype = CRISV32F_INSN_SETF; goto extract_sfmt_setf; - case 92 : itype = CRISV32F_INSN_BOUND_R_B_R; goto extract_sfmt_dstep; - case 93 : itype = CRISV32F_INSN_BOUND_R_W_R; goto extract_sfmt_dstep; - case 94 : itype = CRISV32F_INSN_BOUND_R_D_R; goto extract_sfmt_dstep; - case 95 : itype = CRISV32F_INSN_CLEARF; goto extract_sfmt_setf; - case 96 : itype = CRISV32F_INSN_ADD_B_R; goto extract_sfmt_add_b_r; - case 97 : itype = CRISV32F_INSN_ADD_W_R; goto extract_sfmt_add_b_r; - case 98 : itype = CRISV32F_INSN_ADD_D_R; goto extract_sfmt_add_d_r; - case 99 : itype = CRISV32F_INSN_MOVE_R_SPRV32; goto extract_sfmt_move_r_sprv32; - case 100 : itype = CRISV32F_INSN_MOVE_B_R; goto extract_sfmt_move_b_r; - case 101 : itype = CRISV32F_INSN_MOVE_W_R; goto extract_sfmt_move_b_r; - case 102 : itype = CRISV32F_INSN_MOVE_D_R; goto extract_sfmt_move_d_r; - case 103 : itype = CRISV32F_INSN_MOVE_SPR_RV32; goto extract_sfmt_move_spr_rv32; - case 104 : itype = CRISV32F_INSN_SUB_B_R; goto extract_sfmt_add_b_r; - case 105 : itype = CRISV32F_INSN_SUB_W_R; goto extract_sfmt_add_b_r; - case 106 : itype = CRISV32F_INSN_SUB_D_R; goto extract_sfmt_add_d_r; - case 107 : itype = CRISV32F_INSN_ABS; goto extract_sfmt_movs_b_r; - case 108 : itype = CRISV32F_INSN_CMP_R_B_R; goto extract_sfmt_cmp_r_b_r; - case 109 : itype = CRISV32F_INSN_CMP_R_W_R; goto extract_sfmt_cmp_r_b_r; - case 110 : itype = CRISV32F_INSN_CMP_R_D_R; goto extract_sfmt_cmp_r_b_r; - case 111 : itype = CRISV32F_INSN_DSTEP; goto extract_sfmt_dstep; - case 112 : itype = CRISV32F_INSN_AND_B_R; goto extract_sfmt_and_b_r; - case 113 : itype = CRISV32F_INSN_AND_W_R; goto extract_sfmt_and_b_r; - case 114 : itype = CRISV32F_INSN_AND_D_R; goto extract_sfmt_and_d_r; - case 115 : itype = CRISV32F_INSN_LZ; goto extract_sfmt_movs_b_r; - case 116 : itype = CRISV32F_INSN_ORR_B_R; goto extract_sfmt_and_b_r; - case 117 : itype = CRISV32F_INSN_ORR_W_R; goto extract_sfmt_and_b_r; - case 118 : itype = CRISV32F_INSN_ORR_D_R; goto extract_sfmt_and_d_r; - case 119 : itype = CRISV32F_INSN_SWAP; goto extract_sfmt_swap; - case 120 : itype = CRISV32F_INSN_ASRR_B_R; goto extract_sfmt_and_b_r; - case 121 : itype = CRISV32F_INSN_ASRR_W_R; goto extract_sfmt_and_b_r; - case 122 : itype = CRISV32F_INSN_ASRR_D_R; goto extract_sfmt_and_d_r; - case 123 : itype = CRISV32F_INSN_XOR; goto extract_sfmt_dstep; - case 124 : itype = CRISV32F_INSN_LSRR_B_R; goto extract_sfmt_lsrr_b_r; - case 125 : itype = CRISV32F_INSN_LSRR_W_R; goto extract_sfmt_lsrr_b_r; - case 126 : itype = CRISV32F_INSN_LSRR_D_R; goto extract_sfmt_lsrr_d_r; - case 127 : itype = CRISV32F_INSN_MCP; goto extract_sfmt_mcp; - case 128 : itype = CRISV32F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 129 : itype = CRISV32F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 130 : itype = CRISV32F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 131 : itype = CRISV32F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 132 : itype = CRISV32F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; - case 133 : itype = CRISV32F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; - case 134 : itype = CRISV32F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; - case 135 : itype = CRISV32F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; - case 136 : itype = CRISV32F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 137 : itype = CRISV32F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 138 : itype = CRISV32F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 139 : itype = CRISV32F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 140 : itype = CRISV32F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 141 : itype = CRISV32F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 142 : itype = CRISV32F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 143 : itype = CRISV32F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 144 : itype = CRISV32F_INSN_MULU_B; goto extract_sfmt_muls_b; - case 145 : itype = CRISV32F_INSN_MULU_W; goto extract_sfmt_muls_b; - case 146 : itype = CRISV32F_INSN_MULU_D; goto extract_sfmt_muls_b; - case 147 : + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: itype = CRISV32F_INSN_ADDOQ; goto extract_sfmt_addoq; + case 32: + case 33: + case 34: + case 35: itype = CRISV32F_INSN_ADDQ; goto extract_sfmt_addq; + case 36: + case 37: + case 38: + case 39: itype = CRISV32F_INSN_MOVEQ; goto extract_sfmt_moveq; + case 40: + case 41: + case 42: + case 43: itype = CRISV32F_INSN_SUBQ; goto extract_sfmt_addq; + case 44: + case 45: + case 46: + case 47: itype = CRISV32F_INSN_CMPQ; goto extract_sfmt_cmpq; + case 48: + case 49: + case 50: + case 51: itype = CRISV32F_INSN_ANDQ; goto extract_sfmt_andq; + case 52: + case 53: + case 54: + case 55: itype = CRISV32F_INSN_ORQ; goto extract_sfmt_andq; + case 56: + case 57: itype = CRISV32F_INSN_BTSTQ; goto extract_sfmt_btstq; + case 58: + case 59: itype = CRISV32F_INSN_ASRQ; goto extract_sfmt_asrq; + case 60: + case 61: itype = CRISV32F_INSN_LSLQ; goto extract_sfmt_asrq; + case 62: + case 63: itype = CRISV32F_INSN_LSRQ; goto extract_sfmt_asrq; + case 64: itype = CRISV32F_INSN_ADDU_B_R; goto extract_sfmt_add_d_r; + case 65: itype = CRISV32F_INSN_ADDU_W_R; goto extract_sfmt_add_d_r; + case 66: itype = CRISV32F_INSN_ADDS_B_R; goto extract_sfmt_add_d_r; + case 67: itype = CRISV32F_INSN_ADDS_W_R; goto extract_sfmt_add_d_r; + case 68: itype = CRISV32F_INSN_MOVU_B_R; goto extract_sfmt_movs_b_r; + case 69: itype = CRISV32F_INSN_MOVU_W_R; goto extract_sfmt_movs_b_r; + case 70: itype = CRISV32F_INSN_MOVS_B_R; goto extract_sfmt_movs_b_r; + case 71: itype = CRISV32F_INSN_MOVS_W_R; goto extract_sfmt_movs_b_r; + case 72: itype = CRISV32F_INSN_SUBU_B_R; goto extract_sfmt_add_d_r; + case 73: itype = CRISV32F_INSN_SUBU_W_R; goto extract_sfmt_add_d_r; + case 74: itype = CRISV32F_INSN_SUBS_B_R; goto extract_sfmt_add_d_r; + case 75: itype = CRISV32F_INSN_SUBS_W_R; goto extract_sfmt_add_d_r; + case 76: itype = CRISV32F_INSN_LSLR_B_R; goto extract_sfmt_lsrr_b_r; + case 77: itype = CRISV32F_INSN_LSLR_W_R; goto extract_sfmt_lsrr_b_r; + case 78: itype = CRISV32F_INSN_LSLR_D_R; goto extract_sfmt_lsrr_d_r; + case 79: itype = CRISV32F_INSN_BTST; goto extract_sfmt_btst; + case 80: itype = CRISV32F_INSN_ADDI_B_R; goto extract_sfmt_addi_b_r; + case 81: itype = CRISV32F_INSN_ADDI_W_R; goto extract_sfmt_addi_b_r; + case 82: itype = CRISV32F_INSN_ADDI_D_R; goto extract_sfmt_addi_b_r; + case 83: itype = CRISV32F_INSN_SCC; goto extract_sfmt_scc; + case 84: itype = CRISV32F_INSN_ADDI_ACR_B_R; goto extract_sfmt_addi_acr_b_r; + case 85: itype = CRISV32F_INSN_ADDI_ACR_W_R; goto extract_sfmt_addi_acr_b_r; + case 86: itype = CRISV32F_INSN_ADDI_ACR_D_R; goto extract_sfmt_addi_acr_b_r; + case 87: itype = CRISV32F_INSN_ADDC_R; goto extract_sfmt_add_d_r; + case 88: itype = CRISV32F_INSN_NEG_B_R; goto extract_sfmt_neg_b_r; + case 89: itype = CRISV32F_INSN_NEG_W_R; goto extract_sfmt_neg_b_r; + case 90: itype = CRISV32F_INSN_NEG_D_R; goto extract_sfmt_neg_d_r; + case 91: itype = CRISV32F_INSN_SETF; goto extract_sfmt_setf; + case 92: itype = CRISV32F_INSN_BOUND_R_B_R; goto extract_sfmt_dstep; + case 93: itype = CRISV32F_INSN_BOUND_R_W_R; goto extract_sfmt_dstep; + case 94: itype = CRISV32F_INSN_BOUND_R_D_R; goto extract_sfmt_dstep; + case 95: itype = CRISV32F_INSN_CLEARF; goto extract_sfmt_setf; + case 96: itype = CRISV32F_INSN_ADD_B_R; goto extract_sfmt_add_b_r; + case 97: itype = CRISV32F_INSN_ADD_W_R; goto extract_sfmt_add_b_r; + case 98: itype = CRISV32F_INSN_ADD_D_R; goto extract_sfmt_add_d_r; + case 99: itype = CRISV32F_INSN_MOVE_R_SPRV32; goto extract_sfmt_move_r_sprv32; + case 100: itype = CRISV32F_INSN_MOVE_B_R; goto extract_sfmt_move_b_r; + case 101: itype = CRISV32F_INSN_MOVE_W_R; goto extract_sfmt_move_b_r; + case 102: itype = CRISV32F_INSN_MOVE_D_R; goto extract_sfmt_move_d_r; + case 103: itype = CRISV32F_INSN_MOVE_SPR_RV32; goto extract_sfmt_move_spr_rv32; + case 104: itype = CRISV32F_INSN_SUB_B_R; goto extract_sfmt_add_b_r; + case 105: itype = CRISV32F_INSN_SUB_W_R; goto extract_sfmt_add_b_r; + case 106: itype = CRISV32F_INSN_SUB_D_R; goto extract_sfmt_add_d_r; + case 107: itype = CRISV32F_INSN_ABS; goto extract_sfmt_movs_b_r; + case 108: itype = CRISV32F_INSN_CMP_R_B_R; goto extract_sfmt_cmp_r_b_r; + case 109: itype = CRISV32F_INSN_CMP_R_W_R; goto extract_sfmt_cmp_r_b_r; + case 110: itype = CRISV32F_INSN_CMP_R_D_R; goto extract_sfmt_cmp_r_b_r; + case 111: itype = CRISV32F_INSN_DSTEP; goto extract_sfmt_dstep; + case 112: itype = CRISV32F_INSN_AND_B_R; goto extract_sfmt_and_b_r; + case 113: itype = CRISV32F_INSN_AND_W_R; goto extract_sfmt_and_b_r; + case 114: itype = CRISV32F_INSN_AND_D_R; goto extract_sfmt_and_d_r; + case 115: itype = CRISV32F_INSN_LZ; goto extract_sfmt_movs_b_r; + case 116: itype = CRISV32F_INSN_ORR_B_R; goto extract_sfmt_and_b_r; + case 117: itype = CRISV32F_INSN_ORR_W_R; goto extract_sfmt_and_b_r; + case 118: itype = CRISV32F_INSN_ORR_D_R; goto extract_sfmt_and_d_r; + case 119: itype = CRISV32F_INSN_SWAP; goto extract_sfmt_swap; + case 120: itype = CRISV32F_INSN_ASRR_B_R; goto extract_sfmt_and_b_r; + case 121: itype = CRISV32F_INSN_ASRR_W_R; goto extract_sfmt_and_b_r; + case 122: itype = CRISV32F_INSN_ASRR_D_R; goto extract_sfmt_and_d_r; + case 123: itype = CRISV32F_INSN_XOR; goto extract_sfmt_dstep; + case 124: itype = CRISV32F_INSN_LSRR_B_R; goto extract_sfmt_lsrr_b_r; + case 125: itype = CRISV32F_INSN_LSRR_W_R; goto extract_sfmt_lsrr_b_r; + case 126: itype = CRISV32F_INSN_LSRR_D_R; goto extract_sfmt_lsrr_d_r; + case 127: itype = CRISV32F_INSN_MCP; goto extract_sfmt_mcp; + case 128: itype = CRISV32F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 129: itype = CRISV32F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 130: itype = CRISV32F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 131: itype = CRISV32F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 132: itype = CRISV32F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; + case 133: itype = CRISV32F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; + case 134: itype = CRISV32F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; + case 135: itype = CRISV32F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; + case 136: itype = CRISV32F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 137: itype = CRISV32F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 138: itype = CRISV32F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 139: itype = CRISV32F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 140: itype = CRISV32F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 141: itype = CRISV32F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 142: itype = CRISV32F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 143: itype = CRISV32F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 144: itype = CRISV32F_INSN_MULU_B; goto extract_sfmt_muls_b; + case 145: itype = CRISV32F_INSN_MULU_W; goto extract_sfmt_muls_b; + case 146: itype = CRISV32F_INSN_MULU_D; goto extract_sfmt_muls_b; + case 147: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 2 : + case 2: if ((base_insn & 0xffff) == 0x2930) { itype = CRISV32F_INSN_RFE; goto extract_sfmt_rfe; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((base_insn & 0xffff) == 0x3930) { itype = CRISV32F_INSN_SFE; goto extract_sfmt_sfe; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((base_insn & 0xffff) == 0x4930) { itype = CRISV32F_INSN_RFG; goto extract_sfmt_rfg; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((base_insn & 0xffff) == 0x5930) { itype = CRISV32F_INSN_RFN; goto extract_sfmt_rfn; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : itype = CRISV32F_INSN_BREAK; goto extract_sfmt_break; - case 15 : + case 14: itype = CRISV32F_INSN_BREAK; goto extract_sfmt_break; + case 15: if ((base_insn & 0xffff) == 0xf930) { itype = CRISV32F_INSN_HALT; goto extract_sfmt_halt; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 148 : itype = CRISV32F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; - case 149 : itype = CRISV32F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; - case 150 : itype = CRISV32F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; - case 151 : itype = CRISV32F_INSN_LAPCQ; goto extract_sfmt_lapcq; - case 154 : itype = CRISV32F_INSN_ADDC_M; goto extract_sfmt_addc_m; - case 155 : itype = CRISV32F_INSN_JAS_R; goto extract_sfmt_jas_r; - case 159 : + case 148: itype = CRISV32F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; + case 149: itype = CRISV32F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; + case 150: itype = CRISV32F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; + case 151: itype = CRISV32F_INSN_LAPCQ; goto extract_sfmt_lapcq; + case 154: itype = CRISV32F_INSN_ADDC_M; goto extract_sfmt_addc_m; + case 155: itype = CRISV32F_INSN_JAS_R; goto extract_sfmt_jas_r; + case 159: if ((base_insn & 0xfff) == 0x9f0) { itype = CRISV32F_INSN_JUMP_P; goto extract_sfmt_jump_p; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 160 : itype = CRISV32F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; - case 161 : itype = CRISV32F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; - case 162 : itype = CRISV32F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; - case 163 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 164 : itype = CRISV32F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; - case 165 : itype = CRISV32F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; - case 166 : itype = CRISV32F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; - case 167 : /* fall through */ - case 231 : itype = CRISV32F_INSN_MOVE_SPR_MV32; goto extract_sfmt_move_spr_mv32; - case 168 : itype = CRISV32F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; - case 169 : itype = CRISV32F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; - case 170 : itype = CRISV32F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; - case 171 : + case 160: itype = CRISV32F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; + case 161: itype = CRISV32F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; + case 162: itype = CRISV32F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; + case 163: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 164: itype = CRISV32F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; + case 165: itype = CRISV32F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; + case 166: itype = CRISV32F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; + case 167: + case 231: itype = CRISV32F_INSN_MOVE_SPR_MV32; goto extract_sfmt_move_spr_mv32; + case 168: itype = CRISV32F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; + case 169: itype = CRISV32F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; + case 170: itype = CRISV32F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; + case 171: { unsigned int val1 = (((insn >> 12) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((base_insn & 0xfff0) == 0xab0) { itype = CRISV32F_INSN_FIDXD; goto extract_sfmt_fidxi; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((base_insn & 0xfff0) == 0x1ab0) { itype = CRISV32F_INSN_FTAGD; goto extract_sfmt_fidxi; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 172 : itype = CRISV32F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 173 : itype = CRISV32F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 174 : itype = CRISV32F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; - case 176 : itype = CRISV32F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; - case 177 : itype = CRISV32F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; - case 178 : itype = CRISV32F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; - case 179 : itype = CRISV32F_INSN_JASC_R; goto extract_sfmt_jasc_r; - case 180 : itype = CRISV32F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; - case 181 : itype = CRISV32F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; - case 182 : itype = CRISV32F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; - case 183 : itype = CRISV32F_INSN_MOVE_R_SS; goto extract_sfmt_move_r_ss; - case 184 : /* fall through */ - case 248 : + case 172: itype = CRISV32F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 173: itype = CRISV32F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 174: itype = CRISV32F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; + case 176: itype = CRISV32F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; + case 177: itype = CRISV32F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; + case 178: itype = CRISV32F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; + case 179: itype = CRISV32F_INSN_JASC_R; goto extract_sfmt_jasc_r; + case 180: itype = CRISV32F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; + case 181: itype = CRISV32F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; + case 182: itype = CRISV32F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; + case 183: itype = CRISV32F_INSN_MOVE_R_SS; goto extract_sfmt_move_r_ss; + case 184: + case 248: if ((base_insn & 0xfbf0) == 0xb80) { itype = CRISV32F_INSN_TEST_M_B_M; goto extract_sfmt_test_m_b_m; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 185 : /* fall through */ - case 249 : + case 185: + case 249: if ((base_insn & 0xfbf0) == 0xb90) { itype = CRISV32F_INSN_TEST_M_W_M; goto extract_sfmt_test_m_w_m; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 186 : /* fall through */ - case 250 : + case 186: + case 250: if ((base_insn & 0xfbf0) == 0xba0) { itype = CRISV32F_INSN_TEST_M_D_M; goto extract_sfmt_test_m_d_m; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 187 : /* fall through */ - case 251 : itype = CRISV32F_INSN_MOVEM_M_R_V32; goto extract_sfmt_movem_m_r_v32; - case 188 : /* fall through */ - case 252 : itype = CRISV32F_INSN_MOVE_R_M_B_M; goto extract_sfmt_move_r_m_b_m; - case 189 : /* fall through */ - case 253 : itype = CRISV32F_INSN_MOVE_R_M_W_M; goto extract_sfmt_move_r_m_w_m; - case 190 : /* fall through */ - case 254 : itype = CRISV32F_INSN_MOVE_R_M_D_M; goto extract_sfmt_move_r_m_d_m; - case 191 : /* fall through */ - case 255 : itype = CRISV32F_INSN_MOVEM_R_M_V32; goto extract_sfmt_movem_r_m_v32; - case 192 : + case 187: + case 251: itype = CRISV32F_INSN_MOVEM_M_R_V32; goto extract_sfmt_movem_m_r_v32; + case 188: + case 252: itype = CRISV32F_INSN_MOVE_R_M_B_M; goto extract_sfmt_move_r_m_b_m; + case 189: + case 253: itype = CRISV32F_INSN_MOVE_R_M_W_M; goto extract_sfmt_move_r_m_w_m; + case 190: + case 254: itype = CRISV32F_INSN_MOVE_R_M_D_M; goto extract_sfmt_move_r_m_d_m; + case 191: + case 255: itype = CRISV32F_INSN_MOVEM_R_M_V32; goto extract_sfmt_movem_r_m_v32; + case 192: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV32F_INSN_ADDUCBR; goto extract_sfmt_addscbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV32F_INSN_ADDUCBR; goto extract_sfmt_addscbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 193 : + case 193: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV32F_INSN_ADDUCWR; goto extract_sfmt_addscwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV32F_INSN_ADDUCWR; goto extract_sfmt_addscwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 194 : + case 194: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV32F_INSN_ADDSCBR; goto extract_sfmt_addscbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV32F_INSN_ADDSCBR; goto extract_sfmt_addscbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 195 : + case 195: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV32F_INSN_ADDSCWR; goto extract_sfmt_addscwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV32F_INSN_ADDSCWR; goto extract_sfmt_addscwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 196 : + case 196: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; - case 15 : itype = CRISV32F_INSN_MOVUCBR; goto extract_sfmt_movucbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVU_M_B_M; goto extract_sfmt_movs_m_b_m; + case 15: itype = CRISV32F_INSN_MOVUCBR; goto extract_sfmt_movucbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 197 : + case 197: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; - case 15 : itype = CRISV32F_INSN_MOVUCWR; goto extract_sfmt_movucwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVU_M_W_M; goto extract_sfmt_movs_m_w_m; + case 15: itype = CRISV32F_INSN_MOVUCWR; goto extract_sfmt_movucwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 198 : + case 198: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; - case 15 : itype = CRISV32F_INSN_MOVSCBR; goto extract_sfmt_movscbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVS_M_B_M; goto extract_sfmt_movs_m_b_m; + case 15: itype = CRISV32F_INSN_MOVSCBR; goto extract_sfmt_movscbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 199 : + case 199: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; - case 15 : itype = CRISV32F_INSN_MOVSCWR; goto extract_sfmt_movscwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVS_M_W_M; goto extract_sfmt_movs_m_w_m; + case 15: itype = CRISV32F_INSN_MOVSCWR; goto extract_sfmt_movscwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 200 : + case 200: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV32F_INSN_SUBUCBR; goto extract_sfmt_addscbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUBU_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV32F_INSN_SUBUCBR; goto extract_sfmt_addscbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 201 : + case 201: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV32F_INSN_SUBUCWR; goto extract_sfmt_addscwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUBU_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV32F_INSN_SUBUCWR; goto extract_sfmt_addscwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 202 : + case 202: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; - case 15 : itype = CRISV32F_INSN_SUBSCBR; goto extract_sfmt_addscbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUBS_M_B_M; goto extract_sfmt_adds_m_b_m; + case 15: itype = CRISV32F_INSN_SUBSCBR; goto extract_sfmt_addscbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 203 : + case 203: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; - case 15 : itype = CRISV32F_INSN_SUBSCWR; goto extract_sfmt_addscwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUBS_M_W_M; goto extract_sfmt_adds_m_w_m; + case 15: itype = CRISV32F_INSN_SUBSCWR; goto extract_sfmt_addscwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 204 : + case 204: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 15 : itype = CRISV32F_INSN_CMPUCBR; goto extract_sfmt_cmpucbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMPU_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 15: itype = CRISV32F_INSN_CMPUCBR; goto extract_sfmt_cmpucbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 205 : + case 205: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 15 : itype = CRISV32F_INSN_CMPUCWR; goto extract_sfmt_cmpucwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMPU_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 15: itype = CRISV32F_INSN_CMPUCWR; goto extract_sfmt_cmpucwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 206 : + case 206: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 15 : itype = CRISV32F_INSN_CMPSCBR; goto extract_sfmt_cmpcbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMPS_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 15: itype = CRISV32F_INSN_CMPSCBR; goto extract_sfmt_cmpcbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 207 : + case 207: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 15 : itype = CRISV32F_INSN_CMPSCWR; goto extract_sfmt_cmpcwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMPS_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 15: itype = CRISV32F_INSN_CMPSCWR; goto extract_sfmt_cmpcwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 208 : itype = CRISV32F_INSN_MULS_B; goto extract_sfmt_muls_b; - case 209 : itype = CRISV32F_INSN_MULS_W; goto extract_sfmt_muls_b; - case 210 : itype = CRISV32F_INSN_MULS_D; goto extract_sfmt_muls_b; - case 211 : + case 208: itype = CRISV32F_INSN_MULS_B; goto extract_sfmt_muls_b; + case 209: itype = CRISV32F_INSN_MULS_W; goto extract_sfmt_muls_b; + case 210: itype = CRISV32F_INSN_MULS_D; goto extract_sfmt_muls_b; + case 211: { unsigned int val1 = (((insn >> 12) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((base_insn & 0xfff0) == 0xd30) { itype = CRISV32F_INSN_FIDXI; goto extract_sfmt_fidxi; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((base_insn & 0xfff0) == 0x1d30) { itype = CRISV32F_INSN_FTAGI; goto extract_sfmt_fidxi; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 212 : + case 212: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; - case 15 : itype = CRISV32F_INSN_ADDO_CB; goto extract_sfmt_addo_cb; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDO_M_B_M; goto extract_sfmt_addo_m_b_m; + case 15: itype = CRISV32F_INSN_ADDO_CB; goto extract_sfmt_addo_cb; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 213 : + case 213: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; - case 15 : itype = CRISV32F_INSN_ADDO_CW; goto extract_sfmt_addo_cw; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDO_M_W_M; goto extract_sfmt_addo_m_w_m; + case 15: itype = CRISV32F_INSN_ADDO_CW; goto extract_sfmt_addo_cw; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 214 : + case 214: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; - case 15 : itype = CRISV32F_INSN_ADDO_CD; goto extract_sfmt_addo_cd; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDO_M_D_M; goto extract_sfmt_addo_m_d_m; + case 15: itype = CRISV32F_INSN_ADDO_CD; goto extract_sfmt_addo_cd; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 215 : + case 215: if ((base_insn & 0xfff) == 0xd7f) { itype = CRISV32F_INSN_LAPC_D; goto extract_sfmt_lapc_d; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 218 : + case 218: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADDC_M; goto extract_sfmt_addc_m; - case 15 : itype = CRISV32F_INSN_ADDC_C; goto extract_sfmt_addcdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADDC_M; goto extract_sfmt_addc_m; + case 15: itype = CRISV32F_INSN_ADDC_C; goto extract_sfmt_addcdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 219 : + case 219: if ((base_insn & 0xfff) == 0xdbf) { itype = CRISV32F_INSN_JAS_C; goto extract_sfmt_jas_c; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 220 : + case 220: if ((base_insn & 0xfff) == 0xdcf) { itype = CRISV32F_INSN_BOUND_CB; goto extract_sfmt_bound_cb; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 221 : + case 221: if ((base_insn & 0xfff) == 0xddf) { itype = CRISV32F_INSN_BOUND_CW; goto extract_sfmt_bound_cw; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 222 : + case 222: if ((base_insn & 0xfff) == 0xdef) { itype = CRISV32F_INSN_BOUND_CD; goto extract_sfmt_bound_cd; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 223 : + case 223: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 15 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 15: if ((base_insn & 0xfff) == 0xdff) { itype = CRISV32F_INSN_BCC_W; goto extract_sfmt_bcc_w; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((base_insn & 0xffff) == 0xedff) { itype = CRISV32F_INSN_BA_W; goto extract_sfmt_ba_w; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 224 : + case 224: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; - case 15 : itype = CRISV32F_INSN_ADDCBR; goto extract_sfmt_addcbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADD_M_B_M; goto extract_sfmt_add_m_b_m; + case 15: itype = CRISV32F_INSN_ADDCBR; goto extract_sfmt_addcbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 225 : + case 225: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; - case 15 : itype = CRISV32F_INSN_ADDCWR; goto extract_sfmt_addcwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADD_M_W_M; goto extract_sfmt_add_m_w_m; + case 15: itype = CRISV32F_INSN_ADDCWR; goto extract_sfmt_addcwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 226 : + case 226: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; - case 15 : itype = CRISV32F_INSN_ADDCDR; goto extract_sfmt_addcdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_ADD_M_D_M; goto extract_sfmt_add_m_d_m; + case 15: itype = CRISV32F_INSN_ADDCDR; goto extract_sfmt_addcdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 227 : + case 227: { unsigned int val1 = (((insn >> 12) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 4 : /* fall through */ - case 8 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 2 : + case 0: + case 1: + case 4: + case 8: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 2: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P2; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P2; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 3 : + case 3: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P3; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P3; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 5 : + case 5: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P5; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P5; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 6 : + case 6: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P6; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P6; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 7 : + case 7: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P7; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P7; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 9 : + case 9: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P9; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P9; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 10 : + case 10: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P10; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P10; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 11 : + case 11: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P11; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P11; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 12 : + case 12: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P12; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P12; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 13 : + case 13: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P13; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P13; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 14 : + case 14: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P14; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P14; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 15 : + case 15: { unsigned int val2 = (((insn >> 0) & (15 << 0))); switch (val2) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; - case 15 : itype = CRISV32F_INSN_MOVE_C_SPRV32_P15; goto extract_sfmt_move_c_sprv32_p2; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_SPRV32; goto extract_sfmt_move_m_sprv32; + case 15: itype = CRISV32F_INSN_MOVE_C_SPRV32_P15; goto extract_sfmt_move_c_sprv32_p2; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 228 : + case 228: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; - case 15 : itype = CRISV32F_INSN_MOVECBR; goto extract_sfmt_movecbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_B_M; goto extract_sfmt_move_m_b_m; + case 15: itype = CRISV32F_INSN_MOVECBR; goto extract_sfmt_movecbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 229 : + case 229: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; - case 15 : itype = CRISV32F_INSN_MOVECWR; goto extract_sfmt_movecwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_W_M; goto extract_sfmt_move_m_w_m; + case 15: itype = CRISV32F_INSN_MOVECWR; goto extract_sfmt_movecwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 230 : + case 230: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; - case 15 : itype = CRISV32F_INSN_MOVECDR; goto extract_sfmt_movecdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_MOVE_M_D_M; goto extract_sfmt_move_m_d_m; + case 15: itype = CRISV32F_INSN_MOVECDR; goto extract_sfmt_movecdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 232 : + case 232: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; - case 15 : itype = CRISV32F_INSN_SUBCBR; goto extract_sfmt_addcbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUB_M_B_M; goto extract_sfmt_add_m_b_m; + case 15: itype = CRISV32F_INSN_SUBCBR; goto extract_sfmt_addcbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 233 : + case 233: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; - case 15 : itype = CRISV32F_INSN_SUBCWR; goto extract_sfmt_addcwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUB_M_W_M; goto extract_sfmt_add_m_w_m; + case 15: itype = CRISV32F_INSN_SUBCWR; goto extract_sfmt_addcwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 234 : + case 234: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; - case 15 : itype = CRISV32F_INSN_SUBCDR; goto extract_sfmt_addcdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_SUB_M_D_M; goto extract_sfmt_add_m_d_m; + case 15: itype = CRISV32F_INSN_SUBCDR; goto extract_sfmt_addcdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 235 : + case 235: if ((base_insn & 0xfff) == 0xebf) { itype = CRISV32F_INSN_BAS_C; goto extract_sfmt_bas_c; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 236 : + case 236: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; - case 15 : itype = CRISV32F_INSN_CMPCBR; goto extract_sfmt_cmpcbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMP_M_B_M; goto extract_sfmt_cmp_m_b_m; + case 15: itype = CRISV32F_INSN_CMPCBR; goto extract_sfmt_cmpcbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 237 : + case 237: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; - case 15 : itype = CRISV32F_INSN_CMPCWR; goto extract_sfmt_cmpcwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMP_M_W_M; goto extract_sfmt_cmp_m_w_m; + case 15: itype = CRISV32F_INSN_CMPCWR; goto extract_sfmt_cmpcwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 238 : + case 238: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; - case 15 : itype = CRISV32F_INSN_CMPCDR; goto extract_sfmt_cmpcdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_CMP_M_D_M; goto extract_sfmt_cmp_m_d_m; + case 15: itype = CRISV32F_INSN_CMPCDR; goto extract_sfmt_cmpcdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 239 : + case 239: if ((base_insn & 0xfff) == 0xeff) { itype = CRISV32F_INSN_BASC_C; goto extract_sfmt_bas_c; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 240 : + case 240: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; - case 15 : itype = CRISV32F_INSN_ANDCBR; goto extract_sfmt_andcbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_AND_M_B_M; goto extract_sfmt_and_m_b_m; + case 15: itype = CRISV32F_INSN_ANDCBR; goto extract_sfmt_andcbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 241 : + case 241: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; - case 15 : itype = CRISV32F_INSN_ANDCWR; goto extract_sfmt_andcwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_AND_M_W_M; goto extract_sfmt_and_m_w_m; + case 15: itype = CRISV32F_INSN_ANDCWR; goto extract_sfmt_andcwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 242 : + case 242: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; - case 15 : itype = CRISV32F_INSN_ANDCDR; goto extract_sfmt_andcdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_AND_M_D_M; goto extract_sfmt_and_m_d_m; + case 15: itype = CRISV32F_INSN_ANDCDR; goto extract_sfmt_andcdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 243 : + case 243: if ((base_insn & 0xfff) == 0xf3f) { itype = CRISV32F_INSN_JASC_C; goto extract_sfmt_jas_c; } itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; - case 244 : + case 244: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; - case 15 : itype = CRISV32F_INSN_ORCBR; goto extract_sfmt_andcbr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_OR_M_B_M; goto extract_sfmt_and_m_b_m; + case 15: itype = CRISV32F_INSN_ORCBR; goto extract_sfmt_andcbr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 245 : + case 245: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; - case 15 : itype = CRISV32F_INSN_ORCWR; goto extract_sfmt_andcwr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_OR_M_W_M; goto extract_sfmt_and_m_w_m; + case 15: itype = CRISV32F_INSN_ORCWR; goto extract_sfmt_andcwr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 246 : + case 246: { unsigned int val1 = (((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : itype = CRISV32F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; - case 15 : itype = CRISV32F_INSN_ORCDR; goto extract_sfmt_andcdr; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: itype = CRISV32F_INSN_OR_M_D_M; goto extract_sfmt_and_m_d_m; + case 15: itype = CRISV32F_INSN_ORCDR; goto extract_sfmt_andcdr; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 247 : itype = CRISV32F_INSN_MOVE_SS_R; goto extract_sfmt_move_ss_r; - default : itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; + case 247: itype = CRISV32F_INSN_MOVE_SS_R; goto extract_sfmt_move_ss_r; + default: itype = CRISV32F_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/frv/decode.c b/sim/frv/decode.c index c3fee6f..2dd1d2e 100644 --- a/sim/frv/decode.c +++ b/sim/frv/decode.c @@ -871,2379 +871,2379 @@ frvbf_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 18) & (127 << 0))); switch (val0) { - case 0 : + case 0: { unsigned int val1 = (((insn >> 6) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fc0fc0) == 0x0) { itype = FRVBF_INSN_ADD; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_ADDCC; goto extract_sfmt_addcc; - case 2 : itype = FRVBF_INSN_ADDX; goto extract_sfmt_addx; - case 3 : itype = FRVBF_INSN_ADDXCC; goto extract_sfmt_addcc; - case 4 : + case 1: itype = FRVBF_INSN_ADDCC; goto extract_sfmt_addcc; + case 2: itype = FRVBF_INSN_ADDX; goto extract_sfmt_addx; + case 3: itype = FRVBF_INSN_ADDXCC; goto extract_sfmt_addcc; + case 4: if ((entire_insn & 0x1fc0fc0) == 0x100) { itype = FRVBF_INSN_SUB; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : itype = FRVBF_INSN_SUBCC; goto extract_sfmt_addcc; - case 6 : itype = FRVBF_INSN_SUBX; goto extract_sfmt_addx; - case 7 : itype = FRVBF_INSN_SUBXCC; goto extract_sfmt_addcc; - case 8 : + case 5: itype = FRVBF_INSN_SUBCC; goto extract_sfmt_addcc; + case 6: itype = FRVBF_INSN_SUBX; goto extract_sfmt_addx; + case 7: itype = FRVBF_INSN_SUBXCC; goto extract_sfmt_addcc; + case 8: if ((entire_insn & 0x1fc0fc0) == 0x200) { itype = FRVBF_INSN_SMUL; goto extract_sfmt_smul; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : itype = FRVBF_INSN_SMULCC; goto extract_sfmt_smulcc; - case 10 : + case 9: itype = FRVBF_INSN_SMULCC; goto extract_sfmt_smulcc; + case 10: if ((entire_insn & 0x1fc0fc0) == 0x280) { itype = FRVBF_INSN_UMUL; goto extract_sfmt_smul; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : itype = FRVBF_INSN_UMULCC; goto extract_sfmt_smulcc; - case 12 : + case 11: itype = FRVBF_INSN_UMULCC; goto extract_sfmt_smulcc; + case 12: if ((entire_insn & 0x7ffc03c0) == 0x300) { itype = FRVBF_INSN_CMPB; goto extract_sfmt_cmpb; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x7ffc03c0) == 0x340) { itype = FRVBF_INSN_CMPBA; goto extract_sfmt_cmpb; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x1fc0fc0) == 0x380) { itype = FRVBF_INSN_SDIV; goto extract_sfmt_sdiv; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x1fc0fc0) == 0x3c0) { itype = FRVBF_INSN_UDIV; goto extract_sfmt_sdiv; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1 : + case 1: { unsigned int val1 = (((insn >> 6) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fc0fc0) == 0x40000) { itype = FRVBF_INSN_AND; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_ANDCC; goto extract_sfmt_andcc; - case 2 : + case 1: itype = FRVBF_INSN_ANDCC; goto extract_sfmt_andcc; + case 2: if ((entire_insn & 0x1fc0fc0) == 0x40080) { itype = FRVBF_INSN_OR; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : itype = FRVBF_INSN_ORCC; goto extract_sfmt_andcc; - case 4 : + case 3: itype = FRVBF_INSN_ORCC; goto extract_sfmt_andcc; + case 4: if ((entire_insn & 0x1fc0fc0) == 0x40100) { itype = FRVBF_INSN_XOR; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : itype = FRVBF_INSN_XORCC; goto extract_sfmt_andcc; - case 6 : + case 5: itype = FRVBF_INSN_XORCC; goto extract_sfmt_andcc; + case 6: if ((entire_insn & 0x1ffffc0) == 0x40180) { itype = FRVBF_INSN_NOT; goto extract_sfmt_not; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x1fc0fc0) == 0x40200) { itype = FRVBF_INSN_SLL; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : itype = FRVBF_INSN_SLLCC; goto extract_sfmt_addcc; - case 10 : + case 9: itype = FRVBF_INSN_SLLCC; goto extract_sfmt_addcc; + case 10: if ((entire_insn & 0x1fc0fc0) == 0x40280) { itype = FRVBF_INSN_SRL; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : itype = FRVBF_INSN_SRLCC; goto extract_sfmt_addcc; - case 12 : + case 11: itype = FRVBF_INSN_SRLCC; goto extract_sfmt_addcc; + case 12: if ((entire_insn & 0x1fc0fc0) == 0x40300) { itype = FRVBF_INSN_SRA; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : itype = FRVBF_INSN_SRACC; goto extract_sfmt_addcc; - case 14 : + case 13: itype = FRVBF_INSN_SRACC; goto extract_sfmt_addcc; + case 14: if ((entire_insn & 0x1fc0fc0) == 0x40380) { itype = FRVBF_INSN_NSDIV; goto extract_sfmt_sdiv; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x1fc0fc0) == 0x403c0) { itype = FRVBF_INSN_NUDIV; goto extract_sfmt_sdiv; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 2 : + case 2: { unsigned int val1 = (((insn >> 6) & (63 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_LDSB; goto extract_sfmt_ldsb; - case 1 : itype = FRVBF_INSN_LDUB; goto extract_sfmt_ldsb; - case 2 : itype = FRVBF_INSN_LDSH; goto extract_sfmt_ldsb; - case 3 : itype = FRVBF_INSN_LDUH; goto extract_sfmt_ldsb; - case 4 : itype = FRVBF_INSN_LD; goto extract_sfmt_ldsb; - case 5 : itype = FRVBF_INSN_LDD; goto extract_sfmt_ldd; - case 6 : itype = FRVBF_INSN_LDQ; goto extract_sfmt_ldq; - case 8 : itype = FRVBF_INSN_LDBF; goto extract_sfmt_ldbf; - case 9 : itype = FRVBF_INSN_LDHF; goto extract_sfmt_ldbf; - case 10 : itype = FRVBF_INSN_LDF; goto extract_sfmt_ldbf; - case 11 : itype = FRVBF_INSN_LDDF; goto extract_sfmt_lddf; - case 12 : itype = FRVBF_INSN_LDQF; goto extract_sfmt_ldqf; - case 13 : itype = FRVBF_INSN_LDC; goto extract_sfmt_ldc; - case 14 : itype = FRVBF_INSN_LDDC; goto extract_sfmt_lddc; - case 15 : itype = FRVBF_INSN_LDQC; goto extract_sfmt_ldqc; - case 16 : itype = FRVBF_INSN_LDSBU; goto extract_sfmt_ldsbu; - case 17 : itype = FRVBF_INSN_LDUBU; goto extract_sfmt_ldsbu; - case 18 : itype = FRVBF_INSN_LDSHU; goto extract_sfmt_ldsbu; - case 19 : itype = FRVBF_INSN_LDUHU; goto extract_sfmt_ldsbu; - case 20 : itype = FRVBF_INSN_LDU; goto extract_sfmt_ldsbu; - case 21 : itype = FRVBF_INSN_LDDU; goto extract_sfmt_lddu; - case 22 : itype = FRVBF_INSN_LDQU; goto extract_sfmt_ldqu; - case 24 : itype = FRVBF_INSN_LDBFU; goto extract_sfmt_ldbfu; - case 25 : itype = FRVBF_INSN_LDHFU; goto extract_sfmt_ldbfu; - case 26 : itype = FRVBF_INSN_LDFU; goto extract_sfmt_ldbfu; - case 27 : itype = FRVBF_INSN_LDDFU; goto extract_sfmt_lddfu; - case 28 : itype = FRVBF_INSN_LDQFU; goto extract_sfmt_ldqfu; - case 29 : itype = FRVBF_INSN_LDCU; goto extract_sfmt_ldcu; - case 30 : itype = FRVBF_INSN_LDDCU; goto extract_sfmt_lddcu; - case 31 : itype = FRVBF_INSN_LDQCU; goto extract_sfmt_ldqcu; - case 32 : itype = FRVBF_INSN_NLDSB; goto extract_sfmt_nldsb; - case 33 : itype = FRVBF_INSN_NLDUB; goto extract_sfmt_nldsb; - case 34 : itype = FRVBF_INSN_NLDSH; goto extract_sfmt_nldsb; - case 35 : itype = FRVBF_INSN_NLDUH; goto extract_sfmt_nldsb; - case 36 : itype = FRVBF_INSN_NLD; goto extract_sfmt_nldsb; - case 37 : itype = FRVBF_INSN_NLDD; goto extract_sfmt_nldd; - case 38 : itype = FRVBF_INSN_NLDQ; goto extract_sfmt_nldq; - case 40 : itype = FRVBF_INSN_NLDBF; goto extract_sfmt_nldbf; - case 41 : itype = FRVBF_INSN_NLDHF; goto extract_sfmt_nldbf; - case 42 : itype = FRVBF_INSN_NLDF; goto extract_sfmt_nldbf; - case 43 : itype = FRVBF_INSN_NLDDF; goto extract_sfmt_nlddf; - case 44 : itype = FRVBF_INSN_NLDQF; goto extract_sfmt_nldqf; - case 48 : itype = FRVBF_INSN_NLDSBU; goto extract_sfmt_nldsbu; - case 49 : itype = FRVBF_INSN_NLDUBU; goto extract_sfmt_nldsbu; - case 50 : itype = FRVBF_INSN_NLDSHU; goto extract_sfmt_nldsbu; - case 51 : itype = FRVBF_INSN_NLDUHU; goto extract_sfmt_nldsbu; - case 52 : itype = FRVBF_INSN_NLDU; goto extract_sfmt_nldsbu; - case 53 : itype = FRVBF_INSN_NLDDU; goto extract_sfmt_nlddu; - case 54 : itype = FRVBF_INSN_NLDQU; goto extract_sfmt_nldqu; - case 56 : itype = FRVBF_INSN_NLDBFU; goto extract_sfmt_nldbfu; - case 57 : itype = FRVBF_INSN_NLDHFU; goto extract_sfmt_nldbfu; - case 58 : itype = FRVBF_INSN_NLDFU; goto extract_sfmt_nldbfu; - case 59 : itype = FRVBF_INSN_NLDDFU; goto extract_sfmt_nlddfu; - case 60 : itype = FRVBF_INSN_NLDQFU; goto extract_sfmt_nldqfu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_LDSB; goto extract_sfmt_ldsb; + case 1: itype = FRVBF_INSN_LDUB; goto extract_sfmt_ldsb; + case 2: itype = FRVBF_INSN_LDSH; goto extract_sfmt_ldsb; + case 3: itype = FRVBF_INSN_LDUH; goto extract_sfmt_ldsb; + case 4: itype = FRVBF_INSN_LD; goto extract_sfmt_ldsb; + case 5: itype = FRVBF_INSN_LDD; goto extract_sfmt_ldd; + case 6: itype = FRVBF_INSN_LDQ; goto extract_sfmt_ldq; + case 8: itype = FRVBF_INSN_LDBF; goto extract_sfmt_ldbf; + case 9: itype = FRVBF_INSN_LDHF; goto extract_sfmt_ldbf; + case 10: itype = FRVBF_INSN_LDF; goto extract_sfmt_ldbf; + case 11: itype = FRVBF_INSN_LDDF; goto extract_sfmt_lddf; + case 12: itype = FRVBF_INSN_LDQF; goto extract_sfmt_ldqf; + case 13: itype = FRVBF_INSN_LDC; goto extract_sfmt_ldc; + case 14: itype = FRVBF_INSN_LDDC; goto extract_sfmt_lddc; + case 15: itype = FRVBF_INSN_LDQC; goto extract_sfmt_ldqc; + case 16: itype = FRVBF_INSN_LDSBU; goto extract_sfmt_ldsbu; + case 17: itype = FRVBF_INSN_LDUBU; goto extract_sfmt_ldsbu; + case 18: itype = FRVBF_INSN_LDSHU; goto extract_sfmt_ldsbu; + case 19: itype = FRVBF_INSN_LDUHU; goto extract_sfmt_ldsbu; + case 20: itype = FRVBF_INSN_LDU; goto extract_sfmt_ldsbu; + case 21: itype = FRVBF_INSN_LDDU; goto extract_sfmt_lddu; + case 22: itype = FRVBF_INSN_LDQU; goto extract_sfmt_ldqu; + case 24: itype = FRVBF_INSN_LDBFU; goto extract_sfmt_ldbfu; + case 25: itype = FRVBF_INSN_LDHFU; goto extract_sfmt_ldbfu; + case 26: itype = FRVBF_INSN_LDFU; goto extract_sfmt_ldbfu; + case 27: itype = FRVBF_INSN_LDDFU; goto extract_sfmt_lddfu; + case 28: itype = FRVBF_INSN_LDQFU; goto extract_sfmt_ldqfu; + case 29: itype = FRVBF_INSN_LDCU; goto extract_sfmt_ldcu; + case 30: itype = FRVBF_INSN_LDDCU; goto extract_sfmt_lddcu; + case 31: itype = FRVBF_INSN_LDQCU; goto extract_sfmt_ldqcu; + case 32: itype = FRVBF_INSN_NLDSB; goto extract_sfmt_nldsb; + case 33: itype = FRVBF_INSN_NLDUB; goto extract_sfmt_nldsb; + case 34: itype = FRVBF_INSN_NLDSH; goto extract_sfmt_nldsb; + case 35: itype = FRVBF_INSN_NLDUH; goto extract_sfmt_nldsb; + case 36: itype = FRVBF_INSN_NLD; goto extract_sfmt_nldsb; + case 37: itype = FRVBF_INSN_NLDD; goto extract_sfmt_nldd; + case 38: itype = FRVBF_INSN_NLDQ; goto extract_sfmt_nldq; + case 40: itype = FRVBF_INSN_NLDBF; goto extract_sfmt_nldbf; + case 41: itype = FRVBF_INSN_NLDHF; goto extract_sfmt_nldbf; + case 42: itype = FRVBF_INSN_NLDF; goto extract_sfmt_nldbf; + case 43: itype = FRVBF_INSN_NLDDF; goto extract_sfmt_nlddf; + case 44: itype = FRVBF_INSN_NLDQF; goto extract_sfmt_nldqf; + case 48: itype = FRVBF_INSN_NLDSBU; goto extract_sfmt_nldsbu; + case 49: itype = FRVBF_INSN_NLDUBU; goto extract_sfmt_nldsbu; + case 50: itype = FRVBF_INSN_NLDSHU; goto extract_sfmt_nldsbu; + case 51: itype = FRVBF_INSN_NLDUHU; goto extract_sfmt_nldsbu; + case 52: itype = FRVBF_INSN_NLDU; goto extract_sfmt_nldsbu; + case 53: itype = FRVBF_INSN_NLDDU; goto extract_sfmt_nlddu; + case 54: itype = FRVBF_INSN_NLDQU; goto extract_sfmt_nldqu; + case 56: itype = FRVBF_INSN_NLDBFU; goto extract_sfmt_nldbfu; + case 57: itype = FRVBF_INSN_NLDHFU; goto extract_sfmt_nldbfu; + case 58: itype = FRVBF_INSN_NLDFU; goto extract_sfmt_nldbfu; + case 59: itype = FRVBF_INSN_NLDDFU; goto extract_sfmt_nlddfu; + case 60: itype = FRVBF_INSN_NLDQFU; goto extract_sfmt_nldqfu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 3 : + case 3: { unsigned int val1 = (((insn >> 6) & (63 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_STB; goto extract_sfmt_stb; - case 1 : itype = FRVBF_INSN_STH; goto extract_sfmt_stb; - case 2 : itype = FRVBF_INSN_ST; goto extract_sfmt_stb; - case 3 : itype = FRVBF_INSN_STD; goto extract_sfmt_std; - case 4 : itype = FRVBF_INSN_STQ; goto extract_sfmt_ldq; - case 5 : itype = FRVBF_INSN_SWAP; goto extract_sfmt_swap; - case 6 : itype = FRVBF_INSN_MOVGS; goto extract_sfmt_movgs; - case 7 : itype = FRVBF_INSN_MOVSG; goto extract_sfmt_movsg; - case 8 : itype = FRVBF_INSN_STBF; goto extract_sfmt_stbf; - case 9 : itype = FRVBF_INSN_STHF; goto extract_sfmt_stbf; - case 10 : itype = FRVBF_INSN_STF; goto extract_sfmt_stbf; - case 11 : itype = FRVBF_INSN_STDF; goto extract_sfmt_stdf; - case 12 : itype = FRVBF_INSN_STQF; goto extract_sfmt_ldqf; - case 13 : + case 0: itype = FRVBF_INSN_STB; goto extract_sfmt_stb; + case 1: itype = FRVBF_INSN_STH; goto extract_sfmt_stb; + case 2: itype = FRVBF_INSN_ST; goto extract_sfmt_stb; + case 3: itype = FRVBF_INSN_STD; goto extract_sfmt_std; + case 4: itype = FRVBF_INSN_STQ; goto extract_sfmt_ldq; + case 5: itype = FRVBF_INSN_SWAP; goto extract_sfmt_swap; + case 6: itype = FRVBF_INSN_MOVGS; goto extract_sfmt_movgs; + case 7: itype = FRVBF_INSN_MOVSG; goto extract_sfmt_movsg; + case 8: itype = FRVBF_INSN_STBF; goto extract_sfmt_stbf; + case 9: itype = FRVBF_INSN_STHF; goto extract_sfmt_stbf; + case 10: itype = FRVBF_INSN_STF; goto extract_sfmt_stbf; + case 11: itype = FRVBF_INSN_STDF; goto extract_sfmt_stdf; + case 12: itype = FRVBF_INSN_STQF; goto extract_sfmt_ldqf; + case 13: if ((entire_insn & 0x1ffffc0) == 0xc0340) { itype = FRVBF_INSN_MOVFG; goto extract_sfmt_movfg; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x1ffffc0) == 0xc0380) { itype = FRVBF_INSN_MOVFGD; goto extract_sfmt_movfgd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x1ffffc0) == 0xc03c0) { itype = FRVBF_INSN_MOVFGQ; goto extract_sfmt_movfgq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : itype = FRVBF_INSN_STBU; goto extract_sfmt_stbu; - case 17 : itype = FRVBF_INSN_STHU; goto extract_sfmt_stbu; - case 18 : itype = FRVBF_INSN_STU; goto extract_sfmt_stbu; - case 19 : itype = FRVBF_INSN_STDU; goto extract_sfmt_stdu; - case 20 : itype = FRVBF_INSN_STQU; goto extract_sfmt_stqu; - case 21 : + case 16: itype = FRVBF_INSN_STBU; goto extract_sfmt_stbu; + case 17: itype = FRVBF_INSN_STHU; goto extract_sfmt_stbu; + case 18: itype = FRVBF_INSN_STU; goto extract_sfmt_stbu; + case 19: itype = FRVBF_INSN_STDU; goto extract_sfmt_stdu; + case 20: itype = FRVBF_INSN_STQU; goto extract_sfmt_stqu; + case 21: if ((entire_insn & 0x1ffffc0) == 0xc0540) { itype = FRVBF_INSN_MOVGF; goto extract_sfmt_movgf; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 22 : + case 22: if ((entire_insn & 0x1ffffc0) == 0xc0580) { itype = FRVBF_INSN_MOVGFD; goto extract_sfmt_movgfd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 23 : + case 23: if ((entire_insn & 0x1ffffc0) == 0xc05c0) { itype = FRVBF_INSN_MOVGFQ; goto extract_sfmt_movgfq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : itype = FRVBF_INSN_STBFU; goto extract_sfmt_stbfu; - case 25 : itype = FRVBF_INSN_STHFU; goto extract_sfmt_stbfu; - case 26 : itype = FRVBF_INSN_STFU; goto extract_sfmt_stbfu; - case 27 : itype = FRVBF_INSN_STDFU; goto extract_sfmt_stdfu; - case 28 : itype = FRVBF_INSN_STQFU; goto extract_sfmt_ldqfu; - case 32 : + case 24: itype = FRVBF_INSN_STBFU; goto extract_sfmt_stbfu; + case 25: itype = FRVBF_INSN_STHFU; goto extract_sfmt_stbfu; + case 26: itype = FRVBF_INSN_STFU; goto extract_sfmt_stbfu; + case 27: itype = FRVBF_INSN_STDFU; goto extract_sfmt_stdfu; + case 28: itype = FRVBF_INSN_STQFU; goto extract_sfmt_ldqfu; + case 32: if ((entire_insn & 0x1fc0fc7) == 0xc0800) { itype = FRVBF_INSN_LRAI; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 33 : + case 33: if ((entire_insn & 0x1fc0fc7) == 0xc0840) { itype = FRVBF_INSN_LRAD; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : + case 36: if ((entire_insn & 0x61fc0fc0) == 0xc0900) { itype = FRVBF_INSN_TLBPR; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 37 : itype = FRVBF_INSN_STC; goto extract_sfmt_stc; - case 38 : itype = FRVBF_INSN_STDC; goto extract_sfmt_stdc; - case 39 : itype = FRVBF_INSN_STQC; goto extract_sfmt_ldqc; - case 45 : itype = FRVBF_INSN_STCU; goto extract_sfmt_stcu; - case 46 : itype = FRVBF_INSN_STDCU; goto extract_sfmt_stdcu; - case 47 : itype = FRVBF_INSN_STQCU; goto extract_sfmt_ldqcu; - case 48 : + case 37: itype = FRVBF_INSN_STC; goto extract_sfmt_stc; + case 38: itype = FRVBF_INSN_STDC; goto extract_sfmt_stdc; + case 39: itype = FRVBF_INSN_STQC; goto extract_sfmt_ldqc; + case 45: itype = FRVBF_INSN_STCU; goto extract_sfmt_stcu; + case 46: itype = FRVBF_INSN_STDCU; goto extract_sfmt_stdcu; + case 47: itype = FRVBF_INSN_STQCU; goto extract_sfmt_ldqcu; + case 48: if ((entire_insn & 0x7dfc0fc0) == 0xc0c00) { itype = FRVBF_INSN_ICPL; goto extract_sfmt_icpl; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 49 : + case 49: if ((entire_insn & 0x7ffc0fff) == 0xc0c40) { itype = FRVBF_INSN_ICUL; goto extract_sfmt_icul; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 50 : itype = FRVBF_INSN_WITLB; goto extract_sfmt_rei; - case 51 : + case 50: itype = FRVBF_INSN_WITLB; goto extract_sfmt_rei; + case 51: if ((entire_insn & 0x7ffc0fc0) == 0xc0cc0) { itype = FRVBF_INSN_ITLBI; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 52 : + case 52: if ((entire_insn & 0x7dfc0fc0) == 0xc0d00) { itype = FRVBF_INSN_DCPL; goto extract_sfmt_icpl; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 53 : + case 53: if ((entire_insn & 0x7ffc0fff) == 0xc0d40) { itype = FRVBF_INSN_DCUL; goto extract_sfmt_icul; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 54 : itype = FRVBF_INSN_WDTLB; goto extract_sfmt_rei; - case 55 : + case 54: itype = FRVBF_INSN_WDTLB; goto extract_sfmt_rei; + case 55: if ((entire_insn & 0x7ffc0fc0) == 0xc0dc0) { itype = FRVBF_INSN_DTLBI; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 56 : + case 56: if ((entire_insn & 0x7ffc0fc0) == 0xc0e00) { itype = FRVBF_INSN_ICI; goto extract_sfmt_ici; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 57 : + case 57: if ((entire_insn & 0x7dfc0fc0) == 0xc0e40) { itype = FRVBF_INSN_ICEI; goto extract_sfmt_icei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 58 : + case 58: if ((entire_insn & 0x7dfc0fc0) == 0xc0e80) { itype = FRVBF_INSN_DCEI; goto extract_sfmt_icei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 59 : + case 59: if ((entire_insn & 0x7dfc0fc0) == 0xc0ec0) { itype = FRVBF_INSN_DCEF; goto extract_sfmt_icei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 60 : + case 60: if ((entire_insn & 0x7ffc0fc0) == 0xc0f00) { itype = FRVBF_INSN_DCI; goto extract_sfmt_ici; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 61 : + case 61: if ((entire_insn & 0x7ffc0fc0) == 0xc0f40) { itype = FRVBF_INSN_DCF; goto extract_sfmt_ici; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 62 : + case 62: if ((entire_insn & 0x7fffffff) == 0xc0f80) { itype = FRVBF_INSN_BAR; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 63 : + case 63: if ((entire_insn & 0x7fffffff) == 0xc0fc0) { itype = FRVBF_INSN_MEMBAR; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 4 : + case 4: { unsigned int val1 = (((insn >> 25) & (15 << 2)) | ((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7fffffff) == 0x100000) { itype = FRVBF_INSN_TNO; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7fffffff) == 0x100040) { itype = FRVBF_INSN_FTNO; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x7fffffff) == 0x100080) { itype = FRVBF_INSN_MTRAP; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x7fffffff) == 0x1000c0) { itype = FRVBF_INSN_BREAK; goto extract_sfmt_break; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x79fc0fc0) == 0x8100000) { itype = FRVBF_INSN_TC; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x79fc0fc0) == 0x8100040) { itype = FRVBF_INSN_FTU; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x79fc0fc0) == 0x10100000) { itype = FRVBF_INSN_TV; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x79fc0fc0) == 0x10100040) { itype = FRVBF_INSN_FTGT; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x79fc0fc0) == 0x18100000) { itype = FRVBF_INSN_TLT; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x79fc0fc0) == 0x18100040) { itype = FRVBF_INSN_FTUG; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: if ((entire_insn & 0x79fc0fc0) == 0x20100000) { itype = FRVBF_INSN_TEQ; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 17 : + case 17: if ((entire_insn & 0x79fc0fc0) == 0x20100040) { itype = FRVBF_INSN_FTLT; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 20 : + case 20: if ((entire_insn & 0x79fc0fc0) == 0x28100000) { itype = FRVBF_INSN_TLS; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 21 : + case 21: if ((entire_insn & 0x79fc0fc0) == 0x28100040) { itype = FRVBF_INSN_FTUL; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : + case 24: if ((entire_insn & 0x79fc0fc0) == 0x30100000) { itype = FRVBF_INSN_TN; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 25 : + case 25: if ((entire_insn & 0x79fc0fc0) == 0x30100040) { itype = FRVBF_INSN_FTLG; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 28 : + case 28: if ((entire_insn & 0x79fc0fc0) == 0x38100000) { itype = FRVBF_INSN_TLE; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 29 : + case 29: if ((entire_insn & 0x79fc0fc0) == 0x38100040) { itype = FRVBF_INSN_FTNE; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : + case 32: if ((entire_insn & 0x7ffc0fc0) == 0x40100000) { itype = FRVBF_INSN_TRA; goto extract_sfmt_tra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 33 : + case 33: if ((entire_insn & 0x79fc0fc0) == 0x40100040) { itype = FRVBF_INSN_FTEQ; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : + case 36: if ((entire_insn & 0x79fc0fc0) == 0x48100000) { itype = FRVBF_INSN_TNC; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 37 : + case 37: if ((entire_insn & 0x79fc0fc0) == 0x48100040) { itype = FRVBF_INSN_FTUE; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 40 : + case 40: if ((entire_insn & 0x79fc0fc0) == 0x50100000) { itype = FRVBF_INSN_TNV; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 41 : + case 41: if ((entire_insn & 0x79fc0fc0) == 0x50100040) { itype = FRVBF_INSN_FTGE; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 44 : + case 44: if ((entire_insn & 0x79fc0fc0) == 0x58100000) { itype = FRVBF_INSN_TGE; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 45 : + case 45: if ((entire_insn & 0x79fc0fc0) == 0x58100040) { itype = FRVBF_INSN_FTUGE; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 48 : + case 48: if ((entire_insn & 0x79fc0fc0) == 0x60100000) { itype = FRVBF_INSN_TNE; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 49 : + case 49: if ((entire_insn & 0x79fc0fc0) == 0x60100040) { itype = FRVBF_INSN_FTLE; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 52 : + case 52: if ((entire_insn & 0x79fc0fc0) == 0x68100000) { itype = FRVBF_INSN_THI; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 53 : + case 53: if ((entire_insn & 0x79fc0fc0) == 0x68100040) { itype = FRVBF_INSN_FTULE; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 56 : + case 56: if ((entire_insn & 0x79fc0fc0) == 0x70100000) { itype = FRVBF_INSN_TP; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 57 : + case 57: if ((entire_insn & 0x79fc0fc0) == 0x70100040) { itype = FRVBF_INSN_FTO; goto extract_sfmt_ftne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 60 : + case 60: if ((entire_insn & 0x79fc0fc0) == 0x78100000) { itype = FRVBF_INSN_TGT; goto extract_sfmt_teq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 61 : + case 61: if ((entire_insn & 0x7ffc0fc0) == 0x78100040) { itype = FRVBF_INSN_FTRA; goto extract_sfmt_ftra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 5 : + case 5: if ((entire_insn & 0x7dffffff) == 0x140000) { itype = FRVBF_INSN_RETT; goto extract_sfmt_rett; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: { unsigned int val1 = (((insn >> 27) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7ffcffff) == 0x180000) { itype = FRVBF_INSN_BNO; goto extract_sfmt_bno; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_BC; goto extract_sfmt_beq; - case 2 : itype = FRVBF_INSN_BV; goto extract_sfmt_beq; - case 3 : itype = FRVBF_INSN_BLT; goto extract_sfmt_beq; - case 4 : itype = FRVBF_INSN_BEQ; goto extract_sfmt_beq; - case 5 : itype = FRVBF_INSN_BLS; goto extract_sfmt_beq; - case 6 : itype = FRVBF_INSN_BN; goto extract_sfmt_beq; - case 7 : itype = FRVBF_INSN_BLE; goto extract_sfmt_beq; - case 8 : + case 1: itype = FRVBF_INSN_BC; goto extract_sfmt_beq; + case 2: itype = FRVBF_INSN_BV; goto extract_sfmt_beq; + case 3: itype = FRVBF_INSN_BLT; goto extract_sfmt_beq; + case 4: itype = FRVBF_INSN_BEQ; goto extract_sfmt_beq; + case 5: itype = FRVBF_INSN_BLS; goto extract_sfmt_beq; + case 6: itype = FRVBF_INSN_BN; goto extract_sfmt_beq; + case 7: itype = FRVBF_INSN_BLE; goto extract_sfmt_beq; + case 8: if ((entire_insn & 0x7ffc0000) == 0x40180000) { itype = FRVBF_INSN_BRA; goto extract_sfmt_bra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : itype = FRVBF_INSN_BNC; goto extract_sfmt_beq; - case 10 : itype = FRVBF_INSN_BNV; goto extract_sfmt_beq; - case 11 : itype = FRVBF_INSN_BGE; goto extract_sfmt_beq; - case 12 : itype = FRVBF_INSN_BNE; goto extract_sfmt_beq; - case 13 : itype = FRVBF_INSN_BHI; goto extract_sfmt_beq; - case 14 : itype = FRVBF_INSN_BP; goto extract_sfmt_beq; - case 15 : itype = FRVBF_INSN_BGT; goto extract_sfmt_beq; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 9: itype = FRVBF_INSN_BNC; goto extract_sfmt_beq; + case 10: itype = FRVBF_INSN_BNV; goto extract_sfmt_beq; + case 11: itype = FRVBF_INSN_BGE; goto extract_sfmt_beq; + case 12: itype = FRVBF_INSN_BNE; goto extract_sfmt_beq; + case 13: itype = FRVBF_INSN_BHI; goto extract_sfmt_beq; + case 14: itype = FRVBF_INSN_BP; goto extract_sfmt_beq; + case 15: itype = FRVBF_INSN_BGT; goto extract_sfmt_beq; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 7 : + case 7: { unsigned int val1 = (((insn >> 27) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7ffcffff) == 0x1c0000) { itype = FRVBF_INSN_FBNO; goto extract_sfmt_fbno; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FBU; goto extract_sfmt_fbne; - case 2 : itype = FRVBF_INSN_FBGT; goto extract_sfmt_fbne; - case 3 : itype = FRVBF_INSN_FBUG; goto extract_sfmt_fbne; - case 4 : itype = FRVBF_INSN_FBLT; goto extract_sfmt_fbne; - case 5 : itype = FRVBF_INSN_FBUL; goto extract_sfmt_fbne; - case 6 : itype = FRVBF_INSN_FBLG; goto extract_sfmt_fbne; - case 7 : itype = FRVBF_INSN_FBNE; goto extract_sfmt_fbne; - case 8 : itype = FRVBF_INSN_FBEQ; goto extract_sfmt_fbne; - case 9 : itype = FRVBF_INSN_FBUE; goto extract_sfmt_fbne; - case 10 : itype = FRVBF_INSN_FBGE; goto extract_sfmt_fbne; - case 11 : itype = FRVBF_INSN_FBUGE; goto extract_sfmt_fbne; - case 12 : itype = FRVBF_INSN_FBLE; goto extract_sfmt_fbne; - case 13 : itype = FRVBF_INSN_FBULE; goto extract_sfmt_fbne; - case 14 : itype = FRVBF_INSN_FBO; goto extract_sfmt_fbne; - case 15 : + case 1: itype = FRVBF_INSN_FBU; goto extract_sfmt_fbne; + case 2: itype = FRVBF_INSN_FBGT; goto extract_sfmt_fbne; + case 3: itype = FRVBF_INSN_FBUG; goto extract_sfmt_fbne; + case 4: itype = FRVBF_INSN_FBLT; goto extract_sfmt_fbne; + case 5: itype = FRVBF_INSN_FBUL; goto extract_sfmt_fbne; + case 6: itype = FRVBF_INSN_FBLG; goto extract_sfmt_fbne; + case 7: itype = FRVBF_INSN_FBNE; goto extract_sfmt_fbne; + case 8: itype = FRVBF_INSN_FBEQ; goto extract_sfmt_fbne; + case 9: itype = FRVBF_INSN_FBUE; goto extract_sfmt_fbne; + case 10: itype = FRVBF_INSN_FBGE; goto extract_sfmt_fbne; + case 11: itype = FRVBF_INSN_FBUGE; goto extract_sfmt_fbne; + case 12: itype = FRVBF_INSN_FBLE; goto extract_sfmt_fbne; + case 13: itype = FRVBF_INSN_FBULE; goto extract_sfmt_fbne; + case 14: itype = FRVBF_INSN_FBO; goto extract_sfmt_fbne; + case 15: if ((entire_insn & 0x7ffc0000) == 0x781c0000) { itype = FRVBF_INSN_FBRA; goto extract_sfmt_fbra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 8 : + case 8: { unsigned int val1 = (((insn >> 27) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x79ffffff) == 0x200000) { itype = FRVBF_INSN_CKNO; goto extract_sfmt_ckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x79fffffc) == 0x8200000) { itype = FRVBF_INSN_CKC; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x79fffffc) == 0x10200000) { itype = FRVBF_INSN_CKV; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x79fffffc) == 0x18200000) { itype = FRVBF_INSN_CKLT; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x79fffffc) == 0x20200000) { itype = FRVBF_INSN_CKEQ; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x79fffffc) == 0x28200000) { itype = FRVBF_INSN_CKLS; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x79fffffc) == 0x30200000) { itype = FRVBF_INSN_CKN; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x79fffffc) == 0x38200000) { itype = FRVBF_INSN_CKLE; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x79ffffff) == 0x40200000) { itype = FRVBF_INSN_CKRA; goto extract_sfmt_ckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x79fffffc) == 0x48200000) { itype = FRVBF_INSN_CKNC; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x79fffffc) == 0x50200000) { itype = FRVBF_INSN_CKNV; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0x79fffffc) == 0x58200000) { itype = FRVBF_INSN_CKGE; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x79fffffc) == 0x60200000) { itype = FRVBF_INSN_CKNE; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x79fffffc) == 0x68200000) { itype = FRVBF_INSN_CKHI; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x79fffffc) == 0x70200000) { itype = FRVBF_INSN_CKP; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x79fffffc) == 0x78200000) { itype = FRVBF_INSN_CKGT; goto extract_sfmt_ckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 9 : + case 9: { unsigned int val1 = (((insn >> 27) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x79fffffc) == 0x240000) { itype = FRVBF_INSN_FCKNO; goto extract_sfmt_fckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x79fffffc) == 0x8240000) { itype = FRVBF_INSN_FCKU; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x79fffffc) == 0x10240000) { itype = FRVBF_INSN_FCKGT; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x79fffffc) == 0x18240000) { itype = FRVBF_INSN_FCKUG; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x79fffffc) == 0x20240000) { itype = FRVBF_INSN_FCKLT; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x79fffffc) == 0x28240000) { itype = FRVBF_INSN_FCKUL; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x79fffffc) == 0x30240000) { itype = FRVBF_INSN_FCKLG; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x79fffffc) == 0x38240000) { itype = FRVBF_INSN_FCKNE; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x79fffffc) == 0x40240000) { itype = FRVBF_INSN_FCKEQ; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x79fffffc) == 0x48240000) { itype = FRVBF_INSN_FCKUE; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x79fffffc) == 0x50240000) { itype = FRVBF_INSN_FCKGE; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0x79fffffc) == 0x58240000) { itype = FRVBF_INSN_FCKUGE; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x79fffffc) == 0x60240000) { itype = FRVBF_INSN_FCKLE; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x79fffffc) == 0x68240000) { itype = FRVBF_INSN_FCKULE; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x79fffffc) == 0x70240000) { itype = FRVBF_INSN_FCKO; goto extract_sfmt_fckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x79fffffc) == 0x78240000) { itype = FRVBF_INSN_FCKRA; goto extract_sfmt_fckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 10 : + case 10: { unsigned int val1 = (((insn >> 6) & (31 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1ffffff) == 0x280000) { itype = FRVBF_INSN_CLRGR; goto extract_sfmt_clrgr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7fffffff) == 0x280040) { itype = FRVBF_INSN_CLRGA; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1ffffff) == 0x280080) { itype = FRVBF_INSN_CLRFR; goto extract_sfmt_clrfr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x7fffffff) == 0x2800c0) { itype = FRVBF_INSN_CLRFA; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x1ffffff) == 0x280100) { itype = FRVBF_INSN_COMMITGR; goto extract_sfmt_commitgr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x7fffffff) == 0x280140) { itype = FRVBF_INSN_COMMITGA; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x1ffffff) == 0x280180) { itype = FRVBF_INSN_COMMITFR; goto extract_sfmt_commitfr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x7fffffff) == 0x2801c0) { itype = FRVBF_INSN_COMMITFA; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x71ff8ff8) == 0x280200) { itype = FRVBF_INSN_ANDCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x71ff8ff8) == 0x280240) { itype = FRVBF_INSN_ORCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x71ff8ff8) == 0x280280) { itype = FRVBF_INSN_XORCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0x71fffff8) == 0x2802c0) { itype = FRVBF_INSN_NOTCR; goto extract_sfmt_notcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x71ff8ff8) == 0x280300) { itype = FRVBF_INSN_NANDCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x71ff8ff8) == 0x280340) { itype = FRVBF_INSN_NORCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: if ((entire_insn & 0x71ff8ff8) == 0x280400) { itype = FRVBF_INSN_ANDNCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 17 : + case 17: if ((entire_insn & 0x71ff8ff8) == 0x280440) { itype = FRVBF_INSN_ORNCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 20 : + case 20: if ((entire_insn & 0x71ff8ff8) == 0x280500) { itype = FRVBF_INSN_NANDNCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 21 : + case 21: if ((entire_insn & 0x71ff8ff8) == 0x280540) { itype = FRVBF_INSN_NORNCR; goto extract_sfmt_andcr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 11 : + case 11: if ((entire_insn & 0x1fc0fc0) == 0x2c0000) { itype = FRVBF_INSN_SCAN; goto extract_sfmt_add; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: { unsigned int val1 = (((insn >> 25) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7ffc0fc0) == 0x300000) { itype = FRVBF_INSN_JMPL; goto extract_sfmt_jmpl; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7ffc0fc0) == 0x2300000) { itype = FRVBF_INSN_CALLL; goto extract_sfmt_calll; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 13 : + case 13: { unsigned int val1 = (((insn >> 25) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7ffc0000) == 0x340000) { itype = FRVBF_INSN_JMPIL; goto extract_sfmt_jmpil; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7ffc0000) == 0x2340000) { itype = FRVBF_INSN_CALLIL; goto extract_sfmt_callil; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 14 : + case 14: { unsigned int val1 = (((insn >> 25) & (15 << 2)) | ((insn >> 14) & (1 << 1)) | ((insn >> 13) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7ffcffff) == 0x384000) { itype = FRVBF_INSN_BNOLR; goto extract_sfmt_bnolr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: { unsigned int val2 = (((insn >> 14) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x7ffcefff) == 0x382000) { itype = FRVBF_INSN_BCTRLR; goto extract_sfmt_bctrlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7ffcffff) == 0x386000) { itype = FRVBF_INSN_BCNOLR; goto extract_sfmt_bcnolr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 2 : + case 2: if ((entire_insn & 0x7ffcffff) == 0x38c000) { itype = FRVBF_INSN_FBNOLR; goto extract_sfmt_fbnolr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x7ffcffff) == 0x38e000) { itype = FRVBF_INSN_FCBNOLR; goto extract_sfmt_fcbnolr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x79fcffff) == 0x8384000) { itype = FRVBF_INSN_BCLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x79fcefff) == 0x8386000) { itype = FRVBF_INSN_BCCLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x79fcffff) == 0x838c000) { itype = FRVBF_INSN_FBULR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x79fcefff) == 0x838e000) { itype = FRVBF_INSN_FCBULR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x79fcffff) == 0x10384000) { itype = FRVBF_INSN_BVLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x79fcefff) == 0x10386000) { itype = FRVBF_INSN_BCVLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x79fcffff) == 0x1038c000) { itype = FRVBF_INSN_FBGTLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0x79fcefff) == 0x1038e000) { itype = FRVBF_INSN_FCBGTLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x79fcffff) == 0x18384000) { itype = FRVBF_INSN_BLTLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x79fcefff) == 0x18386000) { itype = FRVBF_INSN_BCLTLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x79fcffff) == 0x1838c000) { itype = FRVBF_INSN_FBUGLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x79fcefff) == 0x1838e000) { itype = FRVBF_INSN_FCBUGLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: if ((entire_insn & 0x79fcffff) == 0x20384000) { itype = FRVBF_INSN_BEQLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 17 : + case 17: if ((entire_insn & 0x79fcefff) == 0x20386000) { itype = FRVBF_INSN_BCEQLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 18 : + case 18: if ((entire_insn & 0x79fcffff) == 0x2038c000) { itype = FRVBF_INSN_FBLTLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 19 : + case 19: if ((entire_insn & 0x79fcefff) == 0x2038e000) { itype = FRVBF_INSN_FCBLTLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 20 : + case 20: if ((entire_insn & 0x79fcffff) == 0x28384000) { itype = FRVBF_INSN_BLSLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 21 : + case 21: if ((entire_insn & 0x79fcefff) == 0x28386000) { itype = FRVBF_INSN_BCLSLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 22 : + case 22: if ((entire_insn & 0x79fcffff) == 0x2838c000) { itype = FRVBF_INSN_FBULLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 23 : + case 23: if ((entire_insn & 0x79fcefff) == 0x2838e000) { itype = FRVBF_INSN_FCBULLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : + case 24: if ((entire_insn & 0x79fcffff) == 0x30384000) { itype = FRVBF_INSN_BNLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 25 : + case 25: if ((entire_insn & 0x79fcefff) == 0x30386000) { itype = FRVBF_INSN_BCNLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 26 : + case 26: if ((entire_insn & 0x79fcffff) == 0x3038c000) { itype = FRVBF_INSN_FBLGLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 27 : + case 27: if ((entire_insn & 0x79fcefff) == 0x3038e000) { itype = FRVBF_INSN_FCBLGLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 28 : + case 28: if ((entire_insn & 0x79fcffff) == 0x38384000) { itype = FRVBF_INSN_BLELR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 29 : + case 29: if ((entire_insn & 0x79fcefff) == 0x38386000) { itype = FRVBF_INSN_BCLELR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 30 : + case 30: if ((entire_insn & 0x79fcffff) == 0x3838c000) { itype = FRVBF_INSN_FBNELR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 31 : + case 31: if ((entire_insn & 0x79fcefff) == 0x3838e000) { itype = FRVBF_INSN_FCBNELR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : + case 32: if ((entire_insn & 0x7ffcffff) == 0x40384000) { itype = FRVBF_INSN_BRALR; goto extract_sfmt_bralr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 33 : + case 33: if ((entire_insn & 0x7ffcefff) == 0x40386000) { itype = FRVBF_INSN_BCRALR; goto extract_sfmt_bcralr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 34 : + case 34: if ((entire_insn & 0x79fcffff) == 0x4038c000) { itype = FRVBF_INSN_FBEQLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 35 : + case 35: if ((entire_insn & 0x79fcefff) == 0x4038e000) { itype = FRVBF_INSN_FCBEQLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : + case 36: if ((entire_insn & 0x79fcffff) == 0x48384000) { itype = FRVBF_INSN_BNCLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 37 : + case 37: if ((entire_insn & 0x79fcefff) == 0x48386000) { itype = FRVBF_INSN_BCNCLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 38 : + case 38: if ((entire_insn & 0x79fcffff) == 0x4838c000) { itype = FRVBF_INSN_FBUELR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 39 : + case 39: if ((entire_insn & 0x79fcefff) == 0x4838e000) { itype = FRVBF_INSN_FCBUELR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 40 : + case 40: if ((entire_insn & 0x79fcffff) == 0x50384000) { itype = FRVBF_INSN_BNVLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 41 : + case 41: if ((entire_insn & 0x79fcefff) == 0x50386000) { itype = FRVBF_INSN_BCNVLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 42 : + case 42: if ((entire_insn & 0x79fcffff) == 0x5038c000) { itype = FRVBF_INSN_FBGELR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 43 : + case 43: if ((entire_insn & 0x79fcefff) == 0x5038e000) { itype = FRVBF_INSN_FCBGELR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 44 : + case 44: if ((entire_insn & 0x79fcffff) == 0x58384000) { itype = FRVBF_INSN_BGELR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 45 : + case 45: if ((entire_insn & 0x79fcefff) == 0x58386000) { itype = FRVBF_INSN_BCGELR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 46 : + case 46: if ((entire_insn & 0x79fcffff) == 0x5838c000) { itype = FRVBF_INSN_FBUGELR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 47 : + case 47: if ((entire_insn & 0x79fcefff) == 0x5838e000) { itype = FRVBF_INSN_FCBUGELR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 48 : + case 48: if ((entire_insn & 0x79fcffff) == 0x60384000) { itype = FRVBF_INSN_BNELR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 49 : + case 49: if ((entire_insn & 0x79fcefff) == 0x60386000) { itype = FRVBF_INSN_BCNELR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 50 : + case 50: if ((entire_insn & 0x79fcffff) == 0x6038c000) { itype = FRVBF_INSN_FBLELR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 51 : + case 51: if ((entire_insn & 0x79fcefff) == 0x6038e000) { itype = FRVBF_INSN_FCBLELR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 52 : + case 52: if ((entire_insn & 0x79fcffff) == 0x68384000) { itype = FRVBF_INSN_BHILR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 53 : + case 53: if ((entire_insn & 0x79fcefff) == 0x68386000) { itype = FRVBF_INSN_BCHILR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 54 : + case 54: if ((entire_insn & 0x79fcffff) == 0x6838c000) { itype = FRVBF_INSN_FBULELR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 55 : + case 55: if ((entire_insn & 0x79fcefff) == 0x6838e000) { itype = FRVBF_INSN_FCBULELR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 56 : + case 56: if ((entire_insn & 0x79fcffff) == 0x70384000) { itype = FRVBF_INSN_BPLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 57 : + case 57: if ((entire_insn & 0x79fcefff) == 0x70386000) { itype = FRVBF_INSN_BCPLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 58 : + case 58: if ((entire_insn & 0x79fcffff) == 0x7038c000) { itype = FRVBF_INSN_FBOLR; goto extract_sfmt_fbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 59 : + case 59: if ((entire_insn & 0x79fcefff) == 0x7038e000) { itype = FRVBF_INSN_FCBOLR; goto extract_sfmt_fcbeqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 60 : + case 60: if ((entire_insn & 0x79fcffff) == 0x78384000) { itype = FRVBF_INSN_BGTLR; goto extract_sfmt_beqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 61 : + case 61: if ((entire_insn & 0x79fcefff) == 0x78386000) { itype = FRVBF_INSN_BCGTLR; goto extract_sfmt_bceqlr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 62 : + case 62: if ((entire_insn & 0x7ffcffff) == 0x7838c000) { itype = FRVBF_INSN_FBRALR; goto extract_sfmt_fbralr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 63 : + case 63: if ((entire_insn & 0x7ffcefff) == 0x7838e000) { itype = FRVBF_INSN_FCBRALR; goto extract_sfmt_fcbralr; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 15 : itype = FRVBF_INSN_CALL; goto extract_sfmt_call; - case 16 : itype = FRVBF_INSN_ADDI; goto extract_sfmt_addi; - case 17 : itype = FRVBF_INSN_ADDICC; goto extract_sfmt_addicc; - case 18 : itype = FRVBF_INSN_ADDXI; goto extract_sfmt_addxi; - case 19 : itype = FRVBF_INSN_ADDXICC; goto extract_sfmt_addicc; - case 20 : itype = FRVBF_INSN_SUBI; goto extract_sfmt_addi; - case 21 : itype = FRVBF_INSN_SUBICC; goto extract_sfmt_addicc; - case 22 : itype = FRVBF_INSN_SUBXI; goto extract_sfmt_addxi; - case 23 : itype = FRVBF_INSN_SUBXICC; goto extract_sfmt_addicc; - case 24 : itype = FRVBF_INSN_SMULI; goto extract_sfmt_smuli; - case 25 : itype = FRVBF_INSN_SMULICC; goto extract_sfmt_smulicc; - case 26 : itype = FRVBF_INSN_UMULI; goto extract_sfmt_smuli; - case 27 : itype = FRVBF_INSN_UMULICC; goto extract_sfmt_smulicc; - case 28 : + case 15: itype = FRVBF_INSN_CALL; goto extract_sfmt_call; + case 16: itype = FRVBF_INSN_ADDI; goto extract_sfmt_addi; + case 17: itype = FRVBF_INSN_ADDICC; goto extract_sfmt_addicc; + case 18: itype = FRVBF_INSN_ADDXI; goto extract_sfmt_addxi; + case 19: itype = FRVBF_INSN_ADDXICC; goto extract_sfmt_addicc; + case 20: itype = FRVBF_INSN_SUBI; goto extract_sfmt_addi; + case 21: itype = FRVBF_INSN_SUBICC; goto extract_sfmt_addicc; + case 22: itype = FRVBF_INSN_SUBXI; goto extract_sfmt_addxi; + case 23: itype = FRVBF_INSN_SUBXICC; goto extract_sfmt_addicc; + case 24: itype = FRVBF_INSN_SMULI; goto extract_sfmt_smuli; + case 25: itype = FRVBF_INSN_SMULICC; goto extract_sfmt_smulicc; + case 26: itype = FRVBF_INSN_UMULI; goto extract_sfmt_smuli; + case 27: itype = FRVBF_INSN_UMULICC; goto extract_sfmt_smulicc; + case 28: { unsigned int val1 = (((insn >> 27) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7fffffff) == 0x700000) { itype = FRVBF_INSN_TINO; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_TIC; goto extract_sfmt_tieq; - case 2 : itype = FRVBF_INSN_TIV; goto extract_sfmt_tieq; - case 3 : itype = FRVBF_INSN_TILT; goto extract_sfmt_tieq; - case 4 : itype = FRVBF_INSN_TIEQ; goto extract_sfmt_tieq; - case 5 : itype = FRVBF_INSN_TILS; goto extract_sfmt_tieq; - case 6 : itype = FRVBF_INSN_TIN; goto extract_sfmt_tieq; - case 7 : itype = FRVBF_INSN_TILE; goto extract_sfmt_tieq; - case 8 : + case 1: itype = FRVBF_INSN_TIC; goto extract_sfmt_tieq; + case 2: itype = FRVBF_INSN_TIV; goto extract_sfmt_tieq; + case 3: itype = FRVBF_INSN_TILT; goto extract_sfmt_tieq; + case 4: itype = FRVBF_INSN_TIEQ; goto extract_sfmt_tieq; + case 5: itype = FRVBF_INSN_TILS; goto extract_sfmt_tieq; + case 6: itype = FRVBF_INSN_TIN; goto extract_sfmt_tieq; + case 7: itype = FRVBF_INSN_TILE; goto extract_sfmt_tieq; + case 8: if ((entire_insn & 0x7ffc0000) == 0x40700000) { itype = FRVBF_INSN_TIRA; goto extract_sfmt_tira; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : itype = FRVBF_INSN_TINC; goto extract_sfmt_tieq; - case 10 : itype = FRVBF_INSN_TINV; goto extract_sfmt_tieq; - case 11 : itype = FRVBF_INSN_TIGE; goto extract_sfmt_tieq; - case 12 : itype = FRVBF_INSN_TINE; goto extract_sfmt_tieq; - case 13 : itype = FRVBF_INSN_TIHI; goto extract_sfmt_tieq; - case 14 : itype = FRVBF_INSN_TIP; goto extract_sfmt_tieq; - case 15 : itype = FRVBF_INSN_TIGT; goto extract_sfmt_tieq; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 9: itype = FRVBF_INSN_TINC; goto extract_sfmt_tieq; + case 10: itype = FRVBF_INSN_TINV; goto extract_sfmt_tieq; + case 11: itype = FRVBF_INSN_TIGE; goto extract_sfmt_tieq; + case 12: itype = FRVBF_INSN_TINE; goto extract_sfmt_tieq; + case 13: itype = FRVBF_INSN_TIHI; goto extract_sfmt_tieq; + case 14: itype = FRVBF_INSN_TIP; goto extract_sfmt_tieq; + case 15: itype = FRVBF_INSN_TIGT; goto extract_sfmt_tieq; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 29 : + case 29: { unsigned int val1 = (((insn >> 27) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x7fffffff) == 0x740000) { itype = FRVBF_INSN_FTINO; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FTIU; goto extract_sfmt_ftine; - case 2 : itype = FRVBF_INSN_FTIGT; goto extract_sfmt_ftine; - case 3 : itype = FRVBF_INSN_FTIUG; goto extract_sfmt_ftine; - case 4 : itype = FRVBF_INSN_FTILT; goto extract_sfmt_ftine; - case 5 : itype = FRVBF_INSN_FTIUL; goto extract_sfmt_ftine; - case 6 : itype = FRVBF_INSN_FTILG; goto extract_sfmt_ftine; - case 7 : itype = FRVBF_INSN_FTINE; goto extract_sfmt_ftine; - case 8 : itype = FRVBF_INSN_FTIEQ; goto extract_sfmt_ftine; - case 9 : itype = FRVBF_INSN_FTIUE; goto extract_sfmt_ftine; - case 10 : itype = FRVBF_INSN_FTIGE; goto extract_sfmt_ftine; - case 11 : itype = FRVBF_INSN_FTIUGE; goto extract_sfmt_ftine; - case 12 : itype = FRVBF_INSN_FTILE; goto extract_sfmt_ftine; - case 13 : itype = FRVBF_INSN_FTIULE; goto extract_sfmt_ftine; - case 14 : itype = FRVBF_INSN_FTIO; goto extract_sfmt_ftine; - case 15 : + case 1: itype = FRVBF_INSN_FTIU; goto extract_sfmt_ftine; + case 2: itype = FRVBF_INSN_FTIGT; goto extract_sfmt_ftine; + case 3: itype = FRVBF_INSN_FTIUG; goto extract_sfmt_ftine; + case 4: itype = FRVBF_INSN_FTILT; goto extract_sfmt_ftine; + case 5: itype = FRVBF_INSN_FTIUL; goto extract_sfmt_ftine; + case 6: itype = FRVBF_INSN_FTILG; goto extract_sfmt_ftine; + case 7: itype = FRVBF_INSN_FTINE; goto extract_sfmt_ftine; + case 8: itype = FRVBF_INSN_FTIEQ; goto extract_sfmt_ftine; + case 9: itype = FRVBF_INSN_FTIUE; goto extract_sfmt_ftine; + case 10: itype = FRVBF_INSN_FTIGE; goto extract_sfmt_ftine; + case 11: itype = FRVBF_INSN_FTIUGE; goto extract_sfmt_ftine; + case 12: itype = FRVBF_INSN_FTILE; goto extract_sfmt_ftine; + case 13: itype = FRVBF_INSN_FTIULE; goto extract_sfmt_ftine; + case 14: itype = FRVBF_INSN_FTIO; goto extract_sfmt_ftine; + case 15: if ((entire_insn & 0x7ffc0000) == 0x78740000) { itype = FRVBF_INSN_FTIRA; goto extract_sfmt_ftira; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 30 : itype = FRVBF_INSN_SDIVI; goto extract_sfmt_sdivi; - case 31 : itype = FRVBF_INSN_UDIVI; goto extract_sfmt_sdivi; - case 32 : itype = FRVBF_INSN_ANDI; goto extract_sfmt_addi; - case 33 : itype = FRVBF_INSN_ANDICC; goto extract_sfmt_andicc; - case 34 : itype = FRVBF_INSN_ORI; goto extract_sfmt_addi; - case 35 : itype = FRVBF_INSN_ORICC; goto extract_sfmt_andicc; - case 36 : itype = FRVBF_INSN_XORI; goto extract_sfmt_addi; - case 37 : itype = FRVBF_INSN_XORICC; goto extract_sfmt_andicc; - case 40 : itype = FRVBF_INSN_SLLI; goto extract_sfmt_addi; - case 41 : itype = FRVBF_INSN_SLLICC; goto extract_sfmt_addicc; - case 42 : itype = FRVBF_INSN_SRLI; goto extract_sfmt_addi; - case 43 : itype = FRVBF_INSN_SRLICC; goto extract_sfmt_addicc; - case 44 : itype = FRVBF_INSN_SRAI; goto extract_sfmt_addi; - case 45 : itype = FRVBF_INSN_SRAICC; goto extract_sfmt_addicc; - case 46 : itype = FRVBF_INSN_NSDIVI; goto extract_sfmt_sdivi; - case 47 : itype = FRVBF_INSN_NUDIVI; goto extract_sfmt_sdivi; - case 48 : itype = FRVBF_INSN_LDSBI; goto extract_sfmt_ldsbi; - case 49 : itype = FRVBF_INSN_LDSHI; goto extract_sfmt_ldsbi; - case 50 : itype = FRVBF_INSN_LDI; goto extract_sfmt_ldsbi; - case 51 : itype = FRVBF_INSN_LDDI; goto extract_sfmt_lddi; - case 52 : itype = FRVBF_INSN_LDQI; goto extract_sfmt_ldqi; - case 53 : itype = FRVBF_INSN_LDUBI; goto extract_sfmt_ldsbi; - case 54 : itype = FRVBF_INSN_LDUHI; goto extract_sfmt_ldsbi; - case 55 : + case 30: itype = FRVBF_INSN_SDIVI; goto extract_sfmt_sdivi; + case 31: itype = FRVBF_INSN_UDIVI; goto extract_sfmt_sdivi; + case 32: itype = FRVBF_INSN_ANDI; goto extract_sfmt_addi; + case 33: itype = FRVBF_INSN_ANDICC; goto extract_sfmt_andicc; + case 34: itype = FRVBF_INSN_ORI; goto extract_sfmt_addi; + case 35: itype = FRVBF_INSN_ORICC; goto extract_sfmt_andicc; + case 36: itype = FRVBF_INSN_XORI; goto extract_sfmt_addi; + case 37: itype = FRVBF_INSN_XORICC; goto extract_sfmt_andicc; + case 40: itype = FRVBF_INSN_SLLI; goto extract_sfmt_addi; + case 41: itype = FRVBF_INSN_SLLICC; goto extract_sfmt_addicc; + case 42: itype = FRVBF_INSN_SRLI; goto extract_sfmt_addi; + case 43: itype = FRVBF_INSN_SRLICC; goto extract_sfmt_addicc; + case 44: itype = FRVBF_INSN_SRAI; goto extract_sfmt_addi; + case 45: itype = FRVBF_INSN_SRAICC; goto extract_sfmt_addicc; + case 46: itype = FRVBF_INSN_NSDIVI; goto extract_sfmt_sdivi; + case 47: itype = FRVBF_INSN_NUDIVI; goto extract_sfmt_sdivi; + case 48: itype = FRVBF_INSN_LDSBI; goto extract_sfmt_ldsbi; + case 49: itype = FRVBF_INSN_LDSHI; goto extract_sfmt_ldsbi; + case 50: itype = FRVBF_INSN_LDI; goto extract_sfmt_ldsbi; + case 51: itype = FRVBF_INSN_LDDI; goto extract_sfmt_lddi; + case 52: itype = FRVBF_INSN_LDQI; goto extract_sfmt_ldqi; + case 53: itype = FRVBF_INSN_LDUBI; goto extract_sfmt_ldsbi; + case 54: itype = FRVBF_INSN_LDUHI; goto extract_sfmt_ldsbi; + case 55: if ((entire_insn & 0x7ffc0fff) == 0xdc0000) { itype = FRVBF_INSN_REI; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 56 : itype = FRVBF_INSN_LDBFI; goto extract_sfmt_ldbfi; - case 57 : itype = FRVBF_INSN_LDHFI; goto extract_sfmt_ldbfi; - case 58 : itype = FRVBF_INSN_LDFI; goto extract_sfmt_ldbfi; - case 59 : itype = FRVBF_INSN_LDDFI; goto extract_sfmt_lddfi; - case 60 : itype = FRVBF_INSN_LDQFI; goto extract_sfmt_ldqfi; - case 61 : + case 56: itype = FRVBF_INSN_LDBFI; goto extract_sfmt_ldbfi; + case 57: itype = FRVBF_INSN_LDHFI; goto extract_sfmt_ldbfi; + case 58: itype = FRVBF_INSN_LDFI; goto extract_sfmt_ldbfi; + case 59: itype = FRVBF_INSN_LDDFI; goto extract_sfmt_lddfi; + case 60: itype = FRVBF_INSN_LDQFI; goto extract_sfmt_ldqfi; + case 61: if ((entire_insn & 0x1ff0000) == 0xf40000) { itype = FRVBF_INSN_SETLO; goto extract_sfmt_setlo; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 62 : + case 62: if ((entire_insn & 0x1ff0000) == 0xf80000) { itype = FRVBF_INSN_SETHI; goto extract_sfmt_sethi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 63 : + case 63: if ((entire_insn & 0x1ff0000) == 0xfc0000) { itype = FRVBF_INSN_SETLOS; goto extract_sfmt_setlos; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 64 : itype = FRVBF_INSN_NLDSBI; goto extract_sfmt_nldsbi; - case 65 : itype = FRVBF_INSN_NLDUBI; goto extract_sfmt_nldsbi; - case 66 : itype = FRVBF_INSN_NLDSHI; goto extract_sfmt_nldsbi; - case 67 : itype = FRVBF_INSN_NLDUHI; goto extract_sfmt_nldsbi; - case 68 : itype = FRVBF_INSN_NLDI; goto extract_sfmt_nldsbi; - case 69 : itype = FRVBF_INSN_NLDDI; goto extract_sfmt_nlddi; - case 70 : + case 64: itype = FRVBF_INSN_NLDSBI; goto extract_sfmt_nldsbi; + case 65: itype = FRVBF_INSN_NLDUBI; goto extract_sfmt_nldsbi; + case 66: itype = FRVBF_INSN_NLDSHI; goto extract_sfmt_nldsbi; + case 67: itype = FRVBF_INSN_NLDUHI; goto extract_sfmt_nldsbi; + case 68: itype = FRVBF_INSN_NLDI; goto extract_sfmt_nldsbi; + case 69: itype = FRVBF_INSN_NLDDI; goto extract_sfmt_nlddi; + case 70: { unsigned int val1 = (((insn >> 6) & (7 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fc0fc0) == 0x1180000) { itype = FRVBF_INSN_ADDSS; goto extract_sfmt_slass; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1fc0fc0) == 0x1180040) { itype = FRVBF_INSN_SUBSS; goto extract_sfmt_slass; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1fc0fc0) == 0x1180080) { itype = FRVBF_INSN_SLASS; goto extract_sfmt_slass; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x1ffffc0) == 0x1180100) { itype = FRVBF_INSN_SCUTSS; goto extract_sfmt_scutss; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x7ffc0fc0) == 0x1180140) { itype = FRVBF_INSN_SMU; goto extract_sfmt_smu; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x7ffc0fc0) == 0x1180180) { itype = FRVBF_INSN_SMASS; goto extract_sfmt_smass; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x7ffc0fc0) == 0x11801c0) { itype = FRVBF_INSN_SMSSS; goto extract_sfmt_smass; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 71 : itype = FRVBF_INSN_SCANI; goto extract_sfmt_addi; - case 72 : itype = FRVBF_INSN_NLDBFI; goto extract_sfmt_nldbfi; - case 73 : itype = FRVBF_INSN_NLDHFI; goto extract_sfmt_nldbfi; - case 74 : itype = FRVBF_INSN_NLDFI; goto extract_sfmt_nldbfi; - case 75 : itype = FRVBF_INSN_NLDDFI; goto extract_sfmt_nlddfi; - case 76 : itype = FRVBF_INSN_NLDQFI; goto extract_sfmt_nldqfi; - case 77 : itype = FRVBF_INSN_SWAPI; goto extract_sfmt_swapi; - case 78 : itype = FRVBF_INSN_STBFI; goto extract_sfmt_stbfi; - case 79 : itype = FRVBF_INSN_STHFI; goto extract_sfmt_stbfi; - case 80 : itype = FRVBF_INSN_STBI; goto extract_sfmt_stbi; - case 81 : itype = FRVBF_INSN_STHI; goto extract_sfmt_stbi; - case 82 : itype = FRVBF_INSN_STI; goto extract_sfmt_stbi; - case 83 : itype = FRVBF_INSN_STDI; goto extract_sfmt_stdi; - case 84 : itype = FRVBF_INSN_STQI; goto extract_sfmt_ldqi; - case 85 : itype = FRVBF_INSN_STFI; goto extract_sfmt_stbfi; - case 86 : itype = FRVBF_INSN_STDFI; goto extract_sfmt_stdfi; - case 87 : itype = FRVBF_INSN_STQFI; goto extract_sfmt_ldqfi; - case 88 : + case 71: itype = FRVBF_INSN_SCANI; goto extract_sfmt_addi; + case 72: itype = FRVBF_INSN_NLDBFI; goto extract_sfmt_nldbfi; + case 73: itype = FRVBF_INSN_NLDHFI; goto extract_sfmt_nldbfi; + case 74: itype = FRVBF_INSN_NLDFI; goto extract_sfmt_nldbfi; + case 75: itype = FRVBF_INSN_NLDDFI; goto extract_sfmt_nlddfi; + case 76: itype = FRVBF_INSN_NLDQFI; goto extract_sfmt_nldqfi; + case 77: itype = FRVBF_INSN_SWAPI; goto extract_sfmt_swapi; + case 78: itype = FRVBF_INSN_STBFI; goto extract_sfmt_stbfi; + case 79: itype = FRVBF_INSN_STHFI; goto extract_sfmt_stbfi; + case 80: itype = FRVBF_INSN_STBI; goto extract_sfmt_stbi; + case 81: itype = FRVBF_INSN_STHI; goto extract_sfmt_stbi; + case 82: itype = FRVBF_INSN_STI; goto extract_sfmt_stbi; + case 83: itype = FRVBF_INSN_STDI; goto extract_sfmt_stdi; + case 84: itype = FRVBF_INSN_STQI; goto extract_sfmt_ldqi; + case 85: itype = FRVBF_INSN_STFI; goto extract_sfmt_stbfi; + case 86: itype = FRVBF_INSN_STDFI; goto extract_sfmt_stdfi; + case 87: itype = FRVBF_INSN_STQFI; goto extract_sfmt_ldqfi; + case 88: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CADD; goto extract_sfmt_cadd; - case 1 : itype = FRVBF_INSN_CSUB; goto extract_sfmt_cadd; - case 2 : itype = FRVBF_INSN_CSMUL; goto extract_sfmt_csmul; - case 3 : itype = FRVBF_INSN_CSDIV; goto extract_sfmt_csdiv; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CADD; goto extract_sfmt_cadd; + case 1: itype = FRVBF_INSN_CSUB; goto extract_sfmt_cadd; + case 2: itype = FRVBF_INSN_CSMUL; goto extract_sfmt_csmul; + case 3: itype = FRVBF_INSN_CSDIV; goto extract_sfmt_csdiv; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 89 : + case 89: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CADDCC; goto extract_sfmt_caddcc; - case 1 : itype = FRVBF_INSN_CSUBCC; goto extract_sfmt_caddcc; - case 2 : itype = FRVBF_INSN_CSMULCC; goto extract_sfmt_csmulcc; - case 3 : itype = FRVBF_INSN_CUDIV; goto extract_sfmt_csdiv; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CADDCC; goto extract_sfmt_caddcc; + case 1: itype = FRVBF_INSN_CSUBCC; goto extract_sfmt_caddcc; + case 2: itype = FRVBF_INSN_CSMULCC; goto extract_sfmt_csmulcc; + case 3: itype = FRVBF_INSN_CUDIV; goto extract_sfmt_csdiv; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 90 : + case 90: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CAND; goto extract_sfmt_cadd; - case 1 : itype = FRVBF_INSN_COR; goto extract_sfmt_cadd; - case 2 : itype = FRVBF_INSN_CXOR; goto extract_sfmt_cadd; - case 3 : + case 0: itype = FRVBF_INSN_CAND; goto extract_sfmt_cadd; + case 1: itype = FRVBF_INSN_COR; goto extract_sfmt_cadd; + case 2: itype = FRVBF_INSN_CXOR; goto extract_sfmt_cadd; + case 3: if ((entire_insn & 0x1fff0c0) == 0x16800c0) { itype = FRVBF_INSN_CNOT; goto extract_sfmt_cnot; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 91 : + case 91: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CANDCC; goto extract_sfmt_caddcc; - case 1 : itype = FRVBF_INSN_CORCC; goto extract_sfmt_caddcc; - case 2 : itype = FRVBF_INSN_CXORCC; goto extract_sfmt_caddcc; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CANDCC; goto extract_sfmt_caddcc; + case 1: itype = FRVBF_INSN_CORCC; goto extract_sfmt_caddcc; + case 2: itype = FRVBF_INSN_CXORCC; goto extract_sfmt_caddcc; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 92 : + case 92: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSLL; goto extract_sfmt_cadd; - case 1 : itype = FRVBF_INSN_CSRL; goto extract_sfmt_cadd; - case 2 : itype = FRVBF_INSN_CSRA; goto extract_sfmt_cadd; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSLL; goto extract_sfmt_cadd; + case 1: itype = FRVBF_INSN_CSRL; goto extract_sfmt_cadd; + case 2: itype = FRVBF_INSN_CSRA; goto extract_sfmt_cadd; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 93 : + case 93: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSLLCC; goto extract_sfmt_caddcc; - case 1 : itype = FRVBF_INSN_CSRLCC; goto extract_sfmt_caddcc; - case 2 : itype = FRVBF_INSN_CSRACC; goto extract_sfmt_caddcc; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSLLCC; goto extract_sfmt_caddcc; + case 1: itype = FRVBF_INSN_CSRLCC; goto extract_sfmt_caddcc; + case 2: itype = FRVBF_INSN_CSRACC; goto extract_sfmt_caddcc; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 94 : + case 94: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CLDSB; goto extract_sfmt_cldsb; - case 1 : itype = FRVBF_INSN_CLDUB; goto extract_sfmt_cldsb; - case 2 : itype = FRVBF_INSN_CLDSH; goto extract_sfmt_cldsb; - case 3 : itype = FRVBF_INSN_CLDUH; goto extract_sfmt_cldsb; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CLDSB; goto extract_sfmt_cldsb; + case 1: itype = FRVBF_INSN_CLDUB; goto extract_sfmt_cldsb; + case 2: itype = FRVBF_INSN_CLDSH; goto extract_sfmt_cldsb; + case 3: itype = FRVBF_INSN_CLDUH; goto extract_sfmt_cldsb; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 95 : + case 95: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CLD; goto extract_sfmt_cldsb; - case 1 : itype = FRVBF_INSN_CLDD; goto extract_sfmt_cldd; - case 2 : itype = FRVBF_INSN_CLDQ; goto extract_sfmt_cldq; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CLD; goto extract_sfmt_cldsb; + case 1: itype = FRVBF_INSN_CLDD; goto extract_sfmt_cldd; + case 2: itype = FRVBF_INSN_CLDQ; goto extract_sfmt_cldq; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 96 : + case 96: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CLDBF; goto extract_sfmt_cldbf; - case 1 : itype = FRVBF_INSN_CLDHF; goto extract_sfmt_cldbf; - case 2 : itype = FRVBF_INSN_CLDF; goto extract_sfmt_cldbf; - case 3 : itype = FRVBF_INSN_CLDDF; goto extract_sfmt_clddf; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CLDBF; goto extract_sfmt_cldbf; + case 1: itype = FRVBF_INSN_CLDHF; goto extract_sfmt_cldbf; + case 2: itype = FRVBF_INSN_CLDF; goto extract_sfmt_cldbf; + case 3: itype = FRVBF_INSN_CLDDF; goto extract_sfmt_clddf; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 97 : + case 97: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CLDSBU; goto extract_sfmt_cldsbu; - case 1 : itype = FRVBF_INSN_CLDUBU; goto extract_sfmt_cldsbu; - case 2 : itype = FRVBF_INSN_CLDSHU; goto extract_sfmt_cldsbu; - case 3 : itype = FRVBF_INSN_CLDUHU; goto extract_sfmt_cldsbu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CLDSBU; goto extract_sfmt_cldsbu; + case 1: itype = FRVBF_INSN_CLDUBU; goto extract_sfmt_cldsbu; + case 2: itype = FRVBF_INSN_CLDSHU; goto extract_sfmt_cldsbu; + case 3: itype = FRVBF_INSN_CLDUHU; goto extract_sfmt_cldsbu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 98 : + case 98: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CLDU; goto extract_sfmt_cldsbu; - case 1 : itype = FRVBF_INSN_CLDDU; goto extract_sfmt_clddu; - case 2 : itype = FRVBF_INSN_CLDQU; goto extract_sfmt_cldqu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CLDU; goto extract_sfmt_cldsbu; + case 1: itype = FRVBF_INSN_CLDDU; goto extract_sfmt_clddu; + case 2: itype = FRVBF_INSN_CLDQU; goto extract_sfmt_cldqu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 99 : + case 99: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CLDBFU; goto extract_sfmt_cldbfu; - case 1 : itype = FRVBF_INSN_CLDHFU; goto extract_sfmt_cldbfu; - case 2 : itype = FRVBF_INSN_CLDFU; goto extract_sfmt_cldbfu; - case 3 : itype = FRVBF_INSN_CLDDFU; goto extract_sfmt_clddfu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CLDBFU; goto extract_sfmt_cldbfu; + case 1: itype = FRVBF_INSN_CLDHFU; goto extract_sfmt_cldbfu; + case 2: itype = FRVBF_INSN_CLDFU; goto extract_sfmt_cldbfu; + case 3: itype = FRVBF_INSN_CLDDFU; goto extract_sfmt_clddfu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 100 : + case 100: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSTB; goto extract_sfmt_cstb; - case 1 : itype = FRVBF_INSN_CSTH; goto extract_sfmt_cstb; - case 2 : itype = FRVBF_INSN_CST; goto extract_sfmt_cstb; - case 3 : itype = FRVBF_INSN_CSTD; goto extract_sfmt_cstd; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSTB; goto extract_sfmt_cstb; + case 1: itype = FRVBF_INSN_CSTH; goto extract_sfmt_cstb; + case 2: itype = FRVBF_INSN_CST; goto extract_sfmt_cstb; + case 3: itype = FRVBF_INSN_CSTD; goto extract_sfmt_cstd; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 101 : + case 101: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSTQ; goto extract_sfmt_cldq; - case 2 : itype = FRVBF_INSN_CSWAP; goto extract_sfmt_cswap; - case 3 : itype = FRVBF_INSN_CSCAN; goto extract_sfmt_cadd; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSTQ; goto extract_sfmt_cldq; + case 2: itype = FRVBF_INSN_CSWAP; goto extract_sfmt_cswap; + case 3: itype = FRVBF_INSN_CSCAN; goto extract_sfmt_cadd; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 102 : + case 102: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSTBF; goto extract_sfmt_cstbf; - case 1 : itype = FRVBF_INSN_CSTHF; goto extract_sfmt_cstbf; - case 2 : itype = FRVBF_INSN_CSTF; goto extract_sfmt_cstbf; - case 3 : itype = FRVBF_INSN_CSTDF; goto extract_sfmt_cstdf; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSTBF; goto extract_sfmt_cstbf; + case 1: itype = FRVBF_INSN_CSTHF; goto extract_sfmt_cstbf; + case 2: itype = FRVBF_INSN_CSTF; goto extract_sfmt_cstbf; + case 3: itype = FRVBF_INSN_CSTDF; goto extract_sfmt_cstdf; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 103 : + case 103: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSTBU; goto extract_sfmt_cstbu; - case 1 : itype = FRVBF_INSN_CSTHU; goto extract_sfmt_cstbu; - case 2 : itype = FRVBF_INSN_CSTU; goto extract_sfmt_cstbu; - case 3 : itype = FRVBF_INSN_CSTDU; goto extract_sfmt_cstdu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSTBU; goto extract_sfmt_cstbu; + case 1: itype = FRVBF_INSN_CSTHU; goto extract_sfmt_cstbu; + case 2: itype = FRVBF_INSN_CSTU; goto extract_sfmt_cstbu; + case 3: itype = FRVBF_INSN_CSTDU; goto extract_sfmt_cstdu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 104 : + case 104: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CSTBFU; goto extract_sfmt_cstbfu; - case 1 : itype = FRVBF_INSN_CSTHFU; goto extract_sfmt_cstbfu; - case 2 : itype = FRVBF_INSN_CSTFU; goto extract_sfmt_cstbfu; - case 3 : itype = FRVBF_INSN_CSTDFU; goto extract_sfmt_cstdfu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CSTBFU; goto extract_sfmt_cstbfu; + case 1: itype = FRVBF_INSN_CSTHFU; goto extract_sfmt_cstbfu; + case 2: itype = FRVBF_INSN_CSTFU; goto extract_sfmt_cstbfu; + case 3: itype = FRVBF_INSN_CSTDFU; goto extract_sfmt_cstdfu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 105 : + case 105: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fff0c0) == 0x1a40000) { itype = FRVBF_INSN_CMOVGF; goto extract_sfmt_cmovgf; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1fff0c0) == 0x1a40040) { itype = FRVBF_INSN_CMOVGFD; goto extract_sfmt_cmovgfd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1fff0c0) == 0x1a40080) { itype = FRVBF_INSN_CMOVFG; goto extract_sfmt_cmovfg; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x1fff0c0) == 0x1a400c0) { itype = FRVBF_INSN_CMOVFGD; goto extract_sfmt_cmovfgd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 106 : + case 106: { unsigned int val1 = (((insn >> 26) & (15 << 1)) | ((insn >> 6) & (1 << 0))); switch (val1) { - case 0 : + case 0: { unsigned int val2 = (((insn >> 24) & (1 << 1)) | ((insn >> 7) & (1 << 0))); switch (val2) { - case 0 : /* fall through */ - case 2 : + case 0: + case 2: if ((entire_insn & 0x79fff0ff) == 0x1a80000) { itype = FRVBF_INSN_CCKNO; goto extract_sfmt_cckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7ffc00c0) == 0x1a80080) { itype = FRVBF_INSN_CJMPL; goto extract_sfmt_cjmpl; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x7ffc00c0) == 0x3a80080) { itype = FRVBF_INSN_CCALLL; goto extract_sfmt_ccalll; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1 : + case 1: if ((entire_insn & 0x79fff0ff) == 0x1a80040) { itype = FRVBF_INSN_CFCKNO; goto extract_sfmt_cfckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x79fff0fc) == 0x9a80000) { itype = FRVBF_INSN_CCKC; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x79fff0fc) == 0x9a80040) { itype = FRVBF_INSN_CFCKU; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x79fff0fc) == 0x11a80000) { itype = FRVBF_INSN_CCKV; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x79fff0fc) == 0x11a80040) { itype = FRVBF_INSN_CFCKGT; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x79fff0fc) == 0x19a80000) { itype = FRVBF_INSN_CCKLT; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x79fff0fc) == 0x19a80040) { itype = FRVBF_INSN_CFCKUG; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x79fff0fc) == 0x21a80000) { itype = FRVBF_INSN_CCKEQ; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x79fff0fc) == 0x21a80040) { itype = FRVBF_INSN_CFCKLT; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x79fff0fc) == 0x29a80000) { itype = FRVBF_INSN_CCKLS; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0x79fff0fc) == 0x29a80040) { itype = FRVBF_INSN_CFCKUL; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x79fff0fc) == 0x31a80000) { itype = FRVBF_INSN_CCKN; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0x79fff0fc) == 0x31a80040) { itype = FRVBF_INSN_CFCKLG; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x79fff0fc) == 0x39a80000) { itype = FRVBF_INSN_CCKLE; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x79fff0fc) == 0x39a80040) { itype = FRVBF_INSN_CFCKNE; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: if ((entire_insn & 0x79fff0ff) == 0x41a80000) { itype = FRVBF_INSN_CCKRA; goto extract_sfmt_cckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 17 : + case 17: if ((entire_insn & 0x79fff0fc) == 0x41a80040) { itype = FRVBF_INSN_CFCKEQ; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 18 : + case 18: if ((entire_insn & 0x79fff0fc) == 0x49a80000) { itype = FRVBF_INSN_CCKNC; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 19 : + case 19: if ((entire_insn & 0x79fff0fc) == 0x49a80040) { itype = FRVBF_INSN_CFCKUE; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 20 : + case 20: if ((entire_insn & 0x79fff0fc) == 0x51a80000) { itype = FRVBF_INSN_CCKNV; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 21 : + case 21: if ((entire_insn & 0x79fff0fc) == 0x51a80040) { itype = FRVBF_INSN_CFCKGE; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 22 : + case 22: if ((entire_insn & 0x79fff0fc) == 0x59a80000) { itype = FRVBF_INSN_CCKGE; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 23 : + case 23: if ((entire_insn & 0x79fff0fc) == 0x59a80040) { itype = FRVBF_INSN_CFCKUGE; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : + case 24: if ((entire_insn & 0x79fff0fc) == 0x61a80000) { itype = FRVBF_INSN_CCKNE; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 25 : + case 25: if ((entire_insn & 0x79fff0fc) == 0x61a80040) { itype = FRVBF_INSN_CFCKLE; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 26 : + case 26: if ((entire_insn & 0x79fff0fc) == 0x69a80000) { itype = FRVBF_INSN_CCKHI; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 27 : + case 27: if ((entire_insn & 0x79fff0fc) == 0x69a80040) { itype = FRVBF_INSN_CFCKULE; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 28 : + case 28: if ((entire_insn & 0x79fff0fc) == 0x71a80000) { itype = FRVBF_INSN_CCKP; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 29 : + case 29: if ((entire_insn & 0x79fff0fc) == 0x71a80040) { itype = FRVBF_INSN_CFCKO; goto extract_sfmt_cfckne; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 30 : + case 30: if ((entire_insn & 0x79fff0fc) == 0x79a80000) { itype = FRVBF_INSN_CCKGT; goto extract_sfmt_cckeq; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 31 : + case 31: if ((entire_insn & 0x79fff0ff) == 0x79a80040) { itype = FRVBF_INSN_CFCKRA; goto extract_sfmt_cfckra; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 107 : + case 107: { unsigned int val1 = (((insn >> 6) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fff0c0) == 0x1ac0000) { itype = FRVBF_INSN_CFITOS; goto extract_sfmt_cfitos; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1fff0c0) == 0x1ac0040) { itype = FRVBF_INSN_CFSTOI; goto extract_sfmt_cfstoi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 108 : + case 108: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fff0c0) == 0x1b00000) { itype = FRVBF_INSN_CFMOVS; goto extract_sfmt_cfmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1fff0c0) == 0x1b00040) { itype = FRVBF_INSN_CFNEGS; goto extract_sfmt_cfmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1fff0c0) == 0x1b00080) { itype = FRVBF_INSN_CFABSS; goto extract_sfmt_cfmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 109 : + case 109: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CFADDS; goto extract_sfmt_cfadds; - case 1 : itype = FRVBF_INSN_CFSUBS; goto extract_sfmt_cfadds; - case 2 : + case 0: itype = FRVBF_INSN_CFADDS; goto extract_sfmt_cfadds; + case 1: itype = FRVBF_INSN_CFSUBS; goto extract_sfmt_cfadds; + case 2: if ((entire_insn & 0x79fc00c0) == 0x1b40080) { itype = FRVBF_INSN_CFCMPS; goto extract_sfmt_cfcmps; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 110 : + case 110: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CFMULS; goto extract_sfmt_cfadds; - case 1 : itype = FRVBF_INSN_CFDIVS; goto extract_sfmt_cfadds; - case 2 : + case 0: itype = FRVBF_INSN_CFMULS; goto extract_sfmt_cfadds; + case 1: itype = FRVBF_INSN_CFDIVS; goto extract_sfmt_cfadds; + case 2: if ((entire_insn & 0x1fff0c0) == 0x1b80080) { itype = FRVBF_INSN_CFSQRTS; goto extract_sfmt_cfmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 111 : + case 111: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CFMADDS; goto extract_sfmt_cfmadds; - case 1 : itype = FRVBF_INSN_CFMSUBS; goto extract_sfmt_cfmadds; - case 2 : itype = FRVBF_INSN_CFMAS; goto extract_sfmt_cfmas; - case 3 : itype = FRVBF_INSN_CFMSS; goto extract_sfmt_cfmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CFMADDS; goto extract_sfmt_cfmadds; + case 1: itype = FRVBF_INSN_CFMSUBS; goto extract_sfmt_cfmadds; + case 2: itype = FRVBF_INSN_CFMAS; goto extract_sfmt_cfmas; + case 3: itype = FRVBF_INSN_CFMSS; goto extract_sfmt_cfmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 112 : + case 112: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CMAND; goto extract_sfmt_cmand; - case 1 : itype = FRVBF_INSN_CMOR; goto extract_sfmt_cmand; - case 2 : itype = FRVBF_INSN_CMXOR; goto extract_sfmt_cmand; - case 3 : + case 0: itype = FRVBF_INSN_CMAND; goto extract_sfmt_cmand; + case 1: itype = FRVBF_INSN_CMOR; goto extract_sfmt_cmand; + case 2: itype = FRVBF_INSN_CMXOR; goto extract_sfmt_cmand; + case 3: if ((entire_insn & 0x1fff0c0) == 0x1c000c0) { itype = FRVBF_INSN_CMNOT; goto extract_sfmt_cmnot; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 113 : + case 113: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CMADDHSS; goto extract_sfmt_cmaddhss; - case 1 : itype = FRVBF_INSN_CMADDHUS; goto extract_sfmt_cmaddhss; - case 2 : itype = FRVBF_INSN_CMSUBHSS; goto extract_sfmt_cmaddhss; - case 3 : itype = FRVBF_INSN_CMSUBHUS; goto extract_sfmt_cmaddhss; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CMADDHSS; goto extract_sfmt_cmaddhss; + case 1: itype = FRVBF_INSN_CMADDHUS; goto extract_sfmt_cmaddhss; + case 2: itype = FRVBF_INSN_CMSUBHSS; goto extract_sfmt_cmaddhss; + case 3: itype = FRVBF_INSN_CMSUBHUS; goto extract_sfmt_cmaddhss; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 114 : + case 114: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CMMULHS; goto extract_sfmt_cmmulhs; - case 1 : itype = FRVBF_INSN_CMMULHU; goto extract_sfmt_cmmulhs; - case 2 : itype = FRVBF_INSN_CMMACHS; goto extract_sfmt_cmmachs; - case 3 : itype = FRVBF_INSN_CMMACHU; goto extract_sfmt_cmmachu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CMMULHS; goto extract_sfmt_cmmulhs; + case 1: itype = FRVBF_INSN_CMMULHU; goto extract_sfmt_cmmulhs; + case 2: itype = FRVBF_INSN_CMMACHS; goto extract_sfmt_cmmachs; + case 3: itype = FRVBF_INSN_CMMACHU; goto extract_sfmt_cmmachu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 115 : + case 115: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CMQADDHSS; goto extract_sfmt_cmqaddhss; - case 1 : itype = FRVBF_INSN_CMQADDHUS; goto extract_sfmt_cmqaddhss; - case 2 : itype = FRVBF_INSN_CMQSUBHSS; goto extract_sfmt_cmqaddhss; - case 3 : itype = FRVBF_INSN_CMQSUBHUS; goto extract_sfmt_cmqaddhss; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CMQADDHSS; goto extract_sfmt_cmqaddhss; + case 1: itype = FRVBF_INSN_CMQADDHUS; goto extract_sfmt_cmqaddhss; + case 2: itype = FRVBF_INSN_CMQSUBHSS; goto extract_sfmt_cmqaddhss; + case 3: itype = FRVBF_INSN_CMQSUBHUS; goto extract_sfmt_cmqaddhss; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 116 : + case 116: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CMQMULHS; goto extract_sfmt_cmqmulhs; - case 1 : itype = FRVBF_INSN_CMQMULHU; goto extract_sfmt_cmqmulhs; - case 2 : itype = FRVBF_INSN_CMQMACHS; goto extract_sfmt_cmqmachs; - case 3 : itype = FRVBF_INSN_CMQMACHU; goto extract_sfmt_cmqmachu; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CMQMULHS; goto extract_sfmt_cmqmulhs; + case 1: itype = FRVBF_INSN_CMQMULHU; goto extract_sfmt_cmqmulhs; + case 2: itype = FRVBF_INSN_CMQMACHS; goto extract_sfmt_cmqmachs; + case 3: itype = FRVBF_INSN_CMQMACHU; goto extract_sfmt_cmqmachu; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 117 : + case 117: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_CMCPXRS; goto extract_sfmt_cmcpxrs; - case 1 : itype = FRVBF_INSN_CMCPXRU; goto extract_sfmt_cmcpxrs; - case 2 : itype = FRVBF_INSN_CMCPXIS; goto extract_sfmt_cmcpxrs; - case 3 : itype = FRVBF_INSN_CMCPXIU; goto extract_sfmt_cmcpxrs; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_CMCPXRS; goto extract_sfmt_cmcpxrs; + case 1: itype = FRVBF_INSN_CMCPXRU; goto extract_sfmt_cmcpxrs; + case 2: itype = FRVBF_INSN_CMCPXIS; goto extract_sfmt_cmcpxrs; + case 3: itype = FRVBF_INSN_CMCPXIU; goto extract_sfmt_cmcpxrs; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 118 : + case 118: { unsigned int val1 = (((insn >> 6) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fc00c0) == 0x1d80080) { itype = FRVBF_INSN_CMEXPDHW; goto extract_sfmt_cmexpdhw; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1fc00c0) == 0x1d800c0) { itype = FRVBF_INSN_CMEXPDHD; goto extract_sfmt_cmexpdhd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 119 : + case 119: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1fff0c0) == 0x1dc0000) { itype = FRVBF_INSN_CMBTOH; goto extract_sfmt_cmbtoh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1fff0c0) == 0x1dc0040) { itype = FRVBF_INSN_CMHTOB; goto extract_sfmt_cmhtob; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1fff0c0) == 0x1dc0080) { itype = FRVBF_INSN_CMBTOHE; goto extract_sfmt_cmbtohe; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 120 : + case 120: { unsigned int val1 = (((insn >> 6) & (63 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_MQXMACHS; goto extract_sfmt_mqmachs; - case 1 : itype = FRVBF_INSN_MQXMACXHS; goto extract_sfmt_mqmachs; - case 2 : itype = FRVBF_INSN_MQMACXHS; goto extract_sfmt_mqmachs; - case 4 : + case 0: itype = FRVBF_INSN_MQXMACHS; goto extract_sfmt_mqmachs; + case 1: itype = FRVBF_INSN_MQXMACXHS; goto extract_sfmt_mqmachs; + case 2: itype = FRVBF_INSN_MQMACXHS; goto extract_sfmt_mqmachs; + case 4: if ((entire_insn & 0x1fc0fff) == 0x1e00100) { itype = FRVBF_INSN_MADDACCS; goto extract_sfmt_maddaccs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x1fc0fff) == 0x1e00140) { itype = FRVBF_INSN_MSUBACCS; goto extract_sfmt_maddaccs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x1fc0fff) == 0x1e00180) { itype = FRVBF_INSN_MDADDACCS; goto extract_sfmt_mdaddaccs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x1fc0fff) == 0x1e001c0) { itype = FRVBF_INSN_MDSUBACCS; goto extract_sfmt_mdaddaccs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x1fc0fff) == 0x1e00200) { itype = FRVBF_INSN_MASACCS; goto extract_sfmt_masaccs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x1fc0fff) == 0x1e00240) { itype = FRVBF_INSN_MDASACCS; goto extract_sfmt_mdasaccs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x1ffffc0) == 0x1e00280) { itype = FRVBF_INSN_MABSHS; goto extract_sfmt_mabshs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : itype = FRVBF_INSN_MDROTLI; goto extract_sfmt_mdrotli; - case 12 : itype = FRVBF_INSN_MCPLHI; goto extract_sfmt_mcplhi; - case 13 : itype = FRVBF_INSN_MCPLI; goto extract_sfmt_mcpli; - case 14 : itype = FRVBF_INSN_MDCUTSSI; goto extract_sfmt_mdcutssi; - case 15 : itype = FRVBF_INSN_MQSATHS; goto extract_sfmt_mqsaths; - case 16 : itype = FRVBF_INSN_MQLCLRHS; goto extract_sfmt_mqsaths; - case 17 : itype = FRVBF_INSN_MQSLLHI; goto extract_sfmt_mqsllhi; - case 19 : itype = FRVBF_INSN_MQSRAHI; goto extract_sfmt_mqsllhi; - case 20 : itype = FRVBF_INSN_MQLMTHS; goto extract_sfmt_mqsaths; - case 32 : itype = FRVBF_INSN_MHSETLOS; goto extract_sfmt_mhsetlos; - case 33 : + case 11: itype = FRVBF_INSN_MDROTLI; goto extract_sfmt_mdrotli; + case 12: itype = FRVBF_INSN_MCPLHI; goto extract_sfmt_mcplhi; + case 13: itype = FRVBF_INSN_MCPLI; goto extract_sfmt_mcpli; + case 14: itype = FRVBF_INSN_MDCUTSSI; goto extract_sfmt_mdcutssi; + case 15: itype = FRVBF_INSN_MQSATHS; goto extract_sfmt_mqsaths; + case 16: itype = FRVBF_INSN_MQLCLRHS; goto extract_sfmt_mqsaths; + case 17: itype = FRVBF_INSN_MQSLLHI; goto extract_sfmt_mqsllhi; + case 19: itype = FRVBF_INSN_MQSRAHI; goto extract_sfmt_mqsllhi; + case 20: itype = FRVBF_INSN_MQLMTHS; goto extract_sfmt_mqsaths; + case 32: itype = FRVBF_INSN_MHSETLOS; goto extract_sfmt_mhsetlos; + case 33: if ((entire_insn & 0x1ffffe0) == 0x1e00840) { itype = FRVBF_INSN_MHSETLOH; goto extract_sfmt_mhsetloh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 34 : itype = FRVBF_INSN_MHSETHIS; goto extract_sfmt_mhsethis; - case 35 : + case 34: itype = FRVBF_INSN_MHSETHIS; goto extract_sfmt_mhsethis; + case 35: if ((entire_insn & 0x1ffffe0) == 0x1e008c0) { itype = FRVBF_INSN_MHSETHIH; goto extract_sfmt_mhsethih; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : itype = FRVBF_INSN_MHDSETS; goto extract_sfmt_mhdsets; - case 37 : + case 36: itype = FRVBF_INSN_MHDSETS; goto extract_sfmt_mhdsets; + case 37: if ((entire_insn & 0x1ffffe0) == 0x1e00940) { itype = FRVBF_INSN_MHDSETH; goto extract_sfmt_mhdseth; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 121 : + case 121: { unsigned int val1 = (((insn >> 7) & (1 << 3)) | ((insn >> 6) & (7 << 0))); switch (val1) { - case 0 : + case 0: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40000) { itype = FRVBF_INSN_FITOS; goto extract_sfmt_fitos; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FMULS; goto extract_sfmt_fadds; - case 2 : + case 1: itype = FRVBF_INSN_FMULS; goto extract_sfmt_fadds; + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e40800) { itype = FRVBF_INSN_NFITOS; goto extract_sfmt_nfitos; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : itype = FRVBF_INSN_NFMULS; goto extract_sfmt_nfadds; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 3: itype = FRVBF_INSN_NFMULS; goto extract_sfmt_nfadds; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1 : + case 1: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40040) { itype = FRVBF_INSN_FSTOI; goto extract_sfmt_fstoi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FDIVS; goto extract_sfmt_fadds; - case 2 : + case 1: itype = FRVBF_INSN_FDIVS; goto extract_sfmt_fadds; + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e40840) { itype = FRVBF_INSN_NFSTOI; goto extract_sfmt_nfstoi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : itype = FRVBF_INSN_NFDIVS; goto extract_sfmt_nfadds; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 3: itype = FRVBF_INSN_NFDIVS; goto extract_sfmt_nfadds; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 2 : + case 2: { unsigned int val2 = (((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40080) { itype = FRVBF_INSN_FMOVS; goto extract_sfmt_fmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x79fc0fc0) == 0x1e40280) { itype = FRVBF_INSN_FCMPS; goto extract_sfmt_fcmps; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 3 : + case 3: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e400c0) { itype = FRVBF_INSN_FNEGS; goto extract_sfmt_fmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FMADDS; goto extract_sfmt_fmadds; - case 3 : itype = FRVBF_INSN_NFMADDS; goto extract_sfmt_nfmadds; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = FRVBF_INSN_FMADDS; goto extract_sfmt_fmadds; + case 3: itype = FRVBF_INSN_NFMADDS; goto extract_sfmt_nfmadds; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 4 : + case 4: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40100) { itype = FRVBF_INSN_FABSS; goto extract_sfmt_fmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FMSUBS; goto extract_sfmt_fmadds; - case 3 : itype = FRVBF_INSN_NFMSUBS; goto extract_sfmt_nfmadds; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = FRVBF_INSN_FMSUBS; goto extract_sfmt_fmadds; + case 3: itype = FRVBF_INSN_NFMSUBS; goto extract_sfmt_nfmadds; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 5 : + case 5: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40140) { itype = FRVBF_INSN_FSQRTS; goto extract_sfmt_fmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x7fffffff) == 0x1e40340) { itype = FRVBF_INSN_FNOP; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e40940) { itype = FRVBF_INSN_NFSQRTS; goto extract_sfmt_nfsqrts; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 6 : + case 6: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : itype = FRVBF_INSN_FADDS; goto extract_sfmt_fadds; - case 1 : itype = FRVBF_INSN_FMAS; goto extract_sfmt_fmas; - case 2 : itype = FRVBF_INSN_NFADDS; goto extract_sfmt_nfadds; - case 3 : itype = FRVBF_INSN_NFMAS; goto extract_sfmt_fmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_FADDS; goto extract_sfmt_fadds; + case 1: itype = FRVBF_INSN_FMAS; goto extract_sfmt_fmas; + case 2: itype = FRVBF_INSN_NFADDS; goto extract_sfmt_nfadds; + case 3: itype = FRVBF_INSN_NFMAS; goto extract_sfmt_fmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 7 : + case 7: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : itype = FRVBF_INSN_FSUBS; goto extract_sfmt_fadds; - case 1 : itype = FRVBF_INSN_FMSS; goto extract_sfmt_fmas; - case 2 : itype = FRVBF_INSN_NFSUBS; goto extract_sfmt_nfadds; - case 3 : itype = FRVBF_INSN_NFMSS; goto extract_sfmt_fmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_FSUBS; goto extract_sfmt_fadds; + case 1: itype = FRVBF_INSN_FMSS; goto extract_sfmt_fmas; + case 2: itype = FRVBF_INSN_NFSUBS; goto extract_sfmt_nfadds; + case 3: itype = FRVBF_INSN_NFMSS; goto extract_sfmt_fmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 8 : + case 8: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40400) { itype = FRVBF_INSN_FDITOS; goto extract_sfmt_fditos; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FDMULS; goto extract_sfmt_fmas; - case 2 : + case 1: itype = FRVBF_INSN_FDMULS; goto extract_sfmt_fmas; + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e40c00) { itype = FRVBF_INSN_NFDITOS; goto extract_sfmt_fditos; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : itype = FRVBF_INSN_NFDMULS; goto extract_sfmt_fmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 3: itype = FRVBF_INSN_NFDMULS; goto extract_sfmt_fmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 9 : + case 9: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40440) { itype = FRVBF_INSN_FDSTOI; goto extract_sfmt_fdstoi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FDDIVS; goto extract_sfmt_fmas; - case 2 : + case 1: itype = FRVBF_INSN_FDDIVS; goto extract_sfmt_fmas; + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e40c40) { itype = FRVBF_INSN_NFDSTOI; goto extract_sfmt_fdstoi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : itype = FRVBF_INSN_NFDDIVS; goto extract_sfmt_fmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 3: itype = FRVBF_INSN_NFDDIVS; goto extract_sfmt_fmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 10 : + case 10: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40480) { itype = FRVBF_INSN_FDMOVS; goto extract_sfmt_fdmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x79fc0fc0) == 0x1e40680) { itype = FRVBF_INSN_FDCMPS; goto extract_sfmt_fdcmps; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x79fc0fc0) == 0x1e40e80) { itype = FRVBF_INSN_NFDCMPS; goto extract_sfmt_nfdcmps; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 11 : + case 11: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e404c0) { itype = FRVBF_INSN_FDNEGS; goto extract_sfmt_fdmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FDMADDS; goto extract_sfmt_fdmadds; - case 3 : itype = FRVBF_INSN_NFDMADDS; goto extract_sfmt_fdmadds; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = FRVBF_INSN_FDMADDS; goto extract_sfmt_fdmadds; + case 3: itype = FRVBF_INSN_NFDMADDS; goto extract_sfmt_fdmadds; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 12 : + case 12: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40500) { itype = FRVBF_INSN_FDABSS; goto extract_sfmt_fdmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FDMAS; goto extract_sfmt_fdmas; - case 3 : itype = FRVBF_INSN_NFDMAS; goto extract_sfmt_fdmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = FRVBF_INSN_FDMAS; goto extract_sfmt_fdmas; + case 3: itype = FRVBF_INSN_NFDMAS; goto extract_sfmt_fdmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 13 : + case 13: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e40540) { itype = FRVBF_INSN_FDSQRTS; goto extract_sfmt_fdmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = FRVBF_INSN_FDMSS; goto extract_sfmt_fdmas; - case 2 : + case 1: itype = FRVBF_INSN_FDMSS; goto extract_sfmt_fdmas; + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e40d40) { itype = FRVBF_INSN_NFDSQRTS; goto extract_sfmt_fdmovs; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : itype = FRVBF_INSN_NFDMSS; goto extract_sfmt_fdmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 3: itype = FRVBF_INSN_NFDMSS; goto extract_sfmt_fdmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 14 : + case 14: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : itype = FRVBF_INSN_FDADDS; goto extract_sfmt_fmas; - case 1 : itype = FRVBF_INSN_FDSADS; goto extract_sfmt_fmas; - case 2 : itype = FRVBF_INSN_NFDADDS; goto extract_sfmt_fmas; - case 3 : itype = FRVBF_INSN_NFDSADS; goto extract_sfmt_fmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_FDADDS; goto extract_sfmt_fmas; + case 1: itype = FRVBF_INSN_FDSADS; goto extract_sfmt_fmas; + case 2: itype = FRVBF_INSN_NFDADDS; goto extract_sfmt_fmas; + case 3: itype = FRVBF_INSN_NFDSADS; goto extract_sfmt_fmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 15 : + case 15: { unsigned int val2 = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0))); switch (val2) { - case 0 : itype = FRVBF_INSN_FDSUBS; goto extract_sfmt_fmas; - case 1 : itype = FRVBF_INSN_FDMULCS; goto extract_sfmt_fmas; - case 2 : itype = FRVBF_INSN_NFDSUBS; goto extract_sfmt_fmas; - case 3 : itype = FRVBF_INSN_NFDMULCS; goto extract_sfmt_fmas; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = FRVBF_INSN_FDSUBS; goto extract_sfmt_fmas; + case 1: itype = FRVBF_INSN_FDMULCS; goto extract_sfmt_fmas; + case 2: itype = FRVBF_INSN_NFDSUBS; goto extract_sfmt_fmas; + case 3: itype = FRVBF_INSN_NFDMULCS; goto extract_sfmt_fmas; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 122 : + case 122: { unsigned int val1 = (((insn >> 6) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0x1ffffc0) == 0x1e80000) { itype = FRVBF_INSN_FITOD; goto extract_sfmt_fitod; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0x1ffffc0) == 0x1e80040) { itype = FRVBF_INSN_FDTOI; goto extract_sfmt_fdtoi; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0x1ffffc0) == 0x1e80080) { itype = FRVBF_INSN_FMOVD; goto extract_sfmt_fmovd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0x1ffffc0) == 0x1e800c0) { itype = FRVBF_INSN_FNEGD; goto extract_sfmt_fmovd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0x1ffffc0) == 0x1e80100) { itype = FRVBF_INSN_FABSD; goto extract_sfmt_fmovd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0x1ffffc0) == 0x1e80140) { itype = FRVBF_INSN_FSQRTD; goto extract_sfmt_fmovd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0x1fc0fc0) == 0x1e80180) { itype = FRVBF_INSN_FADDD; goto extract_sfmt_faddd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0x1fc0fc0) == 0x1e801c0) { itype = FRVBF_INSN_FSUBD; goto extract_sfmt_faddd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0x1fc0fc0) == 0x1e80200) { itype = FRVBF_INSN_FMULD; goto extract_sfmt_faddd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0x1fc0fc0) == 0x1e80240) { itype = FRVBF_INSN_FDIVD; goto extract_sfmt_faddd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0x79fc0fc0) == 0x1e80280) { itype = FRVBF_INSN_FCMPD; goto extract_sfmt_fcmpd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0x1fc0fc0) == 0x1e802c0) { itype = FRVBF_INSN_FMADDD; goto extract_sfmt_fmaddd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0x1fc0fc0) == 0x1e80300) { itype = FRVBF_INSN_FMSUBD; goto extract_sfmt_fmaddd; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0x1fc0fc0) == 0x1e80380) { itype = FRVBF_INSN_FMAD; goto extract_sfmt_fmas; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x1fc0fc0) == 0x1e803c0) { itype = FRVBF_INSN_FMSD; goto extract_sfmt_fmas; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 123 : + case 123: { unsigned int val1 = (((insn >> 6) & (63 << 0))); switch (val1) { - case 0 : itype = FRVBF_INSN_MAND; goto extract_sfmt_mand; - case 1 : itype = FRVBF_INSN_MOR; goto extract_sfmt_mand; - case 2 : itype = FRVBF_INSN_MXOR; goto extract_sfmt_mand; - case 3 : + case 0: itype = FRVBF_INSN_MAND; goto extract_sfmt_mand; + case 1: itype = FRVBF_INSN_MOR; goto extract_sfmt_mand; + case 2: itype = FRVBF_INSN_MXOR; goto extract_sfmt_mand; + case 3: if ((entire_insn & 0x1ffffc0) == 0x1ec00c0) { itype = FRVBF_INSN_MNOT; goto extract_sfmt_mnot; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : itype = FRVBF_INSN_MROTLI; goto extract_sfmt_mrotli; - case 5 : itype = FRVBF_INSN_MROTRI; goto extract_sfmt_mrotli; - case 6 : itype = FRVBF_INSN_MWCUT; goto extract_sfmt_mwcut; - case 7 : itype = FRVBF_INSN_MWCUTI; goto extract_sfmt_mwcuti; - case 8 : itype = FRVBF_INSN_MAVEH; goto extract_sfmt_mand; - case 9 : itype = FRVBF_INSN_MSLLHI; goto extract_sfmt_msllhi; - case 10 : itype = FRVBF_INSN_MSRLHI; goto extract_sfmt_msllhi; - case 11 : itype = FRVBF_INSN_MSRAHI; goto extract_sfmt_msllhi; - case 12 : itype = FRVBF_INSN_MSATHS; goto extract_sfmt_msaths; - case 13 : itype = FRVBF_INSN_MSATHU; goto extract_sfmt_msaths; - case 14 : + case 4: itype = FRVBF_INSN_MROTLI; goto extract_sfmt_mrotli; + case 5: itype = FRVBF_INSN_MROTRI; goto extract_sfmt_mrotli; + case 6: itype = FRVBF_INSN_MWCUT; goto extract_sfmt_mwcut; + case 7: itype = FRVBF_INSN_MWCUTI; goto extract_sfmt_mwcuti; + case 8: itype = FRVBF_INSN_MAVEH; goto extract_sfmt_mand; + case 9: itype = FRVBF_INSN_MSLLHI; goto extract_sfmt_msllhi; + case 10: itype = FRVBF_INSN_MSRLHI; goto extract_sfmt_msllhi; + case 11: itype = FRVBF_INSN_MSRAHI; goto extract_sfmt_msllhi; + case 12: itype = FRVBF_INSN_MSATHS; goto extract_sfmt_msaths; + case 13: itype = FRVBF_INSN_MSATHU; goto extract_sfmt_msaths; + case 14: if ((entire_insn & 0x79fc0fc0) == 0x1ec0380) { itype = FRVBF_INSN_MCMPSH; goto extract_sfmt_mcmpsh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 15 : + case 15: if ((entire_insn & 0x79fc0fc0) == 0x1ec03c0) { itype = FRVBF_INSN_MCMPUH; goto extract_sfmt_mcmpsh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : itype = FRVBF_INSN_MADDHSS; goto extract_sfmt_msaths; - case 17 : itype = FRVBF_INSN_MADDHUS; goto extract_sfmt_msaths; - case 18 : itype = FRVBF_INSN_MSUBHSS; goto extract_sfmt_msaths; - case 19 : itype = FRVBF_INSN_MSUBHUS; goto extract_sfmt_msaths; - case 20 : itype = FRVBF_INSN_MMULHS; goto extract_sfmt_mmulhs; - case 21 : itype = FRVBF_INSN_MMULHU; goto extract_sfmt_mmulhs; - case 22 : itype = FRVBF_INSN_MMACHS; goto extract_sfmt_mmachs; - case 23 : itype = FRVBF_INSN_MMACHU; goto extract_sfmt_mmachu; - case 24 : itype = FRVBF_INSN_MQADDHSS; goto extract_sfmt_mqsaths; - case 25 : itype = FRVBF_INSN_MQADDHUS; goto extract_sfmt_mqsaths; - case 26 : itype = FRVBF_INSN_MQSUBHSS; goto extract_sfmt_mqsaths; - case 27 : itype = FRVBF_INSN_MQSUBHUS; goto extract_sfmt_mqsaths; - case 28 : itype = FRVBF_INSN_MQMULHS; goto extract_sfmt_mqmulhs; - case 29 : itype = FRVBF_INSN_MQMULHU; goto extract_sfmt_mqmulhs; - case 30 : itype = FRVBF_INSN_MQMACHS; goto extract_sfmt_mqmachs; - case 31 : itype = FRVBF_INSN_MQMACHU; goto extract_sfmt_mqmachu; - case 32 : itype = FRVBF_INSN_MCPXRS; goto extract_sfmt_mcpxrs; - case 33 : itype = FRVBF_INSN_MCPXRU; goto extract_sfmt_mcpxrs; - case 34 : itype = FRVBF_INSN_MCPXIS; goto extract_sfmt_mcpxrs; - case 35 : itype = FRVBF_INSN_MCPXIU; goto extract_sfmt_mcpxrs; - case 36 : itype = FRVBF_INSN_MQCPXRS; goto extract_sfmt_mqcpxrs; - case 37 : itype = FRVBF_INSN_MQCPXRU; goto extract_sfmt_mqcpxrs; - case 38 : itype = FRVBF_INSN_MQCPXIS; goto extract_sfmt_mqcpxrs; - case 39 : itype = FRVBF_INSN_MQCPXIU; goto extract_sfmt_mqcpxrs; - case 40 : itype = FRVBF_INSN_MMULXHS; goto extract_sfmt_mmulhs; - case 41 : itype = FRVBF_INSN_MMULXHU; goto extract_sfmt_mmulhs; - case 42 : itype = FRVBF_INSN_MQMULXHS; goto extract_sfmt_mqmulhs; - case 43 : itype = FRVBF_INSN_MQMULXHU; goto extract_sfmt_mqmulhs; - case 44 : itype = FRVBF_INSN_MCUT; goto extract_sfmt_mcut; - case 45 : itype = FRVBF_INSN_MCUTSS; goto extract_sfmt_mcut; - case 46 : itype = FRVBF_INSN_MCUTI; goto extract_sfmt_mcuti; - case 47 : itype = FRVBF_INSN_MCUTSSI; goto extract_sfmt_mcuti; - case 48 : itype = FRVBF_INSN_MMRDHS; goto extract_sfmt_mmachs; - case 49 : itype = FRVBF_INSN_MMRDHU; goto extract_sfmt_mmachu; - case 50 : itype = FRVBF_INSN_MEXPDHW; goto extract_sfmt_mexpdhw; - case 51 : itype = FRVBF_INSN_MEXPDHD; goto extract_sfmt_mexpdhd; - case 52 : itype = FRVBF_INSN_MPACKH; goto extract_sfmt_mpackh; - case 53 : + case 16: itype = FRVBF_INSN_MADDHSS; goto extract_sfmt_msaths; + case 17: itype = FRVBF_INSN_MADDHUS; goto extract_sfmt_msaths; + case 18: itype = FRVBF_INSN_MSUBHSS; goto extract_sfmt_msaths; + case 19: itype = FRVBF_INSN_MSUBHUS; goto extract_sfmt_msaths; + case 20: itype = FRVBF_INSN_MMULHS; goto extract_sfmt_mmulhs; + case 21: itype = FRVBF_INSN_MMULHU; goto extract_sfmt_mmulhs; + case 22: itype = FRVBF_INSN_MMACHS; goto extract_sfmt_mmachs; + case 23: itype = FRVBF_INSN_MMACHU; goto extract_sfmt_mmachu; + case 24: itype = FRVBF_INSN_MQADDHSS; goto extract_sfmt_mqsaths; + case 25: itype = FRVBF_INSN_MQADDHUS; goto extract_sfmt_mqsaths; + case 26: itype = FRVBF_INSN_MQSUBHSS; goto extract_sfmt_mqsaths; + case 27: itype = FRVBF_INSN_MQSUBHUS; goto extract_sfmt_mqsaths; + case 28: itype = FRVBF_INSN_MQMULHS; goto extract_sfmt_mqmulhs; + case 29: itype = FRVBF_INSN_MQMULHU; goto extract_sfmt_mqmulhs; + case 30: itype = FRVBF_INSN_MQMACHS; goto extract_sfmt_mqmachs; + case 31: itype = FRVBF_INSN_MQMACHU; goto extract_sfmt_mqmachu; + case 32: itype = FRVBF_INSN_MCPXRS; goto extract_sfmt_mcpxrs; + case 33: itype = FRVBF_INSN_MCPXRU; goto extract_sfmt_mcpxrs; + case 34: itype = FRVBF_INSN_MCPXIS; goto extract_sfmt_mcpxrs; + case 35: itype = FRVBF_INSN_MCPXIU; goto extract_sfmt_mcpxrs; + case 36: itype = FRVBF_INSN_MQCPXRS; goto extract_sfmt_mqcpxrs; + case 37: itype = FRVBF_INSN_MQCPXRU; goto extract_sfmt_mqcpxrs; + case 38: itype = FRVBF_INSN_MQCPXIS; goto extract_sfmt_mqcpxrs; + case 39: itype = FRVBF_INSN_MQCPXIU; goto extract_sfmt_mqcpxrs; + case 40: itype = FRVBF_INSN_MMULXHS; goto extract_sfmt_mmulhs; + case 41: itype = FRVBF_INSN_MMULXHU; goto extract_sfmt_mmulhs; + case 42: itype = FRVBF_INSN_MQMULXHS; goto extract_sfmt_mqmulhs; + case 43: itype = FRVBF_INSN_MQMULXHU; goto extract_sfmt_mqmulhs; + case 44: itype = FRVBF_INSN_MCUT; goto extract_sfmt_mcut; + case 45: itype = FRVBF_INSN_MCUTSS; goto extract_sfmt_mcut; + case 46: itype = FRVBF_INSN_MCUTI; goto extract_sfmt_mcuti; + case 47: itype = FRVBF_INSN_MCUTSSI; goto extract_sfmt_mcuti; + case 48: itype = FRVBF_INSN_MMRDHS; goto extract_sfmt_mmachs; + case 49: itype = FRVBF_INSN_MMRDHU; goto extract_sfmt_mmachu; + case 50: itype = FRVBF_INSN_MEXPDHW; goto extract_sfmt_mexpdhw; + case 51: itype = FRVBF_INSN_MEXPDHD; goto extract_sfmt_mexpdhd; + case 52: itype = FRVBF_INSN_MPACKH; goto extract_sfmt_mpackh; + case 53: if ((entire_insn & 0x1fc0fff) == 0x1ec0d40) { itype = FRVBF_INSN_MUNPACKH; goto extract_sfmt_munpackh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 54 : itype = FRVBF_INSN_MDPACKH; goto extract_sfmt_mdpackh; - case 55 : + case 54: itype = FRVBF_INSN_MDPACKH; goto extract_sfmt_mdpackh; + case 55: if ((entire_insn & 0x1fc0fff) == 0x1ec0dc0) { itype = FRVBF_INSN_MDUNPACKH; goto extract_sfmt_mdunpackh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 56 : + case 56: if ((entire_insn & 0x1ffffc0) == 0x1ec0e00) { itype = FRVBF_INSN_MBTOH; goto extract_sfmt_mbtoh; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 57 : + case 57: if ((entire_insn & 0x1ffffc0) == 0x1ec0e40) { itype = FRVBF_INSN_MHTOB; goto extract_sfmt_mhtob; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 58 : + case 58: if ((entire_insn & 0x1ffffc0) == 0x1ec0e80) { itype = FRVBF_INSN_MBTOHE; goto extract_sfmt_mbtohe; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 59 : + case 59: { unsigned int val2 = (((insn >> 17) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0x1ffffff) == 0x1ec0ec0) { itype = FRVBF_INSN_MCLRACC_0; goto extract_sfmt_mclracc_0; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: { unsigned int val3 = (((insn >> 25) & (63 << 0))); switch (val3) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 15 : /* fall through */ - case 16 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 19 : /* fall through */ - case 20 : /* fall through */ - case 21 : /* fall through */ - case 22 : /* fall through */ - case 23 : /* fall through */ - case 24 : /* fall through */ - case 25 : /* fall through */ - case 26 : /* fall through */ - case 27 : /* fall through */ - case 28 : /* fall through */ - case 29 : /* fall through */ - case 30 : /* fall through */ - case 31 : /* fall through */ - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : /* fall through */ - case 36 : /* fall through */ - case 37 : /* fall through */ - case 38 : /* fall through */ - case 39 : /* fall through */ - case 40 : /* fall through */ - case 41 : /* fall through */ - case 42 : /* fall through */ - case 43 : /* fall through */ - case 44 : /* fall through */ - case 45 : /* fall through */ - case 46 : /* fall through */ - case 47 : /* fall through */ - case 48 : /* fall through */ - case 49 : /* fall through */ - case 50 : /* fall through */ - case 51 : /* fall through */ - case 52 : /* fall through */ - case 53 : /* fall through */ - case 54 : /* fall through */ - case 55 : /* fall through */ - case 56 : /* fall through */ - case 57 : /* fall through */ - case 58 : /* fall through */ - case 59 : /* fall through */ - case 60 : /* fall through */ - case 61 : /* fall through */ - case 62 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: if ((entire_insn & 0x1ffffff) == 0x1ee0ec0) { itype = FRVBF_INSN_MCLRACC_1; goto extract_sfmt_mclracc_0; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 63 : + case 63: if ((entire_insn & 0x7fffffff) == 0x7fee0ec0) { itype = FRVBF_INSN_MNOP; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 60 : + case 60: if ((entire_insn & 0x1fc0fff) == 0x1ec0f00) { itype = FRVBF_INSN_MRDACC; goto extract_sfmt_mrdacc; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 61 : + case 61: if ((entire_insn & 0x1fc0fff) == 0x1ec0f40) { itype = FRVBF_INSN_MWTACC; goto extract_sfmt_mwtacc; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 62 : + case 62: if ((entire_insn & 0x1fc0fff) == 0x1ec0f80) { itype = FRVBF_INSN_MRDACCG; goto extract_sfmt_mrdaccg; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 63 : + case 63: if ((entire_insn & 0x1fc0fff) == 0x1ec0fc0) { itype = FRVBF_INSN_MWTACCG; goto extract_sfmt_mwtaccg; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 124 : + case 124: if ((entire_insn & 0x1fc0fc0) == 0x1f00000) { itype = FRVBF_INSN_MCOP1; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 125 : + case 125: if ((entire_insn & 0x1fc0fc0) == 0x1f40000) { itype = FRVBF_INSN_MCOP2; goto extract_sfmt_rei; } itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 126 : itype = FRVBF_INSN_COP1; goto extract_sfmt_rei; - case 127 : itype = FRVBF_INSN_COP2; goto extract_sfmt_rei; - default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 126: itype = FRVBF_INSN_COP1; goto extract_sfmt_rei; + case 127: itype = FRVBF_INSN_COP2; goto extract_sfmt_rei; + default: itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/iq2000/decode.c b/sim/iq2000/decode.c index 48ca2fd..e1b7286 100644 --- a/sim/iq2000/decode.c +++ b/sim/iq2000/decode.c @@ -272,607 +272,607 @@ iq2000bf_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 26) & (63 << 0))); switch (val0) { - case 0 : + case 0: { unsigned int val1 = (((insn >> 1) & (1 << 4)) | ((insn >> 0) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe0003f) == 0x0) { itype = IQ2000BF_INSN_SLL; goto extract_sfmt_sll; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc00003f) == 0x1) { itype = IQ2000BF_INSN_SLMV; goto extract_sfmt_slmv; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffe0003f) == 0x2) { itype = IQ2000BF_INSN_SRL; goto extract_sfmt_sll; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffe0003f) == 0x3) { itype = IQ2000BF_INSN_SRA; goto extract_sfmt_sll; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0xfc0007ff) == 0x4) { itype = IQ2000BF_INSN_SLLV; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0xfc00003f) == 0x5) { itype = IQ2000BF_INSN_SRMV; goto extract_sfmt_slmv; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0xfc0007ff) == 0x6) { itype = IQ2000BF_INSN_SRLV; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0xfc0007ff) == 0x7) { itype = IQ2000BF_INSN_SRAV; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0xfc1fffff) == 0x8) { itype = IQ2000BF_INSN_JR; goto extract_sfmt_jr; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0xfc1f07ff) == 0x9) { itype = IQ2000BF_INSN_JALR; goto extract_sfmt_jalr; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0xfc1fffff) == 0xa) { itype = IQ2000BF_INSN_JCR; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0xfc00003f) == 0xc) { itype = IQ2000BF_INSN_SYSCALL; goto extract_sfmt_break; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0xffffffff) == 0xd) { itype = IQ2000BF_INSN_BREAK; goto extract_sfmt_break; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 14 : + case 14: if ((entire_insn & 0xfc00003f) == 0xe) { itype = IQ2000BF_INSN_SLEEP; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: if ((entire_insn & 0xfc0007ff) == 0x20) { itype = IQ2000BF_INSN_ADD; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 17 : + case 17: if ((entire_insn & 0xfc0007ff) == 0x21) { itype = IQ2000BF_INSN_ADDU; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 18 : + case 18: if ((entire_insn & 0xfc0007ff) == 0x22) { itype = IQ2000BF_INSN_SUB; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 19 : + case 19: if ((entire_insn & 0xfc0007ff) == 0x23) { itype = IQ2000BF_INSN_SUBU; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 20 : + case 20: if ((entire_insn & 0xfc0007ff) == 0x24) { itype = IQ2000BF_INSN_AND; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 21 : + case 21: if ((entire_insn & 0xfc0007ff) == 0x25) { itype = IQ2000BF_INSN_OR; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 22 : + case 22: if ((entire_insn & 0xfc0007ff) == 0x26) { itype = IQ2000BF_INSN_XOR; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 23 : + case 23: if ((entire_insn & 0xfc0007ff) == 0x27) { itype = IQ2000BF_INSN_NOR; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 25 : + case 25: if ((entire_insn & 0xfc0007ff) == 0x29) { itype = IQ2000BF_INSN_ADO16; goto extract_sfmt_add; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 26 : + case 26: if ((entire_insn & 0xfc0007ff) == 0x2a) { itype = IQ2000BF_INSN_SLT; goto extract_sfmt_slt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 27 : + case 27: if ((entire_insn & 0xfc0007ff) == 0x2b) { itype = IQ2000BF_INSN_SLTU; goto extract_sfmt_slt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 29 : + case 29: if ((entire_insn & 0xfc00043f) == 0x2d) { itype = IQ2000BF_INSN_MRGB; goto extract_sfmt_mrgb; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1 : + case 1: { unsigned int val1 = (((insn >> 17) & (1 << 3)) | ((insn >> 16) & (7 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc1f0000) == 0x4000000) { itype = IQ2000BF_INSN_BLTZ; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc1f0000) == 0x4010000) { itype = IQ2000BF_INSN_BGEZ; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xfc1f0000) == 0x4020000) { itype = IQ2000BF_INSN_BLTZL; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfc1f0000) == 0x4030000) { itype = IQ2000BF_INSN_BGEZL; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0xfc1f0000) == 0x4060000) { itype = IQ2000BF_INSN_BCTXT; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : + case 8: if ((entire_insn & 0xfc1f0000) == 0x4100000) { itype = IQ2000BF_INSN_BLTZAL; goto extract_sfmt_bgezal; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 9 : + case 9: if ((entire_insn & 0xfc1f0000) == 0x4110000) { itype = IQ2000BF_INSN_BGEZAL; goto extract_sfmt_bgezal; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0xfc1f0000) == 0x4120000) { itype = IQ2000BF_INSN_BLTZALL; goto extract_sfmt_bgezal; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0xfc1f0000) == 0x4130000) { itype = IQ2000BF_INSN_BGEZALL; goto extract_sfmt_bgezal; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 2 : + case 2: if ((entire_insn & 0xffff0000) == 0x8000000) { itype = IQ2000BF_INSN_J; goto extract_sfmt_j; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffff0000) == 0xc000000) { itype = IQ2000BF_INSN_JAL; goto extract_sfmt_jal; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : itype = IQ2000BF_INSN_BEQ; goto extract_sfmt_bbv; - case 5 : itype = IQ2000BF_INSN_BNE; goto extract_sfmt_bbv; - case 6 : + case 4: itype = IQ2000BF_INSN_BEQ; goto extract_sfmt_bbv; + case 5: itype = IQ2000BF_INSN_BNE; goto extract_sfmt_bbv; + case 6: if ((entire_insn & 0xfc1f0000) == 0x18000000) { itype = IQ2000BF_INSN_BLEZ; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0xfc1f0000) == 0x1c000000) { itype = IQ2000BF_INSN_BGTZ; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : itype = IQ2000BF_INSN_ADDI; goto extract_sfmt_addi; - case 9 : itype = IQ2000BF_INSN_ADDIU; goto extract_sfmt_addi; - case 10 : itype = IQ2000BF_INSN_SLTI; goto extract_sfmt_slti; - case 11 : itype = IQ2000BF_INSN_SLTIU; goto extract_sfmt_slti; - case 12 : itype = IQ2000BF_INSN_ANDI; goto extract_sfmt_addi; - case 13 : itype = IQ2000BF_INSN_ORI; goto extract_sfmt_addi; - case 14 : itype = IQ2000BF_INSN_XORI; goto extract_sfmt_addi; - case 15 : + case 8: itype = IQ2000BF_INSN_ADDI; goto extract_sfmt_addi; + case 9: itype = IQ2000BF_INSN_ADDIU; goto extract_sfmt_addi; + case 10: itype = IQ2000BF_INSN_SLTI; goto extract_sfmt_slti; + case 11: itype = IQ2000BF_INSN_SLTIU; goto extract_sfmt_slti; + case 12: itype = IQ2000BF_INSN_ANDI; goto extract_sfmt_addi; + case 13: itype = IQ2000BF_INSN_ORI; goto extract_sfmt_addi; + case 14: itype = IQ2000BF_INSN_XORI; goto extract_sfmt_addi; + case 15: if ((entire_insn & 0xffe00000) == 0x3c000000) { itype = IQ2000BF_INSN_LUI; goto extract_sfmt_lui; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: { unsigned int val1 = (((insn >> 19) & (15 << 3)) | ((insn >> 15) & (3 << 1)) | ((insn >> 4) & (1 << 0))); switch (val1) { - case 0 : /* fall through */ - case 2 : /* fall through */ - case 4 : /* fall through */ - case 6 : + case 0: + case 2: + case 4: + case 6: if ((entire_insn & 0xffe007ff) == 0x40000000) { itype = IQ2000BF_INSN_MFC0; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 8 : /* fall through */ - case 10 : /* fall through */ - case 12 : /* fall through */ - case 14 : + case 8: + case 10: + case 12: + case 14: if ((entire_insn & 0xffe007ff) == 0x40400000) { itype = IQ2000BF_INSN_CFC0; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : /* fall through */ - case 18 : /* fall through */ - case 20 : /* fall through */ - case 22 : + case 16: + case 18: + case 20: + case 22: if ((entire_insn & 0xffe007ff) == 0x40800000) { itype = IQ2000BF_INSN_MTC0; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : /* fall through */ - case 26 : /* fall through */ - case 28 : /* fall through */ - case 30 : + case 24: + case 26: + case 28: + case 30: if ((entire_insn & 0xffe007ff) == 0x40c00000) { itype = IQ2000BF_INSN_CTC0; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : /* fall through */ - case 33 : + case 32: + case 33: if ((entire_insn & 0xffff0000) == 0x41000000) { itype = IQ2000BF_INSN_BC0F; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 34 : /* fall through */ - case 35 : + case 34: + case 35: if ((entire_insn & 0xffff0000) == 0x41010000) { itype = IQ2000BF_INSN_BC0T; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : /* fall through */ - case 37 : + case 36: + case 37: if ((entire_insn & 0xffff0000) == 0x41020000) { itype = IQ2000BF_INSN_BC0FL; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 38 : /* fall through */ - case 39 : + case 38: + case 39: if ((entire_insn & 0xffff0000) == 0x41030000) { itype = IQ2000BF_INSN_BC0TL; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 65 : + case 65: if ((entire_insn & 0xffffffff) == 0x42000010) { itype = IQ2000BF_INSN_RFE; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 17 : + case 17: { unsigned int val1 = (((insn >> 22) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x44000000) { itype = IQ2000BF_INSN_MFC1; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0x44400000) { itype = IQ2000BF_INSN_CFC1; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffe007ff) == 0x44800000) { itype = IQ2000BF_INSN_MTC1; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffe007ff) == 0x44c00000) { itype = IQ2000BF_INSN_CTC1; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 18 : + case 18: { unsigned int val1 = (((insn >> 16) & (3 << 5)) | ((insn >> 0) & (31 << 0))); switch (val1) { - case 0 : + case 0: { unsigned int val2 = (((insn >> 23) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x48000000) { itype = IQ2000BF_INSN_MFC2; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0x48800000) { itype = IQ2000BF_INSN_MTC2; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 32 : + case 32: if ((entire_insn & 0xffe0ffff) == 0x48200000) { itype = IQ2000BF_INSN_LUULCK; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 33 : + case 33: if ((entire_insn & 0xffe007ff) == 0x48200001) { itype = IQ2000BF_INSN_LUR; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 34 : + case 34: if ((entire_insn & 0xffe007ff) == 0x48200002) { itype = IQ2000BF_INSN_LUM32; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 35 : + case 35: if ((entire_insn & 0xffe007ff) == 0x48200003) { itype = IQ2000BF_INSN_LUC32; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : + case 36: if ((entire_insn & 0xffe0ffff) == 0x48200004) { itype = IQ2000BF_INSN_LULCK; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 37 : + case 37: if ((entire_insn & 0xffe007ff) == 0x48200005) { itype = IQ2000BF_INSN_LURL; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 38 : + case 38: if ((entire_insn & 0xffe007ff) == 0x48200006) { itype = IQ2000BF_INSN_LUM32L; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 39 : + case 39: if ((entire_insn & 0xffe007ff) == 0x48200007) { itype = IQ2000BF_INSN_LUC32L; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 40 : + case 40: if ((entire_insn & 0xffe007ff) == 0x48200008) { itype = IQ2000BF_INSN_LUK; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 42 : + case 42: if ((entire_insn & 0xffe007ff) == 0x4820000a) { itype = IQ2000BF_INSN_LUM64; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 43 : + case 43: if ((entire_insn & 0xffe007ff) == 0x4820000b) { itype = IQ2000BF_INSN_LUC64; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 46 : + case 46: if ((entire_insn & 0xffe007ff) == 0x4820000e) { itype = IQ2000BF_INSN_LUM64L; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 47 : + case 47: if ((entire_insn & 0xffe007ff) == 0x4820000f) { itype = IQ2000BF_INSN_LUC64L; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 48 : + case 48: if ((entire_insn & 0xffe0ffff) == 0x48200010) { itype = IQ2000BF_INSN_SRRD; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 49 : + case 49: if ((entire_insn & 0xffe007ff) == 0x48200011) { itype = IQ2000BF_INSN_SRWR; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 52 : + case 52: if ((entire_insn & 0xffe0ffff) == 0x48200014) { itype = IQ2000BF_INSN_SRRDL; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 53 : + case 53: if ((entire_insn & 0xffe007ff) == 0x48200015) { itype = IQ2000BF_INSN_SRWRU; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 54 : + case 54: if ((entire_insn & 0xffe0ffff) == 0x48200016) { itype = IQ2000BF_INSN_SRULCK; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 64 : + case 64: { unsigned int val2 = (((insn >> 23) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x48400000) { itype = IQ2000BF_INSN_CFC2; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0x48c00000) { itype = IQ2000BF_INSN_CTC2; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 19 : + case 19: { unsigned int val1 = (((insn >> 19) & (31 << 2)) | ((insn >> 0) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x4c000000) { itype = IQ2000BF_INSN_MFC3; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: { unsigned int val2 = (((insn >> 2) & (3 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x4c200000) { itype = IQ2000BF_INSN_WB; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0x4c200004) { itype = IQ2000BF_INSN_RB; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffffffff) == 0x4c200008) { itype = IQ2000BF_INSN_TRAPQFL; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 5 : + case 5: { unsigned int val2 = (((insn >> 3) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x4c200001) { itype = IQ2000BF_INSN_WBU; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffffffff) == 0x4c200009) { itype = IQ2000BF_INSN_TRAPQNE; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 6 : + case 6: { unsigned int val2 = (((insn >> 2) & (3 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x4c200002) { itype = IQ2000BF_INSN_WX; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0x4c200006) { itype = IQ2000BF_INSN_RX; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffe0ffff) == 0x4c20000a) { itype = IQ2000BF_INSN_TRAPREL; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 7 : + case 7: { unsigned int val2 = (((insn >> 2) & (1 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0x4c200003) { itype = IQ2000BF_INSN_WXU; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0x4c200007) { itype = IQ2000BF_INSN_PKRL; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 8 : + case 8: if ((entire_insn & 0xffe007ff) == 0x4c400000) { itype = IQ2000BF_INSN_CFC3; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : + case 16: if ((entire_insn & 0xffe007ff) == 0x4c800000) { itype = IQ2000BF_INSN_MTC3; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : + case 24: if ((entire_insn & 0xffe007ff) == 0x4cc00000) { itype = IQ2000BF_INSN_CTC3; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : + case 32: + case 33: + case 34: + case 35: { unsigned int val2 = (((insn >> 16) & (3 << 0))); switch (val2) { - case 0 : + case 0: if ((entire_insn & 0xffff0000) == 0x4d000000) { itype = IQ2000BF_INSN_BC3F; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffff0000) == 0x4d010000) { itype = IQ2000BF_INSN_BC3T; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffff0000) == 0x4d020000) { itype = IQ2000BF_INSN_BC3FL; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffff0000) == 0x4d030000) { itype = IQ2000BF_INSN_BC3TL; goto extract_sfmt_bctxt; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 36 : + case 36: if ((entire_insn & 0xffe007ff) == 0x4d200000) { itype = IQ2000BF_INSN_CHKHDR; goto extract_sfmt_cfc0; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : itype = IQ2000BF_INSN_WBR1; goto extract_sfmt_cfc0; - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : itype = IQ2000BF_INSN_WBR1U; goto extract_sfmt_cfc0; - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : itype = IQ2000BF_INSN_WBR30; goto extract_sfmt_cfc0; - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : itype = IQ2000BF_INSN_WBR30U; goto extract_sfmt_cfc0; - case 80 : /* fall through */ - case 81 : /* fall through */ - case 82 : /* fall through */ - case 83 : itype = IQ2000BF_INSN_WXR1; goto extract_sfmt_cfc0; - case 84 : /* fall through */ - case 85 : /* fall through */ - case 86 : /* fall through */ - case 87 : itype = IQ2000BF_INSN_WXR1U; goto extract_sfmt_cfc0; - case 88 : /* fall through */ - case 89 : /* fall through */ - case 90 : /* fall through */ - case 91 : itype = IQ2000BF_INSN_WXR30; goto extract_sfmt_cfc0; - case 92 : /* fall through */ - case 93 : /* fall through */ - case 94 : /* fall through */ - case 95 : itype = IQ2000BF_INSN_WXR30U; goto extract_sfmt_cfc0; - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : itype = IQ2000BF_INSN_RBR1; goto extract_sfmt_cfc0; - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : itype = IQ2000BF_INSN_RBR30; goto extract_sfmt_cfc0; - case 112 : /* fall through */ - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : itype = IQ2000BF_INSN_RXR1; goto extract_sfmt_cfc0; - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : itype = IQ2000BF_INSN_PKRLR1; goto extract_sfmt_cfc0; - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : itype = IQ2000BF_INSN_RXR30; goto extract_sfmt_cfc0; - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : /* fall through */ - case 127 : itype = IQ2000BF_INSN_PKRLR30; goto extract_sfmt_cfc0; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + case 64: + case 65: + case 66: + case 67: itype = IQ2000BF_INSN_WBR1; goto extract_sfmt_cfc0; + case 68: + case 69: + case 70: + case 71: itype = IQ2000BF_INSN_WBR1U; goto extract_sfmt_cfc0; + case 72: + case 73: + case 74: + case 75: itype = IQ2000BF_INSN_WBR30; goto extract_sfmt_cfc0; + case 76: + case 77: + case 78: + case 79: itype = IQ2000BF_INSN_WBR30U; goto extract_sfmt_cfc0; + case 80: + case 81: + case 82: + case 83: itype = IQ2000BF_INSN_WXR1; goto extract_sfmt_cfc0; + case 84: + case 85: + case 86: + case 87: itype = IQ2000BF_INSN_WXR1U; goto extract_sfmt_cfc0; + case 88: + case 89: + case 90: + case 91: itype = IQ2000BF_INSN_WXR30; goto extract_sfmt_cfc0; + case 92: + case 93: + case 94: + case 95: itype = IQ2000BF_INSN_WXR30U; goto extract_sfmt_cfc0; + case 96: + case 97: + case 98: + case 99: itype = IQ2000BF_INSN_RBR1; goto extract_sfmt_cfc0; + case 104: + case 105: + case 106: + case 107: itype = IQ2000BF_INSN_RBR30; goto extract_sfmt_cfc0; + case 112: + case 113: + case 114: + case 115: itype = IQ2000BF_INSN_RXR1; goto extract_sfmt_cfc0; + case 116: + case 117: + case 118: + case 119: itype = IQ2000BF_INSN_PKRLR1; goto extract_sfmt_cfc0; + case 120: + case 121: + case 122: + case 123: itype = IQ2000BF_INSN_RXR30; goto extract_sfmt_cfc0; + case 124: + case 125: + case 126: + case 127: itype = IQ2000BF_INSN_PKRLR30; goto extract_sfmt_cfc0; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 20 : itype = IQ2000BF_INSN_BEQL; goto extract_sfmt_bbv; - case 21 : itype = IQ2000BF_INSN_BNEL; goto extract_sfmt_bbv; - case 22 : + case 20: itype = IQ2000BF_INSN_BEQL; goto extract_sfmt_bbv; + case 21: itype = IQ2000BF_INSN_BNEL; goto extract_sfmt_bbv; + case 22: if ((entire_insn & 0xfc1f0000) == 0x58000000) { itype = IQ2000BF_INSN_BLEZL; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 23 : + case 23: if ((entire_insn & 0xfc1f0000) == 0x5c000000) { itype = IQ2000BF_INSN_BGTZL; goto extract_sfmt_bgez; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 24 : itype = IQ2000BF_INSN_BMB0; goto extract_sfmt_bbv; - case 25 : itype = IQ2000BF_INSN_BMB1; goto extract_sfmt_bbv; - case 26 : itype = IQ2000BF_INSN_BMB2; goto extract_sfmt_bbv; - case 27 : itype = IQ2000BF_INSN_BMB3; goto extract_sfmt_bbv; - case 28 : itype = IQ2000BF_INSN_BBI; goto extract_sfmt_bbi; - case 29 : itype = IQ2000BF_INSN_BBV; goto extract_sfmt_bbv; - case 30 : itype = IQ2000BF_INSN_BBIN; goto extract_sfmt_bbi; - case 31 : itype = IQ2000BF_INSN_BBVN; goto extract_sfmt_bbv; - case 32 : itype = IQ2000BF_INSN_LB; goto extract_sfmt_lb; - case 33 : itype = IQ2000BF_INSN_LH; goto extract_sfmt_lh; - case 35 : itype = IQ2000BF_INSN_LW; goto extract_sfmt_lw; - case 36 : itype = IQ2000BF_INSN_LBU; goto extract_sfmt_lb; - case 37 : itype = IQ2000BF_INSN_LHU; goto extract_sfmt_lh; - case 39 : + case 24: itype = IQ2000BF_INSN_BMB0; goto extract_sfmt_bbv; + case 25: itype = IQ2000BF_INSN_BMB1; goto extract_sfmt_bbv; + case 26: itype = IQ2000BF_INSN_BMB2; goto extract_sfmt_bbv; + case 27: itype = IQ2000BF_INSN_BMB3; goto extract_sfmt_bbv; + case 28: itype = IQ2000BF_INSN_BBI; goto extract_sfmt_bbi; + case 29: itype = IQ2000BF_INSN_BBV; goto extract_sfmt_bbv; + case 30: itype = IQ2000BF_INSN_BBIN; goto extract_sfmt_bbi; + case 31: itype = IQ2000BF_INSN_BBVN; goto extract_sfmt_bbv; + case 32: itype = IQ2000BF_INSN_LB; goto extract_sfmt_lb; + case 33: itype = IQ2000BF_INSN_LH; goto extract_sfmt_lh; + case 35: itype = IQ2000BF_INSN_LW; goto extract_sfmt_lw; + case 36: itype = IQ2000BF_INSN_LBU; goto extract_sfmt_lb; + case 37: itype = IQ2000BF_INSN_LHU; goto extract_sfmt_lh; + case 39: if ((entire_insn & 0xfc000020) == 0x9c000000) { itype = IQ2000BF_INSN_RAM; goto extract_sfmt_ram; } itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 40 : itype = IQ2000BF_INSN_SB; goto extract_sfmt_sb; - case 41 : itype = IQ2000BF_INSN_SH; goto extract_sfmt_sh; - case 43 : itype = IQ2000BF_INSN_SW; goto extract_sfmt_sw; - case 44 : itype = IQ2000BF_INSN_ANDOI; goto extract_sfmt_addi; - case 45 : itype = IQ2000BF_INSN_BMB; goto extract_sfmt_bbv; - case 47 : itype = IQ2000BF_INSN_ORUI; goto extract_sfmt_andoui; - case 48 : itype = IQ2000BF_INSN_LDW; goto extract_sfmt_ldw; - case 56 : itype = IQ2000BF_INSN_SDW; goto extract_sfmt_sdw; - case 63 : itype = IQ2000BF_INSN_ANDOUI; goto extract_sfmt_andoui; - default : itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; + case 40: itype = IQ2000BF_INSN_SB; goto extract_sfmt_sb; + case 41: itype = IQ2000BF_INSN_SH; goto extract_sfmt_sh; + case 43: itype = IQ2000BF_INSN_SW; goto extract_sfmt_sw; + case 44: itype = IQ2000BF_INSN_ANDOI; goto extract_sfmt_addi; + case 45: itype = IQ2000BF_INSN_BMB; goto extract_sfmt_bbv; + case 47: itype = IQ2000BF_INSN_ORUI; goto extract_sfmt_andoui; + case 48: itype = IQ2000BF_INSN_LDW; goto extract_sfmt_ldw; + case 56: itype = IQ2000BF_INSN_SDW; goto extract_sfmt_sdw; + case 63: itype = IQ2000BF_INSN_ANDOUI; goto extract_sfmt_andoui; + default: itype = IQ2000BF_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/lm32/decode.c b/sim/lm32/decode.c index 2bfbf13..00b1ab6 100644 --- a/sim/lm32/decode.c +++ b/sim/lm32/decode.c @@ -190,158 +190,158 @@ lm32bf_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 26) & (63 << 0))); switch (val0) { - case 0 : itype = LM32BF_INSN_SRUI; goto extract_sfmt_addi; - case 1 : itype = LM32BF_INSN_NORI; goto extract_sfmt_andi; - case 2 : itype = LM32BF_INSN_MULI; goto extract_sfmt_addi; - case 3 : itype = LM32BF_INSN_SH; goto extract_sfmt_sh; - case 4 : itype = LM32BF_INSN_LB; goto extract_sfmt_lb; - case 5 : itype = LM32BF_INSN_SRI; goto extract_sfmt_addi; - case 6 : itype = LM32BF_INSN_XORI; goto extract_sfmt_andi; - case 7 : itype = LM32BF_INSN_LH; goto extract_sfmt_lh; - case 8 : itype = LM32BF_INSN_ANDI; goto extract_sfmt_andi; - case 9 : itype = LM32BF_INSN_XNORI; goto extract_sfmt_andi; - case 10 : itype = LM32BF_INSN_LW; goto extract_sfmt_lw; - case 11 : itype = LM32BF_INSN_LHU; goto extract_sfmt_lh; - case 12 : itype = LM32BF_INSN_SB; goto extract_sfmt_sb; - case 13 : itype = LM32BF_INSN_ADDI; goto extract_sfmt_addi; - case 14 : itype = LM32BF_INSN_ORI; goto extract_sfmt_ori; - case 15 : itype = LM32BF_INSN_SLI; goto extract_sfmt_addi; - case 16 : itype = LM32BF_INSN_LBU; goto extract_sfmt_lb; - case 17 : itype = LM32BF_INSN_BE; goto extract_sfmt_be; - case 18 : itype = LM32BF_INSN_BG; goto extract_sfmt_be; - case 19 : itype = LM32BF_INSN_BGE; goto extract_sfmt_be; - case 20 : itype = LM32BF_INSN_BGEU; goto extract_sfmt_be; - case 21 : itype = LM32BF_INSN_BGU; goto extract_sfmt_be; - case 22 : itype = LM32BF_INSN_SW; goto extract_sfmt_sw; - case 23 : itype = LM32BF_INSN_BNE; goto extract_sfmt_be; - case 24 : itype = LM32BF_INSN_ANDHII; goto extract_sfmt_andhii; - case 25 : itype = LM32BF_INSN_CMPEI; goto extract_sfmt_addi; - case 26 : itype = LM32BF_INSN_CMPGI; goto extract_sfmt_addi; - case 27 : itype = LM32BF_INSN_CMPGEI; goto extract_sfmt_addi; - case 28 : itype = LM32BF_INSN_CMPGEUI; goto extract_sfmt_andi; - case 29 : itype = LM32BF_INSN_CMPGUI; goto extract_sfmt_andi; - case 30 : itype = LM32BF_INSN_ORHII; goto extract_sfmt_andhii; - case 31 : itype = LM32BF_INSN_CMPNEI; goto extract_sfmt_addi; - case 32 : + case 0: itype = LM32BF_INSN_SRUI; goto extract_sfmt_addi; + case 1: itype = LM32BF_INSN_NORI; goto extract_sfmt_andi; + case 2: itype = LM32BF_INSN_MULI; goto extract_sfmt_addi; + case 3: itype = LM32BF_INSN_SH; goto extract_sfmt_sh; + case 4: itype = LM32BF_INSN_LB; goto extract_sfmt_lb; + case 5: itype = LM32BF_INSN_SRI; goto extract_sfmt_addi; + case 6: itype = LM32BF_INSN_XORI; goto extract_sfmt_andi; + case 7: itype = LM32BF_INSN_LH; goto extract_sfmt_lh; + case 8: itype = LM32BF_INSN_ANDI; goto extract_sfmt_andi; + case 9: itype = LM32BF_INSN_XNORI; goto extract_sfmt_andi; + case 10: itype = LM32BF_INSN_LW; goto extract_sfmt_lw; + case 11: itype = LM32BF_INSN_LHU; goto extract_sfmt_lh; + case 12: itype = LM32BF_INSN_SB; goto extract_sfmt_sb; + case 13: itype = LM32BF_INSN_ADDI; goto extract_sfmt_addi; + case 14: itype = LM32BF_INSN_ORI; goto extract_sfmt_ori; + case 15: itype = LM32BF_INSN_SLI; goto extract_sfmt_addi; + case 16: itype = LM32BF_INSN_LBU; goto extract_sfmt_lb; + case 17: itype = LM32BF_INSN_BE; goto extract_sfmt_be; + case 18: itype = LM32BF_INSN_BG; goto extract_sfmt_be; + case 19: itype = LM32BF_INSN_BGE; goto extract_sfmt_be; + case 20: itype = LM32BF_INSN_BGEU; goto extract_sfmt_be; + case 21: itype = LM32BF_INSN_BGU; goto extract_sfmt_be; + case 22: itype = LM32BF_INSN_SW; goto extract_sfmt_sw; + case 23: itype = LM32BF_INSN_BNE; goto extract_sfmt_be; + case 24: itype = LM32BF_INSN_ANDHII; goto extract_sfmt_andhii; + case 25: itype = LM32BF_INSN_CMPEI; goto extract_sfmt_addi; + case 26: itype = LM32BF_INSN_CMPGI; goto extract_sfmt_addi; + case 27: itype = LM32BF_INSN_CMPGEI; goto extract_sfmt_addi; + case 28: itype = LM32BF_INSN_CMPGEUI; goto extract_sfmt_andi; + case 29: itype = LM32BF_INSN_CMPGUI; goto extract_sfmt_andi; + case 30: itype = LM32BF_INSN_ORHII; goto extract_sfmt_andhii; + case 31: itype = LM32BF_INSN_CMPNEI; goto extract_sfmt_addi; + case 32: if ((entire_insn & 0xfc0007ff) == 0x80000000) { itype = LM32BF_INSN_SRU; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 33 : + case 33: if ((entire_insn & 0xfc0007ff) == 0x84000000) { itype = LM32BF_INSN_NOR; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 34 : + case 34: if ((entire_insn & 0xfc0007ff) == 0x88000000) { itype = LM32BF_INSN_MUL; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 35 : + case 35: if ((entire_insn & 0xfc0007ff) == 0x8c000000) { itype = LM32BF_INSN_DIVU; goto extract_sfmt_divu; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 36 : + case 36: if ((entire_insn & 0xfc1f07ff) == 0x90000000) { itype = LM32BF_INSN_RCSR; goto extract_sfmt_rcsr; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 37 : + case 37: if ((entire_insn & 0xfc0007ff) == 0x94000000) { itype = LM32BF_INSN_SR; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 38 : + case 38: if ((entire_insn & 0xfc0007ff) == 0x98000000) { itype = LM32BF_INSN_XOR; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 40 : + case 40: if ((entire_insn & 0xfc0007ff) == 0xa0000000) { itype = LM32BF_INSN_AND; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 41 : + case 41: if ((entire_insn & 0xfc0007ff) == 0xa4000000) { itype = LM32BF_INSN_XNOR; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 43 : + case 43: { unsigned int val1 = (((insn >> 1) & (1 << 1)) | ((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffffffff) == 0xac000002) { itype = LM32BF_INSN_BREAK; goto extract_sfmt_break; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffffffff) == 0xac000007) { itype = LM32BF_INSN_SCALL; goto extract_sfmt_break; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 44 : + case 44: if ((entire_insn & 0xfc1f07ff) == 0xb0000000) { itype = LM32BF_INSN_SEXTB; goto extract_sfmt_sextb; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 45 : + case 45: if ((entire_insn & 0xfc0007ff) == 0xb4000000) { itype = LM32BF_INSN_ADD; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 46 : + case 46: if ((entire_insn & 0xfc0007ff) == 0xb8000000) { itype = LM32BF_INSN_OR; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 47 : + case 47: if ((entire_insn & 0xfc0007ff) == 0xbc000000) { itype = LM32BF_INSN_SL; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 48 : + case 48: if ((entire_insn & 0xfc1fffff) == 0xc0000000) { itype = LM32BF_INSN_B; goto extract_sfmt_b; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 49 : + case 49: if ((entire_insn & 0xfc0007ff) == 0xc4000000) { itype = LM32BF_INSN_MODU; goto extract_sfmt_divu; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 50 : + case 50: if ((entire_insn & 0xfc0007ff) == 0xc8000000) { itype = LM32BF_INSN_SUB; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 51 : itype = LM32BF_INSN_USER; goto extract_sfmt_user; - case 52 : + case 51: itype = LM32BF_INSN_USER; goto extract_sfmt_user; + case 52: if ((entire_insn & 0xfc00ffff) == 0xd0000000) { itype = LM32BF_INSN_WCSR; goto extract_sfmt_wcsr; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 54 : + case 54: if ((entire_insn & 0xfc1fffff) == 0xd8000000) { itype = LM32BF_INSN_CALL; goto extract_sfmt_call; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 55 : + case 55: if ((entire_insn & 0xfc1f07ff) == 0xdc000000) { itype = LM32BF_INSN_SEXTH; goto extract_sfmt_sextb; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 56 : itype = LM32BF_INSN_BI; goto extract_sfmt_bi; - case 57 : + case 56: itype = LM32BF_INSN_BI; goto extract_sfmt_bi; + case 57: if ((entire_insn & 0xfc0007ff) == 0xe4000000) { itype = LM32BF_INSN_CMPE; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 58 : + case 58: if ((entire_insn & 0xfc0007ff) == 0xe8000000) { itype = LM32BF_INSN_CMPG; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 59 : + case 59: if ((entire_insn & 0xfc0007ff) == 0xec000000) { itype = LM32BF_INSN_CMPGE; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 60 : + case 60: if ((entire_insn & 0xfc0007ff) == 0xf0000000) { itype = LM32BF_INSN_CMPGEU; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 61 : + case 61: if ((entire_insn & 0xfc0007ff) == 0xf4000000) { itype = LM32BF_INSN_CMPGU; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 62 : itype = LM32BF_INSN_CALLI; goto extract_sfmt_calli; - case 63 : + case 62: itype = LM32BF_INSN_CALLI; goto extract_sfmt_calli; + case 63: if ((entire_insn & 0xfc0007ff) == 0xfc000000) { itype = LM32BF_INSN_CMPNE; goto extract_sfmt_add; } itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = LM32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/m32r/decode.c b/sim/m32r/decode.c index dae456d..9c52b53 100644 --- a/sim/m32r/decode.c +++ b/sim/m32r/decode.c @@ -232,341 +232,341 @@ m32rbf_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 8) & (15 << 4)) | ((insn >> 4) & (15 << 0))); switch (val0) { - case 0 : itype = M32RBF_INSN_SUBV; goto extract_sfmt_addv; - case 1 : itype = M32RBF_INSN_SUBX; goto extract_sfmt_addx; - case 2 : itype = M32RBF_INSN_SUB; goto extract_sfmt_add; - case 3 : itype = M32RBF_INSN_NEG; goto extract_sfmt_mv; - case 4 : itype = M32RBF_INSN_CMP; goto extract_sfmt_cmp; - case 5 : itype = M32RBF_INSN_CMPU; goto extract_sfmt_cmp; - case 8 : itype = M32RBF_INSN_ADDV; goto extract_sfmt_addv; - case 9 : itype = M32RBF_INSN_ADDX; goto extract_sfmt_addx; - case 10 : itype = M32RBF_INSN_ADD; goto extract_sfmt_add; - case 11 : itype = M32RBF_INSN_NOT; goto extract_sfmt_mv; - case 12 : itype = M32RBF_INSN_AND; goto extract_sfmt_add; - case 13 : itype = M32RBF_INSN_XOR; goto extract_sfmt_add; - case 14 : itype = M32RBF_INSN_OR; goto extract_sfmt_add; - case 15 : + case 0: itype = M32RBF_INSN_SUBV; goto extract_sfmt_addv; + case 1: itype = M32RBF_INSN_SUBX; goto extract_sfmt_addx; + case 2: itype = M32RBF_INSN_SUB; goto extract_sfmt_add; + case 3: itype = M32RBF_INSN_NEG; goto extract_sfmt_mv; + case 4: itype = M32RBF_INSN_CMP; goto extract_sfmt_cmp; + case 5: itype = M32RBF_INSN_CMPU; goto extract_sfmt_cmp; + case 8: itype = M32RBF_INSN_ADDV; goto extract_sfmt_addv; + case 9: itype = M32RBF_INSN_ADDX; goto extract_sfmt_addx; + case 10: itype = M32RBF_INSN_ADD; goto extract_sfmt_add; + case 11: itype = M32RBF_INSN_NOT; goto extract_sfmt_mv; + case 12: itype = M32RBF_INSN_AND; goto extract_sfmt_add; + case 13: itype = M32RBF_INSN_XOR; goto extract_sfmt_add; + case 14: itype = M32RBF_INSN_OR; goto extract_sfmt_add; + case 15: if ((entire_insn & 0xf8f0) == 0xf0) { itype = M32RBF_INSN_BTST; goto extract_sfmt_btst; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : itype = M32RBF_INSN_SRL; goto extract_sfmt_add; - case 18 : itype = M32RBF_INSN_SRA; goto extract_sfmt_add; - case 20 : itype = M32RBF_INSN_SLL; goto extract_sfmt_add; - case 22 : itype = M32RBF_INSN_MUL; goto extract_sfmt_add; - case 24 : itype = M32RBF_INSN_MV; goto extract_sfmt_mv; - case 25 : itype = M32RBF_INSN_MVFC; goto extract_sfmt_mvfc; - case 26 : itype = M32RBF_INSN_MVTC; goto extract_sfmt_mvtc; - case 28 : + case 16: itype = M32RBF_INSN_SRL; goto extract_sfmt_add; + case 18: itype = M32RBF_INSN_SRA; goto extract_sfmt_add; + case 20: itype = M32RBF_INSN_SLL; goto extract_sfmt_add; + case 22: itype = M32RBF_INSN_MUL; goto extract_sfmt_add; + case 24: itype = M32RBF_INSN_MV; goto extract_sfmt_mv; + case 25: itype = M32RBF_INSN_MVFC; goto extract_sfmt_mvfc; + case 26: itype = M32RBF_INSN_MVTC; goto extract_sfmt_mvtc; + case 28: { unsigned int val1 = (((insn >> 8) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfff0) == 0x1ec0) { itype = M32RBF_INSN_JL; goto extract_sfmt_jl; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfff0) == 0x1fc0) { itype = M32RBF_INSN_JMP; goto extract_sfmt_jmp; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 29 : + case 29: if ((entire_insn & 0xffff) == 0x10d6) { itype = M32RBF_INSN_RTE; goto extract_sfmt_rte; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 31 : + case 31: if ((entire_insn & 0xfff0) == 0x10f0) { itype = M32RBF_INSN_TRAP; goto extract_sfmt_trap; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : itype = M32RBF_INSN_STB; goto extract_sfmt_stb; - case 34 : itype = M32RBF_INSN_STH; goto extract_sfmt_sth; - case 36 : itype = M32RBF_INSN_ST; goto extract_sfmt_st; - case 37 : itype = M32RBF_INSN_UNLOCK; goto extract_sfmt_unlock; - case 38 : itype = M32RBF_INSN_ST_PLUS; goto extract_sfmt_st_plus; - case 39 : itype = M32RBF_INSN_ST_MINUS; goto extract_sfmt_st_plus; - case 40 : itype = M32RBF_INSN_LDB; goto extract_sfmt_ldb; - case 41 : itype = M32RBF_INSN_LDUB; goto extract_sfmt_ldb; - case 42 : itype = M32RBF_INSN_LDH; goto extract_sfmt_ldh; - case 43 : itype = M32RBF_INSN_LDUH; goto extract_sfmt_ldh; - case 44 : itype = M32RBF_INSN_LD; goto extract_sfmt_ld; - case 45 : itype = M32RBF_INSN_LOCK; goto extract_sfmt_lock; - case 46 : itype = M32RBF_INSN_LD_PLUS; goto extract_sfmt_ld_plus; - case 48 : itype = M32RBF_INSN_MULHI; goto extract_sfmt_mulhi; - case 49 : itype = M32RBF_INSN_MULLO; goto extract_sfmt_mulhi; - case 50 : itype = M32RBF_INSN_MULWHI; goto extract_sfmt_mulhi; - case 51 : itype = M32RBF_INSN_MULWLO; goto extract_sfmt_mulhi; - case 52 : itype = M32RBF_INSN_MACHI; goto extract_sfmt_machi; - case 53 : itype = M32RBF_INSN_MACLO; goto extract_sfmt_machi; - case 54 : itype = M32RBF_INSN_MACWHI; goto extract_sfmt_machi; - case 55 : itype = M32RBF_INSN_MACWLO; goto extract_sfmt_machi; - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : /* fall through */ - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : /* fall through */ - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : /* fall through */ - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : itype = M32RBF_INSN_ADDI; goto extract_sfmt_addi; - case 80 : /* fall through */ - case 81 : itype = M32RBF_INSN_SRLI; goto extract_sfmt_slli; - case 82 : /* fall through */ - case 83 : itype = M32RBF_INSN_SRAI; goto extract_sfmt_slli; - case 84 : /* fall through */ - case 85 : itype = M32RBF_INSN_SLLI; goto extract_sfmt_slli; - case 87 : + case 32: itype = M32RBF_INSN_STB; goto extract_sfmt_stb; + case 34: itype = M32RBF_INSN_STH; goto extract_sfmt_sth; + case 36: itype = M32RBF_INSN_ST; goto extract_sfmt_st; + case 37: itype = M32RBF_INSN_UNLOCK; goto extract_sfmt_unlock; + case 38: itype = M32RBF_INSN_ST_PLUS; goto extract_sfmt_st_plus; + case 39: itype = M32RBF_INSN_ST_MINUS; goto extract_sfmt_st_plus; + case 40: itype = M32RBF_INSN_LDB; goto extract_sfmt_ldb; + case 41: itype = M32RBF_INSN_LDUB; goto extract_sfmt_ldb; + case 42: itype = M32RBF_INSN_LDH; goto extract_sfmt_ldh; + case 43: itype = M32RBF_INSN_LDUH; goto extract_sfmt_ldh; + case 44: itype = M32RBF_INSN_LD; goto extract_sfmt_ld; + case 45: itype = M32RBF_INSN_LOCK; goto extract_sfmt_lock; + case 46: itype = M32RBF_INSN_LD_PLUS; goto extract_sfmt_ld_plus; + case 48: itype = M32RBF_INSN_MULHI; goto extract_sfmt_mulhi; + case 49: itype = M32RBF_INSN_MULLO; goto extract_sfmt_mulhi; + case 50: itype = M32RBF_INSN_MULWHI; goto extract_sfmt_mulhi; + case 51: itype = M32RBF_INSN_MULWLO; goto extract_sfmt_mulhi; + case 52: itype = M32RBF_INSN_MACHI; goto extract_sfmt_machi; + case 53: itype = M32RBF_INSN_MACLO; goto extract_sfmt_machi; + case 54: itype = M32RBF_INSN_MACWHI; goto extract_sfmt_machi; + case 55: itype = M32RBF_INSN_MACWLO; goto extract_sfmt_machi; + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: itype = M32RBF_INSN_ADDI; goto extract_sfmt_addi; + case 80: + case 81: itype = M32RBF_INSN_SRLI; goto extract_sfmt_slli; + case 82: + case 83: itype = M32RBF_INSN_SRAI; goto extract_sfmt_slli; + case 84: + case 85: itype = M32RBF_INSN_SLLI; goto extract_sfmt_slli; + case 87: { unsigned int val1 = (((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0ff) == 0x5070) { itype = M32RBF_INSN_MVTACHI; goto extract_sfmt_mvtachi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xf0ff) == 0x5071) { itype = M32RBF_INSN_MVTACLO; goto extract_sfmt_mvtachi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 88 : + case 88: if ((entire_insn & 0xffff) == 0x5080) { itype = M32RBF_INSN_RACH; goto extract_sfmt_rac; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 89 : + case 89: if ((entire_insn & 0xffff) == 0x5090) { itype = M32RBF_INSN_RAC; goto extract_sfmt_rac; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 95 : + case 95: { unsigned int val1 = (((insn >> 0) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0ff) == 0x50f0) { itype = M32RBF_INSN_MVFACHI; goto extract_sfmt_mvfachi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xf0ff) == 0x50f1) { itype = M32RBF_INSN_MVFACLO; goto extract_sfmt_mvfachi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0ff) == 0x50f2) { itype = M32RBF_INSN_MVFACMI; goto extract_sfmt_mvfachi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : /* fall through */ - case 100 : /* fall through */ - case 101 : /* fall through */ - case 102 : /* fall through */ - case 103 : /* fall through */ - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : /* fall through */ - case 108 : /* fall through */ - case 109 : /* fall through */ - case 110 : /* fall through */ - case 111 : itype = M32RBF_INSN_LDI8; goto extract_sfmt_ldi8; - case 112 : + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: itype = M32RBF_INSN_LDI8; goto extract_sfmt_ldi8; + case 112: { unsigned int val1 = (((insn >> 8) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffff) == 0x7000) { itype = M32RBF_INSN_NOP; goto extract_sfmt_nop; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : itype = M32RBF_INSN_SETPSW; goto extract_sfmt_setpsw; - case 2 : itype = M32RBF_INSN_CLRPSW; goto extract_sfmt_clrpsw; - case 12 : itype = M32RBF_INSN_BC8; goto extract_sfmt_bc8; - case 13 : itype = M32RBF_INSN_BNC8; goto extract_sfmt_bc8; - case 14 : itype = M32RBF_INSN_BL8; goto extract_sfmt_bl8; - case 15 : itype = M32RBF_INSN_BRA8; goto extract_sfmt_bra8; - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = M32RBF_INSN_SETPSW; goto extract_sfmt_setpsw; + case 2: itype = M32RBF_INSN_CLRPSW; goto extract_sfmt_clrpsw; + case 12: itype = M32RBF_INSN_BC8; goto extract_sfmt_bc8; + case 13: itype = M32RBF_INSN_BNC8; goto extract_sfmt_bc8; + case 14: itype = M32RBF_INSN_BL8; goto extract_sfmt_bl8; + case 15: itype = M32RBF_INSN_BRA8; goto extract_sfmt_bra8; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : /* fall through */ - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : /* fall through */ - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : /* fall through */ - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : /* fall through */ - case 127 : + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: { unsigned int val1 = (((insn >> 8) & (15 << 0))); switch (val1) { - case 1 : itype = M32RBF_INSN_SETPSW; goto extract_sfmt_setpsw; - case 2 : itype = M32RBF_INSN_CLRPSW; goto extract_sfmt_clrpsw; - case 12 : itype = M32RBF_INSN_BC8; goto extract_sfmt_bc8; - case 13 : itype = M32RBF_INSN_BNC8; goto extract_sfmt_bc8; - case 14 : itype = M32RBF_INSN_BL8; goto extract_sfmt_bl8; - case 15 : itype = M32RBF_INSN_BRA8; goto extract_sfmt_bra8; - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = M32RBF_INSN_SETPSW; goto extract_sfmt_setpsw; + case 2: itype = M32RBF_INSN_CLRPSW; goto extract_sfmt_clrpsw; + case 12: itype = M32RBF_INSN_BC8; goto extract_sfmt_bc8; + case 13: itype = M32RBF_INSN_BNC8; goto extract_sfmt_bc8; + case 14: itype = M32RBF_INSN_BL8; goto extract_sfmt_bl8; + case 15: itype = M32RBF_INSN_BRA8; goto extract_sfmt_bra8; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 132 : + case 132: if ((entire_insn & 0xfff00000) == 0x80400000) { itype = M32RBF_INSN_CMPI; goto extract_sfmt_cmpi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 133 : + case 133: if ((entire_insn & 0xfff00000) == 0x80500000) { itype = M32RBF_INSN_CMPUI; goto extract_sfmt_cmpi; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 136 : itype = M32RBF_INSN_ADDV3; goto extract_sfmt_addv3; - case 138 : itype = M32RBF_INSN_ADD3; goto extract_sfmt_add3; - case 140 : itype = M32RBF_INSN_AND3; goto extract_sfmt_and3; - case 141 : itype = M32RBF_INSN_XOR3; goto extract_sfmt_and3; - case 142 : itype = M32RBF_INSN_OR3; goto extract_sfmt_or3; - case 144 : + case 136: itype = M32RBF_INSN_ADDV3; goto extract_sfmt_addv3; + case 138: itype = M32RBF_INSN_ADD3; goto extract_sfmt_add3; + case 140: itype = M32RBF_INSN_AND3; goto extract_sfmt_and3; + case 141: itype = M32RBF_INSN_XOR3; goto extract_sfmt_and3; + case 142: itype = M32RBF_INSN_OR3; goto extract_sfmt_or3; + case 144: if ((entire_insn & 0xf0f0ffff) == 0x90000000) { itype = M32RBF_INSN_DIV; goto extract_sfmt_div; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 145 : + case 145: if ((entire_insn & 0xf0f0ffff) == 0x90100000) { itype = M32RBF_INSN_DIVU; goto extract_sfmt_div; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 146 : + case 146: if ((entire_insn & 0xf0f0ffff) == 0x90200000) { itype = M32RBF_INSN_REM; goto extract_sfmt_div; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 147 : + case 147: if ((entire_insn & 0xf0f0ffff) == 0x90300000) { itype = M32RBF_INSN_REMU; goto extract_sfmt_div; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 152 : itype = M32RBF_INSN_SRL3; goto extract_sfmt_sll3; - case 154 : itype = M32RBF_INSN_SRA3; goto extract_sfmt_sll3; - case 156 : itype = M32RBF_INSN_SLL3; goto extract_sfmt_sll3; - case 159 : + case 152: itype = M32RBF_INSN_SRL3; goto extract_sfmt_sll3; + case 154: itype = M32RBF_INSN_SRA3; goto extract_sfmt_sll3; + case 156: itype = M32RBF_INSN_SLL3; goto extract_sfmt_sll3; + case 159: if ((entire_insn & 0xf0ff0000) == 0x90f00000) { itype = M32RBF_INSN_LDI16; goto extract_sfmt_ldi16; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 160 : itype = M32RBF_INSN_STB_D; goto extract_sfmt_stb_d; - case 162 : itype = M32RBF_INSN_STH_D; goto extract_sfmt_sth_d; - case 164 : itype = M32RBF_INSN_ST_D; goto extract_sfmt_st_d; - case 166 : + case 160: itype = M32RBF_INSN_STB_D; goto extract_sfmt_stb_d; + case 162: itype = M32RBF_INSN_STH_D; goto extract_sfmt_sth_d; + case 164: itype = M32RBF_INSN_ST_D; goto extract_sfmt_st_d; + case 166: if ((entire_insn & 0xf8f00000) == 0xa0600000) { itype = M32RBF_INSN_BSET; goto extract_sfmt_bset; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 167 : + case 167: if ((entire_insn & 0xf8f00000) == 0xa0700000) { itype = M32RBF_INSN_BCLR; goto extract_sfmt_bset; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 168 : itype = M32RBF_INSN_LDB_D; goto extract_sfmt_ldb_d; - case 169 : itype = M32RBF_INSN_LDUB_D; goto extract_sfmt_ldb_d; - case 170 : itype = M32RBF_INSN_LDH_D; goto extract_sfmt_ldh_d; - case 171 : itype = M32RBF_INSN_LDUH_D; goto extract_sfmt_ldh_d; - case 172 : itype = M32RBF_INSN_LD_D; goto extract_sfmt_ld_d; - case 176 : itype = M32RBF_INSN_BEQ; goto extract_sfmt_beq; - case 177 : itype = M32RBF_INSN_BNE; goto extract_sfmt_beq; - case 184 : + case 168: itype = M32RBF_INSN_LDB_D; goto extract_sfmt_ldb_d; + case 169: itype = M32RBF_INSN_LDUB_D; goto extract_sfmt_ldb_d; + case 170: itype = M32RBF_INSN_LDH_D; goto extract_sfmt_ldh_d; + case 171: itype = M32RBF_INSN_LDUH_D; goto extract_sfmt_ldh_d; + case 172: itype = M32RBF_INSN_LD_D; goto extract_sfmt_ld_d; + case 176: itype = M32RBF_INSN_BEQ; goto extract_sfmt_beq; + case 177: itype = M32RBF_INSN_BNE; goto extract_sfmt_beq; + case 184: if ((entire_insn & 0xfff00000) == 0xb0800000) { itype = M32RBF_INSN_BEQZ; goto extract_sfmt_beqz; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 185 : + case 185: if ((entire_insn & 0xfff00000) == 0xb0900000) { itype = M32RBF_INSN_BNEZ; goto extract_sfmt_beqz; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 186 : + case 186: if ((entire_insn & 0xfff00000) == 0xb0a00000) { itype = M32RBF_INSN_BLTZ; goto extract_sfmt_beqz; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 187 : + case 187: if ((entire_insn & 0xfff00000) == 0xb0b00000) { itype = M32RBF_INSN_BGEZ; goto extract_sfmt_beqz; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 188 : + case 188: if ((entire_insn & 0xfff00000) == 0xb0c00000) { itype = M32RBF_INSN_BLEZ; goto extract_sfmt_beqz; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 189 : + case 189: if ((entire_insn & 0xfff00000) == 0xb0d00000) { itype = M32RBF_INSN_BGTZ; goto extract_sfmt_beqz; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 220 : + case 220: if ((entire_insn & 0xf0ff0000) == 0xd0c00000) { itype = M32RBF_INSN_SETH; goto extract_sfmt_seth; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 224 : /* fall through */ - case 225 : /* fall through */ - case 226 : /* fall through */ - case 227 : /* fall through */ - case 228 : /* fall through */ - case 229 : /* fall through */ - case 230 : /* fall through */ - case 231 : /* fall through */ - case 232 : /* fall through */ - case 233 : /* fall through */ - case 234 : /* fall through */ - case 235 : /* fall through */ - case 236 : /* fall through */ - case 237 : /* fall through */ - case 238 : /* fall through */ - case 239 : itype = M32RBF_INSN_LD24; goto extract_sfmt_ld24; - case 240 : /* fall through */ - case 241 : /* fall through */ - case 242 : /* fall through */ - case 243 : /* fall through */ - case 244 : /* fall through */ - case 245 : /* fall through */ - case 246 : /* fall through */ - case 247 : /* fall through */ - case 248 : /* fall through */ - case 249 : /* fall through */ - case 250 : /* fall through */ - case 251 : /* fall through */ - case 252 : /* fall through */ - case 253 : /* fall through */ - case 254 : /* fall through */ - case 255 : + case 224: + case 225: + case 226: + case 227: + case 228: + case 229: + case 230: + case 231: + case 232: + case 233: + case 234: + case 235: + case 236: + case 237: + case 238: + case 239: itype = M32RBF_INSN_LD24; goto extract_sfmt_ld24; + case 240: + case 241: + case 242: + case 243: + case 244: + case 245: + case 246: + case 247: + case 248: + case 249: + case 250: + case 251: + case 252: + case 253: + case 254: + case 255: { unsigned int val1 = (((insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xff000000) == 0xfc000000) { itype = M32RBF_INSN_BC24; goto extract_sfmt_bc24; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xff000000) == 0xfd000000) { itype = M32RBF_INSN_BNC24; goto extract_sfmt_bc24; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xff000000) == 0xfe000000) { itype = M32RBF_INSN_BL24; goto extract_sfmt_bl24; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xff000000) == 0xff000000) { itype = M32RBF_INSN_BRA24; goto extract_sfmt_bra24; } itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RBF_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/m32r/decode2.c b/sim/m32r/decode2.c index c8677e6..4b8992b 100644 --- a/sim/m32r/decode2.c +++ b/sim/m32r/decode2.c @@ -275,487 +275,487 @@ m32r2f_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 8) & (15 << 4)) | ((insn >> 4) & (15 << 0))); switch (val0) { - case 0 : itype = M32R2F_INSN_SUBV; goto extract_sfmt_addv; - case 1 : itype = M32R2F_INSN_SUBX; goto extract_sfmt_addx; - case 2 : itype = M32R2F_INSN_SUB; goto extract_sfmt_add; - case 3 : itype = M32R2F_INSN_NEG; goto extract_sfmt_mv; - case 4 : itype = M32R2F_INSN_CMP; goto extract_sfmt_cmp; - case 5 : itype = M32R2F_INSN_CMPU; goto extract_sfmt_cmp; - case 6 : itype = M32R2F_INSN_CMPEQ; goto extract_sfmt_cmp; - case 7 : + case 0: itype = M32R2F_INSN_SUBV; goto extract_sfmt_addv; + case 1: itype = M32R2F_INSN_SUBX; goto extract_sfmt_addx; + case 2: itype = M32R2F_INSN_SUB; goto extract_sfmt_add; + case 3: itype = M32R2F_INSN_NEG; goto extract_sfmt_mv; + case 4: itype = M32R2F_INSN_CMP; goto extract_sfmt_cmp; + case 5: itype = M32R2F_INSN_CMPU; goto extract_sfmt_cmp; + case 6: itype = M32R2F_INSN_CMPEQ; goto extract_sfmt_cmp; + case 7: { unsigned int val1 = (((insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfff0) == 0x70) { itype = M32R2F_INSN_CMPZ; goto extract_sfmt_cmpz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfff0) == 0x370) { itype = M32R2F_INSN_PCMPBZ; goto extract_sfmt_cmpz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 8 : itype = M32R2F_INSN_ADDV; goto extract_sfmt_addv; - case 9 : itype = M32R2F_INSN_ADDX; goto extract_sfmt_addx; - case 10 : itype = M32R2F_INSN_ADD; goto extract_sfmt_add; - case 11 : itype = M32R2F_INSN_NOT; goto extract_sfmt_mv; - case 12 : itype = M32R2F_INSN_AND; goto extract_sfmt_add; - case 13 : itype = M32R2F_INSN_XOR; goto extract_sfmt_add; - case 14 : itype = M32R2F_INSN_OR; goto extract_sfmt_add; - case 15 : + case 8: itype = M32R2F_INSN_ADDV; goto extract_sfmt_addv; + case 9: itype = M32R2F_INSN_ADDX; goto extract_sfmt_addx; + case 10: itype = M32R2F_INSN_ADD; goto extract_sfmt_add; + case 11: itype = M32R2F_INSN_NOT; goto extract_sfmt_mv; + case 12: itype = M32R2F_INSN_AND; goto extract_sfmt_add; + case 13: itype = M32R2F_INSN_XOR; goto extract_sfmt_add; + case 14: itype = M32R2F_INSN_OR; goto extract_sfmt_add; + case 15: if ((entire_insn & 0xf8f0) == 0xf0) { itype = M32R2F_INSN_BTST; goto extract_sfmt_btst; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : itype = M32R2F_INSN_SRL; goto extract_sfmt_add; - case 18 : itype = M32R2F_INSN_SRA; goto extract_sfmt_add; - case 20 : itype = M32R2F_INSN_SLL; goto extract_sfmt_add; - case 22 : itype = M32R2F_INSN_MUL; goto extract_sfmt_add; - case 24 : itype = M32R2F_INSN_MV; goto extract_sfmt_mv; - case 25 : itype = M32R2F_INSN_MVFC; goto extract_sfmt_mvfc; - case 26 : itype = M32R2F_INSN_MVTC; goto extract_sfmt_mvtc; - case 28 : + case 16: itype = M32R2F_INSN_SRL; goto extract_sfmt_add; + case 18: itype = M32R2F_INSN_SRA; goto extract_sfmt_add; + case 20: itype = M32R2F_INSN_SLL; goto extract_sfmt_add; + case 22: itype = M32R2F_INSN_MUL; goto extract_sfmt_add; + case 24: itype = M32R2F_INSN_MV; goto extract_sfmt_mv; + case 25: itype = M32R2F_INSN_MVFC; goto extract_sfmt_mvfc; + case 26: itype = M32R2F_INSN_MVTC; goto extract_sfmt_mvtc; + case 28: { unsigned int val1 = (((insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfff0) == 0x1cc0) { itype = M32R2F_INSN_JC; goto extract_sfmt_jc; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfff0) == 0x1dc0) { itype = M32R2F_INSN_JNC; goto extract_sfmt_jc; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xfff0) == 0x1ec0) { itype = M32R2F_INSN_JL; goto extract_sfmt_jl; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfff0) == 0x1fc0) { itype = M32R2F_INSN_JMP; goto extract_sfmt_jmp; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 29 : + case 29: if ((entire_insn & 0xffff) == 0x10d6) { itype = M32R2F_INSN_RTE; goto extract_sfmt_rte; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 31 : + case 31: if ((entire_insn & 0xfff0) == 0x10f0) { itype = M32R2F_INSN_TRAP; goto extract_sfmt_trap; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : itype = M32R2F_INSN_STB; goto extract_sfmt_stb; - case 33 : itype = M32R2F_INSN_STB_PLUS; goto extract_sfmt_stb_plus; - case 34 : itype = M32R2F_INSN_STH; goto extract_sfmt_sth; - case 35 : itype = M32R2F_INSN_STH_PLUS; goto extract_sfmt_sth_plus; - case 36 : itype = M32R2F_INSN_ST; goto extract_sfmt_st; - case 37 : itype = M32R2F_INSN_UNLOCK; goto extract_sfmt_unlock; - case 38 : itype = M32R2F_INSN_ST_PLUS; goto extract_sfmt_st_plus; - case 39 : itype = M32R2F_INSN_ST_MINUS; goto extract_sfmt_st_plus; - case 40 : itype = M32R2F_INSN_LDB; goto extract_sfmt_ldb; - case 41 : itype = M32R2F_INSN_LDUB; goto extract_sfmt_ldb; - case 42 : itype = M32R2F_INSN_LDH; goto extract_sfmt_ldh; - case 43 : itype = M32R2F_INSN_LDUH; goto extract_sfmt_ldh; - case 44 : itype = M32R2F_INSN_LD; goto extract_sfmt_ld; - case 45 : itype = M32R2F_INSN_LOCK; goto extract_sfmt_lock; - case 46 : itype = M32R2F_INSN_LD_PLUS; goto extract_sfmt_ld_plus; - case 48 : /* fall through */ - case 56 : itype = M32R2F_INSN_MULHI_A; goto extract_sfmt_mulhi_a; - case 49 : /* fall through */ - case 57 : itype = M32R2F_INSN_MULLO_A; goto extract_sfmt_mulhi_a; - case 50 : /* fall through */ - case 58 : itype = M32R2F_INSN_MULWHI_A; goto extract_sfmt_mulhi_a; - case 51 : /* fall through */ - case 59 : itype = M32R2F_INSN_MULWLO_A; goto extract_sfmt_mulhi_a; - case 52 : /* fall through */ - case 60 : itype = M32R2F_INSN_MACHI_A; goto extract_sfmt_machi_a; - case 53 : /* fall through */ - case 61 : itype = M32R2F_INSN_MACLO_A; goto extract_sfmt_machi_a; - case 54 : /* fall through */ - case 62 : itype = M32R2F_INSN_MACWHI_A; goto extract_sfmt_machi_a; - case 55 : /* fall through */ - case 63 : itype = M32R2F_INSN_MACWLO_A; goto extract_sfmt_machi_a; - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : /* fall through */ - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : /* fall through */ - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : /* fall through */ - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : itype = M32R2F_INSN_ADDI; goto extract_sfmt_addi; - case 80 : /* fall through */ - case 81 : itype = M32R2F_INSN_SRLI; goto extract_sfmt_slli; - case 82 : /* fall through */ - case 83 : itype = M32R2F_INSN_SRAI; goto extract_sfmt_slli; - case 84 : /* fall through */ - case 85 : itype = M32R2F_INSN_SLLI; goto extract_sfmt_slli; - case 87 : + case 32: itype = M32R2F_INSN_STB; goto extract_sfmt_stb; + case 33: itype = M32R2F_INSN_STB_PLUS; goto extract_sfmt_stb_plus; + case 34: itype = M32R2F_INSN_STH; goto extract_sfmt_sth; + case 35: itype = M32R2F_INSN_STH_PLUS; goto extract_sfmt_sth_plus; + case 36: itype = M32R2F_INSN_ST; goto extract_sfmt_st; + case 37: itype = M32R2F_INSN_UNLOCK; goto extract_sfmt_unlock; + case 38: itype = M32R2F_INSN_ST_PLUS; goto extract_sfmt_st_plus; + case 39: itype = M32R2F_INSN_ST_MINUS; goto extract_sfmt_st_plus; + case 40: itype = M32R2F_INSN_LDB; goto extract_sfmt_ldb; + case 41: itype = M32R2F_INSN_LDUB; goto extract_sfmt_ldb; + case 42: itype = M32R2F_INSN_LDH; goto extract_sfmt_ldh; + case 43: itype = M32R2F_INSN_LDUH; goto extract_sfmt_ldh; + case 44: itype = M32R2F_INSN_LD; goto extract_sfmt_ld; + case 45: itype = M32R2F_INSN_LOCK; goto extract_sfmt_lock; + case 46: itype = M32R2F_INSN_LD_PLUS; goto extract_sfmt_ld_plus; + case 48: + case 56: itype = M32R2F_INSN_MULHI_A; goto extract_sfmt_mulhi_a; + case 49: + case 57: itype = M32R2F_INSN_MULLO_A; goto extract_sfmt_mulhi_a; + case 50: + case 58: itype = M32R2F_INSN_MULWHI_A; goto extract_sfmt_mulhi_a; + case 51: + case 59: itype = M32R2F_INSN_MULWLO_A; goto extract_sfmt_mulhi_a; + case 52: + case 60: itype = M32R2F_INSN_MACHI_A; goto extract_sfmt_machi_a; + case 53: + case 61: itype = M32R2F_INSN_MACLO_A; goto extract_sfmt_machi_a; + case 54: + case 62: itype = M32R2F_INSN_MACWHI_A; goto extract_sfmt_machi_a; + case 55: + case 63: itype = M32R2F_INSN_MACWLO_A; goto extract_sfmt_machi_a; + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: itype = M32R2F_INSN_ADDI; goto extract_sfmt_addi; + case 80: + case 81: itype = M32R2F_INSN_SRLI; goto extract_sfmt_slli; + case 82: + case 83: itype = M32R2F_INSN_SRAI; goto extract_sfmt_slli; + case 84: + case 85: itype = M32R2F_INSN_SLLI; goto extract_sfmt_slli; + case 87: { unsigned int val1 = (((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f3) == 0x5070) { itype = M32R2F_INSN_MVTACHI_A; goto extract_sfmt_mvtachi_a; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xf0f3) == 0x5071) { itype = M32R2F_INSN_MVTACLO_A; goto extract_sfmt_mvtachi_a; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 88 : + case 88: if ((entire_insn & 0xf3f2) == 0x5080) { itype = M32R2F_INSN_RACH_DSI; goto extract_sfmt_rac_dsi; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 89 : + case 89: if ((entire_insn & 0xf3f2) == 0x5090) { itype = M32R2F_INSN_RAC_DSI; goto extract_sfmt_rac_dsi; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 90 : itype = M32R2F_INSN_MULWU1; goto extract_sfmt_mulwu1; - case 91 : itype = M32R2F_INSN_MACWU1; goto extract_sfmt_macwu1; - case 92 : itype = M32R2F_INSN_MACLH1; goto extract_sfmt_macwu1; - case 93 : itype = M32R2F_INSN_MSBLO; goto extract_sfmt_msblo; - case 94 : + case 90: itype = M32R2F_INSN_MULWU1; goto extract_sfmt_mulwu1; + case 91: itype = M32R2F_INSN_MACWU1; goto extract_sfmt_macwu1; + case 92: itype = M32R2F_INSN_MACLH1; goto extract_sfmt_macwu1; + case 93: itype = M32R2F_INSN_MSBLO; goto extract_sfmt_msblo; + case 94: if ((entire_insn & 0xffff) == 0x50e4) { itype = M32R2F_INSN_SADD; goto extract_sfmt_sadd; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 95 : + case 95: { unsigned int val1 = (((insn >> 0) & (3 << 0))); switch (val1) { - case 0 : itype = M32R2F_INSN_MVFACHI_A; goto extract_sfmt_mvfachi_a; - case 1 : itype = M32R2F_INSN_MVFACLO_A; goto extract_sfmt_mvfachi_a; - case 2 : itype = M32R2F_INSN_MVFACMI_A; goto extract_sfmt_mvfachi_a; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = M32R2F_INSN_MVFACHI_A; goto extract_sfmt_mvfachi_a; + case 1: itype = M32R2F_INSN_MVFACLO_A; goto extract_sfmt_mvfachi_a; + case 2: itype = M32R2F_INSN_MVFACMI_A; goto extract_sfmt_mvfachi_a; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : /* fall through */ - case 100 : /* fall through */ - case 101 : /* fall through */ - case 102 : /* fall through */ - case 103 : /* fall through */ - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : /* fall through */ - case 108 : /* fall through */ - case 109 : /* fall through */ - case 110 : /* fall through */ - case 111 : itype = M32R2F_INSN_LDI8; goto extract_sfmt_ldi8; - case 112 : + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: itype = M32R2F_INSN_LDI8; goto extract_sfmt_ldi8; + case 112: { unsigned int val1 = (((insn >> 7) & (15 << 1)) | ((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffff) == 0x7000) { itype = M32R2F_INSN_NOP; goto extract_sfmt_nop; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : /* fall through */ - case 3 : itype = M32R2F_INSN_SETPSW; goto extract_sfmt_setpsw; - case 4 : /* fall through */ - case 5 : itype = M32R2F_INSN_CLRPSW; goto extract_sfmt_clrpsw; - case 9 : + case 2: + case 3: itype = M32R2F_INSN_SETPSW; goto extract_sfmt_setpsw; + case 4: + case 5: itype = M32R2F_INSN_CLRPSW; goto extract_sfmt_clrpsw; + case 9: if ((entire_insn & 0xffff) == 0x7401) { itype = M32R2F_INSN_SC; goto extract_sfmt_sc; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0xffff) == 0x7501) { itype = M32R2F_INSN_SNC; goto extract_sfmt_sc; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : /* fall through */ - case 17 : itype = M32R2F_INSN_BCL8; goto extract_sfmt_bcl8; - case 18 : /* fall through */ - case 19 : itype = M32R2F_INSN_BNCL8; goto extract_sfmt_bcl8; - case 24 : /* fall through */ - case 25 : itype = M32R2F_INSN_BC8; goto extract_sfmt_bc8; - case 26 : /* fall through */ - case 27 : itype = M32R2F_INSN_BNC8; goto extract_sfmt_bc8; - case 28 : /* fall through */ - case 29 : itype = M32R2F_INSN_BL8; goto extract_sfmt_bl8; - case 30 : /* fall through */ - case 31 : itype = M32R2F_INSN_BRA8; goto extract_sfmt_bra8; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + case 16: + case 17: itype = M32R2F_INSN_BCL8; goto extract_sfmt_bcl8; + case 18: + case 19: itype = M32R2F_INSN_BNCL8; goto extract_sfmt_bcl8; + case 24: + case 25: itype = M32R2F_INSN_BC8; goto extract_sfmt_bc8; + case 26: + case 27: itype = M32R2F_INSN_BNC8; goto extract_sfmt_bc8; + case 28: + case 29: itype = M32R2F_INSN_BL8; goto extract_sfmt_bl8; + case 30: + case 31: itype = M32R2F_INSN_BRA8; goto extract_sfmt_bra8; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : /* fall through */ - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : /* fall through */ - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : /* fall through */ - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : /* fall through */ - case 127 : + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: { unsigned int val1 = (((insn >> 8) & (15 << 0))); switch (val1) { - case 1 : itype = M32R2F_INSN_SETPSW; goto extract_sfmt_setpsw; - case 2 : itype = M32R2F_INSN_CLRPSW; goto extract_sfmt_clrpsw; - case 8 : itype = M32R2F_INSN_BCL8; goto extract_sfmt_bcl8; - case 9 : itype = M32R2F_INSN_BNCL8; goto extract_sfmt_bcl8; - case 12 : itype = M32R2F_INSN_BC8; goto extract_sfmt_bc8; - case 13 : itype = M32R2F_INSN_BNC8; goto extract_sfmt_bc8; - case 14 : itype = M32R2F_INSN_BL8; goto extract_sfmt_bl8; - case 15 : itype = M32R2F_INSN_BRA8; goto extract_sfmt_bra8; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = M32R2F_INSN_SETPSW; goto extract_sfmt_setpsw; + case 2: itype = M32R2F_INSN_CLRPSW; goto extract_sfmt_clrpsw; + case 8: itype = M32R2F_INSN_BCL8; goto extract_sfmt_bcl8; + case 9: itype = M32R2F_INSN_BNCL8; goto extract_sfmt_bcl8; + case 12: itype = M32R2F_INSN_BC8; goto extract_sfmt_bc8; + case 13: itype = M32R2F_INSN_BNC8; goto extract_sfmt_bc8; + case 14: itype = M32R2F_INSN_BL8; goto extract_sfmt_bl8; + case 15: itype = M32R2F_INSN_BRA8; goto extract_sfmt_bra8; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 132 : + case 132: if ((entire_insn & 0xfff00000) == 0x80400000) { itype = M32R2F_INSN_CMPI; goto extract_sfmt_cmpi; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 133 : + case 133: if ((entire_insn & 0xfff00000) == 0x80500000) { itype = M32R2F_INSN_CMPUI; goto extract_sfmt_cmpi; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 134 : + case 134: { unsigned int val1 = (((entire_insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x80600000) { itype = M32R2F_INSN_SAT; goto extract_sfmt_sat; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0f0ffff) == 0x80600200) { itype = M32R2F_INSN_SATH; goto extract_sfmt_satb; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xf0f0ffff) == 0x80600300) { itype = M32R2F_INSN_SATB; goto extract_sfmt_satb; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 136 : itype = M32R2F_INSN_ADDV3; goto extract_sfmt_addv3; - case 138 : itype = M32R2F_INSN_ADD3; goto extract_sfmt_add3; - case 140 : itype = M32R2F_INSN_AND3; goto extract_sfmt_and3; - case 141 : itype = M32R2F_INSN_XOR3; goto extract_sfmt_and3; - case 142 : itype = M32R2F_INSN_OR3; goto extract_sfmt_or3; - case 144 : + case 136: itype = M32R2F_INSN_ADDV3; goto extract_sfmt_addv3; + case 138: itype = M32R2F_INSN_ADD3; goto extract_sfmt_add3; + case 140: itype = M32R2F_INSN_AND3; goto extract_sfmt_and3; + case 141: itype = M32R2F_INSN_XOR3; goto extract_sfmt_and3; + case 142: itype = M32R2F_INSN_OR3; goto extract_sfmt_or3; + case 144: { unsigned int val1 = (((entire_insn >> 3) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x90000000) { itype = M32R2F_INSN_DIV; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0f0ffff) == 0x90000010) { itype = M32R2F_INSN_DIVH; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xf0f0ffff) == 0x90000018) { itype = M32R2F_INSN_DIVB; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 145 : + case 145: { unsigned int val1 = (((entire_insn >> 3) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x90100000) { itype = M32R2F_INSN_DIVU; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0f0ffff) == 0x90100010) { itype = M32R2F_INSN_DIVUH; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xf0f0ffff) == 0x90100018) { itype = M32R2F_INSN_DIVUB; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 146 : + case 146: { unsigned int val1 = (((entire_insn >> 3) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x90200000) { itype = M32R2F_INSN_REM; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0f0ffff) == 0x90200010) { itype = M32R2F_INSN_REMH; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xf0f0ffff) == 0x90200018) { itype = M32R2F_INSN_REMB; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 147 : + case 147: { unsigned int val1 = (((entire_insn >> 3) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x90300000) { itype = M32R2F_INSN_REMU; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0f0ffff) == 0x90300010) { itype = M32R2F_INSN_REMUH; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xf0f0ffff) == 0x90300018) { itype = M32R2F_INSN_REMUB; goto extract_sfmt_div; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 152 : itype = M32R2F_INSN_SRL3; goto extract_sfmt_sll3; - case 154 : itype = M32R2F_INSN_SRA3; goto extract_sfmt_sll3; - case 156 : itype = M32R2F_INSN_SLL3; goto extract_sfmt_sll3; - case 159 : + case 152: itype = M32R2F_INSN_SRL3; goto extract_sfmt_sll3; + case 154: itype = M32R2F_INSN_SRA3; goto extract_sfmt_sll3; + case 156: itype = M32R2F_INSN_SLL3; goto extract_sfmt_sll3; + case 159: if ((entire_insn & 0xf0ff0000) == 0x90f00000) { itype = M32R2F_INSN_LDI16; goto extract_sfmt_ldi16; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 160 : itype = M32R2F_INSN_STB_D; goto extract_sfmt_stb_d; - case 162 : itype = M32R2F_INSN_STH_D; goto extract_sfmt_sth_d; - case 164 : itype = M32R2F_INSN_ST_D; goto extract_sfmt_st_d; - case 166 : + case 160: itype = M32R2F_INSN_STB_D; goto extract_sfmt_stb_d; + case 162: itype = M32R2F_INSN_STH_D; goto extract_sfmt_sth_d; + case 164: itype = M32R2F_INSN_ST_D; goto extract_sfmt_st_d; + case 166: if ((entire_insn & 0xf8f00000) == 0xa0600000) { itype = M32R2F_INSN_BSET; goto extract_sfmt_bset; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 167 : + case 167: if ((entire_insn & 0xf8f00000) == 0xa0700000) { itype = M32R2F_INSN_BCLR; goto extract_sfmt_bset; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 168 : itype = M32R2F_INSN_LDB_D; goto extract_sfmt_ldb_d; - case 169 : itype = M32R2F_INSN_LDUB_D; goto extract_sfmt_ldb_d; - case 170 : itype = M32R2F_INSN_LDH_D; goto extract_sfmt_ldh_d; - case 171 : itype = M32R2F_INSN_LDUH_D; goto extract_sfmt_ldh_d; - case 172 : itype = M32R2F_INSN_LD_D; goto extract_sfmt_ld_d; - case 176 : itype = M32R2F_INSN_BEQ; goto extract_sfmt_beq; - case 177 : itype = M32R2F_INSN_BNE; goto extract_sfmt_beq; - case 184 : + case 168: itype = M32R2F_INSN_LDB_D; goto extract_sfmt_ldb_d; + case 169: itype = M32R2F_INSN_LDUB_D; goto extract_sfmt_ldb_d; + case 170: itype = M32R2F_INSN_LDH_D; goto extract_sfmt_ldh_d; + case 171: itype = M32R2F_INSN_LDUH_D; goto extract_sfmt_ldh_d; + case 172: itype = M32R2F_INSN_LD_D; goto extract_sfmt_ld_d; + case 176: itype = M32R2F_INSN_BEQ; goto extract_sfmt_beq; + case 177: itype = M32R2F_INSN_BNE; goto extract_sfmt_beq; + case 184: if ((entire_insn & 0xfff00000) == 0xb0800000) { itype = M32R2F_INSN_BEQZ; goto extract_sfmt_beqz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 185 : + case 185: if ((entire_insn & 0xfff00000) == 0xb0900000) { itype = M32R2F_INSN_BNEZ; goto extract_sfmt_beqz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 186 : + case 186: if ((entire_insn & 0xfff00000) == 0xb0a00000) { itype = M32R2F_INSN_BLTZ; goto extract_sfmt_beqz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 187 : + case 187: if ((entire_insn & 0xfff00000) == 0xb0b00000) { itype = M32R2F_INSN_BGEZ; goto extract_sfmt_beqz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 188 : + case 188: if ((entire_insn & 0xfff00000) == 0xb0c00000) { itype = M32R2F_INSN_BLEZ; goto extract_sfmt_beqz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 189 : + case 189: if ((entire_insn & 0xfff00000) == 0xb0d00000) { itype = M32R2F_INSN_BGTZ; goto extract_sfmt_beqz; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 220 : + case 220: if ((entire_insn & 0xf0ff0000) == 0xd0c00000) { itype = M32R2F_INSN_SETH; goto extract_sfmt_seth; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 224 : /* fall through */ - case 225 : /* fall through */ - case 226 : /* fall through */ - case 227 : /* fall through */ - case 228 : /* fall through */ - case 229 : /* fall through */ - case 230 : /* fall through */ - case 231 : /* fall through */ - case 232 : /* fall through */ - case 233 : /* fall through */ - case 234 : /* fall through */ - case 235 : /* fall through */ - case 236 : /* fall through */ - case 237 : /* fall through */ - case 238 : /* fall through */ - case 239 : itype = M32R2F_INSN_LD24; goto extract_sfmt_ld24; - case 240 : /* fall through */ - case 241 : /* fall through */ - case 242 : /* fall through */ - case 243 : /* fall through */ - case 244 : /* fall through */ - case 245 : /* fall through */ - case 246 : /* fall through */ - case 247 : /* fall through */ - case 248 : /* fall through */ - case 249 : /* fall through */ - case 250 : /* fall through */ - case 251 : /* fall through */ - case 252 : /* fall through */ - case 253 : /* fall through */ - case 254 : /* fall through */ - case 255 : + case 224: + case 225: + case 226: + case 227: + case 228: + case 229: + case 230: + case 231: + case 232: + case 233: + case 234: + case 235: + case 236: + case 237: + case 238: + case 239: itype = M32R2F_INSN_LD24; goto extract_sfmt_ld24; + case 240: + case 241: + case 242: + case 243: + case 244: + case 245: + case 246: + case 247: + case 248: + case 249: + case 250: + case 251: + case 252: + case 253: + case 254: + case 255: { unsigned int val1 = (((insn >> 8) & (7 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xff000000) == 0xf8000000) { itype = M32R2F_INSN_BCL24; goto extract_sfmt_bcl24; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xff000000) == 0xf9000000) { itype = M32R2F_INSN_BNCL24; goto extract_sfmt_bcl24; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0xff000000) == 0xfc000000) { itype = M32R2F_INSN_BC24; goto extract_sfmt_bc24; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0xff000000) == 0xfd000000) { itype = M32R2F_INSN_BNC24; goto extract_sfmt_bc24; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0xff000000) == 0xfe000000) { itype = M32R2F_INSN_BL24; goto extract_sfmt_bl24; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0xff000000) == 0xff000000) { itype = M32R2F_INSN_BRA24; goto extract_sfmt_bra24; } itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32R2F_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/m32r/decodex.c b/sim/m32r/decodex.c index 864ea82..19505c9 100644 --- a/sim/m32r/decodex.c +++ b/sim/m32r/decodex.c @@ -268,435 +268,435 @@ m32rxf_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 8) & (15 << 4)) | ((insn >> 4) & (15 << 0))); switch (val0) { - case 0 : itype = M32RXF_INSN_SUBV; goto extract_sfmt_addv; - case 1 : itype = M32RXF_INSN_SUBX; goto extract_sfmt_addx; - case 2 : itype = M32RXF_INSN_SUB; goto extract_sfmt_add; - case 3 : itype = M32RXF_INSN_NEG; goto extract_sfmt_mv; - case 4 : itype = M32RXF_INSN_CMP; goto extract_sfmt_cmp; - case 5 : itype = M32RXF_INSN_CMPU; goto extract_sfmt_cmp; - case 6 : itype = M32RXF_INSN_CMPEQ; goto extract_sfmt_cmp; - case 7 : + case 0: itype = M32RXF_INSN_SUBV; goto extract_sfmt_addv; + case 1: itype = M32RXF_INSN_SUBX; goto extract_sfmt_addx; + case 2: itype = M32RXF_INSN_SUB; goto extract_sfmt_add; + case 3: itype = M32RXF_INSN_NEG; goto extract_sfmt_mv; + case 4: itype = M32RXF_INSN_CMP; goto extract_sfmt_cmp; + case 5: itype = M32RXF_INSN_CMPU; goto extract_sfmt_cmp; + case 6: itype = M32RXF_INSN_CMPEQ; goto extract_sfmt_cmp; + case 7: { unsigned int val1 = (((insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfff0) == 0x70) { itype = M32RXF_INSN_CMPZ; goto extract_sfmt_cmpz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfff0) == 0x370) { itype = M32RXF_INSN_PCMPBZ; goto extract_sfmt_cmpz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 8 : itype = M32RXF_INSN_ADDV; goto extract_sfmt_addv; - case 9 : itype = M32RXF_INSN_ADDX; goto extract_sfmt_addx; - case 10 : itype = M32RXF_INSN_ADD; goto extract_sfmt_add; - case 11 : itype = M32RXF_INSN_NOT; goto extract_sfmt_mv; - case 12 : itype = M32RXF_INSN_AND; goto extract_sfmt_add; - case 13 : itype = M32RXF_INSN_XOR; goto extract_sfmt_add; - case 14 : itype = M32RXF_INSN_OR; goto extract_sfmt_add; - case 15 : + case 8: itype = M32RXF_INSN_ADDV; goto extract_sfmt_addv; + case 9: itype = M32RXF_INSN_ADDX; goto extract_sfmt_addx; + case 10: itype = M32RXF_INSN_ADD; goto extract_sfmt_add; + case 11: itype = M32RXF_INSN_NOT; goto extract_sfmt_mv; + case 12: itype = M32RXF_INSN_AND; goto extract_sfmt_add; + case 13: itype = M32RXF_INSN_XOR; goto extract_sfmt_add; + case 14: itype = M32RXF_INSN_OR; goto extract_sfmt_add; + case 15: if ((entire_insn & 0xf8f0) == 0xf0) { itype = M32RXF_INSN_BTST; goto extract_sfmt_btst; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : itype = M32RXF_INSN_SRL; goto extract_sfmt_add; - case 18 : itype = M32RXF_INSN_SRA; goto extract_sfmt_add; - case 20 : itype = M32RXF_INSN_SLL; goto extract_sfmt_add; - case 22 : itype = M32RXF_INSN_MUL; goto extract_sfmt_add; - case 24 : itype = M32RXF_INSN_MV; goto extract_sfmt_mv; - case 25 : itype = M32RXF_INSN_MVFC; goto extract_sfmt_mvfc; - case 26 : itype = M32RXF_INSN_MVTC; goto extract_sfmt_mvtc; - case 28 : + case 16: itype = M32RXF_INSN_SRL; goto extract_sfmt_add; + case 18: itype = M32RXF_INSN_SRA; goto extract_sfmt_add; + case 20: itype = M32RXF_INSN_SLL; goto extract_sfmt_add; + case 22: itype = M32RXF_INSN_MUL; goto extract_sfmt_add; + case 24: itype = M32RXF_INSN_MV; goto extract_sfmt_mv; + case 25: itype = M32RXF_INSN_MVFC; goto extract_sfmt_mvfc; + case 26: itype = M32RXF_INSN_MVTC; goto extract_sfmt_mvtc; + case 28: { unsigned int val1 = (((insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfff0) == 0x1cc0) { itype = M32RXF_INSN_JC; goto extract_sfmt_jc; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfff0) == 0x1dc0) { itype = M32RXF_INSN_JNC; goto extract_sfmt_jc; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xfff0) == 0x1ec0) { itype = M32RXF_INSN_JL; goto extract_sfmt_jl; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfff0) == 0x1fc0) { itype = M32RXF_INSN_JMP; goto extract_sfmt_jmp; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 29 : + case 29: if ((entire_insn & 0xffff) == 0x10d6) { itype = M32RXF_INSN_RTE; goto extract_sfmt_rte; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 31 : + case 31: if ((entire_insn & 0xfff0) == 0x10f0) { itype = M32RXF_INSN_TRAP; goto extract_sfmt_trap; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 32 : itype = M32RXF_INSN_STB; goto extract_sfmt_stb; - case 33 : itype = M32RXF_INSN_STB_PLUS; goto extract_sfmt_stb_plus; - case 34 : itype = M32RXF_INSN_STH; goto extract_sfmt_sth; - case 35 : itype = M32RXF_INSN_STH_PLUS; goto extract_sfmt_sth_plus; - case 36 : itype = M32RXF_INSN_ST; goto extract_sfmt_st; - case 37 : itype = M32RXF_INSN_UNLOCK; goto extract_sfmt_unlock; - case 38 : itype = M32RXF_INSN_ST_PLUS; goto extract_sfmt_st_plus; - case 39 : itype = M32RXF_INSN_ST_MINUS; goto extract_sfmt_st_plus; - case 40 : itype = M32RXF_INSN_LDB; goto extract_sfmt_ldb; - case 41 : itype = M32RXF_INSN_LDUB; goto extract_sfmt_ldb; - case 42 : itype = M32RXF_INSN_LDH; goto extract_sfmt_ldh; - case 43 : itype = M32RXF_INSN_LDUH; goto extract_sfmt_ldh; - case 44 : itype = M32RXF_INSN_LD; goto extract_sfmt_ld; - case 45 : itype = M32RXF_INSN_LOCK; goto extract_sfmt_lock; - case 46 : itype = M32RXF_INSN_LD_PLUS; goto extract_sfmt_ld_plus; - case 48 : /* fall through */ - case 56 : itype = M32RXF_INSN_MULHI_A; goto extract_sfmt_mulhi_a; - case 49 : /* fall through */ - case 57 : itype = M32RXF_INSN_MULLO_A; goto extract_sfmt_mulhi_a; - case 50 : /* fall through */ - case 58 : itype = M32RXF_INSN_MULWHI_A; goto extract_sfmt_mulhi_a; - case 51 : /* fall through */ - case 59 : itype = M32RXF_INSN_MULWLO_A; goto extract_sfmt_mulhi_a; - case 52 : /* fall through */ - case 60 : itype = M32RXF_INSN_MACHI_A; goto extract_sfmt_machi_a; - case 53 : /* fall through */ - case 61 : itype = M32RXF_INSN_MACLO_A; goto extract_sfmt_machi_a; - case 54 : /* fall through */ - case 62 : itype = M32RXF_INSN_MACWHI_A; goto extract_sfmt_machi_a; - case 55 : /* fall through */ - case 63 : itype = M32RXF_INSN_MACWLO_A; goto extract_sfmt_machi_a; - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : /* fall through */ - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : /* fall through */ - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : /* fall through */ - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : itype = M32RXF_INSN_ADDI; goto extract_sfmt_addi; - case 80 : /* fall through */ - case 81 : itype = M32RXF_INSN_SRLI; goto extract_sfmt_slli; - case 82 : /* fall through */ - case 83 : itype = M32RXF_INSN_SRAI; goto extract_sfmt_slli; - case 84 : /* fall through */ - case 85 : itype = M32RXF_INSN_SLLI; goto extract_sfmt_slli; - case 87 : + case 32: itype = M32RXF_INSN_STB; goto extract_sfmt_stb; + case 33: itype = M32RXF_INSN_STB_PLUS; goto extract_sfmt_stb_plus; + case 34: itype = M32RXF_INSN_STH; goto extract_sfmt_sth; + case 35: itype = M32RXF_INSN_STH_PLUS; goto extract_sfmt_sth_plus; + case 36: itype = M32RXF_INSN_ST; goto extract_sfmt_st; + case 37: itype = M32RXF_INSN_UNLOCK; goto extract_sfmt_unlock; + case 38: itype = M32RXF_INSN_ST_PLUS; goto extract_sfmt_st_plus; + case 39: itype = M32RXF_INSN_ST_MINUS; goto extract_sfmt_st_plus; + case 40: itype = M32RXF_INSN_LDB; goto extract_sfmt_ldb; + case 41: itype = M32RXF_INSN_LDUB; goto extract_sfmt_ldb; + case 42: itype = M32RXF_INSN_LDH; goto extract_sfmt_ldh; + case 43: itype = M32RXF_INSN_LDUH; goto extract_sfmt_ldh; + case 44: itype = M32RXF_INSN_LD; goto extract_sfmt_ld; + case 45: itype = M32RXF_INSN_LOCK; goto extract_sfmt_lock; + case 46: itype = M32RXF_INSN_LD_PLUS; goto extract_sfmt_ld_plus; + case 48: + case 56: itype = M32RXF_INSN_MULHI_A; goto extract_sfmt_mulhi_a; + case 49: + case 57: itype = M32RXF_INSN_MULLO_A; goto extract_sfmt_mulhi_a; + case 50: + case 58: itype = M32RXF_INSN_MULWHI_A; goto extract_sfmt_mulhi_a; + case 51: + case 59: itype = M32RXF_INSN_MULWLO_A; goto extract_sfmt_mulhi_a; + case 52: + case 60: itype = M32RXF_INSN_MACHI_A; goto extract_sfmt_machi_a; + case 53: + case 61: itype = M32RXF_INSN_MACLO_A; goto extract_sfmt_machi_a; + case 54: + case 62: itype = M32RXF_INSN_MACWHI_A; goto extract_sfmt_machi_a; + case 55: + case 63: itype = M32RXF_INSN_MACWLO_A; goto extract_sfmt_machi_a; + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: itype = M32RXF_INSN_ADDI; goto extract_sfmt_addi; + case 80: + case 81: itype = M32RXF_INSN_SRLI; goto extract_sfmt_slli; + case 82: + case 83: itype = M32RXF_INSN_SRAI; goto extract_sfmt_slli; + case 84: + case 85: itype = M32RXF_INSN_SLLI; goto extract_sfmt_slli; + case 87: { unsigned int val1 = (((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f3) == 0x5070) { itype = M32RXF_INSN_MVTACHI_A; goto extract_sfmt_mvtachi_a; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xf0f3) == 0x5071) { itype = M32RXF_INSN_MVTACLO_A; goto extract_sfmt_mvtachi_a; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 88 : + case 88: if ((entire_insn & 0xf3f2) == 0x5080) { itype = M32RXF_INSN_RACH_DSI; goto extract_sfmt_rac_dsi; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 89 : + case 89: if ((entire_insn & 0xf3f2) == 0x5090) { itype = M32RXF_INSN_RAC_DSI; goto extract_sfmt_rac_dsi; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 90 : itype = M32RXF_INSN_MULWU1; goto extract_sfmt_mulwu1; - case 91 : itype = M32RXF_INSN_MACWU1; goto extract_sfmt_macwu1; - case 92 : itype = M32RXF_INSN_MACLH1; goto extract_sfmt_macwu1; - case 93 : itype = M32RXF_INSN_MSBLO; goto extract_sfmt_msblo; - case 94 : + case 90: itype = M32RXF_INSN_MULWU1; goto extract_sfmt_mulwu1; + case 91: itype = M32RXF_INSN_MACWU1; goto extract_sfmt_macwu1; + case 92: itype = M32RXF_INSN_MACLH1; goto extract_sfmt_macwu1; + case 93: itype = M32RXF_INSN_MSBLO; goto extract_sfmt_msblo; + case 94: if ((entire_insn & 0xffff) == 0x50e4) { itype = M32RXF_INSN_SADD; goto extract_sfmt_sadd; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 95 : + case 95: { unsigned int val1 = (((insn >> 0) & (3 << 0))); switch (val1) { - case 0 : itype = M32RXF_INSN_MVFACHI_A; goto extract_sfmt_mvfachi_a; - case 1 : itype = M32RXF_INSN_MVFACLO_A; goto extract_sfmt_mvfachi_a; - case 2 : itype = M32RXF_INSN_MVFACMI_A; goto extract_sfmt_mvfachi_a; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + case 0: itype = M32RXF_INSN_MVFACHI_A; goto extract_sfmt_mvfachi_a; + case 1: itype = M32RXF_INSN_MVFACLO_A; goto extract_sfmt_mvfachi_a; + case 2: itype = M32RXF_INSN_MVFACMI_A; goto extract_sfmt_mvfachi_a; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : /* fall through */ - case 100 : /* fall through */ - case 101 : /* fall through */ - case 102 : /* fall through */ - case 103 : /* fall through */ - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : /* fall through */ - case 108 : /* fall through */ - case 109 : /* fall through */ - case 110 : /* fall through */ - case 111 : itype = M32RXF_INSN_LDI8; goto extract_sfmt_ldi8; - case 112 : + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: itype = M32RXF_INSN_LDI8; goto extract_sfmt_ldi8; + case 112: { unsigned int val1 = (((insn >> 7) & (15 << 1)) | ((insn >> 0) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffff) == 0x7000) { itype = M32RXF_INSN_NOP; goto extract_sfmt_nop; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : /* fall through */ - case 3 : itype = M32RXF_INSN_SETPSW; goto extract_sfmt_setpsw; - case 4 : /* fall through */ - case 5 : itype = M32RXF_INSN_CLRPSW; goto extract_sfmt_clrpsw; - case 9 : + case 2: + case 3: itype = M32RXF_INSN_SETPSW; goto extract_sfmt_setpsw; + case 4: + case 5: itype = M32RXF_INSN_CLRPSW; goto extract_sfmt_clrpsw; + case 9: if ((entire_insn & 0xffff) == 0x7401) { itype = M32RXF_INSN_SC; goto extract_sfmt_sc; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0xffff) == 0x7501) { itype = M32RXF_INSN_SNC; goto extract_sfmt_sc; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 16 : /* fall through */ - case 17 : itype = M32RXF_INSN_BCL8; goto extract_sfmt_bcl8; - case 18 : /* fall through */ - case 19 : itype = M32RXF_INSN_BNCL8; goto extract_sfmt_bcl8; - case 24 : /* fall through */ - case 25 : itype = M32RXF_INSN_BC8; goto extract_sfmt_bc8; - case 26 : /* fall through */ - case 27 : itype = M32RXF_INSN_BNC8; goto extract_sfmt_bc8; - case 28 : /* fall through */ - case 29 : itype = M32RXF_INSN_BL8; goto extract_sfmt_bl8; - case 30 : /* fall through */ - case 31 : itype = M32RXF_INSN_BRA8; goto extract_sfmt_bra8; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + case 16: + case 17: itype = M32RXF_INSN_BCL8; goto extract_sfmt_bcl8; + case 18: + case 19: itype = M32RXF_INSN_BNCL8; goto extract_sfmt_bcl8; + case 24: + case 25: itype = M32RXF_INSN_BC8; goto extract_sfmt_bc8; + case 26: + case 27: itype = M32RXF_INSN_BNC8; goto extract_sfmt_bc8; + case 28: + case 29: itype = M32RXF_INSN_BL8; goto extract_sfmt_bl8; + case 30: + case 31: itype = M32RXF_INSN_BRA8; goto extract_sfmt_bra8; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : /* fall through */ - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : /* fall through */ - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : /* fall through */ - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : /* fall through */ - case 127 : + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: { unsigned int val1 = (((insn >> 8) & (15 << 0))); switch (val1) { - case 1 : itype = M32RXF_INSN_SETPSW; goto extract_sfmt_setpsw; - case 2 : itype = M32RXF_INSN_CLRPSW; goto extract_sfmt_clrpsw; - case 8 : itype = M32RXF_INSN_BCL8; goto extract_sfmt_bcl8; - case 9 : itype = M32RXF_INSN_BNCL8; goto extract_sfmt_bcl8; - case 12 : itype = M32RXF_INSN_BC8; goto extract_sfmt_bc8; - case 13 : itype = M32RXF_INSN_BNC8; goto extract_sfmt_bc8; - case 14 : itype = M32RXF_INSN_BL8; goto extract_sfmt_bl8; - case 15 : itype = M32RXF_INSN_BRA8; goto extract_sfmt_bra8; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + case 1: itype = M32RXF_INSN_SETPSW; goto extract_sfmt_setpsw; + case 2: itype = M32RXF_INSN_CLRPSW; goto extract_sfmt_clrpsw; + case 8: itype = M32RXF_INSN_BCL8; goto extract_sfmt_bcl8; + case 9: itype = M32RXF_INSN_BNCL8; goto extract_sfmt_bcl8; + case 12: itype = M32RXF_INSN_BC8; goto extract_sfmt_bc8; + case 13: itype = M32RXF_INSN_BNC8; goto extract_sfmt_bc8; + case 14: itype = M32RXF_INSN_BL8; goto extract_sfmt_bl8; + case 15: itype = M32RXF_INSN_BRA8; goto extract_sfmt_bra8; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 132 : + case 132: if ((entire_insn & 0xfff00000) == 0x80400000) { itype = M32RXF_INSN_CMPI; goto extract_sfmt_cmpi; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 133 : + case 133: if ((entire_insn & 0xfff00000) == 0x80500000) { itype = M32RXF_INSN_CMPUI; goto extract_sfmt_cmpi; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 134 : + case 134: { unsigned int val1 = (((entire_insn >> 8) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x80600000) { itype = M32RXF_INSN_SAT; goto extract_sfmt_sat; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xf0f0ffff) == 0x80600200) { itype = M32RXF_INSN_SATH; goto extract_sfmt_satb; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xf0f0ffff) == 0x80600300) { itype = M32RXF_INSN_SATB; goto extract_sfmt_satb; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 136 : itype = M32RXF_INSN_ADDV3; goto extract_sfmt_addv3; - case 138 : itype = M32RXF_INSN_ADD3; goto extract_sfmt_add3; - case 140 : itype = M32RXF_INSN_AND3; goto extract_sfmt_and3; - case 141 : itype = M32RXF_INSN_XOR3; goto extract_sfmt_and3; - case 142 : itype = M32RXF_INSN_OR3; goto extract_sfmt_or3; - case 144 : + case 136: itype = M32RXF_INSN_ADDV3; goto extract_sfmt_addv3; + case 138: itype = M32RXF_INSN_ADD3; goto extract_sfmt_add3; + case 140: itype = M32RXF_INSN_AND3; goto extract_sfmt_and3; + case 141: itype = M32RXF_INSN_XOR3; goto extract_sfmt_and3; + case 142: itype = M32RXF_INSN_OR3; goto extract_sfmt_or3; + case 144: { unsigned int val1 = (((entire_insn >> 4) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xf0f0ffff) == 0x90000000) { itype = M32RXF_INSN_DIV; goto extract_sfmt_div; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xf0f0ffff) == 0x90000010) { itype = M32RXF_INSN_DIVH; goto extract_sfmt_div; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 145 : + case 145: if ((entire_insn & 0xf0f0ffff) == 0x90100000) { itype = M32RXF_INSN_DIVU; goto extract_sfmt_div; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 146 : + case 146: if ((entire_insn & 0xf0f0ffff) == 0x90200000) { itype = M32RXF_INSN_REM; goto extract_sfmt_div; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 147 : + case 147: if ((entire_insn & 0xf0f0ffff) == 0x90300000) { itype = M32RXF_INSN_REMU; goto extract_sfmt_div; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 152 : itype = M32RXF_INSN_SRL3; goto extract_sfmt_sll3; - case 154 : itype = M32RXF_INSN_SRA3; goto extract_sfmt_sll3; - case 156 : itype = M32RXF_INSN_SLL3; goto extract_sfmt_sll3; - case 159 : + case 152: itype = M32RXF_INSN_SRL3; goto extract_sfmt_sll3; + case 154: itype = M32RXF_INSN_SRA3; goto extract_sfmt_sll3; + case 156: itype = M32RXF_INSN_SLL3; goto extract_sfmt_sll3; + case 159: if ((entire_insn & 0xf0ff0000) == 0x90f00000) { itype = M32RXF_INSN_LDI16; goto extract_sfmt_ldi16; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 160 : itype = M32RXF_INSN_STB_D; goto extract_sfmt_stb_d; - case 162 : itype = M32RXF_INSN_STH_D; goto extract_sfmt_sth_d; - case 164 : itype = M32RXF_INSN_ST_D; goto extract_sfmt_st_d; - case 166 : + case 160: itype = M32RXF_INSN_STB_D; goto extract_sfmt_stb_d; + case 162: itype = M32RXF_INSN_STH_D; goto extract_sfmt_sth_d; + case 164: itype = M32RXF_INSN_ST_D; goto extract_sfmt_st_d; + case 166: if ((entire_insn & 0xf8f00000) == 0xa0600000) { itype = M32RXF_INSN_BSET; goto extract_sfmt_bset; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 167 : + case 167: if ((entire_insn & 0xf8f00000) == 0xa0700000) { itype = M32RXF_INSN_BCLR; goto extract_sfmt_bset; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 168 : itype = M32RXF_INSN_LDB_D; goto extract_sfmt_ldb_d; - case 169 : itype = M32RXF_INSN_LDUB_D; goto extract_sfmt_ldb_d; - case 170 : itype = M32RXF_INSN_LDH_D; goto extract_sfmt_ldh_d; - case 171 : itype = M32RXF_INSN_LDUH_D; goto extract_sfmt_ldh_d; - case 172 : itype = M32RXF_INSN_LD_D; goto extract_sfmt_ld_d; - case 176 : itype = M32RXF_INSN_BEQ; goto extract_sfmt_beq; - case 177 : itype = M32RXF_INSN_BNE; goto extract_sfmt_beq; - case 184 : + case 168: itype = M32RXF_INSN_LDB_D; goto extract_sfmt_ldb_d; + case 169: itype = M32RXF_INSN_LDUB_D; goto extract_sfmt_ldb_d; + case 170: itype = M32RXF_INSN_LDH_D; goto extract_sfmt_ldh_d; + case 171: itype = M32RXF_INSN_LDUH_D; goto extract_sfmt_ldh_d; + case 172: itype = M32RXF_INSN_LD_D; goto extract_sfmt_ld_d; + case 176: itype = M32RXF_INSN_BEQ; goto extract_sfmt_beq; + case 177: itype = M32RXF_INSN_BNE; goto extract_sfmt_beq; + case 184: if ((entire_insn & 0xfff00000) == 0xb0800000) { itype = M32RXF_INSN_BEQZ; goto extract_sfmt_beqz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 185 : + case 185: if ((entire_insn & 0xfff00000) == 0xb0900000) { itype = M32RXF_INSN_BNEZ; goto extract_sfmt_beqz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 186 : + case 186: if ((entire_insn & 0xfff00000) == 0xb0a00000) { itype = M32RXF_INSN_BLTZ; goto extract_sfmt_beqz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 187 : + case 187: if ((entire_insn & 0xfff00000) == 0xb0b00000) { itype = M32RXF_INSN_BGEZ; goto extract_sfmt_beqz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 188 : + case 188: if ((entire_insn & 0xfff00000) == 0xb0c00000) { itype = M32RXF_INSN_BLEZ; goto extract_sfmt_beqz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 189 : + case 189: if ((entire_insn & 0xfff00000) == 0xb0d00000) { itype = M32RXF_INSN_BGTZ; goto extract_sfmt_beqz; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 220 : + case 220: if ((entire_insn & 0xf0ff0000) == 0xd0c00000) { itype = M32RXF_INSN_SETH; goto extract_sfmt_seth; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 224 : /* fall through */ - case 225 : /* fall through */ - case 226 : /* fall through */ - case 227 : /* fall through */ - case 228 : /* fall through */ - case 229 : /* fall through */ - case 230 : /* fall through */ - case 231 : /* fall through */ - case 232 : /* fall through */ - case 233 : /* fall through */ - case 234 : /* fall through */ - case 235 : /* fall through */ - case 236 : /* fall through */ - case 237 : /* fall through */ - case 238 : /* fall through */ - case 239 : itype = M32RXF_INSN_LD24; goto extract_sfmt_ld24; - case 240 : /* fall through */ - case 241 : /* fall through */ - case 242 : /* fall through */ - case 243 : /* fall through */ - case 244 : /* fall through */ - case 245 : /* fall through */ - case 246 : /* fall through */ - case 247 : /* fall through */ - case 248 : /* fall through */ - case 249 : /* fall through */ - case 250 : /* fall through */ - case 251 : /* fall through */ - case 252 : /* fall through */ - case 253 : /* fall through */ - case 254 : /* fall through */ - case 255 : + case 224: + case 225: + case 226: + case 227: + case 228: + case 229: + case 230: + case 231: + case 232: + case 233: + case 234: + case 235: + case 236: + case 237: + case 238: + case 239: itype = M32RXF_INSN_LD24; goto extract_sfmt_ld24; + case 240: + case 241: + case 242: + case 243: + case 244: + case 245: + case 246: + case 247: + case 248: + case 249: + case 250: + case 251: + case 252: + case 253: + case 254: + case 255: { unsigned int val1 = (((insn >> 8) & (7 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xff000000) == 0xf8000000) { itype = M32RXF_INSN_BCL24; goto extract_sfmt_bcl24; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xff000000) == 0xf9000000) { itype = M32RXF_INSN_BNCL24; goto extract_sfmt_bcl24; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0xff000000) == 0xfc000000) { itype = M32RXF_INSN_BC24; goto extract_sfmt_bc24; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0xff000000) == 0xfd000000) { itype = M32RXF_INSN_BNC24; goto extract_sfmt_bc24; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0xff000000) == 0xfe000000) { itype = M32RXF_INSN_BL24; goto extract_sfmt_bl24; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0xff000000) == 0xff000000) { itype = M32RXF_INSN_BRA24; goto extract_sfmt_bra24; } itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } - default : itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = M32RXF_INSN_X_INVALID; goto extract_sfmt_empty; } } } diff --git a/sim/or1k/decode.c b/sim/or1k/decode.c index aab7010..9d9cde4 100644 --- a/sim/or1k/decode.c +++ b/sim/or1k/decode.c @@ -269,1631 +269,1631 @@ or1k32bf_decode (SIM_CPU *current_cpu, IADDR pc, unsigned int val0 = (((insn >> 21) & (63 << 5)) | ((insn >> 0) & (31 << 0))); switch (val0) { - case 0 : /* fall through */ - case 1 : /* fall through */ - case 2 : /* fall through */ - case 3 : /* fall through */ - case 4 : /* fall through */ - case 5 : /* fall through */ - case 6 : /* fall through */ - case 7 : /* fall through */ - case 8 : /* fall through */ - case 9 : /* fall through */ - case 10 : /* fall through */ - case 11 : /* fall through */ - case 12 : /* fall through */ - case 13 : /* fall through */ - case 14 : /* fall through */ - case 15 : /* fall through */ - case 16 : /* fall through */ - case 17 : /* fall through */ - case 18 : /* fall through */ - case 19 : /* fall through */ - case 20 : /* fall through */ - case 21 : /* fall through */ - case 22 : /* fall through */ - case 23 : /* fall through */ - case 24 : /* fall through */ - case 25 : /* fall through */ - case 26 : /* fall through */ - case 27 : /* fall through */ - case 28 : /* fall through */ - case 29 : /* fall through */ - case 30 : /* fall through */ - case 31 : itype = OR1K32BF_INSN_L_J; goto extract_sfmt_l_j; - case 32 : /* fall through */ - case 33 : /* fall through */ - case 34 : /* fall through */ - case 35 : /* fall through */ - case 36 : /* fall through */ - case 37 : /* fall through */ - case 38 : /* fall through */ - case 39 : /* fall through */ - case 40 : /* fall through */ - case 41 : /* fall through */ - case 42 : /* fall through */ - case 43 : /* fall through */ - case 44 : /* fall through */ - case 45 : /* fall through */ - case 46 : /* fall through */ - case 47 : /* fall through */ - case 48 : /* fall through */ - case 49 : /* fall through */ - case 50 : /* fall through */ - case 51 : /* fall through */ - case 52 : /* fall through */ - case 53 : /* fall through */ - case 54 : /* fall through */ - case 55 : /* fall through */ - case 56 : /* fall through */ - case 57 : /* fall through */ - case 58 : /* fall through */ - case 59 : /* fall through */ - case 60 : /* fall through */ - case 61 : /* fall through */ - case 62 : /* fall through */ - case 63 : itype = OR1K32BF_INSN_L_JAL; goto extract_sfmt_l_jal; - case 64 : /* fall through */ - case 65 : /* fall through */ - case 66 : /* fall through */ - case 67 : /* fall through */ - case 68 : /* fall through */ - case 69 : /* fall through */ - case 70 : /* fall through */ - case 71 : /* fall through */ - case 72 : /* fall through */ - case 73 : /* fall through */ - case 74 : /* fall through */ - case 75 : /* fall through */ - case 76 : /* fall through */ - case 77 : /* fall through */ - case 78 : /* fall through */ - case 79 : /* fall through */ - case 80 : /* fall through */ - case 81 : /* fall through */ - case 82 : /* fall through */ - case 83 : /* fall through */ - case 84 : /* fall through */ - case 85 : /* fall through */ - case 86 : /* fall through */ - case 87 : /* fall through */ - case 88 : /* fall through */ - case 89 : /* fall through */ - case 90 : /* fall through */ - case 91 : /* fall through */ - case 92 : /* fall through */ - case 93 : /* fall through */ - case 94 : /* fall through */ - case 95 : itype = OR1K32BF_INSN_L_ADRP; goto extract_sfmt_l_adrp; - case 96 : /* fall through */ - case 97 : /* fall through */ - case 98 : /* fall through */ - case 99 : /* fall through */ - case 100 : /* fall through */ - case 101 : /* fall through */ - case 102 : /* fall through */ - case 103 : /* fall through */ - case 104 : /* fall through */ - case 105 : /* fall through */ - case 106 : /* fall through */ - case 107 : /* fall through */ - case 108 : /* fall through */ - case 109 : /* fall through */ - case 110 : /* fall through */ - case 111 : /* fall through */ - case 112 : /* fall through */ - case 113 : /* fall through */ - case 114 : /* fall through */ - case 115 : /* fall through */ - case 116 : /* fall through */ - case 117 : /* fall through */ - case 118 : /* fall through */ - case 119 : /* fall through */ - case 120 : /* fall through */ - case 121 : /* fall through */ - case 122 : /* fall through */ - case 123 : /* fall through */ - case 124 : /* fall through */ - case 125 : /* fall through */ - case 126 : /* fall through */ - case 127 : itype = OR1K32BF_INSN_L_BNF; goto extract_sfmt_l_bnf; - case 128 : /* fall through */ - case 129 : /* fall through */ - case 130 : /* fall through */ - case 131 : /* fall through */ - case 132 : /* fall through */ - case 133 : /* fall through */ - case 134 : /* fall through */ - case 135 : /* fall through */ - case 136 : /* fall through */ - case 137 : /* fall through */ - case 138 : /* fall through */ - case 139 : /* fall through */ - case 140 : /* fall through */ - case 141 : /* fall through */ - case 142 : /* fall through */ - case 143 : /* fall through */ - case 144 : /* fall through */ - case 145 : /* fall through */ - case 146 : /* fall through */ - case 147 : /* fall through */ - case 148 : /* fall through */ - case 149 : /* fall through */ - case 150 : /* fall through */ - case 151 : /* fall through */ - case 152 : /* fall through */ - case 153 : /* fall through */ - case 154 : /* fall through */ - case 155 : /* fall through */ - case 156 : /* fall through */ - case 157 : /* fall through */ - case 158 : /* fall through */ - case 159 : itype = OR1K32BF_INSN_L_BF; goto extract_sfmt_l_bnf; - case 160 : /* fall through */ - case 161 : /* fall through */ - case 162 : /* fall through */ - case 163 : /* fall through */ - case 164 : /* fall through */ - case 165 : /* fall through */ - case 166 : /* fall through */ - case 167 : /* fall through */ - case 168 : /* fall through */ - case 169 : /* fall through */ - case 170 : /* fall through */ - case 171 : /* fall through */ - case 172 : /* fall through */ - case 173 : /* fall through */ - case 174 : /* fall through */ - case 175 : /* fall through */ - case 176 : /* fall through */ - case 177 : /* fall through */ - case 178 : /* fall through */ - case 179 : /* fall through */ - case 180 : /* fall through */ - case 181 : /* fall through */ - case 182 : /* fall through */ - case 183 : /* fall through */ - case 184 : /* fall through */ - case 185 : /* fall through */ - case 186 : /* fall through */ - case 187 : /* fall through */ - case 188 : /* fall through */ - case 189 : /* fall through */ - case 190 : /* fall through */ - case 191 : + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: itype = OR1K32BF_INSN_L_J; goto extract_sfmt_l_j; + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: itype = OR1K32BF_INSN_L_JAL; goto extract_sfmt_l_jal; + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: itype = OR1K32BF_INSN_L_ADRP; goto extract_sfmt_l_adrp; + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: + case 112: + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: itype = OR1K32BF_INSN_L_BNF; goto extract_sfmt_l_bnf; + case 128: + case 129: + case 130: + case 131: + case 132: + case 133: + case 134: + case 135: + case 136: + case 137: + case 138: + case 139: + case 140: + case 141: + case 142: + case 143: + case 144: + case 145: + case 146: + case 147: + case 148: + case 149: + case 150: + case 151: + case 152: + case 153: + case 154: + case 155: + case 156: + case 157: + case 158: + case 159: itype = OR1K32BF_INSN_L_BF; goto extract_sfmt_l_bnf; + case 160: + case 161: + case 162: + case 163: + case 164: + case 165: + case 166: + case 167: + case 168: + case 169: + case 170: + case 171: + case 172: + case 173: + case 174: + case 175: + case 176: + case 177: + case 178: + case 179: + case 180: + case 181: + case 182: + case 183: + case 184: + case 185: + case 186: + case 187: + case 188: + case 189: + case 190: + case 191: if ((entire_insn & 0xffff0000) == 0x15000000) { itype = OR1K32BF_INSN_L_NOP_IMM; goto extract_sfmt_l_nop_imm; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 192 : + case 192: { unsigned int val1 = (((insn >> 16) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc1f0000) == 0x18000000) { itype = OR1K32BF_INSN_L_MOVHI; goto extract_sfmt_l_movhi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc1fffff) == 0x18010000) { itype = OR1K32BF_INSN_L_MACRC; goto extract_sfmt_l_macrc; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 193 : /* fall through */ - case 194 : /* fall through */ - case 195 : /* fall through */ - case 196 : /* fall through */ - case 197 : /* fall through */ - case 198 : /* fall through */ - case 199 : /* fall through */ - case 200 : /* fall through */ - case 201 : /* fall through */ - case 202 : /* fall through */ - case 203 : /* fall through */ - case 204 : /* fall through */ - case 205 : /* fall through */ - case 206 : /* fall through */ - case 207 : /* fall through */ - case 208 : /* fall through */ - case 209 : /* fall through */ - case 210 : /* fall through */ - case 211 : /* fall through */ - case 212 : /* fall through */ - case 213 : /* fall through */ - case 214 : /* fall through */ - case 215 : /* fall through */ - case 216 : /* fall through */ - case 217 : /* fall through */ - case 218 : /* fall through */ - case 219 : /* fall through */ - case 220 : /* fall through */ - case 221 : /* fall through */ - case 222 : /* fall through */ - case 223 : + case 193: + case 194: + case 195: + case 196: + case 197: + case 198: + case 199: + case 200: + case 201: + case 202: + case 203: + case 204: + case 205: + case 206: + case 207: + case 208: + case 209: + case 210: + case 211: + case 212: + case 213: + case 214: + case 215: + case 216: + case 217: + case 218: + case 219: + case 220: + case 221: + case 222: + case 223: if ((entire_insn & 0xfc1f0000) == 0x18000000) { itype = OR1K32BF_INSN_L_MOVHI; goto extract_sfmt_l_movhi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 256 : + case 256: { unsigned int val1 = (((insn >> 23) & (7 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffff0000) == 0x20000000) { itype = OR1K32BF_INSN_L_SYS; goto extract_sfmt_l_trap; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffff0000) == 0x21000000) { itype = OR1K32BF_INSN_L_TRAP; goto extract_sfmt_l_trap; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0xffffffff) == 0x22000000) { itype = OR1K32BF_INSN_L_MSYNC; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0xffffffff) == 0x22800000) { itype = OR1K32BF_INSN_L_PSYNC; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0xffffffff) == 0x23000000) { itype = OR1K32BF_INSN_L_CSYNC; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 257 : /* fall through */ - case 258 : /* fall through */ - case 259 : /* fall through */ - case 260 : /* fall through */ - case 261 : /* fall through */ - case 262 : /* fall through */ - case 263 : /* fall through */ - case 264 : /* fall through */ - case 265 : /* fall through */ - case 266 : /* fall through */ - case 267 : /* fall through */ - case 268 : /* fall through */ - case 269 : /* fall through */ - case 270 : /* fall through */ - case 271 : /* fall through */ - case 272 : /* fall through */ - case 273 : /* fall through */ - case 274 : /* fall through */ - case 275 : /* fall through */ - case 276 : /* fall through */ - case 277 : /* fall through */ - case 278 : /* fall through */ - case 279 : /* fall through */ - case 280 : /* fall through */ - case 281 : /* fall through */ - case 282 : /* fall through */ - case 283 : /* fall through */ - case 284 : /* fall through */ - case 285 : /* fall through */ - case 286 : /* fall through */ - case 287 : + case 257: + case 258: + case 259: + case 260: + case 261: + case 262: + case 263: + case 264: + case 265: + case 266: + case 267: + case 268: + case 269: + case 270: + case 271: + case 272: + case 273: + case 274: + case 275: + case 276: + case 277: + case 278: + case 279: + case 280: + case 281: + case 282: + case 283: + case 284: + case 285: + case 286: + case 287: { unsigned int val1 = (((insn >> 24) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffff0000) == 0x20000000) { itype = OR1K32BF_INSN_L_SYS; goto extract_sfmt_l_trap; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffff0000) == 0x21000000) { itype = OR1K32BF_INSN_L_TRAP; goto extract_sfmt_l_trap; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 288 : + case 288: if ((entire_insn & 0xffffffff) == 0x24000000) { itype = OR1K32BF_INSN_L_RFE; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 544 : + case 544: if ((entire_insn & 0xffff07ff) == 0x44000000) { itype = OR1K32BF_INSN_L_JR; goto extract_sfmt_l_jr; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 576 : + case 576: if ((entire_insn & 0xffff07ff) == 0x48000000) { itype = OR1K32BF_INSN_L_JALR; goto extract_sfmt_l_jalr; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 608 : /* fall through */ - case 609 : /* fall through */ - case 610 : /* fall through */ - case 611 : /* fall through */ - case 612 : /* fall through */ - case 613 : /* fall through */ - case 614 : /* fall through */ - case 615 : /* fall through */ - case 616 : /* fall through */ - case 617 : /* fall through */ - case 618 : /* fall through */ - case 619 : /* fall through */ - case 620 : /* fall through */ - case 621 : /* fall through */ - case 622 : /* fall through */ - case 623 : /* fall through */ - case 624 : /* fall through */ - case 625 : /* fall through */ - case 626 : /* fall through */ - case 627 : /* fall through */ - case 628 : /* fall through */ - case 629 : /* fall through */ - case 630 : /* fall through */ - case 631 : /* fall through */ - case 632 : /* fall through */ - case 633 : /* fall through */ - case 634 : /* fall through */ - case 635 : /* fall through */ - case 636 : /* fall through */ - case 637 : /* fall through */ - case 638 : /* fall through */ - case 639 : + case 608: + case 609: + case 610: + case 611: + case 612: + case 613: + case 614: + case 615: + case 616: + case 617: + case 618: + case 619: + case 620: + case 621: + case 622: + case 623: + case 624: + case 625: + case 626: + case 627: + case 628: + case 629: + case 630: + case 631: + case 632: + case 633: + case 634: + case 635: + case 636: + case 637: + case 638: + case 639: if ((entire_insn & 0xffe00000) == 0x4c000000) { itype = OR1K32BF_INSN_L_MACI; goto extract_sfmt_l_maci; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 864 : /* fall through */ - case 865 : /* fall through */ - case 866 : /* fall through */ - case 867 : /* fall through */ - case 868 : /* fall through */ - case 869 : /* fall through */ - case 870 : /* fall through */ - case 871 : /* fall through */ - case 872 : /* fall through */ - case 873 : /* fall through */ - case 874 : /* fall through */ - case 875 : /* fall through */ - case 876 : /* fall through */ - case 877 : /* fall through */ - case 878 : /* fall through */ - case 879 : /* fall through */ - case 880 : /* fall through */ - case 881 : /* fall through */ - case 882 : /* fall through */ - case 883 : /* fall through */ - case 884 : /* fall through */ - case 885 : /* fall through */ - case 886 : /* fall through */ - case 887 : /* fall through */ - case 888 : /* fall through */ - case 889 : /* fall through */ - case 890 : /* fall through */ - case 891 : /* fall through */ - case 892 : /* fall through */ - case 893 : /* fall through */ - case 894 : /* fall through */ - case 895 : itype = OR1K32BF_INSN_L_LWA; goto extract_sfmt_l_lwa; - case 896 : + case 864: + case 865: + case 866: + case 867: + case 868: + case 869: + case 870: + case 871: + case 872: + case 873: + case 874: + case 875: + case 876: + case 877: + case 878: + case 879: + case 880: + case 881: + case 882: + case 883: + case 884: + case 885: + case 886: + case 887: + case 888: + case 889: + case 890: + case 891: + case 892: + case 893: + case 894: + case 895: itype = OR1K32BF_INSN_L_LWA; goto extract_sfmt_l_lwa; + case 896: if ((entire_insn & 0xffffffff) == 0x70000000) { itype = OR1K32BF_INSN_L_CUST1; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 928 : + case 928: if ((entire_insn & 0xffffffff) == 0x74000000) { itype = OR1K32BF_INSN_L_CUST2; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 960 : + case 960: if ((entire_insn & 0xffffffff) == 0x78000000) { itype = OR1K32BF_INSN_L_CUST3; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 992 : + case 992: if ((entire_insn & 0xffffffff) == 0x7c000000) { itype = OR1K32BF_INSN_L_CUST4; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1056 : /* fall through */ - case 1057 : /* fall through */ - case 1058 : /* fall through */ - case 1059 : /* fall through */ - case 1060 : /* fall through */ - case 1061 : /* fall through */ - case 1062 : /* fall through */ - case 1063 : /* fall through */ - case 1064 : /* fall through */ - case 1065 : /* fall through */ - case 1066 : /* fall through */ - case 1067 : /* fall through */ - case 1068 : /* fall through */ - case 1069 : /* fall through */ - case 1070 : /* fall through */ - case 1071 : /* fall through */ - case 1072 : /* fall through */ - case 1073 : /* fall through */ - case 1074 : /* fall through */ - case 1075 : /* fall through */ - case 1076 : /* fall through */ - case 1077 : /* fall through */ - case 1078 : /* fall through */ - case 1079 : /* fall through */ - case 1080 : /* fall through */ - case 1081 : /* fall through */ - case 1082 : /* fall through */ - case 1083 : /* fall through */ - case 1084 : /* fall through */ - case 1085 : /* fall through */ - case 1086 : /* fall through */ - case 1087 : itype = OR1K32BF_INSN_L_LWZ; goto extract_sfmt_l_lwz; - case 1088 : /* fall through */ - case 1089 : /* fall through */ - case 1090 : /* fall through */ - case 1091 : /* fall through */ - case 1092 : /* fall through */ - case 1093 : /* fall through */ - case 1094 : /* fall through */ - case 1095 : /* fall through */ - case 1096 : /* fall through */ - case 1097 : /* fall through */ - case 1098 : /* fall through */ - case 1099 : /* fall through */ - case 1100 : /* fall through */ - case 1101 : /* fall through */ - case 1102 : /* fall through */ - case 1103 : /* fall through */ - case 1104 : /* fall through */ - case 1105 : /* fall through */ - case 1106 : /* fall through */ - case 1107 : /* fall through */ - case 1108 : /* fall through */ - case 1109 : /* fall through */ - case 1110 : /* fall through */ - case 1111 : /* fall through */ - case 1112 : /* fall through */ - case 1113 : /* fall through */ - case 1114 : /* fall through */ - case 1115 : /* fall through */ - case 1116 : /* fall through */ - case 1117 : /* fall through */ - case 1118 : /* fall through */ - case 1119 : itype = OR1K32BF_INSN_L_LWS; goto extract_sfmt_l_lws; - case 1120 : /* fall through */ - case 1121 : /* fall through */ - case 1122 : /* fall through */ - case 1123 : /* fall through */ - case 1124 : /* fall through */ - case 1125 : /* fall through */ - case 1126 : /* fall through */ - case 1127 : /* fall through */ - case 1128 : /* fall through */ - case 1129 : /* fall through */ - case 1130 : /* fall through */ - case 1131 : /* fall through */ - case 1132 : /* fall through */ - case 1133 : /* fall through */ - case 1134 : /* fall through */ - case 1135 : /* fall through */ - case 1136 : /* fall through */ - case 1137 : /* fall through */ - case 1138 : /* fall through */ - case 1139 : /* fall through */ - case 1140 : /* fall through */ - case 1141 : /* fall through */ - case 1142 : /* fall through */ - case 1143 : /* fall through */ - case 1144 : /* fall through */ - case 1145 : /* fall through */ - case 1146 : /* fall through */ - case 1147 : /* fall through */ - case 1148 : /* fall through */ - case 1149 : /* fall through */ - case 1150 : /* fall through */ - case 1151 : itype = OR1K32BF_INSN_L_LBZ; goto extract_sfmt_l_lbz; - case 1152 : /* fall through */ - case 1153 : /* fall through */ - case 1154 : /* fall through */ - case 1155 : /* fall through */ - case 1156 : /* fall through */ - case 1157 : /* fall through */ - case 1158 : /* fall through */ - case 1159 : /* fall through */ - case 1160 : /* fall through */ - case 1161 : /* fall through */ - case 1162 : /* fall through */ - case 1163 : /* fall through */ - case 1164 : /* fall through */ - case 1165 : /* fall through */ - case 1166 : /* fall through */ - case 1167 : /* fall through */ - case 1168 : /* fall through */ - case 1169 : /* fall through */ - case 1170 : /* fall through */ - case 1171 : /* fall through */ - case 1172 : /* fall through */ - case 1173 : /* fall through */ - case 1174 : /* fall through */ - case 1175 : /* fall through */ - case 1176 : /* fall through */ - case 1177 : /* fall through */ - case 1178 : /* fall through */ - case 1179 : /* fall through */ - case 1180 : /* fall through */ - case 1181 : /* fall through */ - case 1182 : /* fall through */ - case 1183 : itype = OR1K32BF_INSN_L_LBS; goto extract_sfmt_l_lbs; - case 1184 : /* fall through */ - case 1185 : /* fall through */ - case 1186 : /* fall through */ - case 1187 : /* fall through */ - case 1188 : /* fall through */ - case 1189 : /* fall through */ - case 1190 : /* fall through */ - case 1191 : /* fall through */ - case 1192 : /* fall through */ - case 1193 : /* fall through */ - case 1194 : /* fall through */ - case 1195 : /* fall through */ - case 1196 : /* fall through */ - case 1197 : /* fall through */ - case 1198 : /* fall through */ - case 1199 : /* fall through */ - case 1200 : /* fall through */ - case 1201 : /* fall through */ - case 1202 : /* fall through */ - case 1203 : /* fall through */ - case 1204 : /* fall through */ - case 1205 : /* fall through */ - case 1206 : /* fall through */ - case 1207 : /* fall through */ - case 1208 : /* fall through */ - case 1209 : /* fall through */ - case 1210 : /* fall through */ - case 1211 : /* fall through */ - case 1212 : /* fall through */ - case 1213 : /* fall through */ - case 1214 : /* fall through */ - case 1215 : itype = OR1K32BF_INSN_L_LHZ; goto extract_sfmt_l_lhz; - case 1216 : /* fall through */ - case 1217 : /* fall through */ - case 1218 : /* fall through */ - case 1219 : /* fall through */ - case 1220 : /* fall through */ - case 1221 : /* fall through */ - case 1222 : /* fall through */ - case 1223 : /* fall through */ - case 1224 : /* fall through */ - case 1225 : /* fall through */ - case 1226 : /* fall through */ - case 1227 : /* fall through */ - case 1228 : /* fall through */ - case 1229 : /* fall through */ - case 1230 : /* fall through */ - case 1231 : /* fall through */ - case 1232 : /* fall through */ - case 1233 : /* fall through */ - case 1234 : /* fall through */ - case 1235 : /* fall through */ - case 1236 : /* fall through */ - case 1237 : /* fall through */ - case 1238 : /* fall through */ - case 1239 : /* fall through */ - case 1240 : /* fall through */ - case 1241 : /* fall through */ - case 1242 : /* fall through */ - case 1243 : /* fall through */ - case 1244 : /* fall through */ - case 1245 : /* fall through */ - case 1246 : /* fall through */ - case 1247 : itype = OR1K32BF_INSN_L_LHS; goto extract_sfmt_l_lhs; - case 1248 : /* fall through */ - case 1249 : /* fall through */ - case 1250 : /* fall through */ - case 1251 : /* fall through */ - case 1252 : /* fall through */ - case 1253 : /* fall through */ - case 1254 : /* fall through */ - case 1255 : /* fall through */ - case 1256 : /* fall through */ - case 1257 : /* fall through */ - case 1258 : /* fall through */ - case 1259 : /* fall through */ - case 1260 : /* fall through */ - case 1261 : /* fall through */ - case 1262 : /* fall through */ - case 1263 : /* fall through */ - case 1264 : /* fall through */ - case 1265 : /* fall through */ - case 1266 : /* fall through */ - case 1267 : /* fall through */ - case 1268 : /* fall through */ - case 1269 : /* fall through */ - case 1270 : /* fall through */ - case 1271 : /* fall through */ - case 1272 : /* fall through */ - case 1273 : /* fall through */ - case 1274 : /* fall through */ - case 1275 : /* fall through */ - case 1276 : /* fall through */ - case 1277 : /* fall through */ - case 1278 : /* fall through */ - case 1279 : itype = OR1K32BF_INSN_L_ADDI; goto extract_sfmt_l_addi; - case 1280 : /* fall through */ - case 1281 : /* fall through */ - case 1282 : /* fall through */ - case 1283 : /* fall through */ - case 1284 : /* fall through */ - case 1285 : /* fall through */ - case 1286 : /* fall through */ - case 1287 : /* fall through */ - case 1288 : /* fall through */ - case 1289 : /* fall through */ - case 1290 : /* fall through */ - case 1291 : /* fall through */ - case 1292 : /* fall through */ - case 1293 : /* fall through */ - case 1294 : /* fall through */ - case 1295 : /* fall through */ - case 1296 : /* fall through */ - case 1297 : /* fall through */ - case 1298 : /* fall through */ - case 1299 : /* fall through */ - case 1300 : /* fall through */ - case 1301 : /* fall through */ - case 1302 : /* fall through */ - case 1303 : /* fall through */ - case 1304 : /* fall through */ - case 1305 : /* fall through */ - case 1306 : /* fall through */ - case 1307 : /* fall through */ - case 1308 : /* fall through */ - case 1309 : /* fall through */ - case 1310 : /* fall through */ - case 1311 : itype = OR1K32BF_INSN_L_ADDIC; goto extract_sfmt_l_addic; - case 1312 : /* fall through */ - case 1313 : /* fall through */ - case 1314 : /* fall through */ - case 1315 : /* fall through */ - case 1316 : /* fall through */ - case 1317 : /* fall through */ - case 1318 : /* fall through */ - case 1319 : /* fall through */ - case 1320 : /* fall through */ - case 1321 : /* fall through */ - case 1322 : /* fall through */ - case 1323 : /* fall through */ - case 1324 : /* fall through */ - case 1325 : /* fall through */ - case 1326 : /* fall through */ - case 1327 : /* fall through */ - case 1328 : /* fall through */ - case 1329 : /* fall through */ - case 1330 : /* fall through */ - case 1331 : /* fall through */ - case 1332 : /* fall through */ - case 1333 : /* fall through */ - case 1334 : /* fall through */ - case 1335 : /* fall through */ - case 1336 : /* fall through */ - case 1337 : /* fall through */ - case 1338 : /* fall through */ - case 1339 : /* fall through */ - case 1340 : /* fall through */ - case 1341 : /* fall through */ - case 1342 : /* fall through */ - case 1343 : itype = OR1K32BF_INSN_L_ANDI; goto extract_sfmt_l_mfspr; - case 1344 : /* fall through */ - case 1345 : /* fall through */ - case 1346 : /* fall through */ - case 1347 : /* fall through */ - case 1348 : /* fall through */ - case 1349 : /* fall through */ - case 1350 : /* fall through */ - case 1351 : /* fall through */ - case 1352 : /* fall through */ - case 1353 : /* fall through */ - case 1354 : /* fall through */ - case 1355 : /* fall through */ - case 1356 : /* fall through */ - case 1357 : /* fall through */ - case 1358 : /* fall through */ - case 1359 : /* fall through */ - case 1360 : /* fall through */ - case 1361 : /* fall through */ - case 1362 : /* fall through */ - case 1363 : /* fall through */ - case 1364 : /* fall through */ - case 1365 : /* fall through */ - case 1366 : /* fall through */ - case 1367 : /* fall through */ - case 1368 : /* fall through */ - case 1369 : /* fall through */ - case 1370 : /* fall through */ - case 1371 : /* fall through */ - case 1372 : /* fall through */ - case 1373 : /* fall through */ - case 1374 : /* fall through */ - case 1375 : itype = OR1K32BF_INSN_L_ORI; goto extract_sfmt_l_mfspr; - case 1376 : /* fall through */ - case 1377 : /* fall through */ - case 1378 : /* fall through */ - case 1379 : /* fall through */ - case 1380 : /* fall through */ - case 1381 : /* fall through */ - case 1382 : /* fall through */ - case 1383 : /* fall through */ - case 1384 : /* fall through */ - case 1385 : /* fall through */ - case 1386 : /* fall through */ - case 1387 : /* fall through */ - case 1388 : /* fall through */ - case 1389 : /* fall through */ - case 1390 : /* fall through */ - case 1391 : /* fall through */ - case 1392 : /* fall through */ - case 1393 : /* fall through */ - case 1394 : /* fall through */ - case 1395 : /* fall through */ - case 1396 : /* fall through */ - case 1397 : /* fall through */ - case 1398 : /* fall through */ - case 1399 : /* fall through */ - case 1400 : /* fall through */ - case 1401 : /* fall through */ - case 1402 : /* fall through */ - case 1403 : /* fall through */ - case 1404 : /* fall through */ - case 1405 : /* fall through */ - case 1406 : /* fall through */ - case 1407 : itype = OR1K32BF_INSN_L_XORI; goto extract_sfmt_l_xori; - case 1408 : /* fall through */ - case 1409 : /* fall through */ - case 1410 : /* fall through */ - case 1411 : /* fall through */ - case 1412 : /* fall through */ - case 1413 : /* fall through */ - case 1414 : /* fall through */ - case 1415 : /* fall through */ - case 1416 : /* fall through */ - case 1417 : /* fall through */ - case 1418 : /* fall through */ - case 1419 : /* fall through */ - case 1420 : /* fall through */ - case 1421 : /* fall through */ - case 1422 : /* fall through */ - case 1423 : /* fall through */ - case 1424 : /* fall through */ - case 1425 : /* fall through */ - case 1426 : /* fall through */ - case 1427 : /* fall through */ - case 1428 : /* fall through */ - case 1429 : /* fall through */ - case 1430 : /* fall through */ - case 1431 : /* fall through */ - case 1432 : /* fall through */ - case 1433 : /* fall through */ - case 1434 : /* fall through */ - case 1435 : /* fall through */ - case 1436 : /* fall through */ - case 1437 : /* fall through */ - case 1438 : /* fall through */ - case 1439 : itype = OR1K32BF_INSN_L_MULI; goto extract_sfmt_l_muli; - case 1440 : /* fall through */ - case 1441 : /* fall through */ - case 1442 : /* fall through */ - case 1443 : /* fall through */ - case 1444 : /* fall through */ - case 1445 : /* fall through */ - case 1446 : /* fall through */ - case 1447 : /* fall through */ - case 1448 : /* fall through */ - case 1449 : /* fall through */ - case 1450 : /* fall through */ - case 1451 : /* fall through */ - case 1452 : /* fall through */ - case 1453 : /* fall through */ - case 1454 : /* fall through */ - case 1455 : /* fall through */ - case 1456 : /* fall through */ - case 1457 : /* fall through */ - case 1458 : /* fall through */ - case 1459 : /* fall through */ - case 1460 : /* fall through */ - case 1461 : /* fall through */ - case 1462 : /* fall through */ - case 1463 : /* fall through */ - case 1464 : /* fall through */ - case 1465 : /* fall through */ - case 1466 : /* fall through */ - case 1467 : /* fall through */ - case 1468 : /* fall through */ - case 1469 : /* fall through */ - case 1470 : /* fall through */ - case 1471 : itype = OR1K32BF_INSN_L_MFSPR; goto extract_sfmt_l_mfspr; - case 1472 : /* fall through */ - case 1473 : /* fall through */ - case 1474 : /* fall through */ - case 1475 : /* fall through */ - case 1476 : /* fall through */ - case 1477 : /* fall through */ - case 1478 : /* fall through */ - case 1479 : /* fall through */ - case 1480 : /* fall through */ - case 1481 : /* fall through */ - case 1482 : /* fall through */ - case 1483 : /* fall through */ - case 1484 : /* fall through */ - case 1485 : /* fall through */ - case 1486 : /* fall through */ - case 1487 : /* fall through */ - case 1488 : /* fall through */ - case 1489 : /* fall through */ - case 1490 : /* fall through */ - case 1491 : /* fall through */ - case 1492 : /* fall through */ - case 1493 : /* fall through */ - case 1494 : /* fall through */ - case 1495 : /* fall through */ - case 1496 : /* fall through */ - case 1497 : /* fall through */ - case 1498 : /* fall through */ - case 1499 : /* fall through */ - case 1500 : /* fall through */ - case 1501 : /* fall through */ - case 1502 : /* fall through */ - case 1503 : + case 1056: + case 1057: + case 1058: + case 1059: + case 1060: + case 1061: + case 1062: + case 1063: + case 1064: + case 1065: + case 1066: + case 1067: + case 1068: + case 1069: + case 1070: + case 1071: + case 1072: + case 1073: + case 1074: + case 1075: + case 1076: + case 1077: + case 1078: + case 1079: + case 1080: + case 1081: + case 1082: + case 1083: + case 1084: + case 1085: + case 1086: + case 1087: itype = OR1K32BF_INSN_L_LWZ; goto extract_sfmt_l_lwz; + case 1088: + case 1089: + case 1090: + case 1091: + case 1092: + case 1093: + case 1094: + case 1095: + case 1096: + case 1097: + case 1098: + case 1099: + case 1100: + case 1101: + case 1102: + case 1103: + case 1104: + case 1105: + case 1106: + case 1107: + case 1108: + case 1109: + case 1110: + case 1111: + case 1112: + case 1113: + case 1114: + case 1115: + case 1116: + case 1117: + case 1118: + case 1119: itype = OR1K32BF_INSN_L_LWS; goto extract_sfmt_l_lws; + case 1120: + case 1121: + case 1122: + case 1123: + case 1124: + case 1125: + case 1126: + case 1127: + case 1128: + case 1129: + case 1130: + case 1131: + case 1132: + case 1133: + case 1134: + case 1135: + case 1136: + case 1137: + case 1138: + case 1139: + case 1140: + case 1141: + case 1142: + case 1143: + case 1144: + case 1145: + case 1146: + case 1147: + case 1148: + case 1149: + case 1150: + case 1151: itype = OR1K32BF_INSN_L_LBZ; goto extract_sfmt_l_lbz; + case 1152: + case 1153: + case 1154: + case 1155: + case 1156: + case 1157: + case 1158: + case 1159: + case 1160: + case 1161: + case 1162: + case 1163: + case 1164: + case 1165: + case 1166: + case 1167: + case 1168: + case 1169: + case 1170: + case 1171: + case 1172: + case 1173: + case 1174: + case 1175: + case 1176: + case 1177: + case 1178: + case 1179: + case 1180: + case 1181: + case 1182: + case 1183: itype = OR1K32BF_INSN_L_LBS; goto extract_sfmt_l_lbs; + case 1184: + case 1185: + case 1186: + case 1187: + case 1188: + case 1189: + case 1190: + case 1191: + case 1192: + case 1193: + case 1194: + case 1195: + case 1196: + case 1197: + case 1198: + case 1199: + case 1200: + case 1201: + case 1202: + case 1203: + case 1204: + case 1205: + case 1206: + case 1207: + case 1208: + case 1209: + case 1210: + case 1211: + case 1212: + case 1213: + case 1214: + case 1215: itype = OR1K32BF_INSN_L_LHZ; goto extract_sfmt_l_lhz; + case 1216: + case 1217: + case 1218: + case 1219: + case 1220: + case 1221: + case 1222: + case 1223: + case 1224: + case 1225: + case 1226: + case 1227: + case 1228: + case 1229: + case 1230: + case 1231: + case 1232: + case 1233: + case 1234: + case 1235: + case 1236: + case 1237: + case 1238: + case 1239: + case 1240: + case 1241: + case 1242: + case 1243: + case 1244: + case 1245: + case 1246: + case 1247: itype = OR1K32BF_INSN_L_LHS; goto extract_sfmt_l_lhs; + case 1248: + case 1249: + case 1250: + case 1251: + case 1252: + case 1253: + case 1254: + case 1255: + case 1256: + case 1257: + case 1258: + case 1259: + case 1260: + case 1261: + case 1262: + case 1263: + case 1264: + case 1265: + case 1266: + case 1267: + case 1268: + case 1269: + case 1270: + case 1271: + case 1272: + case 1273: + case 1274: + case 1275: + case 1276: + case 1277: + case 1278: + case 1279: itype = OR1K32BF_INSN_L_ADDI; goto extract_sfmt_l_addi; + case 1280: + case 1281: + case 1282: + case 1283: + case 1284: + case 1285: + case 1286: + case 1287: + case 1288: + case 1289: + case 1290: + case 1291: + case 1292: + case 1293: + case 1294: + case 1295: + case 1296: + case 1297: + case 1298: + case 1299: + case 1300: + case 1301: + case 1302: + case 1303: + case 1304: + case 1305: + case 1306: + case 1307: + case 1308: + case 1309: + case 1310: + case 1311: itype = OR1K32BF_INSN_L_ADDIC; goto extract_sfmt_l_addic; + case 1312: + case 1313: + case 1314: + case 1315: + case 1316: + case 1317: + case 1318: + case 1319: + case 1320: + case 1321: + case 1322: + case 1323: + case 1324: + case 1325: + case 1326: + case 1327: + case 1328: + case 1329: + case 1330: + case 1331: + case 1332: + case 1333: + case 1334: + case 1335: + case 1336: + case 1337: + case 1338: + case 1339: + case 1340: + case 1341: + case 1342: + case 1343: itype = OR1K32BF_INSN_L_ANDI; goto extract_sfmt_l_mfspr; + case 1344: + case 1345: + case 1346: + case 1347: + case 1348: + case 1349: + case 1350: + case 1351: + case 1352: + case 1353: + case 1354: + case 1355: + case 1356: + case 1357: + case 1358: + case 1359: + case 1360: + case 1361: + case 1362: + case 1363: + case 1364: + case 1365: + case 1366: + case 1367: + case 1368: + case 1369: + case 1370: + case 1371: + case 1372: + case 1373: + case 1374: + case 1375: itype = OR1K32BF_INSN_L_ORI; goto extract_sfmt_l_mfspr; + case 1376: + case 1377: + case 1378: + case 1379: + case 1380: + case 1381: + case 1382: + case 1383: + case 1384: + case 1385: + case 1386: + case 1387: + case 1388: + case 1389: + case 1390: + case 1391: + case 1392: + case 1393: + case 1394: + case 1395: + case 1396: + case 1397: + case 1398: + case 1399: + case 1400: + case 1401: + case 1402: + case 1403: + case 1404: + case 1405: + case 1406: + case 1407: itype = OR1K32BF_INSN_L_XORI; goto extract_sfmt_l_xori; + case 1408: + case 1409: + case 1410: + case 1411: + case 1412: + case 1413: + case 1414: + case 1415: + case 1416: + case 1417: + case 1418: + case 1419: + case 1420: + case 1421: + case 1422: + case 1423: + case 1424: + case 1425: + case 1426: + case 1427: + case 1428: + case 1429: + case 1430: + case 1431: + case 1432: + case 1433: + case 1434: + case 1435: + case 1436: + case 1437: + case 1438: + case 1439: itype = OR1K32BF_INSN_L_MULI; goto extract_sfmt_l_muli; + case 1440: + case 1441: + case 1442: + case 1443: + case 1444: + case 1445: + case 1446: + case 1447: + case 1448: + case 1449: + case 1450: + case 1451: + case 1452: + case 1453: + case 1454: + case 1455: + case 1456: + case 1457: + case 1458: + case 1459: + case 1460: + case 1461: + case 1462: + case 1463: + case 1464: + case 1465: + case 1466: + case 1467: + case 1468: + case 1469: + case 1470: + case 1471: itype = OR1K32BF_INSN_L_MFSPR; goto extract_sfmt_l_mfspr; + case 1472: + case 1473: + case 1474: + case 1475: + case 1476: + case 1477: + case 1478: + case 1479: + case 1480: + case 1481: + case 1482: + case 1483: + case 1484: + case 1485: + case 1486: + case 1487: + case 1488: + case 1489: + case 1490: + case 1491: + case 1492: + case 1493: + case 1494: + case 1495: + case 1496: + case 1497: + case 1498: + case 1499: + case 1500: + case 1501: + case 1502: + case 1503: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc00ffc0) == 0xb8000000) { itype = OR1K32BF_INSN_L_SLLI; goto extract_sfmt_l_slli; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc00ffc0) == 0xb8000040) { itype = OR1K32BF_INSN_L_SRLI; goto extract_sfmt_l_slli; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xfc00ffc0) == 0xb8000080) { itype = OR1K32BF_INSN_L_SRAI; goto extract_sfmt_l_slli; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfc00ffc0) == 0xb80000c0) { itype = OR1K32BF_INSN_L_RORI; goto extract_sfmt_l_slli; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1504 : /* fall through */ - case 1505 : /* fall through */ - case 1506 : /* fall through */ - case 1507 : /* fall through */ - case 1508 : /* fall through */ - case 1509 : /* fall through */ - case 1510 : /* fall through */ - case 1511 : /* fall through */ - case 1512 : /* fall through */ - case 1513 : /* fall through */ - case 1514 : /* fall through */ - case 1515 : /* fall through */ - case 1516 : /* fall through */ - case 1517 : /* fall through */ - case 1518 : /* fall through */ - case 1519 : /* fall through */ - case 1520 : /* fall through */ - case 1521 : /* fall through */ - case 1522 : /* fall through */ - case 1523 : /* fall through */ - case 1524 : /* fall through */ - case 1525 : /* fall through */ - case 1526 : /* fall through */ - case 1527 : /* fall through */ - case 1528 : /* fall through */ - case 1529 : /* fall through */ - case 1530 : /* fall through */ - case 1531 : /* fall through */ - case 1532 : /* fall through */ - case 1533 : /* fall through */ - case 1534 : /* fall through */ - case 1535 : + case 1504: + case 1505: + case 1506: + case 1507: + case 1508: + case 1509: + case 1510: + case 1511: + case 1512: + case 1513: + case 1514: + case 1515: + case 1516: + case 1517: + case 1518: + case 1519: + case 1520: + case 1521: + case 1522: + case 1523: + case 1524: + case 1525: + case 1526: + case 1527: + case 1528: + case 1529: + case 1530: + case 1531: + case 1532: + case 1533: + case 1534: + case 1535: { unsigned int val1 = (((insn >> 21) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe00000) == 0xbc000000) { itype = OR1K32BF_INSN_L_SFEQI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe00000) == 0xbc200000) { itype = OR1K32BF_INSN_L_SFNEI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffe00000) == 0xbc400000) { itype = OR1K32BF_INSN_L_SFGTUI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffe00000) == 0xbc600000) { itype = OR1K32BF_INSN_L_SFGEUI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0xffe00000) == 0xbc800000) { itype = OR1K32BF_INSN_L_SFLTUI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0xffe00000) == 0xbca00000) { itype = OR1K32BF_INSN_L_SFLEUI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0xffe00000) == 0xbd400000) { itype = OR1K32BF_INSN_L_SFGTSI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0xffe00000) == 0xbd600000) { itype = OR1K32BF_INSN_L_SFGESI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0xffe00000) == 0xbd800000) { itype = OR1K32BF_INSN_L_SFLTSI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0xffe00000) == 0xbda00000) { itype = OR1K32BF_INSN_L_SFLESI; goto extract_sfmt_l_sfgtsi; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1536 : /* fall through */ - case 1537 : /* fall through */ - case 1538 : /* fall through */ - case 1539 : /* fall through */ - case 1540 : /* fall through */ - case 1541 : /* fall through */ - case 1542 : /* fall through */ - case 1543 : /* fall through */ - case 1544 : /* fall through */ - case 1545 : /* fall through */ - case 1546 : /* fall through */ - case 1547 : /* fall through */ - case 1548 : /* fall through */ - case 1549 : /* fall through */ - case 1550 : /* fall through */ - case 1551 : /* fall through */ - case 1552 : /* fall through */ - case 1553 : /* fall through */ - case 1554 : /* fall through */ - case 1555 : /* fall through */ - case 1556 : /* fall through */ - case 1557 : /* fall through */ - case 1558 : /* fall through */ - case 1559 : /* fall through */ - case 1560 : /* fall through */ - case 1561 : /* fall through */ - case 1562 : /* fall through */ - case 1563 : /* fall through */ - case 1564 : /* fall through */ - case 1565 : /* fall through */ - case 1566 : /* fall through */ - case 1567 : itype = OR1K32BF_INSN_L_MTSPR; goto extract_sfmt_l_mtspr; - case 1569 : + case 1536: + case 1537: + case 1538: + case 1539: + case 1540: + case 1541: + case 1542: + case 1543: + case 1544: + case 1545: + case 1546: + case 1547: + case 1548: + case 1549: + case 1550: + case 1551: + case 1552: + case 1553: + case 1554: + case 1555: + case 1556: + case 1557: + case 1558: + case 1559: + case 1560: + case 1561: + case 1562: + case 1563: + case 1564: + case 1565: + case 1566: + case 1567: itype = OR1K32BF_INSN_L_MTSPR; goto extract_sfmt_l_mtspr; + case 1569: if ((entire_insn & 0xffe007ff) == 0xc4000001) { itype = OR1K32BF_INSN_L_MAC; goto extract_sfmt_l_mac; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1570 : + case 1570: if ((entire_insn & 0xffe007ff) == 0xc4000002) { itype = OR1K32BF_INSN_L_MSB; goto extract_sfmt_l_mac; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1571 : + case 1571: if ((entire_insn & 0xffe007ff) == 0xc4000003) { itype = OR1K32BF_INSN_L_MACU; goto extract_sfmt_l_macu; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1572 : + case 1572: if ((entire_insn & 0xffe007ff) == 0xc4000004) { itype = OR1K32BF_INSN_L_MSBU; goto extract_sfmt_l_macu; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1600 : + case 1600: { unsigned int val1 = (((insn >> 5) & (7 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc0007ff) == 0xc8000000) { itype = OR1K32BF_INSN_LF_ADD_S; goto extract_sfmt_lf_add_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 7 : + case 7: if ((entire_insn & 0xffe004ff) == 0xc80000e0) { itype = OR1K32BF_INSN_LF_CUST1_D32; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1601 : + case 1601: if ((entire_insn & 0xfc0007ff) == 0xc8000001) { itype = OR1K32BF_INSN_LF_SUB_S; goto extract_sfmt_lf_add_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1602 : + case 1602: if ((entire_insn & 0xfc0007ff) == 0xc8000002) { itype = OR1K32BF_INSN_LF_MUL_S; goto extract_sfmt_lf_add_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1603 : + case 1603: if ((entire_insn & 0xfc0007ff) == 0xc8000003) { itype = OR1K32BF_INSN_LF_DIV_S; goto extract_sfmt_lf_add_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1604 : + case 1604: if ((entire_insn & 0xfc00ffff) == 0xc8000004) { itype = OR1K32BF_INSN_LF_ITOF_S; goto extract_sfmt_lf_itof_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1605 : + case 1605: if ((entire_insn & 0xfc00ffff) == 0xc8000005) { itype = OR1K32BF_INSN_LF_FTOI_S; goto extract_sfmt_lf_ftoi_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1606 : + case 1606: if ((entire_insn & 0xfc0007ff) == 0xc8000006) { itype = OR1K32BF_INSN_LF_REM_S; goto extract_sfmt_lf_add_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1607 : + case 1607: if ((entire_insn & 0xfc0007ff) == 0xc8000007) { itype = OR1K32BF_INSN_LF_MADD_S; goto extract_sfmt_lf_madd_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1608 : + case 1608: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xc8000008) { itype = OR1K32BF_INSN_LF_SFEQ_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xc8000028) { itype = OR1K32BF_INSN_LF_SFUEQ_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1609 : + case 1609: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xc8000009) { itype = OR1K32BF_INSN_LF_SFNE_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xc8000029) { itype = OR1K32BF_INSN_LF_SFUNE_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1610 : + case 1610: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xc800000a) { itype = OR1K32BF_INSN_LF_SFGT_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xc800002a) { itype = OR1K32BF_INSN_LF_SFUGT_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1611 : + case 1611: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xc800000b) { itype = OR1K32BF_INSN_LF_SFGE_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xc800002b) { itype = OR1K32BF_INSN_LF_SFUGE_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1612 : + case 1612: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xc800000c) { itype = OR1K32BF_INSN_LF_SFLT_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xc800002c) { itype = OR1K32BF_INSN_LF_SFULT_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1613 : + case 1613: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xc800000d) { itype = OR1K32BF_INSN_LF_SFLE_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xc800002d) { itype = OR1K32BF_INSN_LF_SFULE_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1614 : + case 1614: if ((entire_insn & 0xffe007ff) == 0xc800002e) { itype = OR1K32BF_INSN_LF_SFUN_S; goto extract_sfmt_lf_sfeq_s; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1616 : + case 1616: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc0000ff) == 0xc8000010) { itype = OR1K32BF_INSN_LF_ADD_D32; goto extract_sfmt_lf_add_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffe007ff) == 0xc80000d0) { itype = OR1K32BF_INSN_LF_CUST1_S; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1617 : + case 1617: if ((entire_insn & 0xfc0000ff) == 0xc8000011) { itype = OR1K32BF_INSN_LF_SUB_D32; goto extract_sfmt_lf_add_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1618 : + case 1618: if ((entire_insn & 0xfc0000ff) == 0xc8000012) { itype = OR1K32BF_INSN_LF_MUL_D32; goto extract_sfmt_lf_add_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1619 : + case 1619: if ((entire_insn & 0xfc0000ff) == 0xc8000013) { itype = OR1K32BF_INSN_LF_DIV_D32; goto extract_sfmt_lf_add_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1620 : + case 1620: if ((entire_insn & 0xfc00f9ff) == 0xc8000014) { itype = OR1K32BF_INSN_LF_ITOF_D32; goto extract_sfmt_lf_itof_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1621 : + case 1621: if ((entire_insn & 0xfc00f9ff) == 0xc8000015) { itype = OR1K32BF_INSN_LF_FTOI_D32; goto extract_sfmt_lf_ftoi_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1622 : + case 1622: if ((entire_insn & 0xfc0000ff) == 0xc8000016) { itype = OR1K32BF_INSN_LF_REM_D32; goto extract_sfmt_lf_add_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1623 : + case 1623: if ((entire_insn & 0xfc0000ff) == 0xc8000017) { itype = OR1K32BF_INSN_LF_MADD_D32; goto extract_sfmt_lf_madd_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1624 : + case 1624: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe004ff) == 0xc8000018) { itype = OR1K32BF_INSN_LF_SFEQ_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe004ff) == 0xc8000038) { itype = OR1K32BF_INSN_LF_SFUEQ_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1625 : + case 1625: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe004ff) == 0xc8000019) { itype = OR1K32BF_INSN_LF_SFNE_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe004ff) == 0xc8000039) { itype = OR1K32BF_INSN_LF_SFUNE_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1626 : + case 1626: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe004ff) == 0xc800001a) { itype = OR1K32BF_INSN_LF_SFGT_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe004ff) == 0xc800003a) { itype = OR1K32BF_INSN_LF_SFUGT_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1627 : + case 1627: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe004ff) == 0xc800001b) { itype = OR1K32BF_INSN_LF_SFGE_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe004ff) == 0xc800003b) { itype = OR1K32BF_INSN_LF_SFUGE_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1628 : + case 1628: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe004ff) == 0xc800001c) { itype = OR1K32BF_INSN_LF_SFLT_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe004ff) == 0xc800003c) { itype = OR1K32BF_INSN_LF_SFULT_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1629 : + case 1629: { unsigned int val1 = (((insn >> 5) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe004ff) == 0xc800001d) { itype = OR1K32BF_INSN_LF_SFLE_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe004ff) == 0xc800003d) { itype = OR1K32BF_INSN_LF_SFULE_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1630 : + case 1630: if ((entire_insn & 0xffe004ff) == 0xc800003e) { itype = OR1K32BF_INSN_LF_SFUN_D32; goto extract_sfmt_lf_sfeq_d32; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1632 : /* fall through */ - case 1633 : /* fall through */ - case 1634 : /* fall through */ - case 1635 : /* fall through */ - case 1636 : /* fall through */ - case 1637 : /* fall through */ - case 1638 : /* fall through */ - case 1639 : /* fall through */ - case 1640 : /* fall through */ - case 1641 : /* fall through */ - case 1642 : /* fall through */ - case 1643 : /* fall through */ - case 1644 : /* fall through */ - case 1645 : /* fall through */ - case 1646 : /* fall through */ - case 1647 : /* fall through */ - case 1648 : /* fall through */ - case 1649 : /* fall through */ - case 1650 : /* fall through */ - case 1651 : /* fall through */ - case 1652 : /* fall through */ - case 1653 : /* fall through */ - case 1654 : /* fall through */ - case 1655 : /* fall through */ - case 1656 : /* fall through */ - case 1657 : /* fall through */ - case 1658 : /* fall through */ - case 1659 : /* fall through */ - case 1660 : /* fall through */ - case 1661 : /* fall through */ - case 1662 : /* fall through */ - case 1663 : itype = OR1K32BF_INSN_L_SWA; goto extract_sfmt_l_swa; - case 1696 : /* fall through */ - case 1697 : /* fall through */ - case 1698 : /* fall through */ - case 1699 : /* fall through */ - case 1700 : /* fall through */ - case 1701 : /* fall through */ - case 1702 : /* fall through */ - case 1703 : /* fall through */ - case 1704 : /* fall through */ - case 1705 : /* fall through */ - case 1706 : /* fall through */ - case 1707 : /* fall through */ - case 1708 : /* fall through */ - case 1709 : /* fall through */ - case 1710 : /* fall through */ - case 1711 : /* fall through */ - case 1712 : /* fall through */ - case 1713 : /* fall through */ - case 1714 : /* fall through */ - case 1715 : /* fall through */ - case 1716 : /* fall through */ - case 1717 : /* fall through */ - case 1718 : /* fall through */ - case 1719 : /* fall through */ - case 1720 : /* fall through */ - case 1721 : /* fall through */ - case 1722 : /* fall through */ - case 1723 : /* fall through */ - case 1724 : /* fall through */ - case 1725 : /* fall through */ - case 1726 : /* fall through */ - case 1727 : itype = OR1K32BF_INSN_L_SW; goto extract_sfmt_l_sw; - case 1728 : /* fall through */ - case 1729 : /* fall through */ - case 1730 : /* fall through */ - case 1731 : /* fall through */ - case 1732 : /* fall through */ - case 1733 : /* fall through */ - case 1734 : /* fall through */ - case 1735 : /* fall through */ - case 1736 : /* fall through */ - case 1737 : /* fall through */ - case 1738 : /* fall through */ - case 1739 : /* fall through */ - case 1740 : /* fall through */ - case 1741 : /* fall through */ - case 1742 : /* fall through */ - case 1743 : /* fall through */ - case 1744 : /* fall through */ - case 1745 : /* fall through */ - case 1746 : /* fall through */ - case 1747 : /* fall through */ - case 1748 : /* fall through */ - case 1749 : /* fall through */ - case 1750 : /* fall through */ - case 1751 : /* fall through */ - case 1752 : /* fall through */ - case 1753 : /* fall through */ - case 1754 : /* fall through */ - case 1755 : /* fall through */ - case 1756 : /* fall through */ - case 1757 : /* fall through */ - case 1758 : /* fall through */ - case 1759 : itype = OR1K32BF_INSN_L_SB; goto extract_sfmt_l_sb; - case 1760 : /* fall through */ - case 1761 : /* fall through */ - case 1762 : /* fall through */ - case 1763 : /* fall through */ - case 1764 : /* fall through */ - case 1765 : /* fall through */ - case 1766 : /* fall through */ - case 1767 : /* fall through */ - case 1768 : /* fall through */ - case 1769 : /* fall through */ - case 1770 : /* fall through */ - case 1771 : /* fall through */ - case 1772 : /* fall through */ - case 1773 : /* fall through */ - case 1774 : /* fall through */ - case 1775 : /* fall through */ - case 1776 : /* fall through */ - case 1777 : /* fall through */ - case 1778 : /* fall through */ - case 1779 : /* fall through */ - case 1780 : /* fall through */ - case 1781 : /* fall through */ - case 1782 : /* fall through */ - case 1783 : /* fall through */ - case 1784 : /* fall through */ - case 1785 : /* fall through */ - case 1786 : /* fall through */ - case 1787 : /* fall through */ - case 1788 : /* fall through */ - case 1789 : /* fall through */ - case 1790 : /* fall through */ - case 1791 : itype = OR1K32BF_INSN_L_SH; goto extract_sfmt_l_sh; - case 1792 : + case 1632: + case 1633: + case 1634: + case 1635: + case 1636: + case 1637: + case 1638: + case 1639: + case 1640: + case 1641: + case 1642: + case 1643: + case 1644: + case 1645: + case 1646: + case 1647: + case 1648: + case 1649: + case 1650: + case 1651: + case 1652: + case 1653: + case 1654: + case 1655: + case 1656: + case 1657: + case 1658: + case 1659: + case 1660: + case 1661: + case 1662: + case 1663: itype = OR1K32BF_INSN_L_SWA; goto extract_sfmt_l_swa; + case 1696: + case 1697: + case 1698: + case 1699: + case 1700: + case 1701: + case 1702: + case 1703: + case 1704: + case 1705: + case 1706: + case 1707: + case 1708: + case 1709: + case 1710: + case 1711: + case 1712: + case 1713: + case 1714: + case 1715: + case 1716: + case 1717: + case 1718: + case 1719: + case 1720: + case 1721: + case 1722: + case 1723: + case 1724: + case 1725: + case 1726: + case 1727: itype = OR1K32BF_INSN_L_SW; goto extract_sfmt_l_sw; + case 1728: + case 1729: + case 1730: + case 1731: + case 1732: + case 1733: + case 1734: + case 1735: + case 1736: + case 1737: + case 1738: + case 1739: + case 1740: + case 1741: + case 1742: + case 1743: + case 1744: + case 1745: + case 1746: + case 1747: + case 1748: + case 1749: + case 1750: + case 1751: + case 1752: + case 1753: + case 1754: + case 1755: + case 1756: + case 1757: + case 1758: + case 1759: itype = OR1K32BF_INSN_L_SB; goto extract_sfmt_l_sb; + case 1760: + case 1761: + case 1762: + case 1763: + case 1764: + case 1765: + case 1766: + case 1767: + case 1768: + case 1769: + case 1770: + case 1771: + case 1772: + case 1773: + case 1774: + case 1775: + case 1776: + case 1777: + case 1778: + case 1779: + case 1780: + case 1781: + case 1782: + case 1783: + case 1784: + case 1785: + case 1786: + case 1787: + case 1788: + case 1789: + case 1790: + case 1791: itype = OR1K32BF_INSN_L_SH; goto extract_sfmt_l_sh; + case 1792: if ((entire_insn & 0xfc0007ff) == 0xe0000000) { itype = OR1K32BF_INSN_L_ADD; goto extract_sfmt_l_add; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1793 : + case 1793: if ((entire_insn & 0xfc0007ff) == 0xe0000001) { itype = OR1K32BF_INSN_L_ADDC; goto extract_sfmt_l_addc; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1794 : + case 1794: if ((entire_insn & 0xfc0007ff) == 0xe0000002) { itype = OR1K32BF_INSN_L_SUB; goto extract_sfmt_l_add; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1795 : + case 1795: if ((entire_insn & 0xfc0007ff) == 0xe0000003) { itype = OR1K32BF_INSN_L_AND; goto extract_sfmt_l_and; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1796 : + case 1796: if ((entire_insn & 0xfc0007ff) == 0xe0000004) { itype = OR1K32BF_INSN_L_OR; goto extract_sfmt_l_and; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1797 : + case 1797: if ((entire_insn & 0xfc0007ff) == 0xe0000005) { itype = OR1K32BF_INSN_L_XOR; goto extract_sfmt_l_and; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1798 : + case 1798: if ((entire_insn & 0xfc0007ff) == 0xe0000306) { itype = OR1K32BF_INSN_L_MUL; goto extract_sfmt_l_mul; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1799 : + case 1799: if ((entire_insn & 0xffe007ff) == 0xe0000307) { itype = OR1K32BF_INSN_L_MULD; goto extract_sfmt_l_muld; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1800 : + case 1800: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc0007ff) == 0xe0000008) { itype = OR1K32BF_INSN_L_SLL; goto extract_sfmt_l_sll; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc0007ff) == 0xe0000048) { itype = OR1K32BF_INSN_L_SRL; goto extract_sfmt_l_sll; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xfc0007ff) == 0xe0000088) { itype = OR1K32BF_INSN_L_SRA; goto extract_sfmt_l_sll; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfc0007ff) == 0xe00000c8) { itype = OR1K32BF_INSN_L_ROR; goto extract_sfmt_l_sll; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1801 : + case 1801: if ((entire_insn & 0xfc0007ff) == 0xe0000309) { itype = OR1K32BF_INSN_L_DIV; goto extract_sfmt_l_div; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1802 : + case 1802: if ((entire_insn & 0xfc0007ff) == 0xe000030a) { itype = OR1K32BF_INSN_L_DIVU; goto extract_sfmt_l_divu; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1803 : + case 1803: if ((entire_insn & 0xfc0007ff) == 0xe000030b) { itype = OR1K32BF_INSN_L_MULU; goto extract_sfmt_l_mulu; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1804 : + case 1804: { unsigned int val1 = (((insn >> 6) & (3 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc00ffff) == 0xe000000c) { itype = OR1K32BF_INSN_L_EXTHS; goto extract_sfmt_l_exths; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc00ffff) == 0xe000004c) { itype = OR1K32BF_INSN_L_EXTBS; goto extract_sfmt_l_exths; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xfc00ffff) == 0xe000008c) { itype = OR1K32BF_INSN_L_EXTHZ; goto extract_sfmt_l_exths; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xfc00ffff) == 0xe00000cc) { itype = OR1K32BF_INSN_L_EXTBZ; goto extract_sfmt_l_exths; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1805 : + case 1805: { unsigned int val1 = (((insn >> 7) & (3 << 1)) | ((insn >> 6) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc00ffff) == 0xe000000d) { itype = OR1K32BF_INSN_L_EXTWS; goto extract_sfmt_l_exths; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc00ffff) == 0xe000004d) { itype = OR1K32BF_INSN_L_EXTWZ; goto extract_sfmt_l_exths; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 6 : + case 6: if ((entire_insn & 0xffe007ff) == 0xe000030d) { itype = OR1K32BF_INSN_L_MULDU; goto extract_sfmt_l_muld; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1806 : + case 1806: if ((entire_insn & 0xfc0007ff) == 0xe000000e) { itype = OR1K32BF_INSN_L_CMOV; goto extract_sfmt_l_cmov; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1807 : + case 1807: { unsigned int val1 = (((insn >> 8) & (1 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xfc0007ff) == 0xe000000f) { itype = OR1K32BF_INSN_L_FF1; goto extract_sfmt_l_ff1; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xfc0007ff) == 0xe000010f) { itype = OR1K32BF_INSN_L_FL1; goto extract_sfmt_l_ff1; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1824 : + case 1824: { unsigned int val1 = (((insn >> 21) & (15 << 0))); switch (val1) { - case 0 : + case 0: if ((entire_insn & 0xffe007ff) == 0xe4000000) { itype = OR1K32BF_INSN_L_SFEQ; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1 : + case 1: if ((entire_insn & 0xffe007ff) == 0xe4200000) { itype = OR1K32BF_INSN_L_SFNE; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2 : + case 2: if ((entire_insn & 0xffe007ff) == 0xe4400000) { itype = OR1K32BF_INSN_L_SFGTU; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 3 : + case 3: if ((entire_insn & 0xffe007ff) == 0xe4600000) { itype = OR1K32BF_INSN_L_SFGEU; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 4 : + case 4: if ((entire_insn & 0xffe007ff) == 0xe4800000) { itype = OR1K32BF_INSN_L_SFLTU; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 5 : + case 5: if ((entire_insn & 0xffe007ff) == 0xe4a00000) { itype = OR1K32BF_INSN_L_SFLEU; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 10 : + case 10: if ((entire_insn & 0xffe007ff) == 0xe5400000) { itype = OR1K32BF_INSN_L_SFGTS; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 11 : + case 11: if ((entire_insn & 0xffe007ff) == 0xe5600000) { itype = OR1K32BF_INSN_L_SFGES; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 12 : + case 12: if ((entire_insn & 0xffe007ff) == 0xe5800000) { itype = OR1K32BF_INSN_L_SFLTS; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 13 : + case 13: if ((entire_insn & 0xffe007ff) == 0xe5a00000) { itype = OR1K32BF_INSN_L_SFLES; goto extract_sfmt_l_sfgts; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } - case 1920 : + case 1920: if ((entire_insn & 0xffffffff) == 0xf0000000) { itype = OR1K32BF_INSN_L_CUST5; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1952 : + case 1952: if ((entire_insn & 0xffffffff) == 0xf4000000) { itype = OR1K32BF_INSN_L_CUST6; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 1984 : + case 1984: if ((entire_insn & 0xffffffff) == 0xf8000000) { itype = OR1K32BF_INSN_L_CUST7; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - case 2016 : + case 2016: if ((entire_insn & 0xffffffff) == 0xfc000000) { itype = OR1K32BF_INSN_L_CUST8; goto extract_sfmt_l_msync; } itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; - default : itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; + default: itype = OR1K32BF_INSN_X_INVALID; goto extract_sfmt_empty; } } } |