aboutsummaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-24 04:07:32 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-24 04:07:32 -0500
commitaea0b94653b6a5dff6f12ec14fd344db73b3a9f8 (patch)
tree72b35360e77181c94fb61dcbd1784bfa97eaf6a0 /sim/cris
parent43fbcdcd03fec85a9ea147000c3feec9d4989d6c (diff)
downloadgdb-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/cris')
-rw-r--r--sim/cris/decodev10.c3180
-rw-r--r--sim/cris/decodev32.c2326
2 files changed, 2753 insertions, 2753 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;
}
}
}