| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
#include "ansidecl.h" |
| 25 |
#include <xtensa-isa.h> |
| 26 |
#include "xtensa-isa-internal.h" |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
static xtensa_sysreg_internal sysregs[] = { |
| 32 |
{ "MMID", 89, 0 }, |
| 33 |
{ "DDR", 104, 0 }, |
| 34 |
{ "176", 176, 0 }, |
| 35 |
{ "208", 208, 0 }, |
| 36 |
{ "INTERRUPT", 226, 0 }, |
| 37 |
{ "INTCLEAR", 227, 0 }, |
| 38 |
{ "CCOUNT", 234, 0 }, |
| 39 |
{ "PRID", 235, 0 }, |
| 40 |
{ "ICOUNT", 236, 0 }, |
| 41 |
{ "CCOMPARE0", 240, 0 }, |
| 42 |
{ "VECBASE", 231, 0 }, |
| 43 |
{ "EPC1", 177, 0 }, |
| 44 |
{ "EPC2", 178, 0 }, |
| 45 |
{ "EPC3", 179, 0 }, |
| 46 |
{ "EXCSAVE1", 209, 0 }, |
| 47 |
{ "EXCSAVE2", 210, 0 }, |
| 48 |
{ "EXCSAVE3", 211, 0 }, |
| 49 |
{ "EPS2", 194, 0 }, |
| 50 |
{ "EPS3", 195, 0 }, |
| 51 |
{ "EXCCAUSE", 232, 0 }, |
| 52 |
{ "DEPC", 192, 0 }, |
| 53 |
{ "EXCVADDR", 238, 0 }, |
| 54 |
{ "SAR", 3, 0 }, |
| 55 |
{ "LITBASE", 5, 0 }, |
| 56 |
{ "PS", 230, 0 }, |
| 57 |
{ "INTENABLE", 228, 0 }, |
| 58 |
{ "DBREAKA0", 144, 0 }, |
| 59 |
{ "DBREAKC0", 160, 0 }, |
| 60 |
{ "IBREAKA0", 128, 0 }, |
| 61 |
{ "IBREAKENABLE", 96, 0 }, |
| 62 |
{ "ICOUNTLEVEL", 237, 0 }, |
| 63 |
{ "DEBUGCAUSE", 233, 0 } |
| 64 |
}; |
| 65 |
|
| 66 |
#define NUM_SYSREGS 32 |
| 67 |
#define MAX_SPECIAL_REG 240 |
| 68 |
#define MAX_USER_REG 0 |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
static xtensa_state_internal states[] = { |
| 74 |
{ "PC", 32, 0 }, |
| 75 |
{ "ICOUNT", 32, 0 }, |
| 76 |
{ "DDR", 32, 0 }, |
| 77 |
{ "INTERRUPT", 15, 0 }, |
| 78 |
{ "CCOUNT", 32, 0 }, |
| 79 |
{ "XTSYNC", 1, 0 }, |
| 80 |
{ "VECBASE", 25, 0 }, |
| 81 |
{ "EPC1", 32, 0 }, |
| 82 |
{ "EPC2", 32, 0 }, |
| 83 |
{ "EPC3", 32, 0 }, |
| 84 |
{ "EXCSAVE1", 32, 0 }, |
| 85 |
{ "EXCSAVE2", 32, 0 }, |
| 86 |
{ "EXCSAVE3", 32, 0 }, |
| 87 |
{ "EPS2", 6, 0 }, |
| 88 |
{ "EPS3", 6, 0 }, |
| 89 |
{ "EXCCAUSE", 6, 0 }, |
| 90 |
{ "PSINTLEVEL", 4, 0 }, |
| 91 |
{ "PSUM", 1, 0 }, |
| 92 |
{ "PSEXCM", 1, 0 }, |
| 93 |
{ "DEPC", 32, 0 }, |
| 94 |
{ "EXCVADDR", 32, 0 }, |
| 95 |
{ "SAR", 6, 0 }, |
| 96 |
{ "LITBADDR", 20, 0 }, |
| 97 |
{ "LITBEN", 1, 0 }, |
| 98 |
{ "InOCDMode", 1, 0 }, |
| 99 |
{ "INTENABLE", 15, 0 }, |
| 100 |
{ "DBREAKA0", 32, 0 }, |
| 101 |
{ "DBREAKC0", 8, 0 }, |
| 102 |
{ "IBREAKA0", 32, 0 }, |
| 103 |
{ "IBREAKENABLE", 1, 0 }, |
| 104 |
{ "ICOUNTLEVEL", 4, 0 }, |
| 105 |
{ "DEBUGCAUSE", 6, 0 }, |
| 106 |
{ "DBNUM", 4, 0 }, |
| 107 |
{ "CCOMPARE0", 32, 0 } |
| 108 |
}; |
| 109 |
|
| 110 |
#define NUM_STATES 34 |
| 111 |
|
| 112 |
enum xtensa_state_id { |
| 113 |
STATE_PC, |
| 114 |
STATE_ICOUNT, |
| 115 |
STATE_DDR, |
| 116 |
STATE_INTERRUPT, |
| 117 |
STATE_CCOUNT, |
| 118 |
STATE_XTSYNC, |
| 119 |
STATE_VECBASE, |
| 120 |
STATE_EPC1, |
| 121 |
STATE_EPC2, |
| 122 |
STATE_EPC3, |
| 123 |
STATE_EXCSAVE1, |
| 124 |
STATE_EXCSAVE2, |
| 125 |
STATE_EXCSAVE3, |
| 126 |
STATE_EPS2, |
| 127 |
STATE_EPS3, |
| 128 |
STATE_EXCCAUSE, |
| 129 |
STATE_PSINTLEVEL, |
| 130 |
STATE_PSUM, |
| 131 |
STATE_PSEXCM, |
| 132 |
STATE_DEPC, |
| 133 |
STATE_EXCVADDR, |
| 134 |
STATE_SAR, |
| 135 |
STATE_LITBADDR, |
| 136 |
STATE_LITBEN, |
| 137 |
STATE_InOCDMode, |
| 138 |
STATE_INTENABLE, |
| 139 |
STATE_DBREAKA0, |
| 140 |
STATE_DBREAKC0, |
| 141 |
STATE_IBREAKA0, |
| 142 |
STATE_IBREAKENABLE, |
| 143 |
STATE_ICOUNTLEVEL, |
| 144 |
STATE_DEBUGCAUSE, |
| 145 |
STATE_DBNUM, |
| 146 |
STATE_CCOMPARE0 |
| 147 |
}; |
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
static unsigned |
| 153 |
Field_t_Slot_inst_get (const xtensa_insnbuf insn) |
| 154 |
{ |
| 155 |
unsigned tie_t = 0; |
| 156 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 157 |
return tie_t; |
| 158 |
} |
| 159 |
|
| 160 |
static void |
| 161 |
Field_t_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 162 |
{ |
| 163 |
uint32 tie_t; |
| 164 |
tie_t = (val << 28) >> 28; |
| 165 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 166 |
} |
| 167 |
|
| 168 |
static unsigned |
| 169 |
Field_s_Slot_inst_get (const xtensa_insnbuf insn) |
| 170 |
{ |
| 171 |
unsigned tie_t = 0; |
| 172 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 173 |
return tie_t; |
| 174 |
} |
| 175 |
|
| 176 |
static void |
| 177 |
Field_s_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 178 |
{ |
| 179 |
uint32 tie_t; |
| 180 |
tie_t = (val << 28) >> 28; |
| 181 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 182 |
} |
| 183 |
|
| 184 |
static unsigned |
| 185 |
Field_r_Slot_inst_get (const xtensa_insnbuf insn) |
| 186 |
{ |
| 187 |
unsigned tie_t = 0; |
| 188 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 189 |
return tie_t; |
| 190 |
} |
| 191 |
|
| 192 |
static void |
| 193 |
Field_r_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 194 |
{ |
| 195 |
uint32 tie_t; |
| 196 |
tie_t = (val << 28) >> 28; |
| 197 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 198 |
} |
| 199 |
|
| 200 |
static unsigned |
| 201 |
Field_op2_Slot_inst_get (const xtensa_insnbuf insn) |
| 202 |
{ |
| 203 |
unsigned tie_t = 0; |
| 204 |
tie_t = (tie_t << 4) | ((insn[0] << 8) >> 28); |
| 205 |
return tie_t; |
| 206 |
} |
| 207 |
|
| 208 |
static void |
| 209 |
Field_op2_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 210 |
{ |
| 211 |
uint32 tie_t; |
| 212 |
tie_t = (val << 28) >> 28; |
| 213 |
insn[0] = (insn[0] & ~0xf00000) | (tie_t << 20); |
| 214 |
} |
| 215 |
|
| 216 |
static unsigned |
| 217 |
Field_op1_Slot_inst_get (const xtensa_insnbuf insn) |
| 218 |
{ |
| 219 |
unsigned tie_t = 0; |
| 220 |
tie_t = (tie_t << 4) | ((insn[0] << 12) >> 28); |
| 221 |
return tie_t; |
| 222 |
} |
| 223 |
|
| 224 |
static void |
| 225 |
Field_op1_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 226 |
{ |
| 227 |
uint32 tie_t; |
| 228 |
tie_t = (val << 28) >> 28; |
| 229 |
insn[0] = (insn[0] & ~0xf0000) | (tie_t << 16); |
| 230 |
} |
| 231 |
|
| 232 |
static unsigned |
| 233 |
Field_op0_Slot_inst_get (const xtensa_insnbuf insn) |
| 234 |
{ |
| 235 |
unsigned tie_t = 0; |
| 236 |
tie_t = (tie_t << 4) | ((insn[0] << 28) >> 28); |
| 237 |
return tie_t; |
| 238 |
} |
| 239 |
|
| 240 |
static void |
| 241 |
Field_op0_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 242 |
{ |
| 243 |
uint32 tie_t; |
| 244 |
tie_t = (val << 28) >> 28; |
| 245 |
insn[0] = (insn[0] & ~0xf) | (tie_t << 0); |
| 246 |
} |
| 247 |
|
| 248 |
static unsigned |
| 249 |
Field_m_Slot_inst_get (const xtensa_insnbuf insn) |
| 250 |
{ |
| 251 |
unsigned tie_t = 0; |
| 252 |
tie_t = (tie_t << 2) | ((insn[0] << 24) >> 30); |
| 253 |
return tie_t; |
| 254 |
} |
| 255 |
|
| 256 |
static void |
| 257 |
Field_m_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 258 |
{ |
| 259 |
uint32 tie_t; |
| 260 |
tie_t = (val << 30) >> 30; |
| 261 |
insn[0] = (insn[0] & ~0xc0) | (tie_t << 6); |
| 262 |
} |
| 263 |
|
| 264 |
static unsigned |
| 265 |
Field_n_Slot_inst_get (const xtensa_insnbuf insn) |
| 266 |
{ |
| 267 |
unsigned tie_t = 0; |
| 268 |
tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30); |
| 269 |
return tie_t; |
| 270 |
} |
| 271 |
|
| 272 |
static void |
| 273 |
Field_n_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 274 |
{ |
| 275 |
uint32 tie_t; |
| 276 |
tie_t = (val << 30) >> 30; |
| 277 |
insn[0] = (insn[0] & ~0x30) | (tie_t << 4); |
| 278 |
} |
| 279 |
|
| 280 |
static unsigned |
| 281 |
Field_thi3_Slot_inst_get (const xtensa_insnbuf insn) |
| 282 |
{ |
| 283 |
unsigned tie_t = 0; |
| 284 |
tie_t = (tie_t << 3) | ((insn[0] << 24) >> 29); |
| 285 |
return tie_t; |
| 286 |
} |
| 287 |
|
| 288 |
static void |
| 289 |
Field_thi3_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 290 |
{ |
| 291 |
uint32 tie_t; |
| 292 |
tie_t = (val << 29) >> 29; |
| 293 |
insn[0] = (insn[0] & ~0xe0) | (tie_t << 5); |
| 294 |
} |
| 295 |
|
| 296 |
static unsigned |
| 297 |
Field_sr_Slot_inst_get (const xtensa_insnbuf insn) |
| 298 |
{ |
| 299 |
unsigned tie_t = 0; |
| 300 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 301 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 302 |
return tie_t; |
| 303 |
} |
| 304 |
|
| 305 |
static void |
| 306 |
Field_sr_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 307 |
{ |
| 308 |
uint32 tie_t; |
| 309 |
tie_t = (val << 28) >> 28; |
| 310 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 311 |
tie_t = (val << 24) >> 28; |
| 312 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 313 |
} |
| 314 |
|
| 315 |
static unsigned |
| 316 |
Field_op0_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 317 |
{ |
| 318 |
unsigned tie_t = 0; |
| 319 |
tie_t = (tie_t << 4) | ((insn[0] << 28) >> 28); |
| 320 |
return tie_t; |
| 321 |
} |
| 322 |
|
| 323 |
static void |
| 324 |
Field_op0_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 325 |
{ |
| 326 |
uint32 tie_t; |
| 327 |
tie_t = (val << 28) >> 28; |
| 328 |
insn[0] = (insn[0] & ~0xf) | (tie_t << 0); |
| 329 |
} |
| 330 |
|
| 331 |
static unsigned |
| 332 |
Field_z_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 333 |
{ |
| 334 |
unsigned tie_t = 0; |
| 335 |
tie_t = (tie_t << 1) | ((insn[0] << 25) >> 31); |
| 336 |
return tie_t; |
| 337 |
} |
| 338 |
|
| 339 |
static void |
| 340 |
Field_z_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 341 |
{ |
| 342 |
uint32 tie_t; |
| 343 |
tie_t = (val << 31) >> 31; |
| 344 |
insn[0] = (insn[0] & ~0x40) | (tie_t << 6); |
| 345 |
} |
| 346 |
|
| 347 |
static unsigned |
| 348 |
Field_i_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 349 |
{ |
| 350 |
unsigned tie_t = 0; |
| 351 |
tie_t = (tie_t << 1) | ((insn[0] << 24) >> 31); |
| 352 |
return tie_t; |
| 353 |
} |
| 354 |
|
| 355 |
static void |
| 356 |
Field_i_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 357 |
{ |
| 358 |
uint32 tie_t; |
| 359 |
tie_t = (val << 31) >> 31; |
| 360 |
insn[0] = (insn[0] & ~0x80) | (tie_t << 7); |
| 361 |
} |
| 362 |
|
| 363 |
static unsigned |
| 364 |
Field_op0_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 365 |
{ |
| 366 |
unsigned tie_t = 0; |
| 367 |
tie_t = (tie_t << 4) | ((insn[0] << 28) >> 28); |
| 368 |
return tie_t; |
| 369 |
} |
| 370 |
|
| 371 |
static void |
| 372 |
Field_op0_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 373 |
{ |
| 374 |
uint32 tie_t; |
| 375 |
tie_t = (val << 28) >> 28; |
| 376 |
insn[0] = (insn[0] & ~0xf) | (tie_t << 0); |
| 377 |
} |
| 378 |
|
| 379 |
static unsigned |
| 380 |
Field_t_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 381 |
{ |
| 382 |
unsigned tie_t = 0; |
| 383 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 384 |
return tie_t; |
| 385 |
} |
| 386 |
|
| 387 |
static void |
| 388 |
Field_t_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 389 |
{ |
| 390 |
uint32 tie_t; |
| 391 |
tie_t = (val << 28) >> 28; |
| 392 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 393 |
} |
| 394 |
|
| 395 |
static unsigned |
| 396 |
Field_r_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 397 |
{ |
| 398 |
unsigned tie_t = 0; |
| 399 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 400 |
return tie_t; |
| 401 |
} |
| 402 |
|
| 403 |
static void |
| 404 |
Field_r_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 405 |
{ |
| 406 |
uint32 tie_t; |
| 407 |
tie_t = (val << 28) >> 28; |
| 408 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 409 |
} |
| 410 |
|
| 411 |
static unsigned |
| 412 |
Field_s_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 413 |
{ |
| 414 |
unsigned tie_t = 0; |
| 415 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 416 |
return tie_t; |
| 417 |
} |
| 418 |
|
| 419 |
static void |
| 420 |
Field_s_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 421 |
{ |
| 422 |
uint32 tie_t; |
| 423 |
tie_t = (val << 28) >> 28; |
| 424 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 425 |
} |
| 426 |
|
| 427 |
static unsigned |
| 428 |
Field_t_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 429 |
{ |
| 430 |
unsigned tie_t = 0; |
| 431 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 432 |
return tie_t; |
| 433 |
} |
| 434 |
|
| 435 |
static void |
| 436 |
Field_t_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 437 |
{ |
| 438 |
uint32 tie_t; |
| 439 |
tie_t = (val << 28) >> 28; |
| 440 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 441 |
} |
| 442 |
|
| 443 |
static unsigned |
| 444 |
Field_bbi4_Slot_inst_get (const xtensa_insnbuf insn) |
| 445 |
{ |
| 446 |
unsigned tie_t = 0; |
| 447 |
tie_t = (tie_t << 1) | ((insn[0] << 19) >> 31); |
| 448 |
return tie_t; |
| 449 |
} |
| 450 |
|
| 451 |
static void |
| 452 |
Field_bbi4_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 453 |
{ |
| 454 |
uint32 tie_t; |
| 455 |
tie_t = (val << 31) >> 31; |
| 456 |
insn[0] = (insn[0] & ~0x1000) | (tie_t << 12); |
| 457 |
} |
| 458 |
|
| 459 |
static unsigned |
| 460 |
Field_bbi_Slot_inst_get (const xtensa_insnbuf insn) |
| 461 |
{ |
| 462 |
unsigned tie_t = 0; |
| 463 |
tie_t = (tie_t << 1) | ((insn[0] << 19) >> 31); |
| 464 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 465 |
return tie_t; |
| 466 |
} |
| 467 |
|
| 468 |
static void |
| 469 |
Field_bbi_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 470 |
{ |
| 471 |
uint32 tie_t; |
| 472 |
tie_t = (val << 28) >> 28; |
| 473 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 474 |
tie_t = (val << 27) >> 31; |
| 475 |
insn[0] = (insn[0] & ~0x1000) | (tie_t << 12); |
| 476 |
} |
| 477 |
|
| 478 |
static unsigned |
| 479 |
Field_imm12_Slot_inst_get (const xtensa_insnbuf insn) |
| 480 |
{ |
| 481 |
unsigned tie_t = 0; |
| 482 |
tie_t = (tie_t << 12) | ((insn[0] << 8) >> 20); |
| 483 |
return tie_t; |
| 484 |
} |
| 485 |
|
| 486 |
static void |
| 487 |
Field_imm12_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 488 |
{ |
| 489 |
uint32 tie_t; |
| 490 |
tie_t = (val << 20) >> 20; |
| 491 |
insn[0] = (insn[0] & ~0xfff000) | (tie_t << 12); |
| 492 |
} |
| 493 |
|
| 494 |
static unsigned |
| 495 |
Field_imm8_Slot_inst_get (const xtensa_insnbuf insn) |
| 496 |
{ |
| 497 |
unsigned tie_t = 0; |
| 498 |
tie_t = (tie_t << 8) | ((insn[0] << 8) >> 24); |
| 499 |
return tie_t; |
| 500 |
} |
| 501 |
|
| 502 |
static void |
| 503 |
Field_imm8_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 504 |
{ |
| 505 |
uint32 tie_t; |
| 506 |
tie_t = (val << 24) >> 24; |
| 507 |
insn[0] = (insn[0] & ~0xff0000) | (tie_t << 16); |
| 508 |
} |
| 509 |
|
| 510 |
static unsigned |
| 511 |
Field_s_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 512 |
{ |
| 513 |
unsigned tie_t = 0; |
| 514 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 515 |
return tie_t; |
| 516 |
} |
| 517 |
|
| 518 |
static void |
| 519 |
Field_s_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 520 |
{ |
| 521 |
uint32 tie_t; |
| 522 |
tie_t = (val << 28) >> 28; |
| 523 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 524 |
} |
| 525 |
|
| 526 |
static unsigned |
| 527 |
Field_imm12b_Slot_inst_get (const xtensa_insnbuf insn) |
| 528 |
{ |
| 529 |
unsigned tie_t = 0; |
| 530 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 531 |
tie_t = (tie_t << 8) | ((insn[0] << 8) >> 24); |
| 532 |
return tie_t; |
| 533 |
} |
| 534 |
|
| 535 |
static void |
| 536 |
Field_imm12b_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 537 |
{ |
| 538 |
uint32 tie_t; |
| 539 |
tie_t = (val << 24) >> 24; |
| 540 |
insn[0] = (insn[0] & ~0xff0000) | (tie_t << 16); |
| 541 |
tie_t = (val << 20) >> 28; |
| 542 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 543 |
} |
| 544 |
|
| 545 |
static unsigned |
| 546 |
Field_imm16_Slot_inst_get (const xtensa_insnbuf insn) |
| 547 |
{ |
| 548 |
unsigned tie_t = 0; |
| 549 |
tie_t = (tie_t << 16) | ((insn[0] << 8) >> 16); |
| 550 |
return tie_t; |
| 551 |
} |
| 552 |
|
| 553 |
static void |
| 554 |
Field_imm16_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 555 |
{ |
| 556 |
uint32 tie_t; |
| 557 |
tie_t = (val << 16) >> 16; |
| 558 |
insn[0] = (insn[0] & ~0xffff00) | (tie_t << 8); |
| 559 |
} |
| 560 |
|
| 561 |
static unsigned |
| 562 |
Field_offset_Slot_inst_get (const xtensa_insnbuf insn) |
| 563 |
{ |
| 564 |
unsigned tie_t = 0; |
| 565 |
tie_t = (tie_t << 18) | ((insn[0] << 8) >> 14); |
| 566 |
return tie_t; |
| 567 |
} |
| 568 |
|
| 569 |
static void |
| 570 |
Field_offset_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 571 |
{ |
| 572 |
uint32 tie_t; |
| 573 |
tie_t = (val << 14) >> 14; |
| 574 |
insn[0] = (insn[0] & ~0xffffc0) | (tie_t << 6); |
| 575 |
} |
| 576 |
|
| 577 |
static unsigned |
| 578 |
Field_r_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 579 |
{ |
| 580 |
unsigned tie_t = 0; |
| 581 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 582 |
return tie_t; |
| 583 |
} |
| 584 |
|
| 585 |
static void |
| 586 |
Field_r_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 587 |
{ |
| 588 |
uint32 tie_t; |
| 589 |
tie_t = (val << 28) >> 28; |
| 590 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 591 |
} |
| 592 |
|
| 593 |
static unsigned |
| 594 |
Field_sa4_Slot_inst_get (const xtensa_insnbuf insn) |
| 595 |
{ |
| 596 |
unsigned tie_t = 0; |
| 597 |
tie_t = (tie_t << 1) | ((insn[0] << 11) >> 31); |
| 598 |
return tie_t; |
| 599 |
} |
| 600 |
|
| 601 |
static void |
| 602 |
Field_sa4_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 603 |
{ |
| 604 |
uint32 tie_t; |
| 605 |
tie_t = (val << 31) >> 31; |
| 606 |
insn[0] = (insn[0] & ~0x100000) | (tie_t << 20); |
| 607 |
} |
| 608 |
|
| 609 |
static unsigned |
| 610 |
Field_sae4_Slot_inst_get (const xtensa_insnbuf insn) |
| 611 |
{ |
| 612 |
unsigned tie_t = 0; |
| 613 |
tie_t = (tie_t << 1) | ((insn[0] << 15) >> 31); |
| 614 |
return tie_t; |
| 615 |
} |
| 616 |
|
| 617 |
static void |
| 618 |
Field_sae4_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 619 |
{ |
| 620 |
uint32 tie_t; |
| 621 |
tie_t = (val << 31) >> 31; |
| 622 |
insn[0] = (insn[0] & ~0x10000) | (tie_t << 16); |
| 623 |
} |
| 624 |
|
| 625 |
static unsigned |
| 626 |
Field_sae_Slot_inst_get (const xtensa_insnbuf insn) |
| 627 |
{ |
| 628 |
unsigned tie_t = 0; |
| 629 |
tie_t = (tie_t << 1) | ((insn[0] << 15) >> 31); |
| 630 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 631 |
return tie_t; |
| 632 |
} |
| 633 |
|
| 634 |
static void |
| 635 |
Field_sae_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 636 |
{ |
| 637 |
uint32 tie_t; |
| 638 |
tie_t = (val << 28) >> 28; |
| 639 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 640 |
tie_t = (val << 27) >> 31; |
| 641 |
insn[0] = (insn[0] & ~0x10000) | (tie_t << 16); |
| 642 |
} |
| 643 |
|
| 644 |
static unsigned |
| 645 |
Field_sal_Slot_inst_get (const xtensa_insnbuf insn) |
| 646 |
{ |
| 647 |
unsigned tie_t = 0; |
| 648 |
tie_t = (tie_t << 1) | ((insn[0] << 11) >> 31); |
| 649 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 650 |
return tie_t; |
| 651 |
} |
| 652 |
|
| 653 |
static void |
| 654 |
Field_sal_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 655 |
{ |
| 656 |
uint32 tie_t; |
| 657 |
tie_t = (val << 28) >> 28; |
| 658 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 659 |
tie_t = (val << 27) >> 31; |
| 660 |
insn[0] = (insn[0] & ~0x100000) | (tie_t << 20); |
| 661 |
} |
| 662 |
|
| 663 |
static unsigned |
| 664 |
Field_sargt_Slot_inst_get (const xtensa_insnbuf insn) |
| 665 |
{ |
| 666 |
unsigned tie_t = 0; |
| 667 |
tie_t = (tie_t << 1) | ((insn[0] << 11) >> 31); |
| 668 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 669 |
return tie_t; |
| 670 |
} |
| 671 |
|
| 672 |
static void |
| 673 |
Field_sargt_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 674 |
{ |
| 675 |
uint32 tie_t; |
| 676 |
tie_t = (val << 28) >> 28; |
| 677 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 678 |
tie_t = (val << 27) >> 31; |
| 679 |
insn[0] = (insn[0] & ~0x100000) | (tie_t << 20); |
| 680 |
} |
| 681 |
|
| 682 |
static unsigned |
| 683 |
Field_sas4_Slot_inst_get (const xtensa_insnbuf insn) |
| 684 |
{ |
| 685 |
unsigned tie_t = 0; |
| 686 |
tie_t = (tie_t << 1) | ((insn[0] << 27) >> 31); |
| 687 |
return tie_t; |
| 688 |
} |
| 689 |
|
| 690 |
static void |
| 691 |
Field_sas4_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 692 |
{ |
| 693 |
uint32 tie_t; |
| 694 |
tie_t = (val << 31) >> 31; |
| 695 |
insn[0] = (insn[0] & ~0x10) | (tie_t << 4); |
| 696 |
} |
| 697 |
|
| 698 |
static unsigned |
| 699 |
Field_sas_Slot_inst_get (const xtensa_insnbuf insn) |
| 700 |
{ |
| 701 |
unsigned tie_t = 0; |
| 702 |
tie_t = (tie_t << 1) | ((insn[0] << 27) >> 31); |
| 703 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 704 |
return tie_t; |
| 705 |
} |
| 706 |
|
| 707 |
static void |
| 708 |
Field_sas_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 709 |
{ |
| 710 |
uint32 tie_t; |
| 711 |
tie_t = (val << 28) >> 28; |
| 712 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 713 |
tie_t = (val << 27) >> 31; |
| 714 |
insn[0] = (insn[0] & ~0x10) | (tie_t << 4); |
| 715 |
} |
| 716 |
|
| 717 |
static unsigned |
| 718 |
Field_sr_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 719 |
{ |
| 720 |
unsigned tie_t = 0; |
| 721 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 722 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 723 |
return tie_t; |
| 724 |
} |
| 725 |
|
| 726 |
static void |
| 727 |
Field_sr_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 728 |
{ |
| 729 |
uint32 tie_t; |
| 730 |
tie_t = (val << 28) >> 28; |
| 731 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 732 |
tie_t = (val << 24) >> 28; |
| 733 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 734 |
} |
| 735 |
|
| 736 |
static unsigned |
| 737 |
Field_sr_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 738 |
{ |
| 739 |
unsigned tie_t = 0; |
| 740 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 741 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 742 |
return tie_t; |
| 743 |
} |
| 744 |
|
| 745 |
static void |
| 746 |
Field_sr_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 747 |
{ |
| 748 |
uint32 tie_t; |
| 749 |
tie_t = (val << 28) >> 28; |
| 750 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 751 |
tie_t = (val << 24) >> 28; |
| 752 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 753 |
} |
| 754 |
|
| 755 |
static unsigned |
| 756 |
Field_st_Slot_inst_get (const xtensa_insnbuf insn) |
| 757 |
{ |
| 758 |
unsigned tie_t = 0; |
| 759 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 760 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 761 |
return tie_t; |
| 762 |
} |
| 763 |
|
| 764 |
static void |
| 765 |
Field_st_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 766 |
{ |
| 767 |
uint32 tie_t; |
| 768 |
tie_t = (val << 28) >> 28; |
| 769 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 770 |
tie_t = (val << 24) >> 28; |
| 771 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 772 |
} |
| 773 |
|
| 774 |
static unsigned |
| 775 |
Field_st_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 776 |
{ |
| 777 |
unsigned tie_t = 0; |
| 778 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 779 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 780 |
return tie_t; |
| 781 |
} |
| 782 |
|
| 783 |
static void |
| 784 |
Field_st_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 785 |
{ |
| 786 |
uint32 tie_t; |
| 787 |
tie_t = (val << 28) >> 28; |
| 788 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 789 |
tie_t = (val << 24) >> 28; |
| 790 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 791 |
} |
| 792 |
|
| 793 |
static unsigned |
| 794 |
Field_st_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 795 |
{ |
| 796 |
unsigned tie_t = 0; |
| 797 |
tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28); |
| 798 |
tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28); |
| 799 |
return tie_t; |
| 800 |
} |
| 801 |
|
| 802 |
static void |
| 803 |
Field_st_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 804 |
{ |
| 805 |
uint32 tie_t; |
| 806 |
tie_t = (val << 28) >> 28; |
| 807 |
insn[0] = (insn[0] & ~0xf0) | (tie_t << 4); |
| 808 |
tie_t = (val << 24) >> 28; |
| 809 |
insn[0] = (insn[0] & ~0xf00) | (tie_t << 8); |
| 810 |
} |
| 811 |
|
| 812 |
static unsigned |
| 813 |
Field_imm4_Slot_inst_get (const xtensa_insnbuf insn) |
| 814 |
{ |
| 815 |
unsigned tie_t = 0; |
| 816 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 817 |
return tie_t; |
| 818 |
} |
| 819 |
|
| 820 |
static void |
| 821 |
Field_imm4_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 822 |
{ |
| 823 |
uint32 tie_t; |
| 824 |
tie_t = (val << 28) >> 28; |
| 825 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 826 |
} |
| 827 |
|
| 828 |
static unsigned |
| 829 |
Field_imm4_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 830 |
{ |
| 831 |
unsigned tie_t = 0; |
| 832 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 833 |
return tie_t; |
| 834 |
} |
| 835 |
|
| 836 |
static void |
| 837 |
Field_imm4_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 838 |
{ |
| 839 |
uint32 tie_t; |
| 840 |
tie_t = (val << 28) >> 28; |
| 841 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 842 |
} |
| 843 |
|
| 844 |
static unsigned |
| 845 |
Field_imm4_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 846 |
{ |
| 847 |
unsigned tie_t = 0; |
| 848 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 849 |
return tie_t; |
| 850 |
} |
| 851 |
|
| 852 |
static void |
| 853 |
Field_imm4_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 854 |
{ |
| 855 |
uint32 tie_t; |
| 856 |
tie_t = (val << 28) >> 28; |
| 857 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 858 |
} |
| 859 |
|
| 860 |
static unsigned |
| 861 |
Field_i_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 862 |
{ |
| 863 |
unsigned tie_t = 0; |
| 864 |
tie_t = (tie_t << 1) | ((insn[0] << 24) >> 31); |
| 865 |
return tie_t; |
| 866 |
} |
| 867 |
|
| 868 |
static void |
| 869 |
Field_i_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 870 |
{ |
| 871 |
uint32 tie_t; |
| 872 |
tie_t = (val << 31) >> 31; |
| 873 |
insn[0] = (insn[0] & ~0x80) | (tie_t << 7); |
| 874 |
} |
| 875 |
|
| 876 |
static unsigned |
| 877 |
Field_imm6lo_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 878 |
{ |
| 879 |
unsigned tie_t = 0; |
| 880 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 881 |
return tie_t; |
| 882 |
} |
| 883 |
|
| 884 |
static void |
| 885 |
Field_imm6lo_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 886 |
{ |
| 887 |
uint32 tie_t; |
| 888 |
tie_t = (val << 28) >> 28; |
| 889 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 890 |
} |
| 891 |
|
| 892 |
static unsigned |
| 893 |
Field_imm6lo_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 894 |
{ |
| 895 |
unsigned tie_t = 0; |
| 896 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 897 |
return tie_t; |
| 898 |
} |
| 899 |
|
| 900 |
static void |
| 901 |
Field_imm6lo_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 902 |
{ |
| 903 |
uint32 tie_t; |
| 904 |
tie_t = (val << 28) >> 28; |
| 905 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 906 |
} |
| 907 |
|
| 908 |
static unsigned |
| 909 |
Field_imm6hi_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 910 |
{ |
| 911 |
unsigned tie_t = 0; |
| 912 |
tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30); |
| 913 |
return tie_t; |
| 914 |
} |
| 915 |
|
| 916 |
static void |
| 917 |
Field_imm6hi_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 918 |
{ |
| 919 |
uint32 tie_t; |
| 920 |
tie_t = (val << 30) >> 30; |
| 921 |
insn[0] = (insn[0] & ~0x30) | (tie_t << 4); |
| 922 |
} |
| 923 |
|
| 924 |
static unsigned |
| 925 |
Field_imm6hi_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 926 |
{ |
| 927 |
unsigned tie_t = 0; |
| 928 |
tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30); |
| 929 |
return tie_t; |
| 930 |
} |
| 931 |
|
| 932 |
static void |
| 933 |
Field_imm6hi_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 934 |
{ |
| 935 |
uint32 tie_t; |
| 936 |
tie_t = (val << 30) >> 30; |
| 937 |
insn[0] = (insn[0] & ~0x30) | (tie_t << 4); |
| 938 |
} |
| 939 |
|
| 940 |
static unsigned |
| 941 |
Field_imm7lo_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 942 |
{ |
| 943 |
unsigned tie_t = 0; |
| 944 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 945 |
return tie_t; |
| 946 |
} |
| 947 |
|
| 948 |
static void |
| 949 |
Field_imm7lo_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 950 |
{ |
| 951 |
uint32 tie_t; |
| 952 |
tie_t = (val << 28) >> 28; |
| 953 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 954 |
} |
| 955 |
|
| 956 |
static unsigned |
| 957 |
Field_imm7lo_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 958 |
{ |
| 959 |
unsigned tie_t = 0; |
| 960 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 961 |
return tie_t; |
| 962 |
} |
| 963 |
|
| 964 |
static void |
| 965 |
Field_imm7lo_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 966 |
{ |
| 967 |
uint32 tie_t; |
| 968 |
tie_t = (val << 28) >> 28; |
| 969 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 970 |
} |
| 971 |
|
| 972 |
static unsigned |
| 973 |
Field_imm7hi_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 974 |
{ |
| 975 |
unsigned tie_t = 0; |
| 976 |
tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29); |
| 977 |
return tie_t; |
| 978 |
} |
| 979 |
|
| 980 |
static void |
| 981 |
Field_imm7hi_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 982 |
{ |
| 983 |
uint32 tie_t; |
| 984 |
tie_t = (val << 29) >> 29; |
| 985 |
insn[0] = (insn[0] & ~0x70) | (tie_t << 4); |
| 986 |
} |
| 987 |
|
| 988 |
static unsigned |
| 989 |
Field_imm7hi_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 990 |
{ |
| 991 |
unsigned tie_t = 0; |
| 992 |
tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29); |
| 993 |
return tie_t; |
| 994 |
} |
| 995 |
|
| 996 |
static void |
| 997 |
Field_imm7hi_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 998 |
{ |
| 999 |
uint32 tie_t; |
| 1000 |
tie_t = (val << 29) >> 29; |
| 1001 |
insn[0] = (insn[0] & ~0x70) | (tie_t << 4); |
| 1002 |
} |
| 1003 |
|
| 1004 |
static unsigned |
| 1005 |
Field_z_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 1006 |
{ |
| 1007 |
unsigned tie_t = 0; |
| 1008 |
tie_t = (tie_t << 1) | ((insn[0] << 25) >> 31); |
| 1009 |
return tie_t; |
| 1010 |
} |
| 1011 |
|
| 1012 |
static void |
| 1013 |
Field_z_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 1014 |
{ |
| 1015 |
uint32 tie_t; |
| 1016 |
tie_t = (val << 31) >> 31; |
| 1017 |
insn[0] = (insn[0] & ~0x40) | (tie_t << 6); |
| 1018 |
} |
| 1019 |
|
| 1020 |
static unsigned |
| 1021 |
Field_imm6_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 1022 |
{ |
| 1023 |
unsigned tie_t = 0; |
| 1024 |
tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30); |
| 1025 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 1026 |
return tie_t; |
| 1027 |
} |
| 1028 |
|
| 1029 |
static void |
| 1030 |
Field_imm6_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 1031 |
{ |
| 1032 |
uint32 tie_t; |
| 1033 |
tie_t = (val << 28) >> 28; |
| 1034 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 1035 |
tie_t = (val << 26) >> 30; |
| 1036 |
insn[0] = (insn[0] & ~0x30) | (tie_t << 4); |
| 1037 |
} |
| 1038 |
|
| 1039 |
static unsigned |
| 1040 |
Field_imm6_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 1041 |
{ |
| 1042 |
unsigned tie_t = 0; |
| 1043 |
tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30); |
| 1044 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 1045 |
return tie_t; |
| 1046 |
} |
| 1047 |
|
| 1048 |
static void |
| 1049 |
Field_imm6_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 1050 |
{ |
| 1051 |
uint32 tie_t; |
| 1052 |
tie_t = (val << 28) >> 28; |
| 1053 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 1054 |
tie_t = (val << 26) >> 30; |
| 1055 |
insn[0] = (insn[0] & ~0x30) | (tie_t << 4); |
| 1056 |
} |
| 1057 |
|
| 1058 |
static unsigned |
| 1059 |
Field_imm7_Slot_inst16a_get (const xtensa_insnbuf insn) |
| 1060 |
{ |
| 1061 |
unsigned tie_t = 0; |
| 1062 |
tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29); |
| 1063 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 1064 |
return tie_t; |
| 1065 |
} |
| 1066 |
|
| 1067 |
static void |
| 1068 |
Field_imm7_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val) |
| 1069 |
{ |
| 1070 |
uint32 tie_t; |
| 1071 |
tie_t = (val << 28) >> 28; |
| 1072 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 1073 |
tie_t = (val << 25) >> 29; |
| 1074 |
insn[0] = (insn[0] & ~0x70) | (tie_t << 4); |
| 1075 |
} |
| 1076 |
|
| 1077 |
static unsigned |
| 1078 |
Field_imm7_Slot_inst16b_get (const xtensa_insnbuf insn) |
| 1079 |
{ |
| 1080 |
unsigned tie_t = 0; |
| 1081 |
tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29); |
| 1082 |
tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28); |
| 1083 |
return tie_t; |
| 1084 |
} |
| 1085 |
|
| 1086 |
static void |
| 1087 |
Field_imm7_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val) |
| 1088 |
{ |
| 1089 |
uint32 tie_t; |
| 1090 |
tie_t = (val << 28) >> 28; |
| 1091 |
insn[0] = (insn[0] & ~0xf000) | (tie_t << 12); |
| 1092 |
tie_t = (val << 25) >> 29; |
| 1093 |
insn[0] = (insn[0] & ~0x70) | (tie_t << 4); |
| 1094 |
} |
| 1095 |
|
| 1096 |
static unsigned |
| 1097 |
Field_xt_wbr15_imm_Slot_inst_get (const xtensa_insnbuf insn) |
| 1098 |
{ |
| 1099 |
unsigned tie_t = 0; |
| 1100 |
tie_t = (tie_t << 15) | ((insn[0] << 8) >> 17); |
| 1101 |
return tie_t; |
| 1102 |
} |
| 1103 |
|
| 1104 |
static void |
| 1105 |
Field_xt_wbr15_imm_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 1106 |
{ |
| 1107 |
uint32 tie_t; |
| 1108 |
tie_t = (val << 17) >> 17; |
| 1109 |
insn[0] = (insn[0] & ~0xfffe00) | (tie_t << 9); |
| 1110 |
} |
| 1111 |
|
| 1112 |
static unsigned |
| 1113 |
Field_xt_wbr18_imm_Slot_inst_get (const xtensa_insnbuf insn) |
| 1114 |
{ |
| 1115 |
unsigned tie_t = 0; |
| 1116 |
tie_t = (tie_t << 18) | ((insn[0] << 8) >> 14); |
| 1117 |
return tie_t; |
| 1118 |
} |
| 1119 |
|
| 1120 |
static void |
| 1121 |
Field_xt_wbr18_imm_Slot_inst_set (xtensa_insnbuf insn, uint32 val) |
| 1122 |
{ |
| 1123 |
uint32 tie_t; |
| 1124 |
tie_t = (val << 14) >> 14; |
| 1125 |
insn[0] = (insn[0] & ~0xffffc0) | (tie_t << 6); |
| 1126 |
} |
| 1127 |
|
| 1128 |
static void |
| 1129 |
Implicit_Field_set (xtensa_insnbuf insn ATTRIBUTE_UNUSED, |
| 1130 |
uint32 val ATTRIBUTE_UNUSED) |
| 1131 |
{ |
| 1132 |
|
| 1133 |
} |
| 1134 |
|
| 1135 |
static unsigned |
| 1136 |
Implicit_Field_ar0_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED) |
| 1137 |
{ |
| 1138 |
return 0; |
| 1139 |
} |
| 1140 |
|
| 1141 |
enum xtensa_field_id { |
| 1142 |
FIELD_t, |
| 1143 |
FIELD_bbi4, |
| 1144 |
FIELD_bbi, |
| 1145 |
FIELD_imm12, |
| 1146 |
FIELD_imm8, |
| 1147 |
FIELD_s, |
| 1148 |
FIELD_imm12b, |
| 1149 |
FIELD_imm16, |
| 1150 |
FIELD_m, |
| 1151 |
FIELD_n, |
| 1152 |
FIELD_offset, |
| 1153 |
FIELD_op0, |
| 1154 |
FIELD_op1, |
| 1155 |
FIELD_op2, |
| 1156 |
FIELD_r, |
| 1157 |
FIELD_sa4, |
| 1158 |
FIELD_sae4, |
| 1159 |
FIELD_sae, |
| 1160 |
FIELD_sal, |
| 1161 |
FIELD_sargt, |
| 1162 |
FIELD_sas4, |
| 1163 |
FIELD_sas, |
| 1164 |
FIELD_sr, |
| 1165 |
FIELD_st, |
| 1166 |
FIELD_thi3, |
| 1167 |
FIELD_imm4, |
| 1168 |
FIELD_i, |
| 1169 |
FIELD_imm6lo, |
| 1170 |
FIELD_imm6hi, |
| 1171 |
FIELD_imm7lo, |
| 1172 |
FIELD_imm7hi, |
| 1173 |
FIELD_z, |
| 1174 |
FIELD_imm6, |
| 1175 |
FIELD_imm7, |
| 1176 |
FIELD_xt_wbr15_imm, |
| 1177 |
FIELD_xt_wbr18_imm, |
| 1178 |
FIELD__ar0 |
| 1179 |
}; |
| 1180 |
|
| 1181 |
|
| 1182 |
|
| 1183 |
|
| 1184 |
static xtensa_funcUnit_internal funcUnits[] = { |
| 1185 |
|
| 1186 |
}; |
| 1187 |
|
| 1188 |
|
| 1189 |
|
| 1190 |
|
| 1191 |
enum xtensa_regfile_id { |
| 1192 |
REGFILE_AR |
| 1193 |
}; |
| 1194 |
|
| 1195 |
static xtensa_regfile_internal regfiles[] = { |
| 1196 |
{ "AR", "a", REGFILE_AR, 32, 16 } |
| 1197 |
}; |
| 1198 |
|
| 1199 |
|
| 1200 |
|
| 1201 |
|
| 1202 |
static xtensa_interface_internal interfaces[] = { |
| 1203 |
|
| 1204 |
}; |
| 1205 |
|
| 1206 |
|
| 1207 |
|
| 1208 |
|
| 1209 |
|
| 1210 |
static const unsigned CONST_TBL_ai4c_0[] = { |
| 1211 |
0xffffffff, |
| 1212 |
0x1, |
| 1213 |
0x2, |
| 1214 |
0x3, |
| 1215 |
0x4, |
| 1216 |
0x5, |
| 1217 |
0x6, |
| 1218 |
0x7, |
| 1219 |
0x8, |
| 1220 |
0x9, |
| 1221 |
0xa, |
| 1222 |
0xb, |
| 1223 |
0xc, |
| 1224 |
0xd, |
| 1225 |
0xe, |
| 1226 |
0xf, |
| 1227 |
0 |
| 1228 |
}; |
| 1229 |
|
| 1230 |
|
| 1231 |
static const unsigned CONST_TBL_b4c_0[] = { |
| 1232 |
0xffffffff, |
| 1233 |
0x1, |
| 1234 |
0x2, |
| 1235 |
0x3, |
| 1236 |
0x4, |
| 1237 |
0x5, |
| 1238 |
0x6, |
| 1239 |
0x7, |
| 1240 |
0x8, |
| 1241 |
0xa, |
| 1242 |
0xc, |
| 1243 |
0x10, |
| 1244 |
0x20, |
| 1245 |
0x40, |
| 1246 |
0x80, |
| 1247 |
0x100, |
| 1248 |
0 |
| 1249 |
}; |
| 1250 |
|
| 1251 |
|
| 1252 |
static const unsigned CONST_TBL_b4cu_0[] = { |
| 1253 |
0x8000, |
| 1254 |
0x10000, |
| 1255 |
0x2, |
| 1256 |
0x3, |
| 1257 |
0x4, |
| 1258 |
0x5, |
| 1259 |
0x6, |
| 1260 |
0x7, |
| 1261 |
0x8, |
| 1262 |
0xa, |
| 1263 |
0xc, |
| 1264 |
0x10, |
| 1265 |
0x20, |
| 1266 |
0x40, |
| 1267 |
0x80, |
| 1268 |
0x100, |
| 1269 |
0 |
| 1270 |
}; |
| 1271 |
|
| 1272 |
|
| 1273 |
|
| 1274 |
|
| 1275 |
static int |
| 1276 |
Operand_art_decode (uint32 *valp ATTRIBUTE_UNUSED) |
| 1277 |
{ |
| 1278 |
return 0; |
| 1279 |
} |
| 1280 |
|
| 1281 |
static int |
| 1282 |
Operand_art_encode (uint32 *valp) |
| 1283 |
{ |
| 1284 |
int error; |
| 1285 |
error = (*valp & ~0xf) != 0; |
| 1286 |
return error; |
| 1287 |
} |
| 1288 |
|
| 1289 |
static int |
| 1290 |
Operand_ars_decode (uint32 *valp ATTRIBUTE_UNUSED) |
| 1291 |
{ |
| 1292 |
return 0; |
| 1293 |
} |
| 1294 |
|
| 1295 |
static int |
| 1296 |
Operand_ars_encode (uint32 *valp) |
| 1297 |
{ |
| 1298 |
int error; |
| 1299 |
error = (*valp & ~0xf) != 0; |
| 1300 |
return error; |
| 1301 |
} |
| 1302 |
|
| 1303 |
static int |
| 1304 |
Operand_arr_decode (uint32 *valp ATTRIBUTE_UNUSED) |
| 1305 |
{ |
| 1306 |
return 0; |
| 1307 |
} |
| 1308 |
|
| 1309 |
static int |
| 1310 |
Operand_arr_encode (uint32 *valp) |
| 1311 |
{ |
| 1312 |
int error; |
| 1313 |
error = (*valp & ~0xf) != 0; |
| 1314 |
return error; |
| 1315 |
} |
| 1316 |
|
| 1317 |
static int |
| 1318 |
Operand_ar0_decode (uint32 *valp ATTRIBUTE_UNUSED) |
| 1319 |
{ |
| 1320 |
return 0; |
| 1321 |
} |
| 1322 |
|
| 1323 |
static int |
| 1324 |
Operand_ar0_encode (uint32 *valp) |
| 1325 |
{ |
| 1326 |
int error; |
| 1327 |
error = (*valp & ~0xf) != 0; |
| 1328 |
return error; |
| 1329 |
} |
| 1330 |
|
| 1331 |
static int |
| 1332 |
Operand_soffsetx4_decode (uint32 *valp) |
| 1333 |
{ |
| 1334 |
unsigned soffsetx4_0, offset_0; |
| 1335 |
offset_0 = *valp & 0x3ffff; |
| 1336 |
soffsetx4_0 = 0x4 + ((((int) offset_0 << 14) >> 14) << 2); |
| 1337 |
*valp = soffsetx4_0; |
| 1338 |
return 0; |
| 1339 |
} |
| 1340 |
|
| 1341 |
static int |
| 1342 |
Operand_soffsetx4_encode (uint32 *valp) |
| 1343 |
{ |
| 1344 |
unsigned offset_0, soffsetx4_0; |
| 1345 |
soffsetx4_0 = *valp; |
| 1346 |
offset_0 = ((soffsetx4_0 - 0x4) >> 2) & 0x3ffff; |
| 1347 |
*valp = offset_0; |
| 1348 |
return 0; |
| 1349 |
} |
| 1350 |
|
| 1351 |
static int |
| 1352 |
Operand_soffsetx4_ator (uint32 *valp, uint32 pc) |
| 1353 |
{ |
| 1354 |
*valp -= (pc & ~0x3); |
| 1355 |
return 0; |
| 1356 |
} |
| 1357 |
|
| 1358 |
static int |
| 1359 |
Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc) |
| 1360 |
{ |
| 1361 |
*valp += (pc & ~0x3); |
| 1362 |
return 0; |
| 1363 |
} |
| 1364 |
|
| 1365 |
static int |
| 1366 |
Operand_lsi4x4_decode (uint32 *valp) |
| 1367 |
{ |
| 1368 |
unsigned lsi4x4_0, r_0; |
| 1369 |
r_0 = *valp & 0xf; |
| 1370 |
lsi4x4_0 = r_0 << 2; |
| 1371 |
*valp = lsi4x4_0; |
| 1372 |
return 0; |
| 1373 |
} |
| 1374 |
|
| 1375 |
static int |
| 1376 |
Operand_lsi4x4_encode (uint32 *valp) |
| 1377 |
{ |
| 1378 |
unsigned r_0, lsi4x4_0; |
| 1379 |
lsi4x4_0 = *valp; |
| 1380 |
r_0 = ((lsi4x4_0 >> 2) & 0xf); |
| 1381 |
*valp = r_0; |
| 1382 |
return 0; |
| 1383 |
} |
| 1384 |
|
| 1385 |
static int |
| 1386 |
Operand_simm7_decode (uint32 *valp) |
| 1387 |
{ |
| 1388 |
unsigned simm7_0, imm7_0; |
| 1389 |
imm7_0 = *valp & 0x7f; |
| 1390 |
simm7_0 = ((((-((((imm7_0 >> 6) & 1)) & (((imm7_0 >> 5) & 1)))) & 0x1ffffff)) << 7) | imm7_0; |
| 1391 |
*valp = simm7_0; |
| 1392 |
return 0; |
| 1393 |
} |
| 1394 |
|
| 1395 |
static int |
| 1396 |
Operand_simm7_encode (uint32 *valp) |
| 1397 |
{ |
| 1398 |
unsigned imm7_0, simm7_0; |
| 1399 |
simm7_0 = *valp; |
| 1400 |
imm7_0 = (simm7_0 & 0x7f); |
| 1401 |
*valp = imm7_0; |
| 1402 |
return 0; |
| 1403 |
} |
| 1404 |
|
| 1405 |
static int |
| 1406 |
Operand_uimm6_decode (uint32 *valp) |
| 1407 |
{ |
| 1408 |
unsigned uimm6_0, imm6_0; |
| 1409 |
imm6_0 = *valp & 0x3f; |
| 1410 |
uimm6_0 = 0x4 + (((0) << 6) | imm6_0); |
| 1411 |
*valp = uimm6_0; |
| 1412 |
return 0; |
| 1413 |
} |
| 1414 |
|
| 1415 |
static int |
| 1416 |
Operand_uimm6_encode (uint32 *valp) |
| 1417 |
{ |
| 1418 |
unsigned imm6_0, uimm6_0; |
| 1419 |
uimm6_0 = *valp; |
| 1420 |
imm6_0 = (uimm6_0 - 0x4) & 0x3f; |
| 1421 |
*valp = imm6_0; |
| 1422 |
return 0; |
| 1423 |
} |
| 1424 |
|
| 1425 |
static int |
| 1426 |
Operand_uimm6_ator (uint32 *valp, uint32 pc) |
| 1427 |
{ |
| 1428 |
*valp -= pc; |
| 1429 |
return 0; |
| 1430 |
} |
| 1431 |
|
| 1432 |
static int |
| 1433 |
Operand_uimm6_rtoa (uint32 *valp, uint32 pc) |
| 1434 |
{ |
| 1435 |
*valp += pc; |
| 1436 |
return 0; |
| 1437 |
} |
| 1438 |
|
| 1439 |
static int |
| 1440 |
Operand_ai4const_decode (uint32 *valp) |
| 1441 |
{ |
| 1442 |
unsigned ai4const_0, t_0; |
| 1443 |
t_0 = *valp & 0xf; |
| 1444 |
ai4const_0 = CONST_TBL_ai4c_0[t_0 & 0xf]; |
| 1445 |
*valp = ai4const_0; |
| 1446 |
return 0; |
| 1447 |
} |
| 1448 |
|
| 1449 |
static int |
| 1450 |
Operand_ai4const_encode (uint32 *valp) |
| 1451 |
{ |
| 1452 |
unsigned t_0, ai4const_0; |
| 1453 |
ai4const_0 = *valp; |
| 1454 |
switch (ai4const_0) |
| 1455 |
{ |
| 1456 |
case 0xffffffff: t_0 = 0; break; |
| 1457 |
case 0x1: t_0 = 0x1; break; |
| 1458 |
case 0x2: t_0 = 0x2; break; |
| 1459 |
case 0x3: t_0 = 0x3; break; |
| 1460 |
case 0x4: t_0 = 0x4; break; |
| 1461 |
case 0x5: t_0 = 0x5; break; |
| 1462 |
case 0x6: t_0 = 0x6; break; |
| 1463 |
case 0x7: t_0 = 0x7; break; |
| 1464 |
case 0x8: t_0 = 0x8; break; |
| 1465 |
case 0x9: t_0 = 0x9; break; |
| 1466 |
case 0xa: t_0 = 0xa; break; |
| 1467 |
case 0xb: t_0 = 0xb; break; |
| 1468 |
case 0xc: t_0 = 0xc; break; |
| 1469 |
case 0xd: t_0 = 0xd; break; |
| 1470 |
case 0xe: t_0 = 0xe; break; |
| 1471 |
default: t_0 = 0xf; break; |
| 1472 |
} |
| 1473 |
*valp = t_0; |
| 1474 |
return 0; |
| 1475 |
} |
| 1476 |
|
| 1477 |
static int |
| 1478 |
Operand_b4const_decode (uint32 *valp) |
| 1479 |
{ |
| 1480 |
unsigned b4const_0, r_0; |
| 1481 |
r_0 = *valp & 0xf; |
| 1482 |
b4const_0 = CONST_TBL_b4c_0[r_0 & 0xf]; |
| 1483 |
*valp = b4const_0; |
| 1484 |
return 0; |
| 1485 |
} |
| 1486 |
|
| 1487 |
static int |
| 1488 |
Operand_b4const_encode (uint32 *valp) |
| 1489 |
{ |
| 1490 |
unsigned r_0, b4const_0; |
| 1491 |
b4const_0 = *valp; |
| 1492 |
switch (b4const_0) |
| 1493 |
{ |
| 1494 |
case 0xffffffff: r_0 = 0; break; |
| 1495 |
case 0x1: r_0 = 0x1; break; |
| 1496 |
case 0x2: r_0 = 0x2; break; |
| 1497 |
case 0x3: r_0 = 0x3; break; |
| 1498 |
case 0x4: r_0 = 0x4; break; |
| 1499 |
case 0x5: r_0 = 0x5; break; |
| 1500 |
case 0x6: r_0 = 0x6; break; |
| 1501 |
case 0x7: r_0 = 0x7; break; |
| 1502 |
case 0x8: r_0 = 0x8; break; |
| 1503 |
case 0xa: r_0 = 0x9; break; |
| 1504 |
case 0xc: r_0 = 0xa; break; |
| 1505 |
case 0x10: r_0 = 0xb; break; |
| 1506 |
case 0x20: r_0 = 0xc; break; |
| 1507 |
case 0x40: r_0 = 0xd; break; |
| 1508 |
case 0x80: r_0 = 0xe; break; |
| 1509 |
default: r_0 = 0xf; break; |
| 1510 |
} |
| 1511 |
*valp = r_0; |
| 1512 |
return 0; |
| 1513 |
} |
| 1514 |
|
| 1515 |
static int |
| 1516 |
Operand_b4constu_decode (uint32 *valp) |
| 1517 |
{ |
| 1518 |
unsigned b4constu_0, r_0; |
| 1519 |
r_0 = *valp & 0xf; |
| 1520 |
b4constu_0 = CONST_TBL_b4cu_0[r_0 & 0xf]; |
| 1521 |
*valp = b4constu_0; |
| 1522 |
return 0; |
| 1523 |
} |
| 1524 |
|
| 1525 |
static int |
| 1526 |
Operand_b4constu_encode (uint32 *valp) |
| 1527 |
{ |
| 1528 |
unsigned r_0, b4constu_0; |
| 1529 |
b4constu_0 = *valp; |
| 1530 |
switch (b4constu_0) |
| 1531 |
{ |
| 1532 |
case 0x8000: r_0 = 0; break; |
| 1533 |
case 0x10000: r_0 = 0x1; break; |
| 1534 |
case 0x2: r_0 = 0x2; break; |
| 1535 |
case 0x3: r_0 = 0x3; break; |
| 1536 |
case 0x4: r_0 = 0x4; break; |
| 1537 |
case 0x5: r_0 = 0x5; break; |
| 1538 |
case 0x6: r_0 = 0x6; break; |
| 1539 |
case 0x7: r_0 = 0x7; break; |
| 1540 |
case 0x8: r_0 = 0x8; break; |
| 1541 |
case 0xa: r_0 = 0x9; break; |
| 1542 |
case 0xc: r_0 = 0xa; break; |
| 1543 |
case 0x10: r_0 = 0xb; break; |
| 1544 |
case 0x20: r_0 = 0xc; break; |
| 1545 |
case 0x40: r_0 = 0xd; break; |
| 1546 |
case 0x80: r_0 = 0xe; break; |
| 1547 |
default: r_0 = 0xf; break; |
| 1548 |
} |
| 1549 |
*valp = r_0; |
| 1550 |
return 0; |
| 1551 |
} |
| 1552 |
|
| 1553 |
static int |
| 1554 |
Operand_uimm8_decode (uint32 *valp) |
| 1555 |
{ |
| 1556 |
unsigned uimm8_0, imm8_0; |
| 1557 |
imm8_0 = *valp & 0xff; |
| 1558 |
uimm8_0 = imm8_0; |
| 1559 |
*valp = uimm8_0; |
| 1560 |
return 0; |
| 1561 |
} |
| 1562 |
|
| 1563 |
static int |
| 1564 |
Operand_uimm8_encode (uint32 *valp) |
| 1565 |
{ |
| 1566 |
unsigned imm8_0, uimm8_0; |
| 1567 |
uimm8_0 = *valp; |
| 1568 |
imm8_0 = (uimm8_0 & 0xff); |
| 1569 |
*valp = imm8_0; |
| 1570 |
return 0; |
| 1571 |
} |
| 1572 |
|
| 1573 |
static int |
| 1574 |
Operand_uimm8x2_decode (uint32 *valp) |
| 1575 |
{ |
| 1576 |
unsigned uimm8x2_0, imm8_0; |
| 1577 |
imm8_0 = *valp & 0xff; |
| 1578 |
uimm8x2_0 = imm8_0 << 1; |
| 1579 |
*valp = uimm8x2_0; |
| 1580 |
return 0; |
| 1581 |
} |
| 1582 |
|
| 1583 |
static int |
| 1584 |
Operand_uimm8x2_encode (uint32 *valp) |
| 1585 |
{ |
| 1586 |
unsigned imm8_0, uimm8x2_0; |
| 1587 |
uimm8x2_0 = *valp; |
| 1588 |
imm8_0 = ((uimm8x2_0 >> 1) & 0xff); |
| 1589 |
*valp = imm8_0; |
| 1590 |
return 0; |
| 1591 |
} |
| 1592 |
|
| 1593 |
static int |
| 1594 |
Operand_uimm8x4_decode (uint32 *valp) |
| 1595 |
{ |
| 1596 |
unsigned uimm8x4_0, imm8_0; |
| 1597 |
imm8_0 = *valp & 0xff; |
| 1598 |
uimm8x4_0 = imm8_0 << 2; |
| 1599 |
*valp = uimm8x4_0; |
| 1600 |
return 0; |
| 1601 |
} |
| 1602 |
|
| 1603 |
static int |
| 1604 |
Operand_uimm8x4_encode (uint32 *valp) |
| 1605 |
{ |
| 1606 |
unsigned imm8_0, uimm8x4_0; |
| 1607 |
uimm8x4_0 = *valp; |
| 1608 |
imm8_0 = ((uimm8x4_0 >> 2) & 0xff); |
| 1609 |
*valp = imm8_0; |
| 1610 |
return 0; |
| 1611 |
} |
| 1612 |
|
| 1613 |
static int |
| 1614 |
Operand_uimm4x16_decode (uint32 *valp) |
| 1615 |
{ |
| 1616 |
unsigned uimm4x16_0, op2_0; |
| 1617 |
op2_0 = *valp & 0xf; |
| 1618 |
uimm4x16_0 = op2_0 << 4; |
| 1619 |
*valp = uimm4x16_0; |
| 1620 |
return 0; |
| 1621 |
} |
| 1622 |
|
| 1623 |
static int |
| 1624 |
Operand_uimm4x16_encode (uint32 *valp) |
| 1625 |
{ |
| 1626 |
unsigned op2_0, uimm4x16_0; |
| 1627 |
uimm4x16_0 = *valp; |
| 1628 |
op2_0 = ((uimm4x16_0 >> 4) & 0xf); |
| 1629 |
*valp = op2_0; |
| 1630 |
return 0; |
| 1631 |
} |
| 1632 |
|
| 1633 |
static int |
| 1634 |
Operand_simm8_decode (uint32 *valp) |
| 1635 |
{ |
| 1636 |
unsigned simm8_0, imm8_0; |
| 1637 |
imm8_0 = *valp & 0xff; |
| 1638 |
simm8_0 = ((int) imm8_0 << 24) >> 24; |
| 1639 |
*valp = simm8_0; |
| 1640 |
return 0; |
| 1641 |
} |
| 1642 |
|
| 1643 |
static int |
| 1644 |
Operand_simm8_encode (uint32 *valp) |
| 1645 |
{ |
| 1646 |
unsigned imm8_0, simm8_0; |
| 1647 |
simm8_0 = *valp; |
| 1648 |
imm8_0 = (simm8_0 & 0xff); |
| 1649 |
*valp = imm8_0; |
| 1650 |
return 0; |
| 1651 |
} |
| 1652 |
|
| 1653 |
static int |
| 1654 |
Operand_simm8x256_decode (uint32 *valp) |
| 1655 |
{ |
| 1656 |
unsigned simm8x256_0, imm8_0; |
| 1657 |
imm8_0 = *valp & 0xff; |
| 1658 |
simm8x256_0 = (((int) imm8_0 << 24) >> 24) << 8; |
| 1659 |
*valp = simm8x256_0; |
| 1660 |
return 0; |
| 1661 |
} |
| 1662 |
|
| 1663 |
static int |
| 1664 |
Operand_simm8x256_encode (uint32 *valp) |
| 1665 |
{ |
| 1666 |
unsigned imm8_0, simm8x256_0; |
| 1667 |
simm8x256_0 = *valp; |
| 1668 |
imm8_0 = ((simm8x256_0 >> 8) & 0xff); |
| 1669 |
*valp = imm8_0; |
| 1670 |
return 0; |
| 1671 |
} |
| 1672 |
|
| 1673 |
static int |
| 1674 |
Operand_simm12b_decode (uint32 *valp) |
| 1675 |
{ |
| 1676 |
unsigned simm12b_0, imm12b_0; |
| 1677 |
imm12b_0 = *valp & 0xfff; |
| 1678 |
simm12b_0 = ((int) imm12b_0 << 20) >> 20; |
| 1679 |
*valp = simm12b_0; |
| 1680 |
return 0; |
| 1681 |
} |
| 1682 |
|
| 1683 |
static int |
| 1684 |
Operand_simm12b_encode (uint32 *valp) |
| 1685 |
{ |
| 1686 |
unsigned imm12b_0, simm12b_0; |
| 1687 |
simm12b_0 = *valp; |
| 1688 |
imm12b_0 = (simm12b_0 & 0xfff); |
| 1689 |
*valp = imm12b_0; |
| 1690 |
return 0; |
| 1691 |
} |
| 1692 |
|
| 1693 |
static int |
| 1694 |
Operand_msalp32_decode (uint32 *valp) |
| 1695 |
{ |
| 1696 |
unsigned msalp32_0, sal_0; |
| 1697 |
sal_0 = *valp & 0x1f; |
| 1698 |
msalp32_0 = 0x20 - sal_0; |
| 1699 |
*valp = msalp32_0; |
| 1700 |
return 0; |
| 1701 |
} |
| 1702 |
|
| 1703 |
static int |
| 1704 |
Operand_msalp32_encode (uint32 *valp) |
| 1705 |
{ |
| 1706 |
unsigned sal_0, msalp32_0; |
| 1707 |
msalp32_0 = *valp; |
| 1708 |
sal_0 = (0x20 - msalp32_0) & 0x1f; |
| 1709 |
*valp = sal_0; |
| 1710 |
return 0; |
| 1711 |
} |
| 1712 |
|
| 1713 |
static int |
| 1714 |
Operand_op2p1_decode (uint32 *valp) |
| 1715 |
{ |
| 1716 |
unsigned op2p1_0, op2_0; |
| 1717 |
op2_0 = *valp & 0xf; |
| 1718 |
op2p1_0 = op2_0 + 0x1; |
| 1719 |
*valp = op2p1_0; |
| 1720 |
return 0; |
| 1721 |
} |
| 1722 |
|
| 1723 |
static int |
| 1724 |
Operand_op2p1_encode (uint32 *valp) |
| 1725 |
{ |
| 1726 |
unsigned op2_0, op2p1_0; |
| 1727 |
op2p1_0 = *valp; |
| 1728 |
op2_0 = (op2p1_0 - 0x1) & 0xf; |
| 1729 |
*valp = op2_0; |
| 1730 |
return 0; |
| 1731 |
} |
| 1732 |
|
| 1733 |
static int |
| 1734 |
Operand_label8_decode (uint32 *valp) |
| 1735 |
{ |
| 1736 |
unsigned label8_0, imm8_0; |
| 1737 |
imm8_0 = *valp & 0xff; |
| 1738 |
label8_0 = 0x4 + (((int) imm8_0 << 24) >> 24); |
| 1739 |
*valp = label8_0; |
| 1740 |
return 0; |
| 1741 |
} |
| 1742 |
|
| 1743 |
static int |
| 1744 |
Operand_label8_encode (uint32 *valp) |
| 1745 |
{ |
| 1746 |
unsigned imm8_0, label8_0; |
| 1747 |
label8_0 = *valp; |
| 1748 |
imm8_0 = (label8_0 - 0x4) & 0xff; |
| 1749 |
*valp = imm8_0; |
| 1750 |
return 0; |
| 1751 |
} |
| 1752 |
|
| 1753 |
static int |
| 1754 |
Operand_label8_ator (uint32 *valp, uint32 pc) |
| 1755 |
{ |
| 1756 |
*valp -= pc; |
| 1757 |
return 0; |
| 1758 |
} |
| 1759 |
|
| 1760 |
static int |
| 1761 |
Operand_label8_rtoa (uint32 *valp, uint32 pc) |
| 1762 |
{ |
| 1763 |
*valp += pc; |
| 1764 |
return 0; |
| 1765 |
} |
| 1766 |
|
| 1767 |
static int |
| 1768 |
Operand_label12_decode (uint32 *valp) |
| 1769 |
{ |
| 1770 |
unsigned label12_0, imm12_0; |
| 1771 |
imm12_0 = *valp & 0xfff; |
| 1772 |
label12_0 = 0x4 + (((int) imm12_0 << 20) >> 20); |
| 1773 |
*valp = label12_0; |
| 1774 |
return 0; |
| 1775 |
} |
| 1776 |
|
| 1777 |
static int |
| 1778 |
Operand_label12_encode (uint32 *valp) |
| 1779 |
{ |
| 1780 |
unsigned imm12_0, label12_0; |
| 1781 |
label12_0 = *valp; |
| 1782 |
imm12_0 = (label12_0 - 0x4) & 0xfff; |
| 1783 |
*valp = imm12_0; |
| 1784 |
return 0; |
| 1785 |
} |
| 1786 |
|
| 1787 |
static int |
| 1788 |
Operand_label12_ator (uint32 *valp, uint32 pc) |
| 1789 |
{ |
| 1790 |
*valp -= pc; |
| 1791 |
return 0; |
| 1792 |
} |
| 1793 |
|
| 1794 |
static int |
| 1795 |
Operand_label12_rtoa (uint32 *valp, uint32 pc) |
| 1796 |
{ |
| 1797 |
*valp += pc; |
| 1798 |
return 0; |
| 1799 |
} |
| 1800 |
|
| 1801 |
static int |
| 1802 |
Operand_soffset_decode (uint32 *valp) |
| 1803 |
{ |
| 1804 |
unsigned soffset_0, offset_0; |
| 1805 |
offset_0 = *valp & 0x3ffff; |
| 1806 |
soffset_0 = 0x4 + (((int) offset_0 << 14) >> 14); |
| 1807 |
*valp = soffset_0; |
| 1808 |
return 0; |
| 1809 |
} |
| 1810 |
|
| 1811 |
static int |
| 1812 |
Operand_soffset_encode (uint32 *valp) |
| 1813 |
{ |
| 1814 |
unsigned offset_0, soffset_0; |
| 1815 |
soffset_0 = *valp; |
| 1816 |
offset_0 = (soffset_0 - 0x4) & 0x3ffff; |
| 1817 |
*valp = offset_0; |
| 1818 |
return 0; |
| 1819 |
} |
| 1820 |
|
| 1821 |
static int |
| 1822 |
Operand_soffset_ator (uint32 *valp, uint32 pc) |
| 1823 |
{ |
| 1824 |
*valp -= pc; |
| 1825 |
return 0; |
| 1826 |
} |
| 1827 |
|
| 1828 |
static int |
| 1829 |
Operand_soffset_rtoa (uint32 *valp, uint32 pc) |
| 1830 |
{ |
| 1831 |
*valp += pc; |
| 1832 |
return 0; |
| 1833 |
} |
| 1834 |
|
| 1835 |
static int |
| 1836 |
Operand_uimm16x4_decode (uint32 *valp) |
| 1837 |
{ |
| 1838 |
unsigned uimm16x4_0, imm16_0; |
| 1839 |
imm16_0 = *valp & 0xffff; |
| 1840 |
uimm16x4_0 = (((0xffff) << 16) | imm16_0) << 2; |
| 1841 |
*valp = uimm16x4_0; |
| 1842 |
return 0; |
| 1843 |
} |
| 1844 |
|
| 1845 |
static int |
| 1846 |
Operand_uimm16x4_encode (uint32 *valp) |
| 1847 |
{ |
| 1848 |
unsigned imm16_0, uimm16x4_0; |
| 1849 |
uimm16x4_0 = *valp; |
| 1850 |
imm16_0 = (uimm16x4_0 >> 2) & 0xffff; |
| 1851 |
*valp = imm16_0; |
| 1852 |
return 0; |
| 1853 |
} |
| 1854 |
|
| 1855 |
static int |
| 1856 |
Operand_uimm16x4_ator (uint32 *valp, uint32 pc) |
| 1857 |
{ |
| 1858 |
*valp -= ((pc + 3) & ~0x3); |
| 1859 |
return 0; |
| 1860 |
} |
| 1861 |
|
| 1862 |
static int |
| 1863 |
Operand_uimm16x4_rtoa (uint32 *valp, uint32 pc) |
| 1864 |
{ |
| 1865 |
*valp += ((pc + 3) & ~0x3); |
| 1866 |
return 0; |
| 1867 |
} |
| 1868 |
|
| 1869 |
static int |
| 1870 |
Operand_immt_decode (uint32 *valp) |
| 1871 |
{ |
| 1872 |
unsigned immt_0, t_0; |
| 1873 |
t_0 = *valp & 0xf; |
| 1874 |
immt_0 = t_0; |
| 1875 |
*valp = immt_0; |
| 1876 |
return 0; |
| 1877 |
} |
| 1878 |
|
| 1879 |
static int |
| 1880 |
Operand_immt_encode (uint32 *valp) |
| 1881 |
{ |
| 1882 |
unsigned t_0, immt_0; |
| 1883 |
immt_0 = *valp; |
| 1884 |
t_0 = immt_0 & 0xf; |
| 1885 |
*valp = t_0; |
| 1886 |
return 0; |
| 1887 |
} |
| 1888 |
|
| 1889 |
static int |
| 1890 |
Operand_imms_decode (uint32 *valp) |
| 1891 |
{ |
| 1892 |
unsigned imms_0, s_0; |
| 1893 |
s_0 = *valp & 0xf; |
| 1894 |
imms_0 = s_0; |
| 1895 |
*valp = imms_0; |
| 1896 |
return 0; |
| 1897 |
} |
| 1898 |
|
| 1899 |
static int |
| 1900 |
Operand_imms_encode (uint32 *valp) |
| 1901 |
{ |
| 1902 |
unsigned s_0, imms_0; |
| 1903 |
imms_0 = *valp; |
| 1904 |
s_0 = imms_0 & 0xf; |
| 1905 |
*valp = s_0; |
| 1906 |
return 0; |
| 1907 |
} |
| 1908 |
|
| 1909 |
static int |
| 1910 |
Operand_xt_wbr15_label_decode (uint32 *valp) |
| 1911 |
{ |
| 1912 |
unsigned xt_wbr15_label_0, xt_wbr15_imm_0; |
| 1913 |
xt_wbr15_imm_0 = *valp & 0x7fff; |
| 1914 |
xt_wbr15_label_0 = 0x4 + (((int) xt_wbr15_imm_0 << 17) >> 17); |
| 1915 |
*valp = xt_wbr15_label_0; |
| 1916 |
return 0; |
| 1917 |
} |
| 1918 |
|
| 1919 |
static int |
| 1920 |
Operand_xt_wbr15_label_encode (uint32 *valp) |
| 1921 |
{ |
| 1922 |
unsigned xt_wbr15_imm_0, xt_wbr15_label_0; |
| 1923 |
xt_wbr15_label_0 = *valp; |
| 1924 |
xt_wbr15_imm_0 = (xt_wbr15_label_0 - 0x4) & 0x7fff; |
| 1925 |
*valp = xt_wbr15_imm_0; |
| 1926 |
return 0; |
| 1927 |
} |
| 1928 |
|
| 1929 |
static int |
| 1930 |
Operand_xt_wbr15_label_ator (uint32 *valp, uint32 pc) |
| 1931 |
{ |
| 1932 |
*valp -= pc; |
| 1933 |
return 0; |
| 1934 |
} |
| 1935 |
|
| 1936 |
static int |
| 1937 |
Operand_xt_wbr15_label_rtoa (uint32 *valp, uint32 pc) |
| 1938 |
{ |
| 1939 |
*valp += pc; |
| 1940 |
return 0; |
| 1941 |
} |
| 1942 |
|
| 1943 |
static int |
| 1944 |
Operand_xt_wbr18_label_decode (uint32 *valp) |
| 1945 |
{ |
| 1946 |
unsigned xt_wbr18_label_0, xt_wbr18_imm_0; |
| 1947 |
xt_wbr18_imm_0 = *valp & 0x3ffff; |
| 1948 |
xt_wbr18_label_0 = 0x4 + (((int) xt_wbr18_imm_0 << 14) >> 14); |
| 1949 |
*valp = xt_wbr18_label_0; |
| 1950 |
return 0; |
| 1951 |
} |
| 1952 |
|
| 1953 |
static int |
| 1954 |
Operand_xt_wbr18_label_encode (uint32 *valp) |
| 1955 |
{ |
| 1956 |
unsigned xt_wbr18_imm_0, xt_wbr18_label_0; |
| 1957 |
xt_wbr18_label_0 = *valp; |
| 1958 |
xt_wbr18_imm_0 = (xt_wbr18_label_0 - 0x4) & 0x3ffff; |
| 1959 |
*valp = xt_wbr18_imm_0; |
| 1960 |
return 0; |
| 1961 |
} |
| 1962 |
|
| 1963 |
static int |
| 1964 |
Operand_xt_wbr18_label_ator (uint32 *valp, uint32 pc) |
| 1965 |
{ |
| 1966 |
*valp -= pc; |
| 1967 |
return 0; |
| 1968 |
} |
| 1969 |
|
| 1970 |
static int |
| 1971 |
Operand_xt_wbr18_label_rtoa (uint32 *valp, uint32 pc) |
| 1972 |
{ |
| 1973 |
*valp += pc; |
| 1974 |
return 0; |
| 1975 |
} |
| 1976 |
|
| 1977 |
static xtensa_operand_internal operands[] = { |
| 1978 |
{ "art", FIELD_t, REGFILE_AR, 1, |
| 1979 |
XTENSA_OPERAND_IS_REGISTER, |
| 1980 |
Operand_art_encode, Operand_art_decode, |
| 1981 |
0, 0 }, |
| 1982 |
{ "ars", FIELD_s, REGFILE_AR, 1, |
| 1983 |
XTENSA_OPERAND_IS_REGISTER, |
| 1984 |
Operand_ars_encode, Operand_ars_decode, |
| 1985 |
0, 0 }, |
| 1986 |
{ "*ars_invisible", FIELD_s, REGFILE_AR, 1, |
| 1987 |
XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE, |
| 1988 |
Operand_ars_encode, Operand_ars_decode, |
| 1989 |
0, 0 }, |
| 1990 |
{ "arr", FIELD_r, REGFILE_AR, 1, |
| 1991 |
XTENSA_OPERAND_IS_REGISTER, |
| 1992 |
Operand_arr_encode, Operand_arr_decode, |
| 1993 |
0, 0 }, |
| 1994 |
{ "ar0", FIELD__ar0, REGFILE_AR, 1, |
| 1995 |
XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE, |
| 1996 |
Operand_ar0_encode, Operand_ar0_decode, |
| 1997 |
0, 0 }, |
| 1998 |
{ "soffsetx4", FIELD_offset, -1, 0, |
| 1999 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2000 |
Operand_soffsetx4_encode, Operand_soffsetx4_decode, |
| 2001 |
Operand_soffsetx4_ator, Operand_soffsetx4_rtoa }, |
| 2002 |
{ "lsi4x4", FIELD_r, -1, 0, |
| 2003 |
0, |
| 2004 |
Operand_lsi4x4_encode, Operand_lsi4x4_decode, |
| 2005 |
0, 0 }, |
| 2006 |
{ "simm7", FIELD_imm7, -1, 0, |
| 2007 |
0, |
| 2008 |
Operand_simm7_encode, Operand_simm7_decode, |
| 2009 |
0, 0 }, |
| 2010 |
{ "uimm6", FIELD_imm6, -1, 0, |
| 2011 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2012 |
Operand_uimm6_encode, Operand_uimm6_decode, |
| 2013 |
Operand_uimm6_ator, Operand_uimm6_rtoa }, |
| 2014 |
{ "ai4const", FIELD_t, -1, 0, |
| 2015 |
0, |
| 2016 |
Operand_ai4const_encode, Operand_ai4const_decode, |
| 2017 |
0, 0 }, |
| 2018 |
{ "b4const", FIELD_r, -1, 0, |
| 2019 |
0, |
| 2020 |
Operand_b4const_encode, Operand_b4const_decode, |
| 2021 |
0, 0 }, |
| 2022 |
{ "b4constu", FIELD_r, -1, 0, |
| 2023 |
0, |
| 2024 |
Operand_b4constu_encode, Operand_b4constu_decode, |
| 2025 |
0, 0 }, |
| 2026 |
{ "uimm8", FIELD_imm8, -1, 0, |
| 2027 |
0, |
| 2028 |
Operand_uimm8_encode, Operand_uimm8_decode, |
| 2029 |
0, 0 }, |
| 2030 |
{ "uimm8x2", FIELD_imm8, -1, 0, |
| 2031 |
0, |
| 2032 |
Operand_uimm8x2_encode, Operand_uimm8x2_decode, |
| 2033 |
0, 0 }, |
| 2034 |
{ "uimm8x4", FIELD_imm8, -1, 0, |
| 2035 |
0, |
| 2036 |
Operand_uimm8x4_encode, Operand_uimm8x4_decode, |
| 2037 |
0, 0 }, |
| 2038 |
{ "uimm4x16", FIELD_op2, -1, 0, |
| 2039 |
0, |
| 2040 |
Operand_uimm4x16_encode, Operand_uimm4x16_decode, |
| 2041 |
0, 0 }, |
| 2042 |
{ "simm8", FIELD_imm8, -1, 0, |
| 2043 |
0, |
| 2044 |
Operand_simm8_encode, Operand_simm8_decode, |
| 2045 |
0, 0 }, |
| 2046 |
{ "simm8x256", FIELD_imm8, -1, 0, |
| 2047 |
0, |
| 2048 |
Operand_simm8x256_encode, Operand_simm8x256_decode, |
| 2049 |
0, 0 }, |
| 2050 |
{ "simm12b", FIELD_imm12b, -1, 0, |
| 2051 |
0, |
| 2052 |
Operand_simm12b_encode, Operand_simm12b_decode, |
| 2053 |
0, 0 }, |
| 2054 |
{ "msalp32", FIELD_sal, -1, 0, |
| 2055 |
0, |
| 2056 |
Operand_msalp32_encode, Operand_msalp32_decode, |
| 2057 |
0, 0 }, |
| 2058 |
{ "op2p1", FIELD_op2, -1, 0, |
| 2059 |
0, |
| 2060 |
Operand_op2p1_encode, Operand_op2p1_decode, |
| 2061 |
0, 0 }, |
| 2062 |
{ "label8", FIELD_imm8, -1, 0, |
| 2063 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2064 |
Operand_label8_encode, Operand_label8_decode, |
| 2065 |
Operand_label8_ator, Operand_label8_rtoa }, |
| 2066 |
{ "label12", FIELD_imm12, -1, 0, |
| 2067 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2068 |
Operand_label12_encode, Operand_label12_decode, |
| 2069 |
Operand_label12_ator, Operand_label12_rtoa }, |
| 2070 |
{ "soffset", FIELD_offset, -1, 0, |
| 2071 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2072 |
Operand_soffset_encode, Operand_soffset_decode, |
| 2073 |
Operand_soffset_ator, Operand_soffset_rtoa }, |
| 2074 |
{ "uimm16x4", FIELD_imm16, -1, 0, |
| 2075 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2076 |
Operand_uimm16x4_encode, Operand_uimm16x4_decode, |
| 2077 |
Operand_uimm16x4_ator, Operand_uimm16x4_rtoa }, |
| 2078 |
{ "immt", FIELD_t, -1, 0, |
| 2079 |
0, |
| 2080 |
Operand_immt_encode, Operand_immt_decode, |
| 2081 |
0, 0 }, |
| 2082 |
{ "imms", FIELD_s, -1, 0, |
| 2083 |
0, |
| 2084 |
Operand_imms_encode, Operand_imms_decode, |
| 2085 |
0, 0 }, |
| 2086 |
{ "xt_wbr15_label", FIELD_xt_wbr15_imm, -1, 0, |
| 2087 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2088 |
Operand_xt_wbr15_label_encode, Operand_xt_wbr15_label_decode, |
| 2089 |
Operand_xt_wbr15_label_ator, Operand_xt_wbr15_label_rtoa }, |
| 2090 |
{ "xt_wbr18_label", FIELD_xt_wbr18_imm, -1, 0, |
| 2091 |
XTENSA_OPERAND_IS_PCRELATIVE, |
| 2092 |
Operand_xt_wbr18_label_encode, Operand_xt_wbr18_label_decode, |
| 2093 |
Operand_xt_wbr18_label_ator, Operand_xt_wbr18_label_rtoa }, |
| 2094 |
{ "t", FIELD_t, -1, 0, 0, 0, 0, 0, 0 }, |
| 2095 |
{ "bbi4", FIELD_bbi4, -1, 0, 0, 0, 0, 0, 0 }, |
| 2096 |
{ "bbi", FIELD_bbi, -1, 0, 0, 0, 0, 0, 0 }, |
| 2097 |
{ "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 }, |
| 2098 |
{ "imm8", FIELD_imm8, -1, 0, 0, 0, 0, 0, 0 }, |
| 2099 |
{ "s", FIELD_s, -1, 0, 0, 0, 0, 0, 0 }, |
| 2100 |
{ "imm12b", FIELD_imm12b, -1, 0, 0, 0, 0, 0, 0 }, |
| 2101 |
{ "imm16", FIELD_imm16, -1, 0, 0, 0, 0, 0, 0 }, |
| 2102 |
{ "m", FIELD_m, -1, 0, 0, 0, 0, 0, 0 }, |
| 2103 |
{ "n", FIELD_n, -1, 0, 0, 0, 0, 0, 0 }, |
| 2104 |
{ "offset", FIELD_offset, -1, 0, 0, 0, 0, 0, 0 }, |
| 2105 |
{ "op0", FIELD_op0, -1, 0, 0, 0, 0, 0, 0 }, |
| 2106 |
{ "op1", FIELD_op1, -1, 0, 0, 0, 0, 0, 0 }, |
| 2107 |
{ "op2", FIELD_op2, -1, 0, 0, 0, 0, 0, 0 }, |
| 2108 |
{ "r", FIELD_r, -1, 0, 0, 0, 0, 0, 0 }, |
| 2109 |
{ "sa4", FIELD_sa4, -1, 0, 0, 0, 0, 0, 0 }, |
| 2110 |
{ "sae4", FIELD_sae4, -1, 0, 0, 0, 0, 0, 0 }, |
| 2111 |
{ "sae", FIELD_sae, -1, 0, 0, 0, 0, 0, 0 }, |
| 2112 |
{ "sal", FIELD_sal, -1, 0, 0, 0, 0, 0, 0 }, |
| 2113 |
{ "sargt", FIELD_sargt, -1, 0, 0, 0, 0, 0, 0 }, |
| 2114 |
{ "sas4", FIELD_sas4, -1, 0, 0, 0, 0, 0, 0 }, |
| 2115 |
{ "sas", FIELD_sas, -1, 0, 0, 0, 0, 0, 0 }, |
| 2116 |
{ "sr", FIELD_sr, -1, 0, 0, 0, 0, 0, 0 }, |
| 2117 |
{ "st", FIELD_st, -1, 0, 0, 0, 0, 0, 0 }, |
| 2118 |
{ "thi3", FIELD_thi3, -1, 0, 0, 0, 0, 0, 0 }, |
| 2119 |
{ "imm4", FIELD_imm4, -1, 0, 0, 0, 0, 0, 0 }, |
| 2120 |
{ "i", FIELD_i, -1, 0, 0, 0, 0, 0, 0 }, |
| 2121 |
{ "imm6lo", FIELD_imm6lo, -1, 0, 0, 0, 0, 0, 0 }, |
| 2122 |
{ "imm6hi", FIELD_imm6hi, -1, 0, 0, 0, 0, 0, 0 }, |
| 2123 |
{ "imm7lo", FIELD_imm7lo, -1, 0, 0, 0, 0, 0, 0 }, |
| 2124 |
{ "imm7hi", FIELD_imm7hi, -1, 0, 0, 0, 0, 0, 0 }, |
| 2125 |
{ "z", FIELD_z, -1, 0, 0, 0, 0, 0, 0 }, |
| 2126 |
{ "imm6", FIELD_imm6, -1, 0, 0, 0, 0, 0, 0 }, |
| 2127 |
{ "imm7", FIELD_imm7, -1, 0, 0, 0, 0, 0, 0 }, |
| 2128 |
{ "xt_wbr15_imm", FIELD_xt_wbr15_imm, -1, 0, 0, 0, 0, 0, 0 }, |
| 2129 |
{ "xt_wbr18_imm", FIELD_xt_wbr18_imm, -1, 0, 0, 0, 0, 0, 0 } |
| 2130 |
}; |
| 2131 |
|
| 2132 |
enum xtensa_operand_id { |
| 2133 |
OPERAND_art, |
| 2134 |
OPERAND_ars, |
| 2135 |
OPERAND__ars_invisible, |
| 2136 |
OPERAND_arr, |
| 2137 |
OPERAND_ar0, |
| 2138 |
OPERAND_soffsetx4, |
| 2139 |
OPERAND_lsi4x4, |
| 2140 |
OPERAND_simm7, |
| 2141 |
OPERAND_uimm6, |
| 2142 |
OPERAND_ai4const, |
| 2143 |
OPERAND_b4const, |
| 2144 |
OPERAND_b4constu, |
| 2145 |
OPERAND_uimm8, |
| 2146 |
OPERAND_uimm8x2, |
| 2147 |
OPERAND_uimm8x4, |
| 2148 |
OPERAND_uimm4x16, |
| 2149 |
OPERAND_simm8, |
| 2150 |
OPERAND_simm8x256, |
| 2151 |
OPERAND_simm12b, |
| 2152 |
OPERAND_msalp32, |
| 2153 |
OPERAND_op2p1, |
| 2154 |
OPERAND_label8, |
| 2155 |
OPERAND_label12, |
| 2156 |
OPERAND_soffset, |
| 2157 |
OPERAND_uimm16x4, |
| 2158 |
OPERAND_immt, |
| 2159 |
OPERAND_imms, |
| 2160 |
OPERAND_xt_wbr15_label, |
| 2161 |
OPERAND_xt_wbr18_label, |
| 2162 |
OPERAND_t, |
| 2163 |
OPERAND_bbi4, |
| 2164 |
OPERAND_bbi, |
| 2165 |
OPERAND_imm12, |
| 2166 |
OPERAND_imm8, |
| 2167 |
OPERAND_s, |
| 2168 |
OPERAND_imm12b, |
| 2169 |
OPERAND_imm16, |
| 2170 |
OPERAND_m, |
| 2171 |
OPERAND_n, |
| 2172 |
OPERAND_offset, |
| 2173 |
OPERAND_op0, |
| 2174 |
OPERAND_op1, |
| 2175 |
OPERAND_op2, |
| 2176 |
OPERAND_r, |
| 2177 |
OPERAND_sa4, |
| 2178 |
OPERAND_sae4, |
| 2179 |
OPERAND_sae, |
| 2180 |
OPERAND_sal, |
| 2181 |
OPERAND_sargt, |
| 2182 |
OPERAND_sas4, |
| 2183 |
OPERAND_sas, |
| 2184 |
OPERAND_sr, |
| 2185 |
OPERAND_st, |
| 2186 |
OPERAND_thi3, |
| 2187 |
OPERAND_imm4, |
| 2188 |
OPERAND_i, |
| 2189 |
OPERAND_imm6lo, |
| 2190 |
OPERAND_imm6hi, |
| 2191 |
OPERAND_imm7lo, |
| 2192 |
OPERAND_imm7hi, |
| 2193 |
OPERAND_z, |
| 2194 |
OPERAND_imm6, |
| 2195 |
OPERAND_imm7, |
| 2196 |
OPERAND_xt_wbr15_imm, |
| 2197 |
OPERAND_xt_wbr18_imm |
| 2198 |
}; |
| 2199 |
|
| 2200 |
|
| 2201 |
|
| 2202 |
|
| 2203 |
static xtensa_arg_internal Iclass_xt_iclass_rfe_stateArgs[] = { |
| 2204 |
{ { STATE_PSEXCM }, 'o' }, |
| 2205 |
{ { STATE_EPC1 }, 'i' } |
| 2206 |
}; |
| 2207 |
|
| 2208 |
static xtensa_arg_internal Iclass_xt_iclass_rfde_stateArgs[] = { |
| 2209 |
{ { STATE_DEPC }, 'i' } |
| 2210 |
}; |
| 2211 |
|
| 2212 |
static xtensa_arg_internal Iclass_xt_iclass_add_n_args[] = { |
| 2213 |
{ { OPERAND_arr }, 'o' }, |
| 2214 |
{ { OPERAND_ars }, 'i' }, |
| 2215 |
{ { OPERAND_art }, 'i' } |
| 2216 |
}; |
| 2217 |
|
| 2218 |
static xtensa_arg_internal Iclass_xt_iclass_addi_n_args[] = { |
| 2219 |
{ { OPERAND_arr }, 'o' }, |
| 2220 |
{ { OPERAND_ars }, 'i' }, |
| 2221 |
{ { OPERAND_ai4const }, 'i' } |
| 2222 |
}; |
| 2223 |
|
| 2224 |
static xtensa_arg_internal Iclass_xt_iclass_bz6_args[] = { |
| 2225 |
{ { OPERAND_ars }, 'i' }, |
| 2226 |
{ { OPERAND_uimm6 }, 'i' } |
| 2227 |
}; |
| 2228 |
|
| 2229 |
static xtensa_arg_internal Iclass_xt_iclass_loadi4_args[] = { |
| 2230 |
{ { OPERAND_art }, 'o' }, |
| 2231 |
{ { OPERAND_ars }, 'i' }, |
| 2232 |
{ { OPERAND_lsi4x4 }, 'i' } |
| 2233 |
}; |
| 2234 |
|
| 2235 |
static xtensa_arg_internal Iclass_xt_iclass_mov_n_args[] = { |
| 2236 |
{ { OPERAND_art }, 'o' }, |
| 2237 |
{ { OPERAND_ars }, 'i' } |
| 2238 |
}; |
| 2239 |
|
| 2240 |
static xtensa_arg_internal Iclass_xt_iclass_movi_n_args[] = { |
| 2241 |
{ { OPERAND_ars }, 'o' }, |
| 2242 |
{ { OPERAND_simm7 }, 'i' } |
| 2243 |
}; |
| 2244 |
|
| 2245 |
static xtensa_arg_internal Iclass_xt_iclass_retn_args[] = { |
| 2246 |
{ { OPERAND__ars_invisible }, 'i' } |
| 2247 |
}; |
| 2248 |
|
| 2249 |
static xtensa_arg_internal Iclass_xt_iclass_storei4_args[] = { |
| 2250 |
{ { OPERAND_art }, 'i' }, |
| 2251 |
{ { OPERAND_ars }, 'i' }, |
| 2252 |
{ { OPERAND_lsi4x4 }, 'i' } |
| 2253 |
}; |
| 2254 |
|
| 2255 |
static xtensa_arg_internal Iclass_xt_iclass_addi_args[] = { |
| 2256 |
{ { OPERAND_art }, 'o' }, |
| 2257 |
{ { OPERAND_ars }, 'i' }, |
| 2258 |
{ { OPERAND_simm8 }, 'i' } |
| 2259 |
}; |
| 2260 |
|
| 2261 |
static xtensa_arg_internal Iclass_xt_iclass_addmi_args[] = { |
| 2262 |
{ { OPERAND_art }, 'o' }, |
| 2263 |
{ { OPERAND_ars }, 'i' }, |
| 2264 |
{ { OPERAND_simm8x256 }, 'i' } |
| 2265 |
}; |
| 2266 |
|
| 2267 |
static xtensa_arg_internal Iclass_xt_iclass_addsub_args[] = { |
| 2268 |
{ { OPERAND_arr }, 'o' }, |
| 2269 |
{ { OPERAND_ars }, 'i' }, |
| 2270 |
{ { OPERAND_art }, 'i' } |
| 2271 |
}; |
| 2272 |
|
| 2273 |
static xtensa_arg_internal Iclass_xt_iclass_bit_args[] = { |
| 2274 |
{ { OPERAND_arr }, 'o' }, |
| 2275 |
{ { OPERAND_ars }, 'i' }, |
| 2276 |
{ { OPERAND_art }, 'i' } |
| 2277 |
}; |
| 2278 |
|
| 2279 |
static xtensa_arg_internal Iclass_xt_iclass_bsi8_args[] = { |
| 2280 |
{ { OPERAND_ars }, 'i' }, |
| 2281 |
{ { OPERAND_b4const }, 'i' }, |
| 2282 |
{ { OPERAND_label8 }, 'i' } |
| 2283 |
}; |
| 2284 |
|
| 2285 |
static xtensa_arg_internal Iclass_xt_iclass_bsi8b_args[] = { |
| 2286 |
{ { OPERAND_ars }, 'i' }, |
| 2287 |
{ { OPERAND_bbi }, 'i' }, |
| 2288 |
{ { OPERAND_label8 }, 'i' } |
| 2289 |
}; |
| 2290 |
|
| 2291 |
static xtensa_arg_internal Iclass_xt_iclass_bsi8u_args[] = { |
| 2292 |
{ { OPERAND_ars }, 'i' }, |
| 2293 |
{ { OPERAND_b4constu }, 'i' }, |
| 2294 |
{ { OPERAND_label8 }, 'i' } |
| 2295 |
}; |
| 2296 |
|
| 2297 |
static xtensa_arg_internal Iclass_xt_iclass_bst8_args[] = { |
| 2298 |
{ { OPERAND_ars }, 'i' }, |
| 2299 |
{ { OPERAND_art }, 'i' }, |
| 2300 |
{ { OPERAND_label8 }, 'i' } |
| 2301 |
}; |
| 2302 |
|
| 2303 |
static xtensa_arg_internal Iclass_xt_iclass_bsz12_args[] = { |
| 2304 |
{ { OPERAND_ars }, 'i' }, |
| 2305 |
{ { OPERAND_label12 }, 'i' } |
| 2306 |
}; |
| 2307 |
|
| 2308 |
static xtensa_arg_internal Iclass_xt_iclass_call0_args[] = { |
| 2309 |
{ { OPERAND_soffsetx4 }, 'i' }, |
| 2310 |
{ { OPERAND_ar0 }, 'o' } |
| 2311 |
}; |
| 2312 |
|
| 2313 |
static xtensa_arg_internal Iclass_xt_iclass_callx0_args[] = { |
| 2314 |
{ { OPERAND_ars }, 'i' }, |
| 2315 |
{ { OPERAND_ar0 }, 'o' } |
| 2316 |
}; |
| 2317 |
|
| 2318 |
static xtensa_arg_internal Iclass_xt_iclass_exti_args[] = { |
| 2319 |
{ { OPERAND_arr }, 'o' }, |
| 2320 |
{ { OPERAND_art }, 'i' }, |
| 2321 |
{ { OPERAND_sae }, 'i' }, |
| 2322 |
{ { OPERAND_op2p1 }, 'i' } |
| 2323 |
}; |
| 2324 |
|
| 2325 |
static xtensa_arg_internal Iclass_xt_iclass_jump_args[] = { |
| 2326 |
{ { OPERAND_soffset }, 'i' } |
| 2327 |
}; |
| 2328 |
|
| 2329 |
static xtensa_arg_internal Iclass_xt_iclass_jumpx_args[] = { |
| 2330 |
{ { OPERAND_ars }, 'i' } |
| 2331 |
}; |
| 2332 |
|
| 2333 |
static xtensa_arg_internal Iclass_xt_iclass_l16ui_args[] = { |
| 2334 |
{ { OPERAND_art }, 'o' }, |
| 2335 |
{ { OPERAND_ars }, 'i' }, |
| 2336 |
{ { OPERAND_uimm8x2 }, 'i' } |
| 2337 |
}; |
| 2338 |
|
| 2339 |
static xtensa_arg_internal Iclass_xt_iclass_l16si_args[] = { |
| 2340 |
{ { OPERAND_art }, 'o' }, |
| 2341 |
{ { OPERAND_ars }, 'i' }, |
| 2342 |
{ { OPERAND_uimm8x2 }, 'i' } |
| 2343 |
}; |
| 2344 |
|
| 2345 |
static xtensa_arg_internal Iclass_xt_iclass_l32i_args[] = { |
| 2346 |
{ { OPERAND_art }, 'o' }, |
| 2347 |
{ { OPERAND_ars }, 'i' }, |
| 2348 |
{ { OPERAND_uimm8x4 }, 'i' } |
| 2349 |
}; |
| 2350 |
|
| 2351 |
static xtensa_arg_internal Iclass_xt_iclass_l32r_args[] = { |
| 2352 |
{ { OPERAND_art }, 'o' }, |
| 2353 |
{ { OPERAND_uimm16x4 }, 'i' } |
| 2354 |
}; |
| 2355 |
|
| 2356 |
static xtensa_arg_internal Iclass_xt_iclass_l32r_stateArgs[] = { |
| 2357 |
{ { STATE_LITBADDR }, 'i' }, |
| 2358 |
{ { STATE_LITBEN }, 'i' } |
| 2359 |
}; |
| 2360 |
|
| 2361 |
static xtensa_arg_internal Iclass_xt_iclass_l8i_args[] = { |
| 2362 |
{ { OPERAND_art }, 'o' }, |
| 2363 |
{ { OPERAND_ars }, 'i' }, |
| 2364 |
{ { OPERAND_uimm8 }, 'i' } |
| 2365 |
}; |
| 2366 |
|
| 2367 |
static xtensa_arg_internal Iclass_xt_iclass_movi_args[] = { |
| 2368 |
{ { OPERAND_art }, 'o' }, |
| 2369 |
{ { OPERAND_simm12b }, 'i' } |
| 2370 |
}; |
| 2371 |
|
| 2372 |
static xtensa_arg_internal Iclass_xt_iclass_movz_args[] = { |
| 2373 |
{ { OPERAND_arr }, 'm' }, |
| 2374 |
{ { OPERAND_ars }, 'i' }, |
| 2375 |
{ { OPERAND_art }, 'i' } |
| 2376 |
}; |
| 2377 |
|
| 2378 |
static xtensa_arg_internal Iclass_xt_iclass_neg_args[] = { |
| 2379 |
{ { OPERAND_arr }, 'o' }, |
| 2380 |
{ { OPERAND_art }, 'i' } |
| 2381 |
}; |
| 2382 |
|
| 2383 |
static xtensa_arg_internal Iclass_xt_iclass_return_args[] = { |
| 2384 |
{ { OPERAND__ars_invisible }, 'i' } |
| 2385 |
}; |
| 2386 |
|
| 2387 |
static xtensa_arg_internal Iclass_xt_iclass_s16i_args[] = { |
| 2388 |
{ { OPERAND_art }, 'i' }, |
| 2389 |
{ { OPERAND_ars }, 'i' }, |
| 2390 |
{ { OPERAND_uimm8x2 }, 'i' } |
| 2391 |
}; |
| 2392 |
|
| 2393 |
static xtensa_arg_internal Iclass_xt_iclass_s32i_args[] = { |
| 2394 |
{ { OPERAND_art }, 'i' }, |
| 2395 |
{ { OPERAND_ars }, 'i' }, |
| 2396 |
{ { OPERAND_uimm8x4 }, 'i' } |
| 2397 |
}; |
| 2398 |
|
| 2399 |
static xtensa_arg_internal Iclass_xt_iclass_s8i_args[] = { |
| 2400 |
{ { OPERAND_art }, 'i' }, |
| 2401 |
{ { OPERAND_ars }, 'i' }, |
| 2402 |
{ { OPERAND_uimm8 }, 'i' } |
| 2403 |
}; |
| 2404 |
|
| 2405 |
static xtensa_arg_internal Iclass_xt_iclass_sar_args[] = { |
| 2406 |
{ { OPERAND_ars }, 'i' } |
| 2407 |
}; |
| 2408 |
|
| 2409 |
static xtensa_arg_internal Iclass_xt_iclass_sar_stateArgs[] = { |
| 2410 |
{ { STATE_SAR }, 'o' } |
| 2411 |
}; |
| 2412 |
|
| 2413 |
static xtensa_arg_internal Iclass_xt_iclass_sari_args[] = { |
| 2414 |
{ { OPERAND_sas }, 'i' } |
| 2415 |
}; |
| 2416 |
|
| 2417 |
static xtensa_arg_internal Iclass_xt_iclass_sari_stateArgs[] = { |
| 2418 |
{ { STATE_SAR }, 'o' } |
| 2419 |
}; |
| 2420 |
|
| 2421 |
static xtensa_arg_internal Iclass_xt_iclass_shifts_args[] = { |
| 2422 |
{ { OPERAND_arr }, 'o' }, |
| 2423 |
{ { OPERAND_ars }, 'i' } |
| 2424 |
}; |
| 2425 |
|
| 2426 |
static xtensa_arg_internal Iclass_xt_iclass_shifts_stateArgs[] = { |
| 2427 |
{ { STATE_SAR }, 'i' } |
| 2428 |
}; |
| 2429 |
|
| 2430 |
static xtensa_arg_internal Iclass_xt_iclass_shiftst_args[] = { |
| 2431 |
{ { OPERAND_arr }, 'o' }, |
| 2432 |
{ { OPERAND_ars }, 'i' }, |
| 2433 |
{ { OPERAND_art }, 'i' } |
| 2434 |
}; |
| 2435 |
|
| 2436 |
static xtensa_arg_internal Iclass_xt_iclass_shiftst_stateArgs[] = { |
| 2437 |
{ { STATE_SAR }, 'i' } |
| 2438 |
}; |
| 2439 |
|
| 2440 |
static xtensa_arg_internal Iclass_xt_iclass_shiftt_args[] = { |
| 2441 |
{ { OPERAND_arr }, 'o' }, |
| 2442 |
{ { OPERAND_art }, 'i' } |
| 2443 |
}; |
| 2444 |
|
| 2445 |
static xtensa_arg_internal Iclass_xt_iclass_shiftt_stateArgs[] = { |
| 2446 |
{ { STATE_SAR }, 'i' } |
| 2447 |
}; |
| 2448 |
|
| 2449 |
static xtensa_arg_internal Iclass_xt_iclass_slli_args[] = { |
| 2450 |
{ { OPERAND_arr }, 'o' }, |
| 2451 |
{ { OPERAND_ars }, 'i' }, |
| 2452 |
{ { OPERAND_msalp32 }, 'i' } |
| 2453 |
}; |
| 2454 |
|
| 2455 |
static xtensa_arg_internal Iclass_xt_iclass_srai_args[] = { |
| 2456 |
{ { OPERAND_arr }, 'o' }, |
| 2457 |
{ { OPERAND_art }, 'i' }, |
| 2458 |
{ { OPERAND_sargt }, 'i' } |
| 2459 |
}; |
| 2460 |
|
| 2461 |
static xtensa_arg_internal Iclass_xt_iclass_srli_args[] = { |
| 2462 |
{ { OPERAND_arr }, 'o' }, |
| 2463 |
{ { OPERAND_art }, 'i' }, |
| 2464 |
{ { OPERAND_s }, 'i' } |
| 2465 |
}; |
| 2466 |
|
| 2467 |
static xtensa_arg_internal Iclass_xt_iclass_sync_stateArgs[] = { |
| 2468 |
{ { STATE_XTSYNC }, 'i' } |
| 2469 |
}; |
| 2470 |
|
| 2471 |
static xtensa_arg_internal Iclass_xt_iclass_rsil_args[] = { |
| 2472 |
{ { OPERAND_art }, 'o' }, |
| 2473 |
{ { OPERAND_s }, 'i' } |
| 2474 |
}; |
| 2475 |
|
| 2476 |
static xtensa_arg_internal Iclass_xt_iclass_rsil_stateArgs[] = { |
| 2477 |
{ { STATE_PSUM }, 'i' }, |
| 2478 |
{ { STATE_PSEXCM }, 'i' }, |
| 2479 |
{ { STATE_PSINTLEVEL }, 'm' } |
| 2480 |
}; |
| 2481 |
|
| 2482 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_sar_args[] = { |
| 2483 |
{ { OPERAND_art }, 'o' } |
| 2484 |
}; |
| 2485 |
|
| 2486 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_sar_stateArgs[] = { |
| 2487 |
{ { STATE_SAR }, 'i' } |
| 2488 |
}; |
| 2489 |
|
| 2490 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_sar_args[] = { |
| 2491 |
{ { OPERAND_art }, 'i' } |
| 2492 |
}; |
| 2493 |
|
| 2494 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_sar_stateArgs[] = { |
| 2495 |
{ { STATE_SAR }, 'o' }, |
| 2496 |
{ { STATE_XTSYNC }, 'o' } |
| 2497 |
}; |
| 2498 |
|
| 2499 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_sar_args[] = { |
| 2500 |
{ { OPERAND_art }, 'm' } |
| 2501 |
}; |
| 2502 |
|
| 2503 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_sar_stateArgs[] = { |
| 2504 |
{ { STATE_SAR }, 'm' } |
| 2505 |
}; |
| 2506 |
|
| 2507 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_litbase_args[] = { |
| 2508 |
{ { OPERAND_art }, 'o' } |
| 2509 |
}; |
| 2510 |
|
| 2511 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_litbase_stateArgs[] = { |
| 2512 |
{ { STATE_LITBADDR }, 'i' }, |
| 2513 |
{ { STATE_LITBEN }, 'i' } |
| 2514 |
}; |
| 2515 |
|
| 2516 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_litbase_args[] = { |
| 2517 |
{ { OPERAND_art }, 'i' } |
| 2518 |
}; |
| 2519 |
|
| 2520 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_litbase_stateArgs[] = { |
| 2521 |
{ { STATE_LITBADDR }, 'o' }, |
| 2522 |
{ { STATE_LITBEN }, 'o' } |
| 2523 |
}; |
| 2524 |
|
| 2525 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_litbase_args[] = { |
| 2526 |
{ { OPERAND_art }, 'm' } |
| 2527 |
}; |
| 2528 |
|
| 2529 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_litbase_stateArgs[] = { |
| 2530 |
{ { STATE_LITBADDR }, 'm' }, |
| 2531 |
{ { STATE_LITBEN }, 'm' } |
| 2532 |
}; |
| 2533 |
|
| 2534 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_176_args[] = { |
| 2535 |
{ { OPERAND_art }, 'o' } |
| 2536 |
}; |
| 2537 |
|
| 2538 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_176_args[] = { |
| 2539 |
{ { OPERAND_art }, 'i' } |
| 2540 |
}; |
| 2541 |
|
| 2542 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_208_args[] = { |
| 2543 |
{ { OPERAND_art }, 'o' } |
| 2544 |
}; |
| 2545 |
|
| 2546 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ps_args[] = { |
| 2547 |
{ { OPERAND_art }, 'o' } |
| 2548 |
}; |
| 2549 |
|
| 2550 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ps_stateArgs[] = { |
| 2551 |
{ { STATE_PSUM }, 'i' }, |
| 2552 |
{ { STATE_PSEXCM }, 'i' }, |
| 2553 |
{ { STATE_PSINTLEVEL }, 'i' } |
| 2554 |
}; |
| 2555 |
|
| 2556 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ps_args[] = { |
| 2557 |
{ { OPERAND_art }, 'i' } |
| 2558 |
}; |
| 2559 |
|
| 2560 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ps_stateArgs[] = { |
| 2561 |
{ { STATE_PSUM }, 'o' }, |
| 2562 |
{ { STATE_PSEXCM }, 'o' }, |
| 2563 |
{ { STATE_PSINTLEVEL }, 'o' } |
| 2564 |
}; |
| 2565 |
|
| 2566 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ps_args[] = { |
| 2567 |
{ { OPERAND_art }, 'm' } |
| 2568 |
}; |
| 2569 |
|
| 2570 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ps_stateArgs[] = { |
| 2571 |
{ { STATE_PSUM }, 'm' }, |
| 2572 |
{ { STATE_PSEXCM }, 'm' }, |
| 2573 |
{ { STATE_PSINTLEVEL }, 'm' } |
| 2574 |
}; |
| 2575 |
|
| 2576 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_epc1_args[] = { |
| 2577 |
{ { OPERAND_art }, 'o' } |
| 2578 |
}; |
| 2579 |
|
| 2580 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_epc1_stateArgs[] = { |
| 2581 |
{ { STATE_EPC1 }, 'i' } |
| 2582 |
}; |
| 2583 |
|
| 2584 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_epc1_args[] = { |
| 2585 |
{ { OPERAND_art }, 'i' } |
| 2586 |
}; |
| 2587 |
|
| 2588 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_epc1_stateArgs[] = { |
| 2589 |
{ { STATE_EPC1 }, 'o' } |
| 2590 |
}; |
| 2591 |
|
| 2592 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_epc1_args[] = { |
| 2593 |
{ { OPERAND_art }, 'm' } |
| 2594 |
}; |
| 2595 |
|
| 2596 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_epc1_stateArgs[] = { |
| 2597 |
{ { STATE_EPC1 }, 'm' } |
| 2598 |
}; |
| 2599 |
|
| 2600 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave1_args[] = { |
| 2601 |
{ { OPERAND_art }, 'o' } |
| 2602 |
}; |
| 2603 |
|
| 2604 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave1_stateArgs[] = { |
| 2605 |
{ { STATE_EXCSAVE1 }, 'i' } |
| 2606 |
}; |
| 2607 |
|
| 2608 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave1_args[] = { |
| 2609 |
{ { OPERAND_art }, 'i' } |
| 2610 |
}; |
| 2611 |
|
| 2612 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave1_stateArgs[] = { |
| 2613 |
{ { STATE_EXCSAVE1 }, 'o' } |
| 2614 |
}; |
| 2615 |
|
| 2616 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave1_args[] = { |
| 2617 |
{ { OPERAND_art }, 'm' } |
| 2618 |
}; |
| 2619 |
|
| 2620 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave1_stateArgs[] = { |
| 2621 |
{ { STATE_EXCSAVE1 }, 'm' } |
| 2622 |
}; |
| 2623 |
|
| 2624 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_epc2_args[] = { |
| 2625 |
{ { OPERAND_art }, 'o' } |
| 2626 |
}; |
| 2627 |
|
| 2628 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_epc2_stateArgs[] = { |
| 2629 |
{ { STATE_EPC2 }, 'i' } |
| 2630 |
}; |
| 2631 |
|
| 2632 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_epc2_args[] = { |
| 2633 |
{ { OPERAND_art }, 'i' } |
| 2634 |
}; |
| 2635 |
|
| 2636 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_epc2_stateArgs[] = { |
| 2637 |
{ { STATE_EPC2 }, 'o' } |
| 2638 |
}; |
| 2639 |
|
| 2640 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_epc2_args[] = { |
| 2641 |
{ { OPERAND_art }, 'm' } |
| 2642 |
}; |
| 2643 |
|
| 2644 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_epc2_stateArgs[] = { |
| 2645 |
{ { STATE_EPC2 }, 'm' } |
| 2646 |
}; |
| 2647 |
|
| 2648 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave2_args[] = { |
| 2649 |
{ { OPERAND_art }, 'o' } |
| 2650 |
}; |
| 2651 |
|
| 2652 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave2_stateArgs[] = { |
| 2653 |
{ { STATE_EXCSAVE2 }, 'i' } |
| 2654 |
}; |
| 2655 |
|
| 2656 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave2_args[] = { |
| 2657 |
{ { OPERAND_art }, 'i' } |
| 2658 |
}; |
| 2659 |
|
| 2660 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave2_stateArgs[] = { |
| 2661 |
{ { STATE_EXCSAVE2 }, 'o' } |
| 2662 |
}; |
| 2663 |
|
| 2664 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave2_args[] = { |
| 2665 |
{ { OPERAND_art }, 'm' } |
| 2666 |
}; |
| 2667 |
|
| 2668 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave2_stateArgs[] = { |
| 2669 |
{ { STATE_EXCSAVE2 }, 'm' } |
| 2670 |
}; |
| 2671 |
|
| 2672 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_epc3_args[] = { |
| 2673 |
{ { OPERAND_art }, 'o' } |
| 2674 |
}; |
| 2675 |
|
| 2676 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_epc3_stateArgs[] = { |
| 2677 |
{ { STATE_EPC3 }, 'i' } |
| 2678 |
}; |
| 2679 |
|
| 2680 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_epc3_args[] = { |
| 2681 |
{ { OPERAND_art }, 'i' } |
| 2682 |
}; |
| 2683 |
|
| 2684 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_epc3_stateArgs[] = { |
| 2685 |
{ { STATE_EPC3 }, 'o' } |
| 2686 |
}; |
| 2687 |
|
| 2688 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_epc3_args[] = { |
| 2689 |
{ { OPERAND_art }, 'm' } |
| 2690 |
}; |
| 2691 |
|
| 2692 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_epc3_stateArgs[] = { |
| 2693 |
{ { STATE_EPC3 }, 'm' } |
| 2694 |
}; |
| 2695 |
|
| 2696 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave3_args[] = { |
| 2697 |
{ { OPERAND_art }, 'o' } |
| 2698 |
}; |
| 2699 |
|
| 2700 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave3_stateArgs[] = { |
| 2701 |
{ { STATE_EXCSAVE3 }, 'i' } |
| 2702 |
}; |
| 2703 |
|
| 2704 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave3_args[] = { |
| 2705 |
{ { OPERAND_art }, 'i' } |
| 2706 |
}; |
| 2707 |
|
| 2708 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave3_stateArgs[] = { |
| 2709 |
{ { STATE_EXCSAVE3 }, 'o' } |
| 2710 |
}; |
| 2711 |
|
| 2712 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave3_args[] = { |
| 2713 |
{ { OPERAND_art }, 'm' } |
| 2714 |
}; |
| 2715 |
|
| 2716 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave3_stateArgs[] = { |
| 2717 |
{ { STATE_EXCSAVE3 }, 'm' } |
| 2718 |
}; |
| 2719 |
|
| 2720 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_eps2_args[] = { |
| 2721 |
{ { OPERAND_art }, 'o' } |
| 2722 |
}; |
| 2723 |
|
| 2724 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_eps2_stateArgs[] = { |
| 2725 |
{ { STATE_EPS2 }, 'i' } |
| 2726 |
}; |
| 2727 |
|
| 2728 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_eps2_args[] = { |
| 2729 |
{ { OPERAND_art }, 'i' } |
| 2730 |
}; |
| 2731 |
|
| 2732 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_eps2_stateArgs[] = { |
| 2733 |
{ { STATE_EPS2 }, 'o' } |
| 2734 |
}; |
| 2735 |
|
| 2736 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_eps2_args[] = { |
| 2737 |
{ { OPERAND_art }, 'm' } |
| 2738 |
}; |
| 2739 |
|
| 2740 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_eps2_stateArgs[] = { |
| 2741 |
{ { STATE_EPS2 }, 'm' } |
| 2742 |
}; |
| 2743 |
|
| 2744 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_eps3_args[] = { |
| 2745 |
{ { OPERAND_art }, 'o' } |
| 2746 |
}; |
| 2747 |
|
| 2748 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_eps3_stateArgs[] = { |
| 2749 |
{ { STATE_EPS3 }, 'i' } |
| 2750 |
}; |
| 2751 |
|
| 2752 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_eps3_args[] = { |
| 2753 |
{ { OPERAND_art }, 'i' } |
| 2754 |
}; |
| 2755 |
|
| 2756 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_eps3_stateArgs[] = { |
| 2757 |
{ { STATE_EPS3 }, 'o' } |
| 2758 |
}; |
| 2759 |
|
| 2760 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_eps3_args[] = { |
| 2761 |
{ { OPERAND_art }, 'm' } |
| 2762 |
}; |
| 2763 |
|
| 2764 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_eps3_stateArgs[] = { |
| 2765 |
{ { STATE_EPS3 }, 'm' } |
| 2766 |
}; |
| 2767 |
|
| 2768 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excvaddr_args[] = { |
| 2769 |
{ { OPERAND_art }, 'o' } |
| 2770 |
}; |
| 2771 |
|
| 2772 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_excvaddr_stateArgs[] = { |
| 2773 |
{ { STATE_EXCVADDR }, 'i' } |
| 2774 |
}; |
| 2775 |
|
| 2776 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excvaddr_args[] = { |
| 2777 |
{ { OPERAND_art }, 'i' } |
| 2778 |
}; |
| 2779 |
|
| 2780 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_excvaddr_stateArgs[] = { |
| 2781 |
{ { STATE_EXCVADDR }, 'o' } |
| 2782 |
}; |
| 2783 |
|
| 2784 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excvaddr_args[] = { |
| 2785 |
{ { OPERAND_art }, 'm' } |
| 2786 |
}; |
| 2787 |
|
| 2788 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_excvaddr_stateArgs[] = { |
| 2789 |
{ { STATE_EXCVADDR }, 'm' } |
| 2790 |
}; |
| 2791 |
|
| 2792 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_depc_args[] = { |
| 2793 |
{ { OPERAND_art }, 'o' } |
| 2794 |
}; |
| 2795 |
|
| 2796 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_depc_stateArgs[] = { |
| 2797 |
{ { STATE_DEPC }, 'i' } |
| 2798 |
}; |
| 2799 |
|
| 2800 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_depc_args[] = { |
| 2801 |
{ { OPERAND_art }, 'i' } |
| 2802 |
}; |
| 2803 |
|
| 2804 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_depc_stateArgs[] = { |
| 2805 |
{ { STATE_DEPC }, 'o' } |
| 2806 |
}; |
| 2807 |
|
| 2808 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_depc_args[] = { |
| 2809 |
{ { OPERAND_art }, 'm' } |
| 2810 |
}; |
| 2811 |
|
| 2812 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_depc_stateArgs[] = { |
| 2813 |
{ { STATE_DEPC }, 'm' } |
| 2814 |
}; |
| 2815 |
|
| 2816 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_exccause_args[] = { |
| 2817 |
{ { OPERAND_art }, 'o' } |
| 2818 |
}; |
| 2819 |
|
| 2820 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_exccause_stateArgs[] = { |
| 2821 |
{ { STATE_EXCCAUSE }, 'i' }, |
| 2822 |
{ { STATE_XTSYNC }, 'i' } |
| 2823 |
}; |
| 2824 |
|
| 2825 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_exccause_args[] = { |
| 2826 |
{ { OPERAND_art }, 'i' } |
| 2827 |
}; |
| 2828 |
|
| 2829 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_exccause_stateArgs[] = { |
| 2830 |
{ { STATE_EXCCAUSE }, 'o' } |
| 2831 |
}; |
| 2832 |
|
| 2833 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_exccause_args[] = { |
| 2834 |
{ { OPERAND_art }, 'm' } |
| 2835 |
}; |
| 2836 |
|
| 2837 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_exccause_stateArgs[] = { |
| 2838 |
{ { STATE_EXCCAUSE }, 'm' } |
| 2839 |
}; |
| 2840 |
|
| 2841 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_prid_args[] = { |
| 2842 |
{ { OPERAND_art }, 'o' } |
| 2843 |
}; |
| 2844 |
|
| 2845 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_vecbase_args[] = { |
| 2846 |
{ { OPERAND_art }, 'o' } |
| 2847 |
}; |
| 2848 |
|
| 2849 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_vecbase_stateArgs[] = { |
| 2850 |
{ { STATE_VECBASE }, 'i' } |
| 2851 |
}; |
| 2852 |
|
| 2853 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_vecbase_args[] = { |
| 2854 |
{ { OPERAND_art }, 'i' } |
| 2855 |
}; |
| 2856 |
|
| 2857 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_vecbase_stateArgs[] = { |
| 2858 |
{ { STATE_VECBASE }, 'o' } |
| 2859 |
}; |
| 2860 |
|
| 2861 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_vecbase_args[] = { |
| 2862 |
{ { OPERAND_art }, 'm' } |
| 2863 |
}; |
| 2864 |
|
| 2865 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_vecbase_stateArgs[] = { |
| 2866 |
{ { STATE_VECBASE }, 'm' } |
| 2867 |
}; |
| 2868 |
|
| 2869 |
static xtensa_arg_internal Iclass_xt_mul16_args[] = { |
| 2870 |
{ { OPERAND_arr }, 'o' }, |
| 2871 |
{ { OPERAND_ars }, 'i' }, |
| 2872 |
{ { OPERAND_art }, 'i' } |
| 2873 |
}; |
| 2874 |
|
| 2875 |
static xtensa_arg_internal Iclass_xt_mul32_args[] = { |
| 2876 |
{ { OPERAND_arr }, 'o' }, |
| 2877 |
{ { OPERAND_ars }, 'i' }, |
| 2878 |
{ { OPERAND_art }, 'i' } |
| 2879 |
}; |
| 2880 |
|
| 2881 |
static xtensa_arg_internal Iclass_xt_iclass_rfi_args[] = { |
| 2882 |
{ { OPERAND_s }, 'i' } |
| 2883 |
}; |
| 2884 |
|
| 2885 |
static xtensa_arg_internal Iclass_xt_iclass_rfi_stateArgs[] = { |
| 2886 |
{ { STATE_PSUM }, 'o' }, |
| 2887 |
{ { STATE_PSEXCM }, 'o' }, |
| 2888 |
{ { STATE_PSINTLEVEL }, 'o' }, |
| 2889 |
{ { STATE_EPC1 }, 'i' }, |
| 2890 |
{ { STATE_EPC2 }, 'i' }, |
| 2891 |
{ { STATE_EPC3 }, 'i' }, |
| 2892 |
{ { STATE_EPS2 }, 'i' }, |
| 2893 |
{ { STATE_EPS3 }, 'i' }, |
| 2894 |
{ { STATE_InOCDMode }, 'm' } |
| 2895 |
}; |
| 2896 |
|
| 2897 |
static xtensa_arg_internal Iclass_xt_iclass_wait_args[] = { |
| 2898 |
{ { OPERAND_s }, 'i' } |
| 2899 |
}; |
| 2900 |
|
| 2901 |
static xtensa_arg_internal Iclass_xt_iclass_wait_stateArgs[] = { |
| 2902 |
{ { STATE_PSINTLEVEL }, 'o' } |
| 2903 |
}; |
| 2904 |
|
| 2905 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_interrupt_args[] = { |
| 2906 |
{ { OPERAND_art }, 'o' } |
| 2907 |
}; |
| 2908 |
|
| 2909 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_interrupt_stateArgs[] = { |
| 2910 |
{ { STATE_INTERRUPT }, 'i' } |
| 2911 |
}; |
| 2912 |
|
| 2913 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_intset_args[] = { |
| 2914 |
{ { OPERAND_art }, 'i' } |
| 2915 |
}; |
| 2916 |
|
| 2917 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_intset_stateArgs[] = { |
| 2918 |
{ { STATE_XTSYNC }, 'o' }, |
| 2919 |
{ { STATE_INTERRUPT }, 'm' } |
| 2920 |
}; |
| 2921 |
|
| 2922 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_intclear_args[] = { |
| 2923 |
{ { OPERAND_art }, 'i' } |
| 2924 |
}; |
| 2925 |
|
| 2926 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_intclear_stateArgs[] = { |
| 2927 |
{ { STATE_XTSYNC }, 'o' }, |
| 2928 |
{ { STATE_INTERRUPT }, 'm' } |
| 2929 |
}; |
| 2930 |
|
| 2931 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_intenable_args[] = { |
| 2932 |
{ { OPERAND_art }, 'o' } |
| 2933 |
}; |
| 2934 |
|
| 2935 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_intenable_stateArgs[] = { |
| 2936 |
{ { STATE_INTENABLE }, 'i' } |
| 2937 |
}; |
| 2938 |
|
| 2939 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_intenable_args[] = { |
| 2940 |
{ { OPERAND_art }, 'i' } |
| 2941 |
}; |
| 2942 |
|
| 2943 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_intenable_stateArgs[] = { |
| 2944 |
{ { STATE_INTENABLE }, 'o' } |
| 2945 |
}; |
| 2946 |
|
| 2947 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_intenable_args[] = { |
| 2948 |
{ { OPERAND_art }, 'm' } |
| 2949 |
}; |
| 2950 |
|
| 2951 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_intenable_stateArgs[] = { |
| 2952 |
{ { STATE_INTENABLE }, 'm' } |
| 2953 |
}; |
| 2954 |
|
| 2955 |
static xtensa_arg_internal Iclass_xt_iclass_break_args[] = { |
| 2956 |
{ { OPERAND_imms }, 'i' }, |
| 2957 |
{ { OPERAND_immt }, 'i' } |
| 2958 |
}; |
| 2959 |
|
| 2960 |
static xtensa_arg_internal Iclass_xt_iclass_break_stateArgs[] = { |
| 2961 |
{ { STATE_PSEXCM }, 'i' }, |
| 2962 |
{ { STATE_PSINTLEVEL }, 'i' } |
| 2963 |
}; |
| 2964 |
|
| 2965 |
static xtensa_arg_internal Iclass_xt_iclass_break_n_args[] = { |
| 2966 |
{ { OPERAND_imms }, 'i' } |
| 2967 |
}; |
| 2968 |
|
| 2969 |
static xtensa_arg_internal Iclass_xt_iclass_break_n_stateArgs[] = { |
| 2970 |
{ { STATE_PSEXCM }, 'i' }, |
| 2971 |
{ { STATE_PSINTLEVEL }, 'i' } |
| 2972 |
}; |
| 2973 |
|
| 2974 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka0_args[] = { |
| 2975 |
{ { OPERAND_art }, 'o' } |
| 2976 |
}; |
| 2977 |
|
| 2978 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka0_stateArgs[] = { |
| 2979 |
{ { STATE_DBREAKA0 }, 'i' } |
| 2980 |
}; |
| 2981 |
|
| 2982 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka0_args[] = { |
| 2983 |
{ { OPERAND_art }, 'i' } |
| 2984 |
}; |
| 2985 |
|
| 2986 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka0_stateArgs[] = { |
| 2987 |
{ { STATE_DBREAKA0 }, 'o' }, |
| 2988 |
{ { STATE_XTSYNC }, 'o' } |
| 2989 |
}; |
| 2990 |
|
| 2991 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka0_args[] = { |
| 2992 |
{ { OPERAND_art }, 'm' } |
| 2993 |
}; |
| 2994 |
|
| 2995 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka0_stateArgs[] = { |
| 2996 |
{ { STATE_DBREAKA0 }, 'm' }, |
| 2997 |
{ { STATE_XTSYNC }, 'o' } |
| 2998 |
}; |
| 2999 |
|
| 3000 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc0_args[] = { |
| 3001 |
{ { OPERAND_art }, 'o' } |
| 3002 |
}; |
| 3003 |
|
| 3004 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc0_stateArgs[] = { |
| 3005 |
{ { STATE_DBREAKC0 }, 'i' } |
| 3006 |
}; |
| 3007 |
|
| 3008 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc0_args[] = { |
| 3009 |
{ { OPERAND_art }, 'i' } |
| 3010 |
}; |
| 3011 |
|
| 3012 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc0_stateArgs[] = { |
| 3013 |
{ { STATE_DBREAKC0 }, 'o' }, |
| 3014 |
{ { STATE_XTSYNC }, 'o' } |
| 3015 |
}; |
| 3016 |
|
| 3017 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc0_args[] = { |
| 3018 |
{ { OPERAND_art }, 'm' } |
| 3019 |
}; |
| 3020 |
|
| 3021 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc0_stateArgs[] = { |
| 3022 |
{ { STATE_DBREAKC0 }, 'm' }, |
| 3023 |
{ { STATE_XTSYNC }, 'o' } |
| 3024 |
}; |
| 3025 |
|
| 3026 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka0_args[] = { |
| 3027 |
{ { OPERAND_art }, 'o' } |
| 3028 |
}; |
| 3029 |
|
| 3030 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka0_stateArgs[] = { |
| 3031 |
{ { STATE_IBREAKA0 }, 'i' } |
| 3032 |
}; |
| 3033 |
|
| 3034 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka0_args[] = { |
| 3035 |
{ { OPERAND_art }, 'i' } |
| 3036 |
}; |
| 3037 |
|
| 3038 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka0_stateArgs[] = { |
| 3039 |
{ { STATE_IBREAKA0 }, 'o' } |
| 3040 |
}; |
| 3041 |
|
| 3042 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka0_args[] = { |
| 3043 |
{ { OPERAND_art }, 'm' } |
| 3044 |
}; |
| 3045 |
|
| 3046 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka0_stateArgs[] = { |
| 3047 |
{ { STATE_IBREAKA0 }, 'm' } |
| 3048 |
}; |
| 3049 |
|
| 3050 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreakenable_args[] = { |
| 3051 |
{ { OPERAND_art }, 'o' } |
| 3052 |
}; |
| 3053 |
|
| 3054 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreakenable_stateArgs[] = { |
| 3055 |
{ { STATE_IBREAKENABLE }, 'i' } |
| 3056 |
}; |
| 3057 |
|
| 3058 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreakenable_args[] = { |
| 3059 |
{ { OPERAND_art }, 'i' } |
| 3060 |
}; |
| 3061 |
|
| 3062 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreakenable_stateArgs[] = { |
| 3063 |
{ { STATE_IBREAKENABLE }, 'o' } |
| 3064 |
}; |
| 3065 |
|
| 3066 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreakenable_args[] = { |
| 3067 |
{ { OPERAND_art }, 'm' } |
| 3068 |
}; |
| 3069 |
|
| 3070 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreakenable_stateArgs[] = { |
| 3071 |
{ { STATE_IBREAKENABLE }, 'm' } |
| 3072 |
}; |
| 3073 |
|
| 3074 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_debugcause_args[] = { |
| 3075 |
{ { OPERAND_art }, 'o' } |
| 3076 |
}; |
| 3077 |
|
| 3078 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_debugcause_stateArgs[] = { |
| 3079 |
{ { STATE_DEBUGCAUSE }, 'i' }, |
| 3080 |
{ { STATE_DBNUM }, 'i' } |
| 3081 |
}; |
| 3082 |
|
| 3083 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_debugcause_args[] = { |
| 3084 |
{ { OPERAND_art }, 'i' } |
| 3085 |
}; |
| 3086 |
|
| 3087 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_debugcause_stateArgs[] = { |
| 3088 |
{ { STATE_DEBUGCAUSE }, 'o' }, |
| 3089 |
{ { STATE_DBNUM }, 'o' } |
| 3090 |
}; |
| 3091 |
|
| 3092 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_debugcause_args[] = { |
| 3093 |
{ { OPERAND_art }, 'm' } |
| 3094 |
}; |
| 3095 |
|
| 3096 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_debugcause_stateArgs[] = { |
| 3097 |
{ { STATE_DEBUGCAUSE }, 'm' }, |
| 3098 |
{ { STATE_DBNUM }, 'm' } |
| 3099 |
}; |
| 3100 |
|
| 3101 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_icount_args[] = { |
| 3102 |
{ { OPERAND_art }, 'o' } |
| 3103 |
}; |
| 3104 |
|
| 3105 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_icount_stateArgs[] = { |
| 3106 |
{ { STATE_ICOUNT }, 'i' } |
| 3107 |
}; |
| 3108 |
|
| 3109 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_icount_args[] = { |
| 3110 |
{ { OPERAND_art }, 'i' } |
| 3111 |
}; |
| 3112 |
|
| 3113 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_icount_stateArgs[] = { |
| 3114 |
{ { STATE_XTSYNC }, 'o' }, |
| 3115 |
{ { STATE_ICOUNT }, 'o' } |
| 3116 |
}; |
| 3117 |
|
| 3118 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_icount_args[] = { |
| 3119 |
{ { OPERAND_art }, 'm' } |
| 3120 |
}; |
| 3121 |
|
| 3122 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_icount_stateArgs[] = { |
| 3123 |
{ { STATE_XTSYNC }, 'o' }, |
| 3124 |
{ { STATE_ICOUNT }, 'm' } |
| 3125 |
}; |
| 3126 |
|
| 3127 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_icountlevel_args[] = { |
| 3128 |
{ { OPERAND_art }, 'o' } |
| 3129 |
}; |
| 3130 |
|
| 3131 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_icountlevel_stateArgs[] = { |
| 3132 |
{ { STATE_ICOUNTLEVEL }, 'i' } |
| 3133 |
}; |
| 3134 |
|
| 3135 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_icountlevel_args[] = { |
| 3136 |
{ { OPERAND_art }, 'i' } |
| 3137 |
}; |
| 3138 |
|
| 3139 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_icountlevel_stateArgs[] = { |
| 3140 |
{ { STATE_ICOUNTLEVEL }, 'o' } |
| 3141 |
}; |
| 3142 |
|
| 3143 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_icountlevel_args[] = { |
| 3144 |
{ { OPERAND_art }, 'm' } |
| 3145 |
}; |
| 3146 |
|
| 3147 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_icountlevel_stateArgs[] = { |
| 3148 |
{ { STATE_ICOUNTLEVEL }, 'm' } |
| 3149 |
}; |
| 3150 |
|
| 3151 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ddr_args[] = { |
| 3152 |
{ { OPERAND_art }, 'o' } |
| 3153 |
}; |
| 3154 |
|
| 3155 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ddr_stateArgs[] = { |
| 3156 |
{ { STATE_DDR }, 'i' } |
| 3157 |
}; |
| 3158 |
|
| 3159 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ddr_args[] = { |
| 3160 |
{ { OPERAND_art }, 'i' } |
| 3161 |
}; |
| 3162 |
|
| 3163 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ddr_stateArgs[] = { |
| 3164 |
{ { STATE_XTSYNC }, 'o' }, |
| 3165 |
{ { STATE_DDR }, 'o' } |
| 3166 |
}; |
| 3167 |
|
| 3168 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ddr_args[] = { |
| 3169 |
{ { OPERAND_art }, 'm' } |
| 3170 |
}; |
| 3171 |
|
| 3172 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ddr_stateArgs[] = { |
| 3173 |
{ { STATE_XTSYNC }, 'o' }, |
| 3174 |
{ { STATE_DDR }, 'm' } |
| 3175 |
}; |
| 3176 |
|
| 3177 |
static xtensa_arg_internal Iclass_xt_iclass_rfdo_args[] = { |
| 3178 |
{ { OPERAND_imms }, 'i' } |
| 3179 |
}; |
| 3180 |
|
| 3181 |
static xtensa_arg_internal Iclass_xt_iclass_rfdo_stateArgs[] = { |
| 3182 |
{ { STATE_InOCDMode }, 'm' }, |
| 3183 |
{ { STATE_EPC2 }, 'i' }, |
| 3184 |
{ { STATE_PSUM }, 'o' }, |
| 3185 |
{ { STATE_PSEXCM }, 'o' }, |
| 3186 |
{ { STATE_PSINTLEVEL }, 'o' }, |
| 3187 |
{ { STATE_EPS2 }, 'i' } |
| 3188 |
}; |
| 3189 |
|
| 3190 |
static xtensa_arg_internal Iclass_xt_iclass_rfdd_stateArgs[] = { |
| 3191 |
{ { STATE_InOCDMode }, 'm' } |
| 3192 |
}; |
| 3193 |
|
| 3194 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_mmid_args[] = { |
| 3195 |
{ { OPERAND_art }, 'i' } |
| 3196 |
}; |
| 3197 |
|
| 3198 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_mmid_stateArgs[] = { |
| 3199 |
{ { STATE_XTSYNC }, 'o' } |
| 3200 |
}; |
| 3201 |
|
| 3202 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ccount_args[] = { |
| 3203 |
{ { OPERAND_art }, 'o' } |
| 3204 |
}; |
| 3205 |
|
| 3206 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ccount_stateArgs[] = { |
| 3207 |
{ { STATE_CCOUNT }, 'i' } |
| 3208 |
}; |
| 3209 |
|
| 3210 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ccount_args[] = { |
| 3211 |
{ { OPERAND_art }, 'i' } |
| 3212 |
}; |
| 3213 |
|
| 3214 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ccount_stateArgs[] = { |
| 3215 |
{ { STATE_XTSYNC }, 'o' }, |
| 3216 |
{ { STATE_CCOUNT }, 'o' } |
| 3217 |
}; |
| 3218 |
|
| 3219 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ccount_args[] = { |
| 3220 |
{ { OPERAND_art }, 'm' } |
| 3221 |
}; |
| 3222 |
|
| 3223 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ccount_stateArgs[] = { |
| 3224 |
{ { STATE_XTSYNC }, 'o' }, |
| 3225 |
{ { STATE_CCOUNT }, 'm' } |
| 3226 |
}; |
| 3227 |
|
| 3228 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare0_args[] = { |
| 3229 |
{ { OPERAND_art }, 'o' } |
| 3230 |
}; |
| 3231 |
|
| 3232 |
static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare0_stateArgs[] = { |
| 3233 |
{ { STATE_CCOMPARE0 }, 'i' } |
| 3234 |
}; |
| 3235 |
|
| 3236 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare0_args[] = { |
| 3237 |
{ { OPERAND_art }, 'i' } |
| 3238 |
}; |
| 3239 |
|
| 3240 |
static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare0_stateArgs[] = { |
| 3241 |
{ { STATE_CCOMPARE0 }, 'o' }, |
| 3242 |
{ { STATE_INTERRUPT }, 'm' } |
| 3243 |
}; |
| 3244 |
|
| 3245 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare0_args[] = { |
| 3246 |
{ { OPERAND_art }, 'm' } |
| 3247 |
}; |
| 3248 |
|
| 3249 |
static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare0_stateArgs[] = { |
| 3250 |
{ { STATE_CCOMPARE0 }, 'm' }, |
| 3251 |
{ { STATE_INTERRUPT }, 'm' } |
| 3252 |
}; |
| 3253 |
|
| 3254 |
static xtensa_arg_internal Iclass_xt_iclass_idtlb_args[] = { |
| 3255 |
{ { OPERAND_ars }, 'i' } |
| 3256 |
}; |
| 3257 |
|
| 3258 |
static xtensa_arg_internal Iclass_xt_iclass_idtlb_stateArgs[] = { |
| 3259 |
{ { STATE_XTSYNC }, 'o' } |
| 3260 |
}; |
| 3261 |
|
| 3262 |
static xtensa_arg_internal Iclass_xt_iclass_rdtlb_args[] = { |
| 3263 |
{ { OPERAND_art }, 'o' }, |
| 3264 |
{ { OPERAND_ars }, 'i' } |
| 3265 |
}; |
| 3266 |
|
| 3267 |
static xtensa_arg_internal Iclass_xt_iclass_wdtlb_args[] = { |
| 3268 |
{ { OPERAND_art }, 'i' }, |
| 3269 |
{ { OPERAND_ars }, 'i' } |
| 3270 |
}; |
| 3271 |
|
| 3272 |
static xtensa_arg_internal Iclass_xt_iclass_wdtlb_stateArgs[] = { |
| 3273 |
{ { STATE_XTSYNC }, 'o' } |
| 3274 |
}; |
| 3275 |
|
| 3276 |
static xtensa_arg_internal Iclass_xt_iclass_iitlb_args[] = { |
| 3277 |
{ { OPERAND_ars }, 'i' } |
| 3278 |
}; |
| 3279 |
|
| 3280 |
static xtensa_arg_internal Iclass_xt_iclass_ritlb_args[] = { |
| 3281 |
{ { OPERAND_art }, 'o' }, |
| 3282 |
{ { OPERAND_ars }, 'i' } |
| 3283 |
}; |
| 3284 |
|
| 3285 |
static xtensa_arg_internal Iclass_xt_iclass_witlb_args[] = { |
| 3286 |
{ { OPERAND_art }, 'i' }, |
| 3287 |
{ { OPERAND_ars }, 'i' } |
| 3288 |
}; |
| 3289 |
|
| 3290 |
static xtensa_arg_internal Iclass_xt_iclass_nsa_args[] = { |
| 3291 |
{ { OPERAND_art }, 'o' }, |
| 3292 |
{ { OPERAND_ars }, 'i' } |
| 3293 |
}; |
| 3294 |
|
| 3295 |
static xtensa_iclass_internal iclasses[] = { |
| 3296 |
{ 0, 0 , |
| 3297 |
0, 0, 0, 0 }, |
| 3298 |
{ 0, 0 , |
| 3299 |
2, Iclass_xt_iclass_rfe_stateArgs, 0, 0 }, |
| 3300 |
{ 0, 0 , |
| 3301 |
1, Iclass_xt_iclass_rfde_stateArgs, 0, 0 }, |
| 3302 |
{ 0, 0 , |
| 3303 |
0, 0, 0, 0 }, |
| 3304 |
{ 0, 0 , |
| 3305 |
0, 0, 0, 0 }, |
| 3306 |
{ 3, Iclass_xt_iclass_add_n_args, |
| 3307 |
0, 0, 0, 0 }, |
| 3308 |
{ 3, Iclass_xt_iclass_addi_n_args, |
| 3309 |
0, 0, 0, 0 }, |
| 3310 |
{ 2, Iclass_xt_iclass_bz6_args, |
| 3311 |
0, 0, 0, 0 }, |
| 3312 |
{ 0, 0 , |
| 3313 |
0, 0, 0, 0 }, |
| 3314 |
{ 3, Iclass_xt_iclass_loadi4_args, |
| 3315 |
0, 0, 0, 0 }, |
| 3316 |
{ 2, Iclass_xt_iclass_mov_n_args, |
| 3317 |
0, 0, 0, 0 }, |
| 3318 |
{ 2, Iclass_xt_iclass_movi_n_args, |
| 3319 |
0, 0, 0, 0 }, |
| 3320 |
{ 0, 0 , |
| 3321 |
0, 0, 0, 0 }, |
| 3322 |
{ 1, Iclass_xt_iclass_retn_args, |
| 3323 |
0, 0, 0, 0 }, |
| 3324 |
{ 3, Iclass_xt_iclass_storei4_args, |
| 3325 |
0, 0, 0, 0 }, |
| 3326 |
{ 3, Iclass_xt_iclass_addi_args, |
| 3327 |
0, 0, 0, 0 }, |
| 3328 |
{ 3, Iclass_xt_iclass_addmi_args, |
| 3329 |
0, 0, 0, 0 }, |
| 3330 |
{ 3, Iclass_xt_iclass_addsub_args, |
| 3331 |
0, 0, 0, 0 }, |
| 3332 |
{ 3, Iclass_xt_iclass_bit_args, |
| 3333 |
0, 0, 0, 0 }, |
| 3334 |
{ 3, Iclass_xt_iclass_bsi8_args, |
| 3335 |
0, 0, 0, 0 }, |
| 3336 |
{ 3, Iclass_xt_iclass_bsi8b_args, |
| 3337 |
0, 0, 0, 0 }, |
| 3338 |
{ 3, Iclass_xt_iclass_bsi8u_args, |
| 3339 |
0, 0, 0, 0 }, |
| 3340 |
{ 3, Iclass_xt_iclass_bst8_args, |
| 3341 |
0, 0, 0, 0 }, |
| 3342 |
{ 2, Iclass_xt_iclass_bsz12_args, |
| 3343 |
0, 0, 0, 0 }, |
| 3344 |
{ 2, Iclass_xt_iclass_call0_args, |
| 3345 |
0, 0, 0, 0 }, |
| 3346 |
{ 2, Iclass_xt_iclass_callx0_args, |
| 3347 |
0, 0, 0, 0 }, |
| 3348 |
{ 4, Iclass_xt_iclass_exti_args, |
| 3349 |
0, 0, 0, 0 }, |
| 3350 |
{ 0, 0 , |
| 3351 |
0, 0, 0, 0 }, |
| 3352 |
{ 1, Iclass_xt_iclass_jump_args, |
| 3353 |
0, 0, 0, 0 }, |
| 3354 |
{ 1, Iclass_xt_iclass_jumpx_args, |
| 3355 |
0, 0, 0, 0 }, |
| 3356 |
{ 3, Iclass_xt_iclass_l16ui_args, |
| 3357 |
0, 0, 0, 0 }, |
| 3358 |
{ 3, Iclass_xt_iclass_l16si_args, |
| 3359 |
0, 0, 0, 0 }, |
| 3360 |
{ 3, Iclass_xt_iclass_l32i_args, |
| 3361 |
0, 0, 0, 0 }, |
| 3362 |
{ 2, Iclass_xt_iclass_l32r_args, |
| 3363 |
2, Iclass_xt_iclass_l32r_stateArgs, 0, 0 }, |
| 3364 |
{ 3, Iclass_xt_iclass_l8i_args, |
| 3365 |
0, 0, 0, 0 }, |
| 3366 |
{ 2, Iclass_xt_iclass_movi_args, |
| 3367 |
0, 0, 0, 0 }, |
| 3368 |
{ 3, Iclass_xt_iclass_movz_args, |
| 3369 |
0, 0, 0, 0 }, |
| 3370 |
{ 2, Iclass_xt_iclass_neg_args, |
| 3371 |
0, 0, 0, 0 }, |
| 3372 |
{ 0, 0 , |
| 3373 |
0, 0, 0, 0 }, |
| 3374 |
{ 1, Iclass_xt_iclass_return_args, |
| 3375 |
0, 0, 0, 0 }, |
| 3376 |
{ 3, Iclass_xt_iclass_s16i_args, |
| 3377 |
0, 0, 0, 0 }, |
| 3378 |
{ 3, Iclass_xt_iclass_s32i_args, |
| 3379 |
0, 0, 0, 0 }, |
| 3380 |
{ 3, Iclass_xt_iclass_s8i_args, |
| 3381 |
0, 0, 0, 0 }, |
| 3382 |
{ 1, Iclass_xt_iclass_sar_args, |
| 3383 |
1, Iclass_xt_iclass_sar_stateArgs, 0, 0 }, |
| 3384 |
{ 1, Iclass_xt_iclass_sari_args, |
| 3385 |
1, Iclass_xt_iclass_sari_stateArgs, 0, 0 }, |
| 3386 |
{ 2, Iclass_xt_iclass_shifts_args, |
| 3387 |
1, Iclass_xt_iclass_shifts_stateArgs, 0, 0 }, |
| 3388 |
{ 3, Iclass_xt_iclass_shiftst_args, |
| 3389 |
1, Iclass_xt_iclass_shiftst_stateArgs, 0, 0 }, |
| 3390 |
{ 2, Iclass_xt_iclass_shiftt_args, |
| 3391 |
1, Iclass_xt_iclass_shiftt_stateArgs, 0, 0 }, |
| 3392 |
{ 3, Iclass_xt_iclass_slli_args, |
| 3393 |
0, 0, 0, 0 }, |
| 3394 |
{ 3, Iclass_xt_iclass_srai_args, |
| 3395 |
0, 0, 0, 0 }, |
| 3396 |
{ 3, Iclass_xt_iclass_srli_args, |
| 3397 |
0, 0, 0, 0 }, |
| 3398 |
{ 0, 0 , |
| 3399 |
0, 0, 0, 0 }, |
| 3400 |
{ 0, 0 , |
| 3401 |
0, 0, 0, 0 }, |
| 3402 |
{ 0, 0 , |
| 3403 |
0, 0, 0, 0 }, |
| 3404 |
{ 0, 0 , |
| 3405 |
1, Iclass_xt_iclass_sync_stateArgs, 0, 0 }, |
| 3406 |
{ 2, Iclass_xt_iclass_rsil_args, |
| 3407 |
3, Iclass_xt_iclass_rsil_stateArgs, 0, 0 }, |
| 3408 |
{ 1, Iclass_xt_iclass_rsr_sar_args, |
| 3409 |
1, Iclass_xt_iclass_rsr_sar_stateArgs, 0, 0 }, |
| 3410 |
{ 1, Iclass_xt_iclass_wsr_sar_args, |
| 3411 |
2, Iclass_xt_iclass_wsr_sar_stateArgs, 0, 0 }, |
| 3412 |
{ 1, Iclass_xt_iclass_xsr_sar_args, |
| 3413 |
1, Iclass_xt_iclass_xsr_sar_stateArgs, 0, 0 }, |
| 3414 |
{ 1, Iclass_xt_iclass_rsr_litbase_args, |
| 3415 |
2, Iclass_xt_iclass_rsr_litbase_stateArgs, 0, 0 }, |
| 3416 |
{ 1, Iclass_xt_iclass_wsr_litbase_args, |
| 3417 |
2, Iclass_xt_iclass_wsr_litbase_stateArgs, 0, 0 }, |
| 3418 |
{ 1, Iclass_xt_iclass_xsr_litbase_args, |
| 3419 |
2, Iclass_xt_iclass_xsr_litbase_stateArgs, 0, 0 }, |
| 3420 |
{ 1, Iclass_xt_iclass_rsr_176_args, |
| 3421 |
0, 0, 0, 0 }, |
| 3422 |
{ 1, Iclass_xt_iclass_wsr_176_args, |
| 3423 |
0, 0, 0, 0 }, |
| 3424 |
{ 1, Iclass_xt_iclass_rsr_208_args, |
| 3425 |
0, 0, 0, 0 }, |
| 3426 |
{ 1, Iclass_xt_iclass_rsr_ps_args, |
| 3427 |
3, Iclass_xt_iclass_rsr_ps_stateArgs, 0, 0 }, |
| 3428 |
{ 1, Iclass_xt_iclass_wsr_ps_args, |
| 3429 |
3, Iclass_xt_iclass_wsr_ps_stateArgs, 0, 0 }, |
| 3430 |
{ 1, Iclass_xt_iclass_xsr_ps_args, |
| 3431 |
3, Iclass_xt_iclass_xsr_ps_stateArgs, 0, 0 }, |
| 3432 |
{ 1, Iclass_xt_iclass_rsr_epc1_args, |
| 3433 |
1, Iclass_xt_iclass_rsr_epc1_stateArgs, 0, 0 }, |
| 3434 |
{ 1, Iclass_xt_iclass_wsr_epc1_args, |
| 3435 |
1, Iclass_xt_iclass_wsr_epc1_stateArgs, 0, 0 }, |
| 3436 |
{ 1, Iclass_xt_iclass_xsr_epc1_args, |
| 3437 |
1, Iclass_xt_iclass_xsr_epc1_stateArgs, 0, 0 }, |
| 3438 |
{ 1, Iclass_xt_iclass_rsr_excsave1_args, |
| 3439 |
1, Iclass_xt_iclass_rsr_excsave1_stateArgs, 0, 0 }, |
| 3440 |
{ 1, Iclass_xt_iclass_wsr_excsave1_args, |
| 3441 |
1, Iclass_xt_iclass_wsr_excsave1_stateArgs, 0, 0 }, |
| 3442 |
{ 1, Iclass_xt_iclass_xsr_excsave1_args, |
| 3443 |
1, Iclass_xt_iclass_xsr_excsave1_stateArgs, 0, 0 }, |
| 3444 |
{ 1, Iclass_xt_iclass_rsr_epc2_args, |
| 3445 |
1, Iclass_xt_iclass_rsr_epc2_stateArgs, 0, 0 }, |
| 3446 |
{ 1, Iclass_xt_iclass_wsr_epc2_args, |
| 3447 |
1, Iclass_xt_iclass_wsr_epc2_stateArgs, 0, 0 }, |
| 3448 |
{ 1, Iclass_xt_iclass_xsr_epc2_args, |
| 3449 |
1, Iclass_xt_iclass_xsr_epc2_stateArgs, 0, 0 }, |
| 3450 |
{ 1, Iclass_xt_iclass_rsr_excsave2_args, |
| 3451 |
1, Iclass_xt_iclass_rsr_excsave2_stateArgs, 0, 0 }, |
| 3452 |
{ 1, Iclass_xt_iclass_wsr_excsave2_args, |
| 3453 |
1, Iclass_xt_iclass_wsr_excsave2_stateArgs, 0, 0 }, |
| 3454 |
{ 1, Iclass_xt_iclass_xsr_excsave2_args, |
| 3455 |
1, Iclass_xt_iclass_xsr_excsave2_stateArgs, 0, 0 }, |
| 3456 |
{ 1, Iclass_xt_iclass_rsr_epc3_args, |
| 3457 |
1, Iclass_xt_iclass_rsr_epc3_stateArgs, 0, 0 }, |
| 3458 |
{ 1, Iclass_xt_iclass_wsr_epc3_args, |
| 3459 |
1, Iclass_xt_iclass_wsr_epc3_stateArgs, 0, 0 }, |
| 3460 |
{ 1, Iclass_xt_iclass_xsr_epc3_args, |
| 3461 |
1, Iclass_xt_iclass_xsr_epc3_stateArgs, 0, 0 }, |
| 3462 |
{ 1, Iclass_xt_iclass_rsr_excsave3_args, |
| 3463 |
1, Iclass_xt_iclass_rsr_excsave3_stateArgs, 0, 0 }, |
| 3464 |
{ 1, Iclass_xt_iclass_wsr_excsave3_args, |
| 3465 |
1, Iclass_xt_iclass_wsr_excsave3_stateArgs, 0, 0 }, |
| 3466 |
{ 1, Iclass_xt_iclass_xsr_excsave3_args, |
| 3467 |
1, Iclass_xt_iclass_xsr_excsave3_stateArgs, 0, 0 }, |
| 3468 |
{ 1, Iclass_xt_iclass_rsr_eps2_args, |
| 3469 |
1, Iclass_xt_iclass_rsr_eps2_stateArgs, 0, 0 }, |
| 3470 |
{ 1, Iclass_xt_iclass_wsr_eps2_args, |
| 3471 |
1, Iclass_xt_iclass_wsr_eps2_stateArgs, 0, 0 }, |
| 3472 |
{ 1, Iclass_xt_iclass_xsr_eps2_args, |
| 3473 |
1, Iclass_xt_iclass_xsr_eps2_stateArgs, 0, 0 }, |
| 3474 |
{ 1, Iclass_xt_iclass_rsr_eps3_args, |
| 3475 |
1, Iclass_xt_iclass_rsr_eps3_stateArgs, 0, 0 }, |
| 3476 |
{ 1, Iclass_xt_iclass_wsr_eps3_args, |
| 3477 |
1, Iclass_xt_iclass_wsr_eps3_stateArgs, 0, 0 }, |
| 3478 |
{ 1, Iclass_xt_iclass_xsr_eps3_args, |
| 3479 |
1, Iclass_xt_iclass_xsr_eps3_stateArgs, 0, 0 }, |
| 3480 |
{ 1, Iclass_xt_iclass_rsr_excvaddr_args, |
| 3481 |
1, Iclass_xt_iclass_rsr_excvaddr_stateArgs, 0, 0 }, |
| 3482 |
{ 1, Iclass_xt_iclass_wsr_excvaddr_args, |
| 3483 |
1, Iclass_xt_iclass_wsr_excvaddr_stateArgs, 0, 0 }, |
| 3484 |
{ 1, Iclass_xt_iclass_xsr_excvaddr_args, |
| 3485 |
1, Iclass_xt_iclass_xsr_excvaddr_stateArgs, 0, 0 }, |
| 3486 |
{ 1, Iclass_xt_iclass_rsr_depc_args, |
| 3487 |
1, Iclass_xt_iclass_rsr_depc_stateArgs, 0, 0 }, |
| 3488 |
{ 1, Iclass_xt_iclass_wsr_depc_args, |
| 3489 |
1, Iclass_xt_iclass_wsr_depc_stateArgs, 0, 0 }, |
| 3490 |
{ 1, Iclass_xt_iclass_xsr_depc_args, |
| 3491 |
1, Iclass_xt_iclass_xsr_depc_stateArgs, 0, 0 }, |
| 3492 |
{ 1, Iclass_xt_iclass_rsr_exccause_args, |
| 3493 |
2, Iclass_xt_iclass_rsr_exccause_stateArgs, 0, 0 }, |
| 3494 |
{ 1, Iclass_xt_iclass_wsr_exccause_args, |
| 3495 |
1, Iclass_xt_iclass_wsr_exccause_stateArgs, 0, 0 }, |
| 3496 |
{ 1, Iclass_xt_iclass_xsr_exccause_args, |
| 3497 |
1, Iclass_xt_iclass_xsr_exccause_stateArgs, 0, 0 }, |
| 3498 |
{ 1, Iclass_xt_iclass_rsr_prid_args, |
| 3499 |
0, 0, 0, 0 }, |
| 3500 |
{ 1, Iclass_xt_iclass_rsr_vecbase_args, |
| 3501 |
1, Iclass_xt_iclass_rsr_vecbase_stateArgs, 0, 0 }, |
| 3502 |
{ 1, Iclass_xt_iclass_wsr_vecbase_args, |
| 3503 |
1, Iclass_xt_iclass_wsr_vecbase_stateArgs, 0, 0 }, |
| 3504 |
{ 1, Iclass_xt_iclass_xsr_vecbase_args, |
| 3505 |
1, Iclass_xt_iclass_xsr_vecbase_stateArgs, 0, 0 }, |
| 3506 |
{ 3, Iclass_xt_mul16_args, |
| 3507 |
0, 0, 0, 0 }, |
| 3508 |
{ 3, Iclass_xt_mul32_args, |
| 3509 |
0, 0, 0, 0 }, |
| 3510 |
{ 1, Iclass_xt_iclass_rfi_args, |
| 3511 |
9, Iclass_xt_iclass_rfi_stateArgs, 0, 0 }, |
| 3512 |
{ 1, Iclass_xt_iclass_wait_args, |
| 3513 |
1, Iclass_xt_iclass_wait_stateArgs, 0, 0 }, |
| 3514 |
{ 1, Iclass_xt_iclass_rsr_interrupt_args, |
| 3515 |
1, Iclass_xt_iclass_rsr_interrupt_stateArgs, 0, 0 }, |
| 3516 |
{ 1, Iclass_xt_iclass_wsr_intset_args, |
| 3517 |
2, Iclass_xt_iclass_wsr_intset_stateArgs, 0, 0 }, |
| 3518 |
{ 1, Iclass_xt_iclass_wsr_intclear_args, |
| 3519 |
2, Iclass_xt_iclass_wsr_intclear_stateArgs, 0, 0 }, |
| 3520 |
{ 1, Iclass_xt_iclass_rsr_intenable_args, |
| 3521 |
1, Iclass_xt_iclass_rsr_intenable_stateArgs, 0, 0 }, |
| 3522 |
{ 1, Iclass_xt_iclass_wsr_intenable_args, |
| 3523 |
1, Iclass_xt_iclass_wsr_intenable_stateArgs, 0, 0 }, |
| 3524 |
{ 1, Iclass_xt_iclass_xsr_intenable_args, |
| 3525 |
1, Iclass_xt_iclass_xsr_intenable_stateArgs, 0, 0 }, |
| 3526 |
{ 2, Iclass_xt_iclass_break_args, |
| 3527 |
2, Iclass_xt_iclass_break_stateArgs, 0, 0 }, |
| 3528 |
{ 1, Iclass_xt_iclass_break_n_args, |
| 3529 |
2, Iclass_xt_iclass_break_n_stateArgs, 0, 0 }, |
| 3530 |
{ 1, Iclass_xt_iclass_rsr_dbreaka0_args, |
| 3531 |
1, Iclass_xt_iclass_rsr_dbreaka0_stateArgs, 0, 0 }, |
| 3532 |
{ 1, Iclass_xt_iclass_wsr_dbreaka0_args, |
| 3533 |
2, Iclass_xt_iclass_wsr_dbreaka0_stateArgs, 0, 0 }, |
| 3534 |
{ 1, Iclass_xt_iclass_xsr_dbreaka0_args, |
| 3535 |
2, Iclass_xt_iclass_xsr_dbreaka0_stateArgs, 0, 0 }, |
| 3536 |
{ 1, Iclass_xt_iclass_rsr_dbreakc0_args, |
| 3537 |
1, Iclass_xt_iclass_rsr_dbreakc0_stateArgs, 0, 0 }, |
| 3538 |
{ 1, Iclass_xt_iclass_wsr_dbreakc0_args, |
| 3539 |
2, Iclass_xt_iclass_wsr_dbreakc0_stateArgs, 0, 0 }, |
| 3540 |
{ 1, Iclass_xt_iclass_xsr_dbreakc0_args, |
| 3541 |
2, Iclass_xt_iclass_xsr_dbreakc0_stateArgs, 0, 0 }, |
| 3542 |
{ 1, Iclass_xt_iclass_rsr_ibreaka0_args, |
| 3543 |
1, Iclass_xt_iclass_rsr_ibreaka0_stateArgs, 0, 0 }, |
| 3544 |
{ 1, Iclass_xt_iclass_wsr_ibreaka0_args, |
| 3545 |
1, Iclass_xt_iclass_wsr_ibreaka0_stateArgs, 0, 0 }, |
| 3546 |
{ 1, Iclass_xt_iclass_xsr_ibreaka0_args, |
| 3547 |
1, Iclass_xt_iclass_xsr_ibreaka0_stateArgs, 0, 0 }, |
| 3548 |
{ 1, Iclass_xt_iclass_rsr_ibreakenable_args, |
| 3549 |
1, Iclass_xt_iclass_rsr_ibreakenable_stateArgs, 0, 0 }, |
| 3550 |
{ 1, Iclass_xt_iclass_wsr_ibreakenable_args, |
| 3551 |
1, Iclass_xt_iclass_wsr_ibreakenable_stateArgs, 0, 0 }, |
| 3552 |
{ 1, Iclass_xt_iclass_xsr_ibreakenable_args, |
| 3553 |
1, Iclass_xt_iclass_xsr_ibreakenable_stateArgs, 0, 0 }, |
| 3554 |
{ 1, Iclass_xt_iclass_rsr_debugcause_args, |
| 3555 |
2, Iclass_xt_iclass_rsr_debugcause_stateArgs, 0, 0 }, |
| 3556 |
{ 1, Iclass_xt_iclass_wsr_debugcause_args, |
| 3557 |
2, Iclass_xt_iclass_wsr_debugcause_stateArgs, 0, 0 }, |
| 3558 |
{ 1, Iclass_xt_iclass_xsr_debugcause_args, |
| 3559 |
2, Iclass_xt_iclass_xsr_debugcause_stateArgs, 0, 0 }, |
| 3560 |
{ 1, Iclass_xt_iclass_rsr_icount_args, |
| 3561 |
1, Iclass_xt_iclass_rsr_icount_stateArgs, 0, 0 }, |
| 3562 |
{ 1, Iclass_xt_iclass_wsr_icount_args, |
| 3563 |
2, Iclass_xt_iclass_wsr_icount_stateArgs, 0, 0 }, |
| 3564 |
{ 1, Iclass_xt_iclass_xsr_icount_args, |
| 3565 |
2, Iclass_xt_iclass_xsr_icount_stateArgs, 0, 0 }, |
| 3566 |
{ 1, Iclass_xt_iclass_rsr_icountlevel_args, |
| 3567 |
1, Iclass_xt_iclass_rsr_icountlevel_stateArgs, 0, 0 }, |
| 3568 |
{ 1, Iclass_xt_iclass_wsr_icountlevel_args, |
| 3569 |
1, Iclass_xt_iclass_wsr_icountlevel_stateArgs, 0, 0 }, |
| 3570 |
{ 1, Iclass_xt_iclass_xsr_icountlevel_args, |
| 3571 |
1, Iclass_xt_iclass_xsr_icountlevel_stateArgs, 0, 0 }, |
| 3572 |
{ 1, Iclass_xt_iclass_rsr_ddr_args, |
| 3573 |
1, Iclass_xt_iclass_rsr_ddr_stateArgs, 0, 0 }, |
| 3574 |
{ 1, Iclass_xt_iclass_wsr_ddr_args, |
| 3575 |
2, Iclass_xt_iclass_wsr_ddr_stateArgs, 0, 0 }, |
| 3576 |
{ 1, Iclass_xt_iclass_xsr_ddr_args, |
| 3577 |
2, Iclass_xt_iclass_xsr_ddr_stateArgs, 0, 0 }, |
| 3578 |
{ 1, Iclass_xt_iclass_rfdo_args, |
| 3579 |
6, Iclass_xt_iclass_rfdo_stateArgs, 0, 0 }, |
| 3580 |
{ 0, 0 , |
| 3581 |
1, Iclass_xt_iclass_rfdd_stateArgs, 0, 0 }, |
| 3582 |
{ 1, Iclass_xt_iclass_wsr_mmid_args, |
| 3583 |
1, Iclass_xt_iclass_wsr_mmid_stateArgs, 0, 0 }, |
| 3584 |
{ 1, Iclass_xt_iclass_rsr_ccount_args, |
| 3585 |
1, Iclass_xt_iclass_rsr_ccount_stateArgs, 0, 0 }, |
| 3586 |
{ 1, Iclass_xt_iclass_wsr_ccount_args, |
| 3587 |
2, Iclass_xt_iclass_wsr_ccount_stateArgs, 0, 0 }, |
| 3588 |
{ 1, Iclass_xt_iclass_xsr_ccount_args, |
| 3589 |
2, Iclass_xt_iclass_xsr_ccount_stateArgs, 0, 0 }, |
| 3590 |
{ 1, Iclass_xt_iclass_rsr_ccompare0_args, |
| 3591 |
1, Iclass_xt_iclass_rsr_ccompare0_stateArgs, 0, 0 }, |
| 3592 |
{ 1, Iclass_xt_iclass_wsr_ccompare0_args, |
| 3593 |
2, Iclass_xt_iclass_wsr_ccompare0_stateArgs, 0, 0 }, |
| 3594 |
{ 1, Iclass_xt_iclass_xsr_ccompare0_args, |
| 3595 |
2, Iclass_xt_iclass_xsr_ccompare0_stateArgs, 0, 0 }, |
| 3596 |
{ 1, Iclass_xt_iclass_idtlb_args, |
| 3597 |
1, Iclass_xt_iclass_idtlb_stateArgs, 0, 0 }, |
| 3598 |
{ 2, Iclass_xt_iclass_rdtlb_args, |
| 3599 |
0, 0, 0, 0 }, |
| 3600 |
{ 2, Iclass_xt_iclass_wdtlb_args, |
| 3601 |
1, Iclass_xt_iclass_wdtlb_stateArgs, 0, 0 }, |
| 3602 |
{ 1, Iclass_xt_iclass_iitlb_args, |
| 3603 |
0, 0, 0, 0 }, |
| 3604 |
{ 2, Iclass_xt_iclass_ritlb_args, |
| 3605 |
0, 0, 0, 0 }, |
| 3606 |
{ 2, Iclass_xt_iclass_witlb_args, |
| 3607 |
0, 0, 0, 0 }, |
| 3608 |
{ 2, Iclass_xt_iclass_nsa_args, |
| 3609 |
0, 0, 0, 0 }, |
| 3610 |
{ 0, 0 , |
| 3611 |
0, 0, 0, 0 }, |
| 3612 |
{ 0, 0 , |
| 3613 |
0, 0, 0, 0 } |
| 3614 |
}; |
| 3615 |
|
| 3616 |
enum xtensa_iclass_id { |
| 3617 |
ICLASS_xt_iclass_excw, |
| 3618 |
ICLASS_xt_iclass_rfe, |
| 3619 |
ICLASS_xt_iclass_rfde, |
| 3620 |
ICLASS_xt_iclass_syscall, |
| 3621 |
ICLASS_xt_iclass_simcall, |
| 3622 |
ICLASS_xt_iclass_add_n, |
| 3623 |
ICLASS_xt_iclass_addi_n, |
| 3624 |
ICLASS_xt_iclass_bz6, |
| 3625 |
ICLASS_xt_iclass_ill_n, |
| 3626 |
ICLASS_xt_iclass_loadi4, |
| 3627 |
ICLASS_xt_iclass_mov_n, |
| 3628 |
ICLASS_xt_iclass_movi_n, |
| 3629 |
ICLASS_xt_iclass_nopn, |
| 3630 |
ICLASS_xt_iclass_retn, |
| 3631 |
ICLASS_xt_iclass_storei4, |
| 3632 |
ICLASS_xt_iclass_addi, |
| 3633 |
ICLASS_xt_iclass_addmi, |
| 3634 |
ICLASS_xt_iclass_addsub, |
| 3635 |
ICLASS_xt_iclass_bit, |
| 3636 |
ICLASS_xt_iclass_bsi8, |
| 3637 |
ICLASS_xt_iclass_bsi8b, |
| 3638 |
ICLASS_xt_iclass_bsi8u, |
| 3639 |
ICLASS_xt_iclass_bst8, |
| 3640 |
ICLASS_xt_iclass_bsz12, |
| 3641 |
ICLASS_xt_iclass_call0, |
| 3642 |
ICLASS_xt_iclass_callx0, |
| 3643 |
ICLASS_xt_iclass_exti, |
| 3644 |
ICLASS_xt_iclass_ill, |
| 3645 |
ICLASS_xt_iclass_jump, |
| 3646 |
ICLASS_xt_iclass_jumpx, |
| 3647 |
ICLASS_xt_iclass_l16ui, |
| 3648 |
ICLASS_xt_iclass_l16si, |
| 3649 |
ICLASS_xt_iclass_l32i, |
| 3650 |
ICLASS_xt_iclass_l32r, |
| 3651 |
ICLASS_xt_iclass_l8i, |
| 3652 |
ICLASS_xt_iclass_movi, |
| 3653 |
ICLASS_xt_iclass_movz, |
| 3654 |
ICLASS_xt_iclass_neg, |
| 3655 |
ICLASS_xt_iclass_nop, |
| 3656 |
ICLASS_xt_iclass_return, |
| 3657 |
ICLASS_xt_iclass_s16i, |
| 3658 |
ICLASS_xt_iclass_s32i, |
| 3659 |
ICLASS_xt_iclass_s8i, |
| 3660 |
ICLASS_xt_iclass_sar, |
| 3661 |
ICLASS_xt_iclass_sari, |
| 3662 |
ICLASS_xt_iclass_shifts, |
| 3663 |
ICLASS_xt_iclass_shiftst, |
| 3664 |
ICLASS_xt_iclass_shiftt, |
| 3665 |
ICLASS_xt_iclass_slli, |
| 3666 |
ICLASS_xt_iclass_srai, |
| 3667 |
ICLASS_xt_iclass_srli, |
| 3668 |
ICLASS_xt_iclass_memw, |
| 3669 |
ICLASS_xt_iclass_extw, |
| 3670 |
ICLASS_xt_iclass_isync, |
| 3671 |
ICLASS_xt_iclass_sync, |
| 3672 |
ICLASS_xt_iclass_rsil, |
| 3673 |
ICLASS_xt_iclass_rsr_sar, |
| 3674 |
ICLASS_xt_iclass_wsr_sar, |
| 3675 |
ICLASS_xt_iclass_xsr_sar, |
| 3676 |
ICLASS_xt_iclass_rsr_litbase, |
| 3677 |
ICLASS_xt_iclass_wsr_litbase, |
| 3678 |
ICLASS_xt_iclass_xsr_litbase, |
| 3679 |
ICLASS_xt_iclass_rsr_176, |
| 3680 |
ICLASS_xt_iclass_wsr_176, |
| 3681 |
ICLASS_xt_iclass_rsr_208, |
| 3682 |
ICLASS_xt_iclass_rsr_ps, |
| 3683 |
ICLASS_xt_iclass_wsr_ps, |
| 3684 |
ICLASS_xt_iclass_xsr_ps, |
| 3685 |
ICLASS_xt_iclass_rsr_epc1, |
| 3686 |
ICLASS_xt_iclass_wsr_epc1, |
| 3687 |
ICLASS_xt_iclass_xsr_epc1, |
| 3688 |
ICLASS_xt_iclass_rsr_excsave1, |
| 3689 |
ICLASS_xt_iclass_wsr_excsave1, |
| 3690 |
ICLASS_xt_iclass_xsr_excsave1, |
| 3691 |
ICLASS_xt_iclass_rsr_epc2, |
| 3692 |
ICLASS_xt_iclass_wsr_epc2, |
| 3693 |
ICLASS_xt_iclass_xsr_epc2, |
| 3694 |
ICLASS_xt_iclass_rsr_excsave2, |
| 3695 |
ICLASS_xt_iclass_wsr_excsave2, |
| 3696 |
ICLASS_xt_iclass_xsr_excsave2, |
| 3697 |
ICLASS_xt_iclass_rsr_epc3, |
| 3698 |
ICLASS_xt_iclass_wsr_epc3, |
| 3699 |
ICLASS_xt_iclass_xsr_epc3, |
| 3700 |
ICLASS_xt_iclass_rsr_excsave3, |
| 3701 |
ICLASS_xt_iclass_wsr_excsave3, |
| 3702 |
ICLASS_xt_iclass_xsr_excsave3, |
| 3703 |
ICLASS_xt_iclass_rsr_eps2, |
| 3704 |
ICLASS_xt_iclass_wsr_eps2, |
| 3705 |
ICLASS_xt_iclass_xsr_eps2, |
| 3706 |
ICLASS_xt_iclass_rsr_eps3, |
| 3707 |
ICLASS_xt_iclass_wsr_eps3, |
| 3708 |
ICLASS_xt_iclass_xsr_eps3, |
| 3709 |
ICLASS_xt_iclass_rsr_excvaddr, |
| 3710 |
ICLASS_xt_iclass_wsr_excvaddr, |
| 3711 |
ICLASS_xt_iclass_xsr_excvaddr, |
| 3712 |
ICLASS_xt_iclass_rsr_depc, |
| 3713 |
ICLASS_xt_iclass_wsr_depc, |
| 3714 |
ICLASS_xt_iclass_xsr_depc, |
| 3715 |
ICLASS_xt_iclass_rsr_exccause, |
| 3716 |
ICLASS_xt_iclass_wsr_exccause, |
| 3717 |
ICLASS_xt_iclass_xsr_exccause, |
| 3718 |
ICLASS_xt_iclass_rsr_prid, |
| 3719 |
ICLASS_xt_iclass_rsr_vecbase, |
| 3720 |
ICLASS_xt_iclass_wsr_vecbase, |
| 3721 |
ICLASS_xt_iclass_xsr_vecbase, |
| 3722 |
ICLASS_xt_mul16, |
| 3723 |
ICLASS_xt_mul32, |
| 3724 |
ICLASS_xt_iclass_rfi, |
| 3725 |
ICLASS_xt_iclass_wait, |
| 3726 |
ICLASS_xt_iclass_rsr_interrupt, |
| 3727 |
ICLASS_xt_iclass_wsr_intset, |
| 3728 |
ICLASS_xt_iclass_wsr_intclear, |
| 3729 |
ICLASS_xt_iclass_rsr_intenable, |
| 3730 |
ICLASS_xt_iclass_wsr_intenable, |
| 3731 |
ICLASS_xt_iclass_xsr_intenable, |
| 3732 |
ICLASS_xt_iclass_break, |
| 3733 |
ICLASS_xt_iclass_break_n, |
| 3734 |
ICLASS_xt_iclass_rsr_dbreaka0, |
| 3735 |
ICLASS_xt_iclass_wsr_dbreaka0, |
| 3736 |
ICLASS_xt_iclass_xsr_dbreaka0, |
| 3737 |
ICLASS_xt_iclass_rsr_dbreakc0, |
| 3738 |
ICLASS_xt_iclass_wsr_dbreakc0, |
| 3739 |
ICLASS_xt_iclass_xsr_dbreakc0, |
| 3740 |
ICLASS_xt_iclass_rsr_ibreaka0, |
| 3741 |
ICLASS_xt_iclass_wsr_ibreaka0, |
| 3742 |
ICLASS_xt_iclass_xsr_ibreaka0, |
| 3743 |
ICLASS_xt_iclass_rsr_ibreakenable, |
| 3744 |
ICLASS_xt_iclass_wsr_ibreakenable, |
| 3745 |
ICLASS_xt_iclass_xsr_ibreakenable, |
| 3746 |
ICLASS_xt_iclass_rsr_debugcause, |
| 3747 |
ICLASS_xt_iclass_wsr_debugcause, |
| 3748 |
ICLASS_xt_iclass_xsr_debugcause, |
| 3749 |
ICLASS_xt_iclass_rsr_icount, |
| 3750 |
ICLASS_xt_iclass_wsr_icount, |
| 3751 |
ICLASS_xt_iclass_xsr_icount, |
| 3752 |
ICLASS_xt_iclass_rsr_icountlevel, |
| 3753 |
ICLASS_xt_iclass_wsr_icountlevel, |
| 3754 |
ICLASS_xt_iclass_xsr_icountlevel, |
| 3755 |
ICLASS_xt_iclass_rsr_ddr, |
| 3756 |
ICLASS_xt_iclass_wsr_ddr, |
| 3757 |
ICLASS_xt_iclass_xsr_ddr, |
| 3758 |
ICLASS_xt_iclass_rfdo, |
| 3759 |
ICLASS_xt_iclass_rfdd, |
| 3760 |
ICLASS_xt_iclass_wsr_mmid, |
| 3761 |
ICLASS_xt_iclass_rsr_ccount, |
| 3762 |
ICLASS_xt_iclass_wsr_ccount, |
| 3763 |
ICLASS_xt_iclass_xsr_ccount, |
| 3764 |
ICLASS_xt_iclass_rsr_ccompare0, |
| 3765 |
ICLASS_xt_iclass_wsr_ccompare0, |
| 3766 |
ICLASS_xt_iclass_xsr_ccompare0, |
| 3767 |
ICLASS_xt_iclass_idtlb, |
| 3768 |
ICLASS_xt_iclass_rdtlb, |
| 3769 |
ICLASS_xt_iclass_wdtlb, |
| 3770 |
ICLASS_xt_iclass_iitlb, |
| 3771 |
ICLASS_xt_iclass_ritlb, |
| 3772 |
ICLASS_xt_iclass_witlb, |
| 3773 |
ICLASS_xt_iclass_nsa, |
| 3774 |
ICLASS_xt_iclass_rer, |
| 3775 |
ICLASS_xt_iclass_wer |
| 3776 |
}; |
| 3777 |
|
| 3778 |
|
| 3779 |
|
| 3780 |
|
| 3781 |
static void |
| 3782 |
Opcode_excw_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3783 |
{ |
| 3784 |
slotbuf[0] = 0x2080; |
| 3785 |
} |
| 3786 |
|
| 3787 |
static void |
| 3788 |
Opcode_rfe_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3789 |
{ |
| 3790 |
slotbuf[0] = 0x3000; |
| 3791 |
} |
| 3792 |
|
| 3793 |
static void |
| 3794 |
Opcode_rfde_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3795 |
{ |
| 3796 |
slotbuf[0] = 0x3200; |
| 3797 |
} |
| 3798 |
|
| 3799 |
static void |
| 3800 |
Opcode_syscall_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3801 |
{ |
| 3802 |
slotbuf[0] = 0x5000; |
| 3803 |
} |
| 3804 |
|
| 3805 |
static void |
| 3806 |
Opcode_simcall_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3807 |
{ |
| 3808 |
slotbuf[0] = 0x5100; |
| 3809 |
} |
| 3810 |
|
| 3811 |
static void |
| 3812 |
Opcode_add_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf) |
| 3813 |
{ |
| 3814 |
slotbuf[0] = 0xa; |
| 3815 |
} |
| 3816 |
|
| 3817 |
static void |
| 3818 |
Opcode_addi_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf) |
| 3819 |
{ |
| 3820 |
slotbuf[0] = 0xb; |
| 3821 |
} |
| 3822 |
|
| 3823 |
static void |
| 3824 |
Opcode_beqz_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3825 |
{ |
| 3826 |
slotbuf[0] = 0x8c; |
| 3827 |
} |
| 3828 |
|
| 3829 |
static void |
| 3830 |
Opcode_bnez_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3831 |
{ |
| 3832 |
slotbuf[0] = 0xcc; |
| 3833 |
} |
| 3834 |
|
| 3835 |
static void |
| 3836 |
Opcode_ill_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3837 |
{ |
| 3838 |
slotbuf[0] = 0xf06d; |
| 3839 |
} |
| 3840 |
|
| 3841 |
static void |
| 3842 |
Opcode_l32i_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf) |
| 3843 |
{ |
| 3844 |
slotbuf[0] = 0x8; |
| 3845 |
} |
| 3846 |
|
| 3847 |
static void |
| 3848 |
Opcode_mov_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3849 |
{ |
| 3850 |
slotbuf[0] = 0xd; |
| 3851 |
} |
| 3852 |
|
| 3853 |
static void |
| 3854 |
Opcode_movi_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3855 |
{ |
| 3856 |
slotbuf[0] = 0xc; |
| 3857 |
} |
| 3858 |
|
| 3859 |
static void |
| 3860 |
Opcode_nop_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3861 |
{ |
| 3862 |
slotbuf[0] = 0xf03d; |
| 3863 |
} |
| 3864 |
|
| 3865 |
static void |
| 3866 |
Opcode_ret_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 3867 |
{ |
| 3868 |
slotbuf[0] = 0xf00d; |
| 3869 |
} |
| 3870 |
|
| 3871 |
static void |
| 3872 |
Opcode_s32i_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf) |
| 3873 |
{ |
| 3874 |
slotbuf[0] = 0x9; |
| 3875 |
} |
| 3876 |
|
| 3877 |
static void |
| 3878 |
Opcode_addi_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3879 |
{ |
| 3880 |
slotbuf[0] = 0xc002; |
| 3881 |
} |
| 3882 |
|
| 3883 |
static void |
| 3884 |
Opcode_addmi_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3885 |
{ |
| 3886 |
slotbuf[0] = 0xd002; |
| 3887 |
} |
| 3888 |
|
| 3889 |
static void |
| 3890 |
Opcode_add_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3891 |
{ |
| 3892 |
slotbuf[0] = 0x800000; |
| 3893 |
} |
| 3894 |
|
| 3895 |
static void |
| 3896 |
Opcode_sub_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3897 |
{ |
| 3898 |
slotbuf[0] = 0xc00000; |
| 3899 |
} |
| 3900 |
|
| 3901 |
static void |
| 3902 |
Opcode_addx2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3903 |
{ |
| 3904 |
slotbuf[0] = 0x900000; |
| 3905 |
} |
| 3906 |
|
| 3907 |
static void |
| 3908 |
Opcode_addx4_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3909 |
{ |
| 3910 |
slotbuf[0] = 0xa00000; |
| 3911 |
} |
| 3912 |
|
| 3913 |
static void |
| 3914 |
Opcode_addx8_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3915 |
{ |
| 3916 |
slotbuf[0] = 0xb00000; |
| 3917 |
} |
| 3918 |
|
| 3919 |
static void |
| 3920 |
Opcode_subx2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3921 |
{ |
| 3922 |
slotbuf[0] = 0xd00000; |
| 3923 |
} |
| 3924 |
|
| 3925 |
static void |
| 3926 |
Opcode_subx4_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3927 |
{ |
| 3928 |
slotbuf[0] = 0xe00000; |
| 3929 |
} |
| 3930 |
|
| 3931 |
static void |
| 3932 |
Opcode_subx8_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3933 |
{ |
| 3934 |
slotbuf[0] = 0xf00000; |
| 3935 |
} |
| 3936 |
|
| 3937 |
static void |
| 3938 |
Opcode_and_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3939 |
{ |
| 3940 |
slotbuf[0] = 0x100000; |
| 3941 |
} |
| 3942 |
|
| 3943 |
static void |
| 3944 |
Opcode_or_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3945 |
{ |
| 3946 |
slotbuf[0] = 0x200000; |
| 3947 |
} |
| 3948 |
|
| 3949 |
static void |
| 3950 |
Opcode_xor_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3951 |
{ |
| 3952 |
slotbuf[0] = 0x300000; |
| 3953 |
} |
| 3954 |
|
| 3955 |
static void |
| 3956 |
Opcode_beqi_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3957 |
{ |
| 3958 |
slotbuf[0] = 0x26; |
| 3959 |
} |
| 3960 |
|
| 3961 |
static void |
| 3962 |
Opcode_bnei_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3963 |
{ |
| 3964 |
slotbuf[0] = 0x66; |
| 3965 |
} |
| 3966 |
|
| 3967 |
static void |
| 3968 |
Opcode_bgei_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3969 |
{ |
| 3970 |
slotbuf[0] = 0xe6; |
| 3971 |
} |
| 3972 |
|
| 3973 |
static void |
| 3974 |
Opcode_blti_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3975 |
{ |
| 3976 |
slotbuf[0] = 0xa6; |
| 3977 |
} |
| 3978 |
|
| 3979 |
static void |
| 3980 |
Opcode_bbci_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3981 |
{ |
| 3982 |
slotbuf[0] = 0x6007; |
| 3983 |
} |
| 3984 |
|
| 3985 |
static void |
| 3986 |
Opcode_bbsi_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3987 |
{ |
| 3988 |
slotbuf[0] = 0xe007; |
| 3989 |
} |
| 3990 |
|
| 3991 |
static void |
| 3992 |
Opcode_bgeui_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3993 |
{ |
| 3994 |
slotbuf[0] = 0xf6; |
| 3995 |
} |
| 3996 |
|
| 3997 |
static void |
| 3998 |
Opcode_bltui_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 3999 |
{ |
| 4000 |
slotbuf[0] = 0xb6; |
| 4001 |
} |
| 4002 |
|
| 4003 |
static void |
| 4004 |
Opcode_beq_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4005 |
{ |
| 4006 |
slotbuf[0] = 0x1007; |
| 4007 |
} |
| 4008 |
|
| 4009 |
static void |
| 4010 |
Opcode_bne_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4011 |
{ |
| 4012 |
slotbuf[0] = 0x9007; |
| 4013 |
} |
| 4014 |
|
| 4015 |
static void |
| 4016 |
Opcode_bge_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4017 |
{ |
| 4018 |
slotbuf[0] = 0xa007; |
| 4019 |
} |
| 4020 |
|
| 4021 |
static void |
| 4022 |
Opcode_blt_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4023 |
{ |
| 4024 |
slotbuf[0] = 0x2007; |
| 4025 |
} |
| 4026 |
|
| 4027 |
static void |
| 4028 |
Opcode_bgeu_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4029 |
{ |
| 4030 |
slotbuf[0] = 0xb007; |
| 4031 |
} |
| 4032 |
|
| 4033 |
static void |
| 4034 |
Opcode_bltu_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4035 |
{ |
| 4036 |
slotbuf[0] = 0x3007; |
| 4037 |
} |
| 4038 |
|
| 4039 |
static void |
| 4040 |
Opcode_bany_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4041 |
{ |
| 4042 |
slotbuf[0] = 0x8007; |
| 4043 |
} |
| 4044 |
|
| 4045 |
static void |
| 4046 |
Opcode_bnone_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4047 |
{ |
| 4048 |
slotbuf[0] = 0x7; |
| 4049 |
} |
| 4050 |
|
| 4051 |
static void |
| 4052 |
Opcode_ball_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4053 |
{ |
| 4054 |
slotbuf[0] = 0x4007; |
| 4055 |
} |
| 4056 |
|
| 4057 |
static void |
| 4058 |
Opcode_bnall_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4059 |
{ |
| 4060 |
slotbuf[0] = 0xc007; |
| 4061 |
} |
| 4062 |
|
| 4063 |
static void |
| 4064 |
Opcode_bbc_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4065 |
{ |
| 4066 |
slotbuf[0] = 0x5007; |
| 4067 |
} |
| 4068 |
|
| 4069 |
static void |
| 4070 |
Opcode_bbs_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4071 |
{ |
| 4072 |
slotbuf[0] = 0xd007; |
| 4073 |
} |
| 4074 |
|
| 4075 |
static void |
| 4076 |
Opcode_beqz_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4077 |
{ |
| 4078 |
slotbuf[0] = 0x16; |
| 4079 |
} |
| 4080 |
|
| 4081 |
static void |
| 4082 |
Opcode_bnez_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4083 |
{ |
| 4084 |
slotbuf[0] = 0x56; |
| 4085 |
} |
| 4086 |
|
| 4087 |
static void |
| 4088 |
Opcode_bgez_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4089 |
{ |
| 4090 |
slotbuf[0] = 0xd6; |
| 4091 |
} |
| 4092 |
|
| 4093 |
static void |
| 4094 |
Opcode_bltz_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4095 |
{ |
| 4096 |
slotbuf[0] = 0x96; |
| 4097 |
} |
| 4098 |
|
| 4099 |
static void |
| 4100 |
Opcode_call0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4101 |
{ |
| 4102 |
slotbuf[0] = 0x5; |
| 4103 |
} |
| 4104 |
|
| 4105 |
static void |
| 4106 |
Opcode_callx0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4107 |
{ |
| 4108 |
slotbuf[0] = 0xc0; |
| 4109 |
} |
| 4110 |
|
| 4111 |
static void |
| 4112 |
Opcode_extui_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4113 |
{ |
| 4114 |
slotbuf[0] = 0x40000; |
| 4115 |
} |
| 4116 |
|
| 4117 |
static void |
| 4118 |
Opcode_ill_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4119 |
{ |
| 4120 |
slotbuf[0] = 0; |
| 4121 |
} |
| 4122 |
|
| 4123 |
static void |
| 4124 |
Opcode_j_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4125 |
{ |
| 4126 |
slotbuf[0] = 0x6; |
| 4127 |
} |
| 4128 |
|
| 4129 |
static void |
| 4130 |
Opcode_jx_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4131 |
{ |
| 4132 |
slotbuf[0] = 0xa0; |
| 4133 |
} |
| 4134 |
|
| 4135 |
static void |
| 4136 |
Opcode_l16ui_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4137 |
{ |
| 4138 |
slotbuf[0] = 0x1002; |
| 4139 |
} |
| 4140 |
|
| 4141 |
static void |
| 4142 |
Opcode_l16si_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4143 |
{ |
| 4144 |
slotbuf[0] = 0x9002; |
| 4145 |
} |
| 4146 |
|
| 4147 |
static void |
| 4148 |
Opcode_l32i_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4149 |
{ |
| 4150 |
slotbuf[0] = 0x2002; |
| 4151 |
} |
| 4152 |
|
| 4153 |
static void |
| 4154 |
Opcode_l32r_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4155 |
{ |
| 4156 |
slotbuf[0] = 0x1; |
| 4157 |
} |
| 4158 |
|
| 4159 |
static void |
| 4160 |
Opcode_l8ui_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4161 |
{ |
| 4162 |
slotbuf[0] = 0x2; |
| 4163 |
} |
| 4164 |
|
| 4165 |
static void |
| 4166 |
Opcode_movi_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4167 |
{ |
| 4168 |
slotbuf[0] = 0xa002; |
| 4169 |
} |
| 4170 |
|
| 4171 |
static void |
| 4172 |
Opcode_moveqz_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4173 |
{ |
| 4174 |
slotbuf[0] = 0x830000; |
| 4175 |
} |
| 4176 |
|
| 4177 |
static void |
| 4178 |
Opcode_movnez_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4179 |
{ |
| 4180 |
slotbuf[0] = 0x930000; |
| 4181 |
} |
| 4182 |
|
| 4183 |
static void |
| 4184 |
Opcode_movltz_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4185 |
{ |
| 4186 |
slotbuf[0] = 0xa30000; |
| 4187 |
} |
| 4188 |
|
| 4189 |
static void |
| 4190 |
Opcode_movgez_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4191 |
{ |
| 4192 |
slotbuf[0] = 0xb30000; |
| 4193 |
} |
| 4194 |
|
| 4195 |
static void |
| 4196 |
Opcode_neg_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4197 |
{ |
| 4198 |
slotbuf[0] = 0x600000; |
| 4199 |
} |
| 4200 |
|
| 4201 |
static void |
| 4202 |
Opcode_abs_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4203 |
{ |
| 4204 |
slotbuf[0] = 0x600100; |
| 4205 |
} |
| 4206 |
|
| 4207 |
static void |
| 4208 |
Opcode_nop_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4209 |
{ |
| 4210 |
slotbuf[0] = 0x20f0; |
| 4211 |
} |
| 4212 |
|
| 4213 |
static void |
| 4214 |
Opcode_ret_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4215 |
{ |
| 4216 |
slotbuf[0] = 0x80; |
| 4217 |
} |
| 4218 |
|
| 4219 |
static void |
| 4220 |
Opcode_s16i_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4221 |
{ |
| 4222 |
slotbuf[0] = 0x5002; |
| 4223 |
} |
| 4224 |
|
| 4225 |
static void |
| 4226 |
Opcode_s32i_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4227 |
{ |
| 4228 |
slotbuf[0] = 0x6002; |
| 4229 |
} |
| 4230 |
|
| 4231 |
static void |
| 4232 |
Opcode_s8i_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4233 |
{ |
| 4234 |
slotbuf[0] = 0x4002; |
| 4235 |
} |
| 4236 |
|
| 4237 |
static void |
| 4238 |
Opcode_ssr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4239 |
{ |
| 4240 |
slotbuf[0] = 0x400000; |
| 4241 |
} |
| 4242 |
|
| 4243 |
static void |
| 4244 |
Opcode_ssl_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4245 |
{ |
| 4246 |
slotbuf[0] = 0x401000; |
| 4247 |
} |
| 4248 |
|
| 4249 |
static void |
| 4250 |
Opcode_ssa8l_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4251 |
{ |
| 4252 |
slotbuf[0] = 0x402000; |
| 4253 |
} |
| 4254 |
|
| 4255 |
static void |
| 4256 |
Opcode_ssa8b_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4257 |
{ |
| 4258 |
slotbuf[0] = 0x403000; |
| 4259 |
} |
| 4260 |
|
| 4261 |
static void |
| 4262 |
Opcode_ssai_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4263 |
{ |
| 4264 |
slotbuf[0] = 0x404000; |
| 4265 |
} |
| 4266 |
|
| 4267 |
static void |
| 4268 |
Opcode_sll_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4269 |
{ |
| 4270 |
slotbuf[0] = 0xa10000; |
| 4271 |
} |
| 4272 |
|
| 4273 |
static void |
| 4274 |
Opcode_src_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4275 |
{ |
| 4276 |
slotbuf[0] = 0x810000; |
| 4277 |
} |
| 4278 |
|
| 4279 |
static void |
| 4280 |
Opcode_srl_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4281 |
{ |
| 4282 |
slotbuf[0] = 0x910000; |
| 4283 |
} |
| 4284 |
|
| 4285 |
static void |
| 4286 |
Opcode_sra_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4287 |
{ |
| 4288 |
slotbuf[0] = 0xb10000; |
| 4289 |
} |
| 4290 |
|
| 4291 |
static void |
| 4292 |
Opcode_slli_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4293 |
{ |
| 4294 |
slotbuf[0] = 0x10000; |
| 4295 |
} |
| 4296 |
|
| 4297 |
static void |
| 4298 |
Opcode_srai_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4299 |
{ |
| 4300 |
slotbuf[0] = 0x210000; |
| 4301 |
} |
| 4302 |
|
| 4303 |
static void |
| 4304 |
Opcode_srli_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4305 |
{ |
| 4306 |
slotbuf[0] = 0x410000; |
| 4307 |
} |
| 4308 |
|
| 4309 |
static void |
| 4310 |
Opcode_memw_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4311 |
{ |
| 4312 |
slotbuf[0] = 0x20c0; |
| 4313 |
} |
| 4314 |
|
| 4315 |
static void |
| 4316 |
Opcode_extw_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4317 |
{ |
| 4318 |
slotbuf[0] = 0x20d0; |
| 4319 |
} |
| 4320 |
|
| 4321 |
static void |
| 4322 |
Opcode_isync_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4323 |
{ |
| 4324 |
slotbuf[0] = 0x2000; |
| 4325 |
} |
| 4326 |
|
| 4327 |
static void |
| 4328 |
Opcode_rsync_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4329 |
{ |
| 4330 |
slotbuf[0] = 0x2010; |
| 4331 |
} |
| 4332 |
|
| 4333 |
static void |
| 4334 |
Opcode_esync_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4335 |
{ |
| 4336 |
slotbuf[0] = 0x2020; |
| 4337 |
} |
| 4338 |
|
| 4339 |
static void |
| 4340 |
Opcode_dsync_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4341 |
{ |
| 4342 |
slotbuf[0] = 0x2030; |
| 4343 |
} |
| 4344 |
|
| 4345 |
static void |
| 4346 |
Opcode_rsil_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4347 |
{ |
| 4348 |
slotbuf[0] = 0x6000; |
| 4349 |
} |
| 4350 |
|
| 4351 |
static void |
| 4352 |
Opcode_rsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4353 |
{ |
| 4354 |
slotbuf[0] = 0x30300; |
| 4355 |
} |
| 4356 |
|
| 4357 |
static void |
| 4358 |
Opcode_wsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4359 |
{ |
| 4360 |
slotbuf[0] = 0x130300; |
| 4361 |
} |
| 4362 |
|
| 4363 |
static void |
| 4364 |
Opcode_xsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4365 |
{ |
| 4366 |
slotbuf[0] = 0x610300; |
| 4367 |
} |
| 4368 |
|
| 4369 |
static void |
| 4370 |
Opcode_rsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4371 |
{ |
| 4372 |
slotbuf[0] = 0x30500; |
| 4373 |
} |
| 4374 |
|
| 4375 |
static void |
| 4376 |
Opcode_wsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4377 |
{ |
| 4378 |
slotbuf[0] = 0x130500; |
| 4379 |
} |
| 4380 |
|
| 4381 |
static void |
| 4382 |
Opcode_xsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4383 |
{ |
| 4384 |
slotbuf[0] = 0x610500; |
| 4385 |
} |
| 4386 |
|
| 4387 |
static void |
| 4388 |
Opcode_rsr_176_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4389 |
{ |
| 4390 |
slotbuf[0] = 0x3b000; |
| 4391 |
} |
| 4392 |
|
| 4393 |
static void |
| 4394 |
Opcode_wsr_176_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4395 |
{ |
| 4396 |
slotbuf[0] = 0x13b000; |
| 4397 |
} |
| 4398 |
|
| 4399 |
static void |
| 4400 |
Opcode_rsr_208_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4401 |
{ |
| 4402 |
slotbuf[0] = 0x3d000; |
| 4403 |
} |
| 4404 |
|
| 4405 |
static void |
| 4406 |
Opcode_rsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4407 |
{ |
| 4408 |
slotbuf[0] = 0x3e600; |
| 4409 |
} |
| 4410 |
|
| 4411 |
static void |
| 4412 |
Opcode_wsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4413 |
{ |
| 4414 |
slotbuf[0] = 0x13e600; |
| 4415 |
} |
| 4416 |
|
| 4417 |
static void |
| 4418 |
Opcode_xsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4419 |
{ |
| 4420 |
slotbuf[0] = 0x61e600; |
| 4421 |
} |
| 4422 |
|
| 4423 |
static void |
| 4424 |
Opcode_rsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4425 |
{ |
| 4426 |
slotbuf[0] = 0x3b100; |
| 4427 |
} |
| 4428 |
|
| 4429 |
static void |
| 4430 |
Opcode_wsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4431 |
{ |
| 4432 |
slotbuf[0] = 0x13b100; |
| 4433 |
} |
| 4434 |
|
| 4435 |
static void |
| 4436 |
Opcode_xsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4437 |
{ |
| 4438 |
slotbuf[0] = 0x61b100; |
| 4439 |
} |
| 4440 |
|
| 4441 |
static void |
| 4442 |
Opcode_rsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4443 |
{ |
| 4444 |
slotbuf[0] = 0x3d100; |
| 4445 |
} |
| 4446 |
|
| 4447 |
static void |
| 4448 |
Opcode_wsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4449 |
{ |
| 4450 |
slotbuf[0] = 0x13d100; |
| 4451 |
} |
| 4452 |
|
| 4453 |
static void |
| 4454 |
Opcode_xsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4455 |
{ |
| 4456 |
slotbuf[0] = 0x61d100; |
| 4457 |
} |
| 4458 |
|
| 4459 |
static void |
| 4460 |
Opcode_rsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4461 |
{ |
| 4462 |
slotbuf[0] = 0x3b200; |
| 4463 |
} |
| 4464 |
|
| 4465 |
static void |
| 4466 |
Opcode_wsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4467 |
{ |
| 4468 |
slotbuf[0] = 0x13b200; |
| 4469 |
} |
| 4470 |
|
| 4471 |
static void |
| 4472 |
Opcode_xsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4473 |
{ |
| 4474 |
slotbuf[0] = 0x61b200; |
| 4475 |
} |
| 4476 |
|
| 4477 |
static void |
| 4478 |
Opcode_rsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4479 |
{ |
| 4480 |
slotbuf[0] = 0x3d200; |
| 4481 |
} |
| 4482 |
|
| 4483 |
static void |
| 4484 |
Opcode_wsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4485 |
{ |
| 4486 |
slotbuf[0] = 0x13d200; |
| 4487 |
} |
| 4488 |
|
| 4489 |
static void |
| 4490 |
Opcode_xsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4491 |
{ |
| 4492 |
slotbuf[0] = 0x61d200; |
| 4493 |
} |
| 4494 |
|
| 4495 |
static void |
| 4496 |
Opcode_rsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4497 |
{ |
| 4498 |
slotbuf[0] = 0x3b300; |
| 4499 |
} |
| 4500 |
|
| 4501 |
static void |
| 4502 |
Opcode_wsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4503 |
{ |
| 4504 |
slotbuf[0] = 0x13b300; |
| 4505 |
} |
| 4506 |
|
| 4507 |
static void |
| 4508 |
Opcode_xsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4509 |
{ |
| 4510 |
slotbuf[0] = 0x61b300; |
| 4511 |
} |
| 4512 |
|
| 4513 |
static void |
| 4514 |
Opcode_rsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4515 |
{ |
| 4516 |
slotbuf[0] = 0x3d300; |
| 4517 |
} |
| 4518 |
|
| 4519 |
static void |
| 4520 |
Opcode_wsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4521 |
{ |
| 4522 |
slotbuf[0] = 0x13d300; |
| 4523 |
} |
| 4524 |
|
| 4525 |
static void |
| 4526 |
Opcode_xsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4527 |
{ |
| 4528 |
slotbuf[0] = 0x61d300; |
| 4529 |
} |
| 4530 |
|
| 4531 |
static void |
| 4532 |
Opcode_rsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4533 |
{ |
| 4534 |
slotbuf[0] = 0x3c200; |
| 4535 |
} |
| 4536 |
|
| 4537 |
static void |
| 4538 |
Opcode_wsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4539 |
{ |
| 4540 |
slotbuf[0] = 0x13c200; |
| 4541 |
} |
| 4542 |
|
| 4543 |
static void |
| 4544 |
Opcode_xsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4545 |
{ |
| 4546 |
slotbuf[0] = 0x61c200; |
| 4547 |
} |
| 4548 |
|
| 4549 |
static void |
| 4550 |
Opcode_rsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4551 |
{ |
| 4552 |
slotbuf[0] = 0x3c300; |
| 4553 |
} |
| 4554 |
|
| 4555 |
static void |
| 4556 |
Opcode_wsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4557 |
{ |
| 4558 |
slotbuf[0] = 0x13c300; |
| 4559 |
} |
| 4560 |
|
| 4561 |
static void |
| 4562 |
Opcode_xsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4563 |
{ |
| 4564 |
slotbuf[0] = 0x61c300; |
| 4565 |
} |
| 4566 |
|
| 4567 |
static void |
| 4568 |
Opcode_rsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4569 |
{ |
| 4570 |
slotbuf[0] = 0x3ee00; |
| 4571 |
} |
| 4572 |
|
| 4573 |
static void |
| 4574 |
Opcode_wsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4575 |
{ |
| 4576 |
slotbuf[0] = 0x13ee00; |
| 4577 |
} |
| 4578 |
|
| 4579 |
static void |
| 4580 |
Opcode_xsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4581 |
{ |
| 4582 |
slotbuf[0] = 0x61ee00; |
| 4583 |
} |
| 4584 |
|
| 4585 |
static void |
| 4586 |
Opcode_rsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4587 |
{ |
| 4588 |
slotbuf[0] = 0x3c000; |
| 4589 |
} |
| 4590 |
|
| 4591 |
static void |
| 4592 |
Opcode_wsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4593 |
{ |
| 4594 |
slotbuf[0] = 0x13c000; |
| 4595 |
} |
| 4596 |
|
| 4597 |
static void |
| 4598 |
Opcode_xsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4599 |
{ |
| 4600 |
slotbuf[0] = 0x61c000; |
| 4601 |
} |
| 4602 |
|
| 4603 |
static void |
| 4604 |
Opcode_rsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4605 |
{ |
| 4606 |
slotbuf[0] = 0x3e800; |
| 4607 |
} |
| 4608 |
|
| 4609 |
static void |
| 4610 |
Opcode_wsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4611 |
{ |
| 4612 |
slotbuf[0] = 0x13e800; |
| 4613 |
} |
| 4614 |
|
| 4615 |
static void |
| 4616 |
Opcode_xsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4617 |
{ |
| 4618 |
slotbuf[0] = 0x61e800; |
| 4619 |
} |
| 4620 |
|
| 4621 |
static void |
| 4622 |
Opcode_rsr_prid_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4623 |
{ |
| 4624 |
slotbuf[0] = 0x3eb00; |
| 4625 |
} |
| 4626 |
|
| 4627 |
static void |
| 4628 |
Opcode_rsr_vecbase_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4629 |
{ |
| 4630 |
slotbuf[0] = 0x3e700; |
| 4631 |
} |
| 4632 |
|
| 4633 |
static void |
| 4634 |
Opcode_wsr_vecbase_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4635 |
{ |
| 4636 |
slotbuf[0] = 0x13e700; |
| 4637 |
} |
| 4638 |
|
| 4639 |
static void |
| 4640 |
Opcode_xsr_vecbase_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4641 |
{ |
| 4642 |
slotbuf[0] = 0x61e700; |
| 4643 |
} |
| 4644 |
|
| 4645 |
static void |
| 4646 |
Opcode_mul16u_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4647 |
{ |
| 4648 |
slotbuf[0] = 0xc10000; |
| 4649 |
} |
| 4650 |
|
| 4651 |
static void |
| 4652 |
Opcode_mul16s_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4653 |
{ |
| 4654 |
slotbuf[0] = 0xd10000; |
| 4655 |
} |
| 4656 |
|
| 4657 |
static void |
| 4658 |
Opcode_mull_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4659 |
{ |
| 4660 |
slotbuf[0] = 0x820000; |
| 4661 |
} |
| 4662 |
|
| 4663 |
static void |
| 4664 |
Opcode_rfi_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4665 |
{ |
| 4666 |
slotbuf[0] = 0x3010; |
| 4667 |
} |
| 4668 |
|
| 4669 |
static void |
| 4670 |
Opcode_waiti_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4671 |
{ |
| 4672 |
slotbuf[0] = 0x7000; |
| 4673 |
} |
| 4674 |
|
| 4675 |
static void |
| 4676 |
Opcode_rsr_interrupt_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4677 |
{ |
| 4678 |
slotbuf[0] = 0x3e200; |
| 4679 |
} |
| 4680 |
|
| 4681 |
static void |
| 4682 |
Opcode_wsr_intset_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4683 |
{ |
| 4684 |
slotbuf[0] = 0x13e200; |
| 4685 |
} |
| 4686 |
|
| 4687 |
static void |
| 4688 |
Opcode_wsr_intclear_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4689 |
{ |
| 4690 |
slotbuf[0] = 0x13e300; |
| 4691 |
} |
| 4692 |
|
| 4693 |
static void |
| 4694 |
Opcode_rsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4695 |
{ |
| 4696 |
slotbuf[0] = 0x3e400; |
| 4697 |
} |
| 4698 |
|
| 4699 |
static void |
| 4700 |
Opcode_wsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4701 |
{ |
| 4702 |
slotbuf[0] = 0x13e400; |
| 4703 |
} |
| 4704 |
|
| 4705 |
static void |
| 4706 |
Opcode_xsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4707 |
{ |
| 4708 |
slotbuf[0] = 0x61e400; |
| 4709 |
} |
| 4710 |
|
| 4711 |
static void |
| 4712 |
Opcode_break_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4713 |
{ |
| 4714 |
slotbuf[0] = 0x4000; |
| 4715 |
} |
| 4716 |
|
| 4717 |
static void |
| 4718 |
Opcode_break_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf) |
| 4719 |
{ |
| 4720 |
slotbuf[0] = 0xf02d; |
| 4721 |
} |
| 4722 |
|
| 4723 |
static void |
| 4724 |
Opcode_rsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4725 |
{ |
| 4726 |
slotbuf[0] = 0x39000; |
| 4727 |
} |
| 4728 |
|
| 4729 |
static void |
| 4730 |
Opcode_wsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4731 |
{ |
| 4732 |
slotbuf[0] = 0x139000; |
| 4733 |
} |
| 4734 |
|
| 4735 |
static void |
| 4736 |
Opcode_xsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4737 |
{ |
| 4738 |
slotbuf[0] = 0x619000; |
| 4739 |
} |
| 4740 |
|
| 4741 |
static void |
| 4742 |
Opcode_rsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4743 |
{ |
| 4744 |
slotbuf[0] = 0x3a000; |
| 4745 |
} |
| 4746 |
|
| 4747 |
static void |
| 4748 |
Opcode_wsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4749 |
{ |
| 4750 |
slotbuf[0] = 0x13a000; |
| 4751 |
} |
| 4752 |
|
| 4753 |
static void |
| 4754 |
Opcode_xsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4755 |
{ |
| 4756 |
slotbuf[0] = 0x61a000; |
| 4757 |
} |
| 4758 |
|
| 4759 |
static void |
| 4760 |
Opcode_rsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4761 |
{ |
| 4762 |
slotbuf[0] = 0x38000; |
| 4763 |
} |
| 4764 |
|
| 4765 |
static void |
| 4766 |
Opcode_wsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4767 |
{ |
| 4768 |
slotbuf[0] = 0x138000; |
| 4769 |
} |
| 4770 |
|
| 4771 |
static void |
| 4772 |
Opcode_xsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4773 |
{ |
| 4774 |
slotbuf[0] = 0x618000; |
| 4775 |
} |
| 4776 |
|
| 4777 |
static void |
| 4778 |
Opcode_rsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4779 |
{ |
| 4780 |
slotbuf[0] = 0x36000; |
| 4781 |
} |
| 4782 |
|
| 4783 |
static void |
| 4784 |
Opcode_wsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4785 |
{ |
| 4786 |
slotbuf[0] = 0x136000; |
| 4787 |
} |
| 4788 |
|
| 4789 |
static void |
| 4790 |
Opcode_xsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4791 |
{ |
| 4792 |
slotbuf[0] = 0x616000; |
| 4793 |
} |
| 4794 |
|
| 4795 |
static void |
| 4796 |
Opcode_rsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4797 |
{ |
| 4798 |
slotbuf[0] = 0x3e900; |
| 4799 |
} |
| 4800 |
|
| 4801 |
static void |
| 4802 |
Opcode_wsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4803 |
{ |
| 4804 |
slotbuf[0] = 0x13e900; |
| 4805 |
} |
| 4806 |
|
| 4807 |
static void |
| 4808 |
Opcode_xsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4809 |
{ |
| 4810 |
slotbuf[0] = 0x61e900; |
| 4811 |
} |
| 4812 |
|
| 4813 |
static void |
| 4814 |
Opcode_rsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4815 |
{ |
| 4816 |
slotbuf[0] = 0x3ec00; |
| 4817 |
} |
| 4818 |
|
| 4819 |
static void |
| 4820 |
Opcode_wsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4821 |
{ |
| 4822 |
slotbuf[0] = 0x13ec00; |
| 4823 |
} |
| 4824 |
|
| 4825 |
static void |
| 4826 |
Opcode_xsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4827 |
{ |
| 4828 |
slotbuf[0] = 0x61ec00; |
| 4829 |
} |
| 4830 |
|
| 4831 |
static void |
| 4832 |
Opcode_rsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4833 |
{ |
| 4834 |
slotbuf[0] = 0x3ed00; |
| 4835 |
} |
| 4836 |
|
| 4837 |
static void |
| 4838 |
Opcode_wsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4839 |
{ |
| 4840 |
slotbuf[0] = 0x13ed00; |
| 4841 |
} |
| 4842 |
|
| 4843 |
static void |
| 4844 |
Opcode_xsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4845 |
{ |
| 4846 |
slotbuf[0] = 0x61ed00; |
| 4847 |
} |
| 4848 |
|
| 4849 |
static void |
| 4850 |
Opcode_rsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4851 |
{ |
| 4852 |
slotbuf[0] = 0x36800; |
| 4853 |
} |
| 4854 |
|
| 4855 |
static void |
| 4856 |
Opcode_wsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4857 |
{ |
| 4858 |
slotbuf[0] = 0x136800; |
| 4859 |
} |
| 4860 |
|
| 4861 |
static void |
| 4862 |
Opcode_xsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4863 |
{ |
| 4864 |
slotbuf[0] = 0x616800; |
| 4865 |
} |
| 4866 |
|
| 4867 |
static void |
| 4868 |
Opcode_rfdo_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4869 |
{ |
| 4870 |
slotbuf[0] = 0xf1e000; |
| 4871 |
} |
| 4872 |
|
| 4873 |
static void |
| 4874 |
Opcode_rfdd_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4875 |
{ |
| 4876 |
slotbuf[0] = 0xf1e010; |
| 4877 |
} |
| 4878 |
|
| 4879 |
static void |
| 4880 |
Opcode_wsr_mmid_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4881 |
{ |
| 4882 |
slotbuf[0] = 0x135900; |
| 4883 |
} |
| 4884 |
|
| 4885 |
static void |
| 4886 |
Opcode_rsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4887 |
{ |
| 4888 |
slotbuf[0] = 0x3ea00; |
| 4889 |
} |
| 4890 |
|
| 4891 |
static void |
| 4892 |
Opcode_wsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4893 |
{ |
| 4894 |
slotbuf[0] = 0x13ea00; |
| 4895 |
} |
| 4896 |
|
| 4897 |
static void |
| 4898 |
Opcode_xsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4899 |
{ |
| 4900 |
slotbuf[0] = 0x61ea00; |
| 4901 |
} |
| 4902 |
|
| 4903 |
static void |
| 4904 |
Opcode_rsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4905 |
{ |
| 4906 |
slotbuf[0] = 0x3f000; |
| 4907 |
} |
| 4908 |
|
| 4909 |
static void |
| 4910 |
Opcode_wsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4911 |
{ |
| 4912 |
slotbuf[0] = 0x13f000; |
| 4913 |
} |
| 4914 |
|
| 4915 |
static void |
| 4916 |
Opcode_xsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4917 |
{ |
| 4918 |
slotbuf[0] = 0x61f000; |
| 4919 |
} |
| 4920 |
|
| 4921 |
static void |
| 4922 |
Opcode_idtlb_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4923 |
{ |
| 4924 |
slotbuf[0] = 0x50c000; |
| 4925 |
} |
| 4926 |
|
| 4927 |
static void |
| 4928 |
Opcode_pdtlb_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4929 |
{ |
| 4930 |
slotbuf[0] = 0x50d000; |
| 4931 |
} |
| 4932 |
|
| 4933 |
static void |
| 4934 |
Opcode_rdtlb0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4935 |
{ |
| 4936 |
slotbuf[0] = 0x50b000; |
| 4937 |
} |
| 4938 |
|
| 4939 |
static void |
| 4940 |
Opcode_rdtlb1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4941 |
{ |
| 4942 |
slotbuf[0] = 0x50f000; |
| 4943 |
} |
| 4944 |
|
| 4945 |
static void |
| 4946 |
Opcode_wdtlb_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4947 |
{ |
| 4948 |
slotbuf[0] = 0x50e000; |
| 4949 |
} |
| 4950 |
|
| 4951 |
static void |
| 4952 |
Opcode_iitlb_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4953 |
{ |
| 4954 |
slotbuf[0] = 0x504000; |
| 4955 |
} |
| 4956 |
|
| 4957 |
static void |
| 4958 |
Opcode_pitlb_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4959 |
{ |
| 4960 |
slotbuf[0] = 0x505000; |
| 4961 |
} |
| 4962 |
|
| 4963 |
static void |
| 4964 |
Opcode_ritlb0_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4965 |
{ |
| 4966 |
slotbuf[0] = 0x503000; |
| 4967 |
} |
| 4968 |
|
| 4969 |
static void |
| 4970 |
Opcode_ritlb1_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4971 |
{ |
| 4972 |
slotbuf[0] = 0x507000; |
| 4973 |
} |
| 4974 |
|
| 4975 |
static void |
| 4976 |
Opcode_witlb_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4977 |
{ |
| 4978 |
slotbuf[0] = 0x506000; |
| 4979 |
} |
| 4980 |
|
| 4981 |
static void |
| 4982 |
Opcode_nsa_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4983 |
{ |
| 4984 |
slotbuf[0] = 0x40e000; |
| 4985 |
} |
| 4986 |
|
| 4987 |
static void |
| 4988 |
Opcode_nsau_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4989 |
{ |
| 4990 |
slotbuf[0] = 0x40f000; |
| 4991 |
} |
| 4992 |
|
| 4993 |
static void |
| 4994 |
Opcode_rer_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 4995 |
{ |
| 4996 |
slotbuf[0] = 0x406000; |
| 4997 |
} |
| 4998 |
|
| 4999 |
static void |
| 5000 |
Opcode_wer_Slot_inst_encode (xtensa_insnbuf slotbuf) |
| 5001 |
{ |
| 5002 |
slotbuf[0] = 0x407000; |
| 5003 |
} |
| 5004 |
|
| 5005 |
xtensa_opcode_encode_fn Opcode_excw_encode_fns[] = { |
| 5006 |
Opcode_excw_Slot_inst_encode, 0, 0 |
| 5007 |
}; |
| 5008 |
|
| 5009 |
xtensa_opcode_encode_fn Opcode_rfe_encode_fns[] = { |
| 5010 |
Opcode_rfe_Slot_inst_encode, 0, 0 |
| 5011 |
}; |
| 5012 |
|
| 5013 |
xtensa_opcode_encode_fn Opcode_rfde_encode_fns[] = { |
| 5014 |
Opcode_rfde_Slot_inst_encode, 0, 0 |
| 5015 |
}; |
| 5016 |
|
| 5017 |
xtensa_opcode_encode_fn Opcode_syscall_encode_fns[] = { |
| 5018 |
Opcode_syscall_Slot_inst_encode, 0, 0 |
| 5019 |
}; |
| 5020 |
|
| 5021 |
xtensa_opcode_encode_fn Opcode_simcall_encode_fns[] = { |
| 5022 |
Opcode_simcall_Slot_inst_encode, 0, 0 |
| 5023 |
}; |
| 5024 |
|
| 5025 |
xtensa_opcode_encode_fn Opcode_add_n_encode_fns[] = { |
| 5026 |
0, Opcode_add_n_Slot_inst16a_encode, 0 |
| 5027 |
}; |
| 5028 |
|
| 5029 |
xtensa_opcode_encode_fn Opcode_addi_n_encode_fns[] = { |
| 5030 |
0, Opcode_addi_n_Slot_inst16a_encode, 0 |
| 5031 |
}; |
| 5032 |
|
| 5033 |
xtensa_opcode_encode_fn Opcode_beqz_n_encode_fns[] = { |
| 5034 |
0, 0, Opcode_beqz_n_Slot_inst16b_encode |
| 5035 |
}; |
| 5036 |
|
| 5037 |
xtensa_opcode_encode_fn Opcode_bnez_n_encode_fns[] = { |
| 5038 |
0, 0, Opcode_bnez_n_Slot_inst16b_encode |
| 5039 |
}; |
| 5040 |
|
| 5041 |
xtensa_opcode_encode_fn Opcode_ill_n_encode_fns[] = { |
| 5042 |
0, 0, Opcode_ill_n_Slot_inst16b_encode |
| 5043 |
}; |
| 5044 |
|
| 5045 |
xtensa_opcode_encode_fn Opcode_l32i_n_encode_fns[] = { |
| 5046 |
0, Opcode_l32i_n_Slot_inst16a_encode, 0 |
| 5047 |
}; |
| 5048 |
|
| 5049 |
xtensa_opcode_encode_fn Opcode_mov_n_encode_fns[] = { |
| 5050 |
0, 0, Opcode_mov_n_Slot_inst16b_encode |
| 5051 |
}; |
| 5052 |
|
| 5053 |
xtensa_opcode_encode_fn Opcode_movi_n_encode_fns[] = { |
| 5054 |
0, 0, Opcode_movi_n_Slot_inst16b_encode |
| 5055 |
}; |
| 5056 |
|
| 5057 |
xtensa_opcode_encode_fn Opcode_nop_n_encode_fns[] = { |
| 5058 |
0, 0, Opcode_nop_n_Slot_inst16b_encode |
| 5059 |
}; |
| 5060 |
|
| 5061 |
xtensa_opcode_encode_fn Opcode_ret_n_encode_fns[] = { |
| 5062 |
0, 0, Opcode_ret_n_Slot_inst16b_encode |
| 5063 |
}; |
| 5064 |
|
| 5065 |
xtensa_opcode_encode_fn Opcode_s32i_n_encode_fns[] = { |
| 5066 |
0, Opcode_s32i_n_Slot_inst16a_encode, 0 |
| 5067 |
}; |
| 5068 |
|
| 5069 |
xtensa_opcode_encode_fn Opcode_addi_encode_fns[] = { |
| 5070 |
Opcode_addi_Slot_inst_encode, 0, 0 |
| 5071 |
}; |
| 5072 |
|
| 5073 |
xtensa_opcode_encode_fn Opcode_addmi_encode_fns[] = { |
| 5074 |
Opcode_addmi_Slot_inst_encode, 0, 0 |
| 5075 |
}; |
| 5076 |
|
| 5077 |
xtensa_opcode_encode_fn Opcode_add_encode_fns[] = { |
| 5078 |
Opcode_add_Slot_inst_encode, 0, 0 |
| 5079 |
}; |
| 5080 |
|
| 5081 |
xtensa_opcode_encode_fn Opcode_sub_encode_fns[] = { |
| 5082 |
Opcode_sub_Slot_inst_encode, 0, 0 |
| 5083 |
}; |
| 5084 |
|
| 5085 |
xtensa_opcode_encode_fn Opcode_addx2_encode_fns[] = { |
| 5086 |
Opcode_addx2_Slot_inst_encode, 0, 0 |
| 5087 |
}; |
| 5088 |
|
| 5089 |
xtensa_opcode_encode_fn Opcode_addx4_encode_fns[] = { |
| 5090 |
Opcode_addx4_Slot_inst_encode, 0, 0 |
| 5091 |
}; |
| 5092 |
|
| 5093 |
xtensa_opcode_encode_fn Opcode_addx8_encode_fns[] = { |
| 5094 |
Opcode_addx8_Slot_inst_encode, 0, 0 |
| 5095 |
}; |
| 5096 |
|
| 5097 |
xtensa_opcode_encode_fn Opcode_subx2_encode_fns[] = { |
| 5098 |
Opcode_subx2_Slot_inst_encode, 0, 0 |
| 5099 |
}; |
| 5100 |
|
| 5101 |
xtensa_opcode_encode_fn Opcode_subx4_encode_fns[] = { |
| 5102 |
Opcode_subx4_Slot_inst_encode, 0, 0 |
| 5103 |
}; |
| 5104 |
|
| 5105 |
xtensa_opcode_encode_fn Opcode_subx8_encode_fns[] = { |
| 5106 |
Opcode_subx8_Slot_inst_encode, 0, 0 |
| 5107 |
}; |
| 5108 |
|
| 5109 |
xtensa_opcode_encode_fn Opcode_and_encode_fns[] = { |
| 5110 |
Opcode_and_Slot_inst_encode, 0, 0 |
| 5111 |
}; |
| 5112 |
|
| 5113 |
xtensa_opcode_encode_fn Opcode_or_encode_fns[] = { |
| 5114 |
Opcode_or_Slot_inst_encode, 0, 0 |
| 5115 |
}; |
| 5116 |
|
| 5117 |
xtensa_opcode_encode_fn Opcode_xor_encode_fns[] = { |
| 5118 |
Opcode_xor_Slot_inst_encode, 0, 0 |
| 5119 |
}; |
| 5120 |
|
| 5121 |
xtensa_opcode_encode_fn Opcode_beqi_encode_fns[] = { |
| 5122 |
Opcode_beqi_Slot_inst_encode, 0, 0 |
| 5123 |
}; |
| 5124 |
|
| 5125 |
xtensa_opcode_encode_fn Opcode_bnei_encode_fns[] = { |
| 5126 |
Opcode_bnei_Slot_inst_encode, 0, 0 |
| 5127 |
}; |
| 5128 |
|
| 5129 |
xtensa_opcode_encode_fn Opcode_bgei_encode_fns[] = { |
| 5130 |
Opcode_bgei_Slot_inst_encode, 0, 0 |
| 5131 |
}; |
| 5132 |
|
| 5133 |
xtensa_opcode_encode_fn Opcode_blti_encode_fns[] = { |
| 5134 |
Opcode_blti_Slot_inst_encode, 0, 0 |
| 5135 |
}; |
| 5136 |
|
| 5137 |
xtensa_opcode_encode_fn Opcode_bbci_encode_fns[] = { |
| 5138 |
Opcode_bbci_Slot_inst_encode, 0, 0 |
| 5139 |
}; |
| 5140 |
|
| 5141 |
xtensa_opcode_encode_fn Opcode_bbsi_encode_fns[] = { |
| 5142 |
Opcode_bbsi_Slot_inst_encode, 0, 0 |
| 5143 |
}; |
| 5144 |
|
| 5145 |
xtensa_opcode_encode_fn Opcode_bgeui_encode_fns[] = { |
| 5146 |
Opcode_bgeui_Slot_inst_encode, 0, 0 |
| 5147 |
}; |
| 5148 |
|
| 5149 |
xtensa_opcode_encode_fn Opcode_bltui_encode_fns[] = { |
| 5150 |
Opcode_bltui_Slot_inst_encode, 0, 0 |
| 5151 |
}; |
| 5152 |
|
| 5153 |
xtensa_opcode_encode_fn Opcode_beq_encode_fns[] = { |
| 5154 |
Opcode_beq_Slot_inst_encode, 0, 0 |
| 5155 |
}; |
| 5156 |
|
| 5157 |
xtensa_opcode_encode_fn Opcode_bne_encode_fns[] = { |
| 5158 |
Opcode_bne_Slot_inst_encode, 0, 0 |
| 5159 |
}; |
| 5160 |
|
| 5161 |
xtensa_opcode_encode_fn Opcode_bge_encode_fns[] = { |
| 5162 |
Opcode_bge_Slot_inst_encode, 0, 0 |
| 5163 |
}; |
| 5164 |
|
| 5165 |
xtensa_opcode_encode_fn Opcode_blt_encode_fns[] = { |
| 5166 |
Opcode_blt_Slot_inst_encode, 0, 0 |
| 5167 |
}; |
| 5168 |
|
| 5169 |
xtensa_opcode_encode_fn Opcode_bgeu_encode_fns[] = { |
| 5170 |
Opcode_bgeu_Slot_inst_encode, 0, 0 |
| 5171 |
}; |
| 5172 |
|
| 5173 |
xtensa_opcode_encode_fn Opcode_bltu_encode_fns[] = { |
| 5174 |
Opcode_bltu_Slot_inst_encode, 0, 0 |
| 5175 |
}; |
| 5176 |
|
| 5177 |
xtensa_opcode_encode_fn Opcode_bany_encode_fns[] = { |
| 5178 |
Opcode_bany_Slot_inst_encode, 0, 0 |
| 5179 |
}; |
| 5180 |
|
| 5181 |
xtensa_opcode_encode_fn Opcode_bnone_encode_fns[] = { |
| 5182 |
Opcode_bnone_Slot_inst_encode, 0, 0 |
| 5183 |
}; |
| 5184 |
|
| 5185 |
xtensa_opcode_encode_fn Opcode_ball_encode_fns[] = { |
| 5186 |
Opcode_ball_Slot_inst_encode, 0, 0 |
| 5187 |
}; |
| 5188 |
|
| 5189 |
xtensa_opcode_encode_fn Opcode_bnall_encode_fns[] = { |
| 5190 |
Opcode_bnall_Slot_inst_encode, 0, 0 |
| 5191 |
}; |
| 5192 |
|
| 5193 |
xtensa_opcode_encode_fn Opcode_bbc_encode_fns[] = { |
| 5194 |
Opcode_bbc_Slot_inst_encode, 0, 0 |
| 5195 |
}; |
| 5196 |
|
| 5197 |
xtensa_opcode_encode_fn Opcode_bbs_encode_fns[] = { |
| 5198 |
Opcode_bbs_Slot_inst_encode, 0, 0 |
| 5199 |
}; |
| 5200 |
|
| 5201 |
xtensa_opcode_encode_fn Opcode_beqz_encode_fns[] = { |
| 5202 |
Opcode_beqz_Slot_inst_encode, 0, 0 |
| 5203 |
}; |
| 5204 |
|
| 5205 |
xtensa_opcode_encode_fn Opcode_bnez_encode_fns[] = { |
| 5206 |
Opcode_bnez_Slot_inst_encode, 0, 0 |
| 5207 |
}; |
| 5208 |
|
| 5209 |
xtensa_opcode_encode_fn Opcode_bgez_encode_fns[] = { |
| 5210 |
Opcode_bgez_Slot_inst_encode, 0, 0 |
| 5211 |
}; |
| 5212 |
|
| 5213 |
xtensa_opcode_encode_fn Opcode_bltz_encode_fns[] = { |
| 5214 |
Opcode_bltz_Slot_inst_encode, 0, 0 |
| 5215 |
}; |
| 5216 |
|
| 5217 |
xtensa_opcode_encode_fn Opcode_call0_encode_fns[] = { |
| 5218 |
Opcode_call0_Slot_inst_encode, 0, 0 |
| 5219 |
}; |
| 5220 |
|
| 5221 |
xtensa_opcode_encode_fn Opcode_callx0_encode_fns[] = { |
| 5222 |
Opcode_callx0_Slot_inst_encode, 0, 0 |
| 5223 |
}; |
| 5224 |
|
| 5225 |
xtensa_opcode_encode_fn Opcode_extui_encode_fns[] = { |
| 5226 |
Opcode_extui_Slot_inst_encode, 0, 0 |
| 5227 |
}; |
| 5228 |
|
| 5229 |
xtensa_opcode_encode_fn Opcode_ill_encode_fns[] = { |
| 5230 |
Opcode_ill_Slot_inst_encode, 0, 0 |
| 5231 |
}; |
| 5232 |
|
| 5233 |
xtensa_opcode_encode_fn Opcode_j_encode_fns[] = { |
| 5234 |
Opcode_j_Slot_inst_encode, 0, 0 |
| 5235 |
}; |
| 5236 |
|
| 5237 |
xtensa_opcode_encode_fn Opcode_jx_encode_fns[] = { |
| 5238 |
Opcode_jx_Slot_inst_encode, 0, 0 |
| 5239 |
}; |
| 5240 |
|
| 5241 |
xtensa_opcode_encode_fn Opcode_l16ui_encode_fns[] = { |
| 5242 |
Opcode_l16ui_Slot_inst_encode, 0, 0 |
| 5243 |
}; |
| 5244 |
|
| 5245 |
xtensa_opcode_encode_fn Opcode_l16si_encode_fns[] = { |
| 5246 |
Opcode_l16si_Slot_inst_encode, 0, 0 |
| 5247 |
}; |
| 5248 |
|
| 5249 |
xtensa_opcode_encode_fn Opcode_l32i_encode_fns[] = { |
| 5250 |
Opcode_l32i_Slot_inst_encode, 0, 0 |
| 5251 |
}; |
| 5252 |
|
| 5253 |
xtensa_opcode_encode_fn Opcode_l32r_encode_fns[] = { |
| 5254 |
Opcode_l32r_Slot_inst_encode, 0, 0 |
| 5255 |
}; |
| 5256 |
|
| 5257 |
xtensa_opcode_encode_fn Opcode_l8ui_encode_fns[] = { |
| 5258 |
Opcode_l8ui_Slot_inst_encode, 0, 0 |
| 5259 |
}; |
| 5260 |
|
| 5261 |
xtensa_opcode_encode_fn Opcode_movi_encode_fns[] = { |
| 5262 |
Opcode_movi_Slot_inst_encode, 0, 0 |
| 5263 |
}; |
| 5264 |
|
| 5265 |
xtensa_opcode_encode_fn Opcode_moveqz_encode_fns[] = { |
| 5266 |
Opcode_moveqz_Slot_inst_encode, 0, 0 |
| 5267 |
}; |
| 5268 |
|
| 5269 |
xtensa_opcode_encode_fn Opcode_movnez_encode_fns[] = { |
| 5270 |
Opcode_movnez_Slot_inst_encode, 0, 0 |
| 5271 |
}; |
| 5272 |
|
| 5273 |
xtensa_opcode_encode_fn Opcode_movltz_encode_fns[] = { |
| 5274 |
Opcode_movltz_Slot_inst_encode, 0, 0 |
| 5275 |
}; |
| 5276 |
|
| 5277 |
xtensa_opcode_encode_fn Opcode_movgez_encode_fns[] = { |
| 5278 |
Opcode_movgez_Slot_inst_encode, 0, 0 |
| 5279 |
}; |
| 5280 |
|
| 5281 |
xtensa_opcode_encode_fn Opcode_neg_encode_fns[] = { |
| 5282 |
Opcode_neg_Slot_inst_encode, 0, 0 |
| 5283 |
}; |
| 5284 |
|
| 5285 |
xtensa_opcode_encode_fn Opcode_abs_encode_fns[] = { |
| 5286 |
Opcode_abs_Slot_inst_encode, 0, 0 |
| 5287 |
}; |
| 5288 |
|
| 5289 |
xtensa_opcode_encode_fn Opcode_nop_encode_fns[] = { |
| 5290 |
Opcode_nop_Slot_inst_encode, 0, 0 |
| 5291 |
}; |
| 5292 |
|
| 5293 |
xtensa_opcode_encode_fn Opcode_ret_encode_fns[] = { |
| 5294 |
Opcode_ret_Slot_inst_encode, 0, 0 |
| 5295 |
}; |
| 5296 |
|
| 5297 |
xtensa_opcode_encode_fn Opcode_s16i_encode_fns[] = { |
| 5298 |
Opcode_s16i_Slot_inst_encode, 0, 0 |
| 5299 |
}; |
| 5300 |
|
| 5301 |
xtensa_opcode_encode_fn Opcode_s32i_encode_fns[] = { |
| 5302 |
Opcode_s32i_Slot_inst_encode, 0, 0 |
| 5303 |
}; |
| 5304 |
|
| 5305 |
xtensa_opcode_encode_fn Opcode_s8i_encode_fns[] = { |
| 5306 |
Opcode_s8i_Slot_inst_encode, 0, 0 |
| 5307 |
}; |
| 5308 |
|
| 5309 |
xtensa_opcode_encode_fn Opcode_ssr_encode_fns[] = { |
| 5310 |
Opcode_ssr_Slot_inst_encode, 0, 0 |
| 5311 |
}; |
| 5312 |
|
| 5313 |
xtensa_opcode_encode_fn Opcode_ssl_encode_fns[] = { |
| 5314 |
Opcode_ssl_Slot_inst_encode, 0, 0 |
| 5315 |
}; |
| 5316 |
|
| 5317 |
xtensa_opcode_encode_fn Opcode_ssa8l_encode_fns[] = { |
| 5318 |
Opcode_ssa8l_Slot_inst_encode, 0, 0 |
| 5319 |
}; |
| 5320 |
|
| 5321 |
xtensa_opcode_encode_fn Opcode_ssa8b_encode_fns[] = { |
| 5322 |
Opcode_ssa8b_Slot_inst_encode, 0, 0 |
| 5323 |
}; |
| 5324 |
|
| 5325 |
xtensa_opcode_encode_fn Opcode_ssai_encode_fns[] = { |
| 5326 |
Opcode_ssai_Slot_inst_encode, 0, 0 |
| 5327 |
}; |
| 5328 |
|
| 5329 |
xtensa_opcode_encode_fn Opcode_sll_encode_fns[] = { |
| 5330 |
Opcode_sll_Slot_inst_encode, 0, 0 |
| 5331 |
}; |
| 5332 |
|
| 5333 |
xtensa_opcode_encode_fn Opcode_src_encode_fns[] = { |
| 5334 |
Opcode_src_Slot_inst_encode, 0, 0 |
| 5335 |
}; |
| 5336 |
|
| 5337 |
xtensa_opcode_encode_fn Opcode_srl_encode_fns[] = { |
| 5338 |
Opcode_srl_Slot_inst_encode, 0, 0 |
| 5339 |
}; |
| 5340 |
|
| 5341 |
xtensa_opcode_encode_fn Opcode_sra_encode_fns[] = { |
| 5342 |
Opcode_sra_Slot_inst_encode, 0, 0 |
| 5343 |
}; |
| 5344 |
|
| 5345 |
xtensa_opcode_encode_fn Opcode_slli_encode_fns[] = { |
| 5346 |
Opcode_slli_Slot_inst_encode, 0, 0 |
| 5347 |
}; |
| 5348 |
|
| 5349 |
xtensa_opcode_encode_fn Opcode_srai_encode_fns[] = { |
| 5350 |
Opcode_srai_Slot_inst_encode, 0, 0 |
| 5351 |
}; |
| 5352 |
|
| 5353 |
xtensa_opcode_encode_fn Opcode_srli_encode_fns[] = { |
| 5354 |
Opcode_srli_Slot_inst_encode, 0, 0 |
| 5355 |
}; |
| 5356 |
|
| 5357 |
xtensa_opcode_encode_fn Opcode_memw_encode_fns[] = { |
| 5358 |
Opcode_memw_Slot_inst_encode, 0, 0 |
| 5359 |
}; |
| 5360 |
|
| 5361 |
xtensa_opcode_encode_fn Opcode_extw_encode_fns[] = { |
| 5362 |
Opcode_extw_Slot_inst_encode, 0, 0 |
| 5363 |
}; |
| 5364 |
|
| 5365 |
xtensa_opcode_encode_fn Opcode_isync_encode_fns[] = { |
| 5366 |
Opcode_isync_Slot_inst_encode, 0, 0 |
| 5367 |
}; |
| 5368 |
|
| 5369 |
xtensa_opcode_encode_fn Opcode_rsync_encode_fns[] = { |
| 5370 |
Opcode_rsync_Slot_inst_encode, 0, 0 |
| 5371 |
}; |
| 5372 |
|
| 5373 |
xtensa_opcode_encode_fn Opcode_esync_encode_fns[] = { |
| 5374 |
Opcode_esync_Slot_inst_encode, 0, 0 |
| 5375 |
}; |
| 5376 |
|
| 5377 |
xtensa_opcode_encode_fn Opcode_dsync_encode_fns[] = { |
| 5378 |
Opcode_dsync_Slot_inst_encode, 0, 0 |
| 5379 |
}; |
| 5380 |
|
| 5381 |
xtensa_opcode_encode_fn Opcode_rsil_encode_fns[] = { |
| 5382 |
Opcode_rsil_Slot_inst_encode, 0, 0 |
| 5383 |
}; |
| 5384 |
|
| 5385 |
xtensa_opcode_encode_fn Opcode_rsr_sar_encode_fns[] = { |
| 5386 |
Opcode_rsr_sar_Slot_inst_encode, 0, 0 |
| 5387 |
}; |
| 5388 |
|
| 5389 |
xtensa_opcode_encode_fn Opcode_wsr_sar_encode_fns[] = { |
| 5390 |
Opcode_wsr_sar_Slot_inst_encode, 0, 0 |
| 5391 |
}; |
| 5392 |
|
| 5393 |
xtensa_opcode_encode_fn Opcode_xsr_sar_encode_fns[] = { |
| 5394 |
Opcode_xsr_sar_Slot_inst_encode, 0, 0 |
| 5395 |
}; |
| 5396 |
|
| 5397 |
xtensa_opcode_encode_fn Opcode_rsr_litbase_encode_fns[] = { |
| 5398 |
Opcode_rsr_litbase_Slot_inst_encode, 0, 0 |
| 5399 |
}; |
| 5400 |
|
| 5401 |
xtensa_opcode_encode_fn Opcode_wsr_litbase_encode_fns[] = { |
| 5402 |
Opcode_wsr_litbase_Slot_inst_encode, 0, 0 |
| 5403 |
}; |
| 5404 |
|
| 5405 |
xtensa_opcode_encode_fn Opcode_xsr_litbase_encode_fns[] = { |
| 5406 |
Opcode_xsr_litbase_Slot_inst_encode, 0, 0 |
| 5407 |
}; |
| 5408 |
|
| 5409 |
xtensa_opcode_encode_fn Opcode_rsr_176_encode_fns[] = { |
| 5410 |
Opcode_rsr_176_Slot_inst_encode, 0, 0 |
| 5411 |
}; |
| 5412 |
|
| 5413 |
xtensa_opcode_encode_fn Opcode_wsr_176_encode_fns[] = { |
| 5414 |
Opcode_wsr_176_Slot_inst_encode, 0, 0 |
| 5415 |
}; |
| 5416 |
|
| 5417 |
xtensa_opcode_encode_fn Opcode_rsr_208_encode_fns[] = { |
| 5418 |
Opcode_rsr_208_Slot_inst_encode, 0, 0 |
| 5419 |
}; |
| 5420 |
|
| 5421 |
xtensa_opcode_encode_fn Opcode_rsr_ps_encode_fns[] = { |
| 5422 |
Opcode_rsr_ps_Slot_inst_encode, 0, 0 |
| 5423 |
}; |
| 5424 |
|
| 5425 |
xtensa_opcode_encode_fn Opcode_wsr_ps_encode_fns[] = { |
| 5426 |
Opcode_wsr_ps_Slot_inst_encode, 0, 0 |
| 5427 |
}; |
| 5428 |
|
| 5429 |
xtensa_opcode_encode_fn Opcode_xsr_ps_encode_fns[] = { |
| 5430 |
Opcode_xsr_ps_Slot_inst_encode, 0, 0 |
| 5431 |
}; |
| 5432 |
|
| 5433 |
xtensa_opcode_encode_fn Opcode_rsr_epc1_encode_fns[] = { |
| 5434 |
Opcode_rsr_epc1_Slot_inst_encode, 0, 0 |
| 5435 |
}; |
| 5436 |
|
| 5437 |
xtensa_opcode_encode_fn Opcode_wsr_epc1_encode_fns[] = { |
| 5438 |
Opcode_wsr_epc1_Slot_inst_encode, 0, 0 |
| 5439 |
}; |
| 5440 |
|
| 5441 |
xtensa_opcode_encode_fn Opcode_xsr_epc1_encode_fns[] = { |
| 5442 |
Opcode_xsr_epc1_Slot_inst_encode, 0, 0 |
| 5443 |
}; |
| 5444 |
|
| 5445 |
xtensa_opcode_encode_fn Opcode_rsr_excsave1_encode_fns[] = { |
| 5446 |
Opcode_rsr_excsave1_Slot_inst_encode, 0, 0 |
| 5447 |
}; |
| 5448 |
|
| 5449 |
xtensa_opcode_encode_fn Opcode_wsr_excsave1_encode_fns[] = { |
| 5450 |
Opcode_wsr_excsave1_Slot_inst_encode, 0, 0 |
| 5451 |
}; |
| 5452 |
|
| 5453 |
xtensa_opcode_encode_fn Opcode_xsr_excsave1_encode_fns[] = { |
| 5454 |
Opcode_xsr_excsave1_Slot_inst_encode, 0, 0 |
| 5455 |
}; |
| 5456 |
|
| 5457 |
xtensa_opcode_encode_fn Opcode_rsr_epc2_encode_fns[] = { |
| 5458 |
Opcode_rsr_epc2_Slot_inst_encode, 0, 0 |
| 5459 |
}; |
| 5460 |
|
| 5461 |
xtensa_opcode_encode_fn Opcode_wsr_epc2_encode_fns[] = { |
| 5462 |
Opcode_wsr_epc2_Slot_inst_encode, 0, 0 |
| 5463 |
}; |
| 5464 |
|
| 5465 |
xtensa_opcode_encode_fn Opcode_xsr_epc2_encode_fns[] = { |
| 5466 |
Opcode_xsr_epc2_Slot_inst_encode, 0, 0 |
| 5467 |
}; |
| 5468 |
|
| 5469 |
xtensa_opcode_encode_fn Opcode_rsr_excsave2_encode_fns[] = { |
| 5470 |
Opcode_rsr_excsave2_Slot_inst_encode, 0, 0 |
| 5471 |
}; |
| 5472 |
|
| 5473 |
xtensa_opcode_encode_fn Opcode_wsr_excsave2_encode_fns[] = { |
| 5474 |
Opcode_wsr_excsave2_Slot_inst_encode, 0, 0 |
| 5475 |
}; |
| 5476 |
|
| 5477 |
xtensa_opcode_encode_fn Opcode_xsr_excsave2_encode_fns[] = { |
| 5478 |
Opcode_xsr_excsave2_Slot_inst_encode, 0, 0 |
| 5479 |
}; |
| 5480 |
|
| 5481 |
xtensa_opcode_encode_fn Opcode_rsr_epc3_encode_fns[] = { |
| 5482 |
Opcode_rsr_epc3_Slot_inst_encode, 0, 0 |
| 5483 |
}; |
| 5484 |
|
| 5485 |
xtensa_opcode_encode_fn Opcode_wsr_epc3_encode_fns[] = { |
| 5486 |
Opcode_wsr_epc3_Slot_inst_encode, 0, 0 |
| 5487 |
}; |
| 5488 |
|
| 5489 |
xtensa_opcode_encode_fn Opcode_xsr_epc3_encode_fns[] = { |
| 5490 |
Opcode_xsr_epc3_Slot_inst_encode, 0, 0 |
| 5491 |
}; |
| 5492 |
|
| 5493 |
xtensa_opcode_encode_fn Opcode_rsr_excsave3_encode_fns[] = { |
| 5494 |
Opcode_rsr_excsave3_Slot_inst_encode, 0, 0 |
| 5495 |
}; |
| 5496 |
|
| 5497 |
xtensa_opcode_encode_fn Opcode_wsr_excsave3_encode_fns[] = { |
| 5498 |
Opcode_wsr_excsave3_Slot_inst_encode, 0, 0 |
| 5499 |
}; |
| 5500 |
|
| 5501 |
xtensa_opcode_encode_fn Opcode_xsr_excsave3_encode_fns[] = { |
| 5502 |
Opcode_xsr_excsave3_Slot_inst_encode, 0, 0 |
| 5503 |
}; |
| 5504 |
|
| 5505 |
xtensa_opcode_encode_fn Opcode_rsr_eps2_encode_fns[] = { |
| 5506 |
Opcode_rsr_eps2_Slot_inst_encode, 0, 0 |
| 5507 |
}; |
| 5508 |
|
| 5509 |
xtensa_opcode_encode_fn Opcode_wsr_eps2_encode_fns[] = { |
| 5510 |
Opcode_wsr_eps2_Slot_inst_encode, 0, 0 |
| 5511 |
}; |
| 5512 |
|
| 5513 |
xtensa_opcode_encode_fn Opcode_xsr_eps2_encode_fns[] = { |
| 5514 |
Opcode_xsr_eps2_Slot_inst_encode, 0, 0 |
| 5515 |
}; |
| 5516 |
|
| 5517 |
xtensa_opcode_encode_fn Opcode_rsr_eps3_encode_fns[] = { |
| 5518 |
Opcode_rsr_eps3_Slot_inst_encode, 0, 0 |
| 5519 |
}; |
| 5520 |
|
| 5521 |
xtensa_opcode_encode_fn Opcode_wsr_eps3_encode_fns[] = { |
| 5522 |
Opcode_wsr_eps3_Slot_inst_encode, 0, 0 |
| 5523 |
}; |
| 5524 |
|
| 5525 |
xtensa_opcode_encode_fn Opcode_xsr_eps3_encode_fns[] = { |
| 5526 |
Opcode_xsr_eps3_Slot_inst_encode, 0, 0 |
| 5527 |
}; |
| 5528 |
|
| 5529 |
xtensa_opcode_encode_fn Opcode_rsr_excvaddr_encode_fns[] = { |
| 5530 |
Opcode_rsr_excvaddr_Slot_inst_encode, 0, 0 |
| 5531 |
}; |
| 5532 |
|
| 5533 |
xtensa_opcode_encode_fn Opcode_wsr_excvaddr_encode_fns[] = { |
| 5534 |
Opcode_wsr_excvaddr_Slot_inst_encode, 0, 0 |
| 5535 |
}; |
| 5536 |
|
| 5537 |
xtensa_opcode_encode_fn Opcode_xsr_excvaddr_encode_fns[] = { |
| 5538 |
Opcode_xsr_excvaddr_Slot_inst_encode, 0, 0 |
| 5539 |
}; |
| 5540 |
|
| 5541 |
xtensa_opcode_encode_fn Opcode_rsr_depc_encode_fns[] = { |
| 5542 |
Opcode_rsr_depc_Slot_inst_encode, 0, 0 |
| 5543 |
}; |
| 5544 |
|
| 5545 |
xtensa_opcode_encode_fn Opcode_wsr_depc_encode_fns[] = { |
| 5546 |
Opcode_wsr_depc_Slot_inst_encode, 0, 0 |
| 5547 |
}; |
| 5548 |
|
| 5549 |
xtensa_opcode_encode_fn Opcode_xsr_depc_encode_fns[] = { |
| 5550 |
Opcode_xsr_depc_Slot_inst_encode, 0, 0 |
| 5551 |
}; |
| 5552 |
|
| 5553 |
xtensa_opcode_encode_fn Opcode_rsr_exccause_encode_fns[] = { |
| 5554 |
Opcode_rsr_exccause_Slot_inst_encode, 0, 0 |
| 5555 |
}; |
| 5556 |
|
| 5557 |
xtensa_opcode_encode_fn Opcode_wsr_exccause_encode_fns[] = { |
| 5558 |
Opcode_wsr_exccause_Slot_inst_encode, 0, 0 |
| 5559 |
}; |
| 5560 |
|
| 5561 |
xtensa_opcode_encode_fn Opcode_xsr_exccause_encode_fns[] = { |
| 5562 |
Opcode_xsr_exccause_Slot_inst_encode, 0, 0 |
| 5563 |
}; |
| 5564 |
|
| 5565 |
xtensa_opcode_encode_fn Opcode_rsr_prid_encode_fns[] = { |
| 5566 |
Opcode_rsr_prid_Slot_inst_encode, 0, 0 |
| 5567 |
}; |
| 5568 |
|
| 5569 |
xtensa_opcode_encode_fn Opcode_rsr_vecbase_encode_fns[] = { |
| 5570 |
Opcode_rsr_vecbase_Slot_inst_encode, 0, 0 |
| 5571 |
}; |
| 5572 |
|
| 5573 |
xtensa_opcode_encode_fn Opcode_wsr_vecbase_encode_fns[] = { |
| 5574 |
Opcode_wsr_vecbase_Slot_inst_encode, 0, 0 |
| 5575 |
}; |
| 5576 |
|
| 5577 |
xtensa_opcode_encode_fn Opcode_xsr_vecbase_encode_fns[] = { |
| 5578 |
Opcode_xsr_vecbase_Slot_inst_encode, 0, 0 |
| 5579 |
}; |
| 5580 |
|
| 5581 |
xtensa_opcode_encode_fn Opcode_mul16u_encode_fns[] = { |
| 5582 |
Opcode_mul16u_Slot_inst_encode, 0, 0 |
| 5583 |
}; |
| 5584 |
|
| 5585 |
xtensa_opcode_encode_fn Opcode_mul16s_encode_fns[] = { |
| 5586 |
Opcode_mul16s_Slot_inst_encode, 0, 0 |
| 5587 |
}; |
| 5588 |
|
| 5589 |
xtensa_opcode_encode_fn Opcode_mull_encode_fns[] = { |
| 5590 |
Opcode_mull_Slot_inst_encode, 0, 0 |
| 5591 |
}; |
| 5592 |
|
| 5593 |
xtensa_opcode_encode_fn Opcode_rfi_encode_fns[] = { |
| 5594 |
Opcode_rfi_Slot_inst_encode, 0, 0 |
| 5595 |
}; |
| 5596 |
|
| 5597 |
xtensa_opcode_encode_fn Opcode_waiti_encode_fns[] = { |
| 5598 |
Opcode_waiti_Slot_inst_encode, 0, 0 |
| 5599 |
}; |
| 5600 |
|
| 5601 |
xtensa_opcode_encode_fn Opcode_rsr_interrupt_encode_fns[] = { |
| 5602 |
Opcode_rsr_interrupt_Slot_inst_encode, 0, 0 |
| 5603 |
}; |
| 5604 |
|
| 5605 |
xtensa_opcode_encode_fn Opcode_wsr_intset_encode_fns[] = { |
| 5606 |
Opcode_wsr_intset_Slot_inst_encode, 0, 0 |
| 5607 |
}; |
| 5608 |
|
| 5609 |
xtensa_opcode_encode_fn Opcode_wsr_intclear_encode_fns[] = { |
| 5610 |
Opcode_wsr_intclear_Slot_inst_encode, 0, 0 |
| 5611 |
}; |
| 5612 |
|
| 5613 |
xtensa_opcode_encode_fn Opcode_rsr_intenable_encode_fns[] = { |
| 5614 |
Opcode_rsr_intenable_Slot_inst_encode, 0, 0 |
| 5615 |
}; |
| 5616 |
|
| 5617 |
xtensa_opcode_encode_fn Opcode_wsr_intenable_encode_fns[] = { |
| 5618 |
Opcode_wsr_intenable_Slot_inst_encode, 0, 0 |
| 5619 |
}; |
| 5620 |
|
| 5621 |
xtensa_opcode_encode_fn Opcode_xsr_intenable_encode_fns[] = { |
| 5622 |
Opcode_xsr_intenable_Slot_inst_encode, 0, 0 |
| 5623 |
}; |
| 5624 |
|
| 5625 |
xtensa_opcode_encode_fn Opcode_break_encode_fns[] = { |
| 5626 |
Opcode_break_Slot_inst_encode, 0, 0 |
| 5627 |
}; |
| 5628 |
|
| 5629 |
xtensa_opcode_encode_fn Opcode_break_n_encode_fns[] = { |
| 5630 |
0, 0, Opcode_break_n_Slot_inst16b_encode |
| 5631 |
}; |
| 5632 |
|
| 5633 |
xtensa_opcode_encode_fn Opcode_rsr_dbreaka0_encode_fns[] = { |
| 5634 |
Opcode_rsr_dbreaka0_Slot_inst_encode, 0, 0 |
| 5635 |
}; |
| 5636 |
|
| 5637 |
xtensa_opcode_encode_fn Opcode_wsr_dbreaka0_encode_fns[] = { |
| 5638 |
Opcode_wsr_dbreaka0_Slot_inst_encode, 0, 0 |
| 5639 |
}; |
| 5640 |
|
| 5641 |
xtensa_opcode_encode_fn Opcode_xsr_dbreaka0_encode_fns[] = { |
| 5642 |
Opcode_xsr_dbreaka0_Slot_inst_encode, 0, 0 |
| 5643 |
}; |
| 5644 |
|
| 5645 |
xtensa_opcode_encode_fn Opcode_rsr_dbreakc0_encode_fns[] = { |
| 5646 |
Opcode_rsr_dbreakc0_Slot_inst_encode, 0, 0 |
| 5647 |
}; |
| 5648 |
|
| 5649 |
xtensa_opcode_encode_fn Opcode_wsr_dbreakc0_encode_fns[] = { |
| 5650 |
Opcode_wsr_dbreakc0_Slot_inst_encode, 0, 0 |
| 5651 |
}; |
| 5652 |
|
| 5653 |
xtensa_opcode_encode_fn Opcode_xsr_dbreakc0_encode_fns[] = { |
| 5654 |
Opcode_xsr_dbreakc0_Slot_inst_encode, 0, 0 |
| 5655 |
}; |
| 5656 |
|
| 5657 |
xtensa_opcode_encode_fn Opcode_rsr_ibreaka0_encode_fns[] = { |
| 5658 |
Opcode_rsr_ibreaka0_Slot_inst_encode, 0, 0 |
| 5659 |
}; |
| 5660 |
|
| 5661 |
xtensa_opcode_encode_fn Opcode_wsr_ibreaka0_encode_fns[] = { |
| 5662 |
Opcode_wsr_ibreaka0_Slot_inst_encode, 0, 0 |
| 5663 |
}; |
| 5664 |
|
| 5665 |
xtensa_opcode_encode_fn Opcode_xsr_ibreaka0_encode_fns[] = { |
| 5666 |
Opcode_xsr_ibreaka0_Slot_inst_encode, 0, 0 |
| 5667 |
}; |
| 5668 |
|
| 5669 |
xtensa_opcode_encode_fn Opcode_rsr_ibreakenable_encode_fns[] = { |
| 5670 |
Opcode_rsr_ibreakenable_Slot_inst_encode, 0, 0 |
| 5671 |
}; |
| 5672 |
|
| 5673 |
xtensa_opcode_encode_fn Opcode_wsr_ibreakenable_encode_fns[] = { |
| 5674 |
Opcode_wsr_ibreakenable_Slot_inst_encode, 0, 0 |
| 5675 |
}; |
| 5676 |
|
| 5677 |
xtensa_opcode_encode_fn Opcode_xsr_ibreakenable_encode_fns[] = { |
| 5678 |
Opcode_xsr_ibreakenable_Slot_inst_encode, 0, 0 |
| 5679 |
}; |
| 5680 |
|
| 5681 |
xtensa_opcode_encode_fn Opcode_rsr_debugcause_encode_fns[] = { |
| 5682 |
Opcode_rsr_debugcause_Slot_inst_encode, 0, 0 |
| 5683 |
}; |
| 5684 |
|
| 5685 |
xtensa_opcode_encode_fn Opcode_wsr_debugcause_encode_fns[] = { |
| 5686 |
Opcode_wsr_debugcause_Slot_inst_encode, 0, 0 |
| 5687 |
}; |
| 5688 |
|
| 5689 |
xtensa_opcode_encode_fn Opcode_xsr_debugcause_encode_fns[] = { |
| 5690 |
Opcode_xsr_debugcause_Slot_inst_encode, 0, 0 |
| 5691 |
}; |
| 5692 |
|
| 5693 |
xtensa_opcode_encode_fn Opcode_rsr_icount_encode_fns[] = { |
| 5694 |
Opcode_rsr_icount_Slot_inst_encode, 0, 0 |
| 5695 |
}; |
| 5696 |
|
| 5697 |
xtensa_opcode_encode_fn Opcode_wsr_icount_encode_fns[] = { |
| 5698 |
Opcode_wsr_icount_Slot_inst_encode, 0, 0 |
| 5699 |
}; |
| 5700 |
|
| 5701 |
xtensa_opcode_encode_fn Opcode_xsr_icount_encode_fns[] = { |
| 5702 |
Opcode_xsr_icount_Slot_inst_encode, 0, 0 |
| 5703 |
}; |
| 5704 |
|
| 5705 |
xtensa_opcode_encode_fn Opcode_rsr_icountlevel_encode_fns[] = { |
| 5706 |
Opcode_rsr_icountlevel_Slot_inst_encode, 0, 0 |
| 5707 |
}; |
| 5708 |
|
| 5709 |
xtensa_opcode_encode_fn Opcode_wsr_icountlevel_encode_fns[] = { |
| 5710 |
Opcode_wsr_icountlevel_Slot_inst_encode, 0, 0 |
| 5711 |
}; |
| 5712 |
|
| 5713 |
xtensa_opcode_encode_fn Opcode_xsr_icountlevel_encode_fns[] = { |
| 5714 |
Opcode_xsr_icountlevel_Slot_inst_encode, 0, 0 |
| 5715 |
}; |
| 5716 |
|
| 5717 |
xtensa_opcode_encode_fn Opcode_rsr_ddr_encode_fns[] = { |
| 5718 |
Opcode_rsr_ddr_Slot_inst_encode, 0, 0 |
| 5719 |
}; |
| 5720 |
|
| 5721 |
xtensa_opcode_encode_fn Opcode_wsr_ddr_encode_fns[] = { |
| 5722 |
Opcode_wsr_ddr_Slot_inst_encode, 0, 0 |
| 5723 |
}; |
| 5724 |
|
| 5725 |
xtensa_opcode_encode_fn Opcode_xsr_ddr_encode_fns[] = { |
| 5726 |
Opcode_xsr_ddr_Slot_inst_encode, 0, 0 |
| 5727 |
}; |
| 5728 |
|
| 5729 |
xtensa_opcode_encode_fn Opcode_rfdo_encode_fns[] = { |
| 5730 |
Opcode_rfdo_Slot_inst_encode, 0, 0 |
| 5731 |
}; |
| 5732 |
|
| 5733 |
xtensa_opcode_encode_fn Opcode_rfdd_encode_fns[] = { |
| 5734 |
Opcode_rfdd_Slot_inst_encode, 0, 0 |
| 5735 |
}; |
| 5736 |
|
| 5737 |
xtensa_opcode_encode_fn Opcode_wsr_mmid_encode_fns[] = { |
| 5738 |
Opcode_wsr_mmid_Slot_inst_encode, 0, 0 |
| 5739 |
}; |
| 5740 |
|
| 5741 |
xtensa_opcode_encode_fn Opcode_rsr_ccount_encode_fns[] = { |
| 5742 |
Opcode_rsr_ccount_Slot_inst_encode, 0, 0 |
| 5743 |
}; |
| 5744 |
|
| 5745 |
xtensa_opcode_encode_fn Opcode_wsr_ccount_encode_fns[] = { |
| 5746 |
Opcode_wsr_ccount_Slot_inst_encode, 0, 0 |
| 5747 |
}; |
| 5748 |
|
| 5749 |
xtensa_opcode_encode_fn Opcode_xsr_ccount_encode_fns[] = { |
| 5750 |
Opcode_xsr_ccount_Slot_inst_encode, 0, 0 |
| 5751 |
}; |
| 5752 |
|
| 5753 |
xtensa_opcode_encode_fn Opcode_rsr_ccompare0_encode_fns[] = { |
| 5754 |
Opcode_rsr_ccompare0_Slot_inst_encode, 0, 0 |
| 5755 |
}; |
| 5756 |
|
| 5757 |
xtensa_opcode_encode_fn Opcode_wsr_ccompare0_encode_fns[] = { |
| 5758 |
Opcode_wsr_ccompare0_Slot_inst_encode, 0, 0 |
| 5759 |
}; |
| 5760 |
|
| 5761 |
xtensa_opcode_encode_fn Opcode_xsr_ccompare0_encode_fns[] = { |
| 5762 |
Opcode_xsr_ccompare0_Slot_inst_encode, 0, 0 |
| 5763 |
}; |
| 5764 |
|
| 5765 |
xtensa_opcode_encode_fn Opcode_idtlb_encode_fns[] = { |
| 5766 |
Opcode_idtlb_Slot_inst_encode, 0, 0 |
| 5767 |
}; |
| 5768 |
|
| 5769 |
xtensa_opcode_encode_fn Opcode_pdtlb_encode_fns[] = { |
| 5770 |
Opcode_pdtlb_Slot_inst_encode, 0, 0 |
| 5771 |
}; |
| 5772 |
|
| 5773 |
xtensa_opcode_encode_fn Opcode_rdtlb0_encode_fns[] = { |
| 5774 |
Opcode_rdtlb0_Slot_inst_encode, 0, 0 |
| 5775 |
}; |
| 5776 |
|
| 5777 |
xtensa_opcode_encode_fn Opcode_rdtlb1_encode_fns[] = { |
| 5778 |
Opcode_rdtlb1_Slot_inst_encode, 0, 0 |
| 5779 |
}; |
| 5780 |
|
| 5781 |
xtensa_opcode_encode_fn Opcode_wdtlb_encode_fns[] = { |
| 5782 |
Opcode_wdtlb_Slot_inst_encode, 0, 0 |
| 5783 |
}; |
| 5784 |
|
| 5785 |
xtensa_opcode_encode_fn Opcode_iitlb_encode_fns[] = { |
| 5786 |
Opcode_iitlb_Slot_inst_encode, 0, 0 |
| 5787 |
}; |
| 5788 |
|
| 5789 |
xtensa_opcode_encode_fn Opcode_pitlb_encode_fns[] = { |
| 5790 |
Opcode_pitlb_Slot_inst_encode, 0, 0 |
| 5791 |
}; |
| 5792 |
|
| 5793 |
xtensa_opcode_encode_fn Opcode_ritlb0_encode_fns[] = { |
| 5794 |
Opcode_ritlb0_Slot_inst_encode, 0, 0 |
| 5795 |
}; |
| 5796 |
|
| 5797 |
xtensa_opcode_encode_fn Opcode_ritlb1_encode_fns[] = { |
| 5798 |
Opcode_ritlb1_Slot_inst_encode, 0, 0 |
| 5799 |
}; |
| 5800 |
|
| 5801 |
xtensa_opcode_encode_fn Opcode_witlb_encode_fns[] = { |
| 5802 |
Opcode_witlb_Slot_inst_encode, 0, 0 |
| 5803 |
}; |
| 5804 |
|
| 5805 |
xtensa_opcode_encode_fn Opcode_nsa_encode_fns[] = { |
| 5806 |
Opcode_nsa_Slot_inst_encode, 0, 0 |
| 5807 |
}; |
| 5808 |
|
| 5809 |
xtensa_opcode_encode_fn Opcode_nsau_encode_fns[] = { |
| 5810 |
Opcode_nsau_Slot_inst_encode, 0, 0 |
| 5811 |
}; |
| 5812 |
|
| 5813 |
xtensa_opcode_encode_fn Opcode_rer_encode_fns[] = { |
| 5814 |
Opcode_rer_Slot_inst_encode, 0, 0 |
| 5815 |
}; |
| 5816 |
|
| 5817 |
xtensa_opcode_encode_fn Opcode_wer_encode_fns[] = { |
| 5818 |
Opcode_wer_Slot_inst_encode, 0, 0 |
| 5819 |
}; |
| 5820 |
|
| 5821 |
|
| 5822 |
|
| 5823 |
|
| 5824 |
static xtensa_opcode_internal opcodes[] = { |
| 5825 |
{ "excw", ICLASS_xt_iclass_excw, |
| 5826 |
0, |
| 5827 |
Opcode_excw_encode_fns, 0, 0 }, |
| 5828 |
{ "rfe", ICLASS_xt_iclass_rfe, |
| 5829 |
XTENSA_OPCODE_IS_JUMP, |
| 5830 |
Opcode_rfe_encode_fns, 0, 0 }, |
| 5831 |
{ "rfde", ICLASS_xt_iclass_rfde, |
| 5832 |
XTENSA_OPCODE_IS_JUMP, |
| 5833 |
Opcode_rfde_encode_fns, 0, 0 }, |
| 5834 |
{ "syscall", ICLASS_xt_iclass_syscall, |
| 5835 |
0, |
| 5836 |
Opcode_syscall_encode_fns, 0, 0 }, |
| 5837 |
{ "simcall", ICLASS_xt_iclass_simcall, |
| 5838 |
0, |
| 5839 |
Opcode_simcall_encode_fns, 0, 0 }, |
| 5840 |
{ "add.n", ICLASS_xt_iclass_add_n, |
| 5841 |
0, |
| 5842 |
Opcode_add_n_encode_fns, 0, 0 }, |
| 5843 |
{ "addi.n", ICLASS_xt_iclass_addi_n, |
| 5844 |
0, |
| 5845 |
Opcode_addi_n_encode_fns, 0, 0 }, |
| 5846 |
{ "beqz.n", ICLASS_xt_iclass_bz6, |
| 5847 |
XTENSA_OPCODE_IS_BRANCH, |
| 5848 |
Opcode_beqz_n_encode_fns, 0, 0 }, |
| 5849 |
{ "bnez.n", ICLASS_xt_iclass_bz6, |
| 5850 |
XTENSA_OPCODE_IS_BRANCH, |
| 5851 |
Opcode_bnez_n_encode_fns, 0, 0 }, |
| 5852 |
{ "ill.n", ICLASS_xt_iclass_ill_n, |
| 5853 |
0, |
| 5854 |
Opcode_ill_n_encode_fns, 0, 0 }, |
| 5855 |
{ "l32i.n", ICLASS_xt_iclass_loadi4, |
| 5856 |
0, |
| 5857 |
Opcode_l32i_n_encode_fns, 0, 0 }, |
| 5858 |
{ "mov.n", ICLASS_xt_iclass_mov_n, |
| 5859 |
0, |
| 5860 |
Opcode_mov_n_encode_fns, 0, 0 }, |
| 5861 |
{ "movi.n", ICLASS_xt_iclass_movi_n, |
| 5862 |
0, |
| 5863 |
Opcode_movi_n_encode_fns, 0, 0 }, |
| 5864 |
{ "nop.n", ICLASS_xt_iclass_nopn, |
| 5865 |
0, |
| 5866 |
Opcode_nop_n_encode_fns, 0, 0 }, |
| 5867 |
{ "ret.n", ICLASS_xt_iclass_retn, |
| 5868 |
XTENSA_OPCODE_IS_JUMP, |
| 5869 |
Opcode_ret_n_encode_fns, 0, 0 }, |
| 5870 |
{ "s32i.n", ICLASS_xt_iclass_storei4, |
| 5871 |
0, |
| 5872 |
Opcode_s32i_n_encode_fns, 0, 0 }, |
| 5873 |
{ "addi", ICLASS_xt_iclass_addi, |
| 5874 |
0, |
| 5875 |
Opcode_addi_encode_fns, 0, 0 }, |
| 5876 |
{ "addmi", ICLASS_xt_iclass_addmi, |
| 5877 |
0, |
| 5878 |
Opcode_addmi_encode_fns, 0, 0 }, |
| 5879 |
{ "add", ICLASS_xt_iclass_addsub, |
| 5880 |
0, |
| 5881 |
Opcode_add_encode_fns, 0, 0 }, |
| 5882 |
{ "sub", ICLASS_xt_iclass_addsub, |
| 5883 |
0, |
| 5884 |
Opcode_sub_encode_fns, 0, 0 }, |
| 5885 |
{ "addx2", ICLASS_xt_iclass_addsub, |
| 5886 |
0, |
| 5887 |
Opcode_addx2_encode_fns, 0, 0 }, |
| 5888 |
{ "addx4", ICLASS_xt_iclass_addsub, |
| 5889 |
0, |
| 5890 |
Opcode_addx4_encode_fns, 0, 0 }, |
| 5891 |
{ "addx8", ICLASS_xt_iclass_addsub, |
| 5892 |
0, |
| 5893 |
Opcode_addx8_encode_fns, 0, 0 }, |
| 5894 |
{ "subx2", ICLASS_xt_iclass_addsub, |
| 5895 |
0, |
| 5896 |
Opcode_subx2_encode_fns, 0, 0 }, |
| 5897 |
{ "subx4", ICLASS_xt_iclass_addsub, |
| 5898 |
0, |
| 5899 |
Opcode_subx4_encode_fns, 0, 0 }, |
| 5900 |
{ "subx8", ICLASS_xt_iclass_addsub, |
| 5901 |
0, |
| 5902 |
Opcode_subx8_encode_fns, 0, 0 }, |
| 5903 |
{ "and", ICLASS_xt_iclass_bit, |
| 5904 |
0, |
| 5905 |
Opcode_and_encode_fns, 0, 0 }, |
| 5906 |
{ "or", ICLASS_xt_iclass_bit, |
| 5907 |
0, |
| 5908 |
Opcode_or_encode_fns, 0, 0 }, |
| 5909 |
{ "xor", ICLASS_xt_iclass_bit, |
| 5910 |
0, |
| 5911 |
Opcode_xor_encode_fns, 0, 0 }, |
| 5912 |
{ "beqi", ICLASS_xt_iclass_bsi8, |
| 5913 |
XTENSA_OPCODE_IS_BRANCH, |
| 5914 |
Opcode_beqi_encode_fns, 0, 0 }, |
| 5915 |
{ "bnei", ICLASS_xt_iclass_bsi8, |
| 5916 |
XTENSA_OPCODE_IS_BRANCH, |
| 5917 |
Opcode_bnei_encode_fns, 0, 0 }, |
| 5918 |
{ "bgei", ICLASS_xt_iclass_bsi8, |
| 5919 |
XTENSA_OPCODE_IS_BRANCH, |
| 5920 |
Opcode_bgei_encode_fns, 0, 0 }, |
| 5921 |
{ "blti", ICLASS_xt_iclass_bsi8, |
| 5922 |
XTENSA_OPCODE_IS_BRANCH, |
| 5923 |
Opcode_blti_encode_fns, 0, 0 }, |
| 5924 |
{ "bbci", ICLASS_xt_iclass_bsi8b, |
| 5925 |
XTENSA_OPCODE_IS_BRANCH, |
| 5926 |
Opcode_bbci_encode_fns, 0, 0 }, |
| 5927 |
{ "bbsi", ICLASS_xt_iclass_bsi8b, |
| 5928 |
XTENSA_OPCODE_IS_BRANCH, |
| 5929 |
Opcode_bbsi_encode_fns, 0, 0 }, |
| 5930 |
{ "bgeui", ICLASS_xt_iclass_bsi8u, |
| 5931 |
XTENSA_OPCODE_IS_BRANCH, |
| 5932 |
Opcode_bgeui_encode_fns, 0, 0 }, |
| 5933 |
{ "bltui", ICLASS_xt_iclass_bsi8u, |
| 5934 |
XTENSA_OPCODE_IS_BRANCH, |
| 5935 |
Opcode_bltui_encode_fns, 0, 0 }, |
| 5936 |
{ "beq", ICLASS_xt_iclass_bst8, |
| 5937 |
XTENSA_OPCODE_IS_BRANCH, |
| 5938 |
Opcode_beq_encode_fns, 0, 0 }, |
| 5939 |
{ "bne", ICLASS_xt_iclass_bst8, |
| 5940 |
XTENSA_OPCODE_IS_BRANCH, |
| 5941 |
Opcode_bne_encode_fns, 0, 0 }, |
| 5942 |
{ "bge", ICLASS_xt_iclass_bst8, |
| 5943 |
XTENSA_OPCODE_IS_BRANCH, |
| 5944 |
Opcode_bge_encode_fns, 0, 0 }, |
| 5945 |
{ "blt", ICLASS_xt_iclass_bst8, |
| 5946 |
XTENSA_OPCODE_IS_BRANCH, |
| 5947 |
Opcode_blt_encode_fns, 0, 0 }, |
| 5948 |
{ "bgeu", ICLASS_xt_iclass_bst8, |
| 5949 |
XTENSA_OPCODE_IS_BRANCH, |
| 5950 |
Opcode_bgeu_encode_fns, 0, 0 }, |
| 5951 |
{ "bltu", ICLASS_xt_iclass_bst8, |
| 5952 |
XTENSA_OPCODE_IS_BRANCH, |
| 5953 |
Opcode_bltu_encode_fns, 0, 0 }, |
| 5954 |
{ "bany", ICLASS_xt_iclass_bst8, |
| 5955 |
XTENSA_OPCODE_IS_BRANCH, |
| 5956 |
Opcode_bany_encode_fns, 0, 0 }, |
| 5957 |
{ "bnone", ICLASS_xt_iclass_bst8, |
| 5958 |
XTENSA_OPCODE_IS_BRANCH, |
| 5959 |
Opcode_bnone_encode_fns, 0, 0 }, |
| 5960 |
{ "ball", ICLASS_xt_iclass_bst8, |
| 5961 |
XTENSA_OPCODE_IS_BRANCH, |
| 5962 |
Opcode_ball_encode_fns, 0, 0 }, |
| 5963 |
{ "bnall", ICLASS_xt_iclass_bst8, |
| 5964 |
XTENSA_OPCODE_IS_BRANCH, |
| 5965 |
Opcode_bnall_encode_fns, 0, 0 }, |
| 5966 |
{ "bbc", ICLASS_xt_iclass_bst8, |
| 5967 |
XTENSA_OPCODE_IS_BRANCH, |
| 5968 |
Opcode_bbc_encode_fns, 0, 0 }, |
| 5969 |
{ "bbs", ICLASS_xt_iclass_bst8, |
| 5970 |
XTENSA_OPCODE_IS_BRANCH, |
| 5971 |
Opcode_bbs_encode_fns, 0, 0 }, |
| 5972 |
{ "beqz", ICLASS_xt_iclass_bsz12, |
| 5973 |
XTENSA_OPCODE_IS_BRANCH, |
| 5974 |
Opcode_beqz_encode_fns, 0, 0 }, |
| 5975 |
{ "bnez", ICLASS_xt_iclass_bsz12, |
| 5976 |
XTENSA_OPCODE_IS_BRANCH, |
| 5977 |
Opcode_bnez_encode_fns, 0, 0 }, |
| 5978 |
{ "bgez", ICLASS_xt_iclass_bsz12, |
| 5979 |
XTENSA_OPCODE_IS_BRANCH, |
| 5980 |
Opcode_bgez_encode_fns, 0, 0 }, |
| 5981 |
{ "bltz", ICLASS_xt_iclass_bsz12, |
| 5982 |
XTENSA_OPCODE_IS_BRANCH, |
| 5983 |
Opcode_bltz_encode_fns, 0, 0 }, |
| 5984 |
{ "call0", ICLASS_xt_iclass_call0, |
| 5985 |
XTENSA_OPCODE_IS_CALL, |
| 5986 |
Opcode_call0_encode_fns, 0, 0 }, |
| 5987 |
{ "callx0", ICLASS_xt_iclass_callx0, |
| 5988 |
XTENSA_OPCODE_IS_CALL, |
| 5989 |
Opcode_callx0_encode_fns, 0, 0 }, |
| 5990 |
{ "extui", ICLASS_xt_iclass_exti, |
| 5991 |
0, |
| 5992 |
Opcode_extui_encode_fns, 0, 0 }, |
| 5993 |
{ "ill", ICLASS_xt_iclass_ill, |
| 5994 |
0, |
| 5995 |
Opcode_ill_encode_fns, 0, 0 }, |
| 5996 |
{ "j", ICLASS_xt_iclass_jump, |
| 5997 |
XTENSA_OPCODE_IS_JUMP, |
| 5998 |
Opcode_j_encode_fns, 0, 0 }, |
| 5999 |
{ "jx", ICLASS_xt_iclass_jumpx, |
| 6000 |
XTENSA_OPCODE_IS_JUMP, |
| 6001 |
Opcode_jx_encode_fns, 0, 0 }, |
| 6002 |
{ "l16ui", ICLASS_xt_iclass_l16ui, |
| 6003 |
0, |
| 6004 |
Opcode_l16ui_encode_fns, 0, 0 }, |
| 6005 |
{ "l16si", ICLASS_xt_iclass_l16si, |
| 6006 |
0, |
| 6007 |
Opcode_l16si_encode_fns, 0, 0 }, |
| 6008 |
{ "l32i", ICLASS_xt_iclass_l32i, |
| 6009 |
0, |
| 6010 |
Opcode_l32i_encode_fns, 0, 0 }, |
| 6011 |
{ "l32r", ICLASS_xt_iclass_l32r, |
| 6012 |
0, |
| 6013 |
Opcode_l32r_encode_fns, 0, 0 }, |
| 6014 |
{ "l8ui", ICLASS_xt_iclass_l8i, |
| 6015 |
0, |
| 6016 |
Opcode_l8ui_encode_fns, 0, 0 }, |
| 6017 |
{ "movi", ICLASS_xt_iclass_movi, |
| 6018 |
0, |
| 6019 |
Opcode_movi_encode_fns, 0, 0 }, |
| 6020 |
{ "moveqz", ICLASS_xt_iclass_movz, |
| 6021 |
0, |
| 6022 |
Opcode_moveqz_encode_fns, 0, 0 }, |
| 6023 |
{ "movnez", ICLASS_xt_iclass_movz, |
| 6024 |
0, |
| 6025 |
Opcode_movnez_encode_fns, 0, 0 }, |
| 6026 |
{ "movltz", ICLASS_xt_iclass_movz, |
| 6027 |
0, |
| 6028 |
Opcode_movltz_encode_fns, 0, 0 }, |
| 6029 |
{ "movgez", ICLASS_xt_iclass_movz, |
| 6030 |
0, |
| 6031 |
Opcode_movgez_encode_fns, 0, 0 }, |
| 6032 |
{ "neg", ICLASS_xt_iclass_neg, |
| 6033 |
0, |
| 6034 |
Opcode_neg_encode_fns, 0, 0 }, |
| 6035 |
{ "abs", ICLASS_xt_iclass_neg, |
| 6036 |
0, |
| 6037 |
Opcode_abs_encode_fns, 0, 0 }, |
| 6038 |
{ "nop", ICLASS_xt_iclass_nop, |
| 6039 |
0, |
| 6040 |
Opcode_nop_encode_fns, 0, 0 }, |
| 6041 |
{ "ret", ICLASS_xt_iclass_return, |
| 6042 |
XTENSA_OPCODE_IS_JUMP, |
| 6043 |
Opcode_ret_encode_fns, 0, 0 }, |
| 6044 |
{ "s16i", ICLASS_xt_iclass_s16i, |
| 6045 |
0, |
| 6046 |
Opcode_s16i_encode_fns, 0, 0 }, |
| 6047 |
{ "s32i", ICLASS_xt_iclass_s32i, |
| 6048 |
0, |
| 6049 |
Opcode_s32i_encode_fns, 0, 0 }, |
| 6050 |
{ "s8i", ICLASS_xt_iclass_s8i, |
| 6051 |
0, |
| 6052 |
Opcode_s8i_encode_fns, 0, 0 }, |
| 6053 |
{ "ssr", ICLASS_xt_iclass_sar, |
| 6054 |
0, |
| 6055 |
Opcode_ssr_encode_fns, 0, 0 }, |
| 6056 |
{ "ssl", ICLASS_xt_iclass_sar, |
| 6057 |
0, |
| 6058 |
Opcode_ssl_encode_fns, 0, 0 }, |
| 6059 |
{ "ssa8l", ICLASS_xt_iclass_sar, |
| 6060 |
0, |
| 6061 |
Opcode_ssa8l_encode_fns, 0, 0 }, |
| 6062 |
{ "ssa8b", ICLASS_xt_iclass_sar, |
| 6063 |
0, |
| 6064 |
Opcode_ssa8b_encode_fns, 0, 0 }, |
| 6065 |
{ "ssai", ICLASS_xt_iclass_sari, |
| 6066 |
0, |
| 6067 |
Opcode_ssai_encode_fns, 0, 0 }, |
| 6068 |
{ "sll", ICLASS_xt_iclass_shifts, |
| 6069 |
0, |
| 6070 |
Opcode_sll_encode_fns, 0, 0 }, |
| 6071 |
{ "src", ICLASS_xt_iclass_shiftst, |
| 6072 |
0, |
| 6073 |
Opcode_src_encode_fns, 0, 0 }, |
| 6074 |
{ "srl", ICLASS_xt_iclass_shiftt, |
| 6075 |
0, |
| 6076 |
Opcode_srl_encode_fns, 0, 0 }, |
| 6077 |
{ "sra", ICLASS_xt_iclass_shiftt, |
| 6078 |
0, |
| 6079 |
Opcode_sra_encode_fns, 0, 0 }, |
| 6080 |
{ "slli", ICLASS_xt_iclass_slli, |
| 6081 |
0, |
| 6082 |
Opcode_slli_encode_fns, 0, 0 }, |
| 6083 |
{ "srai", ICLASS_xt_iclass_srai, |
| 6084 |
0, |
| 6085 |
Opcode_srai_encode_fns, 0, 0 }, |
| 6086 |
{ "srli", ICLASS_xt_iclass_srli, |
| 6087 |
0, |
| 6088 |
Opcode_srli_encode_fns, 0, 0 }, |
| 6089 |
{ "memw", ICLASS_xt_iclass_memw, |
| 6090 |
0, |
| 6091 |
Opcode_memw_encode_fns, 0, 0 }, |
| 6092 |
{ "extw", ICLASS_xt_iclass_extw, |
| 6093 |
0, |
| 6094 |
Opcode_extw_encode_fns, 0, 0 }, |
| 6095 |
{ "isync", ICLASS_xt_iclass_isync, |
| 6096 |
0, |
| 6097 |
Opcode_isync_encode_fns, 0, 0 }, |
| 6098 |
{ "rsync", ICLASS_xt_iclass_sync, |
| 6099 |
0, |
| 6100 |
Opcode_rsync_encode_fns, 0, 0 }, |
| 6101 |
{ "esync", ICLASS_xt_iclass_sync, |
| 6102 |
0, |
| 6103 |
Opcode_esync_encode_fns, 0, 0 }, |
| 6104 |
{ "dsync", ICLASS_xt_iclass_sync, |
| 6105 |
0, |
| 6106 |
Opcode_dsync_encode_fns, 0, 0 }, |
| 6107 |
{ "rsil", ICLASS_xt_iclass_rsil, |
| 6108 |
0, |
| 6109 |
Opcode_rsil_encode_fns, 0, 0 }, |
| 6110 |
{ "rsr.sar", ICLASS_xt_iclass_rsr_sar, |
| 6111 |
0, |
| 6112 |
Opcode_rsr_sar_encode_fns, 0, 0 }, |
| 6113 |
{ "wsr.sar", ICLASS_xt_iclass_wsr_sar, |
| 6114 |
0, |
| 6115 |
Opcode_wsr_sar_encode_fns, 0, 0 }, |
| 6116 |
{ "xsr.sar", ICLASS_xt_iclass_xsr_sar, |
| 6117 |
0, |
| 6118 |
Opcode_xsr_sar_encode_fns, 0, 0 }, |
| 6119 |
{ "rsr.litbase", ICLASS_xt_iclass_rsr_litbase, |
| 6120 |
0, |
| 6121 |
Opcode_rsr_litbase_encode_fns, 0, 0 }, |
| 6122 |
{ "wsr.litbase", ICLASS_xt_iclass_wsr_litbase, |
| 6123 |
0, |
| 6124 |
Opcode_wsr_litbase_encode_fns, 0, 0 }, |
| 6125 |
{ "xsr.litbase", ICLASS_xt_iclass_xsr_litbase, |
| 6126 |
0, |
| 6127 |
Opcode_xsr_litbase_encode_fns, 0, 0 }, |
| 6128 |
{ "rsr.176", ICLASS_xt_iclass_rsr_176, |
| 6129 |
0, |
| 6130 |
Opcode_rsr_176_encode_fns, 0, 0 }, |
| 6131 |
{ "wsr.176", ICLASS_xt_iclass_wsr_176, |
| 6132 |
0, |
| 6133 |
Opcode_wsr_176_encode_fns, 0, 0 }, |
| 6134 |
{ "rsr.208", ICLASS_xt_iclass_rsr_208, |
| 6135 |
0, |
| 6136 |
Opcode_rsr_208_encode_fns, 0, 0 }, |
| 6137 |
{ "rsr.ps", ICLASS_xt_iclass_rsr_ps, |
| 6138 |
0, |
| 6139 |
Opcode_rsr_ps_encode_fns, 0, 0 }, |
| 6140 |
{ "wsr.ps", ICLASS_xt_iclass_wsr_ps, |
| 6141 |
0, |
| 6142 |
Opcode_wsr_ps_encode_fns, 0, 0 }, |
| 6143 |
{ "xsr.ps", ICLASS_xt_iclass_xsr_ps, |
| 6144 |
0, |
| 6145 |
Opcode_xsr_ps_encode_fns, 0, 0 }, |
| 6146 |
{ "rsr.epc1", ICLASS_xt_iclass_rsr_epc1, |
| 6147 |
0, |
| 6148 |
Opcode_rsr_epc1_encode_fns, 0, 0 }, |
| 6149 |
{ "wsr.epc1", ICLASS_xt_iclass_wsr_epc1, |
| 6150 |
0, |
| 6151 |
Opcode_wsr_epc1_encode_fns, 0, 0 }, |
| 6152 |
{ "xsr.epc1", ICLASS_xt_iclass_xsr_epc1, |
| 6153 |
0, |
| 6154 |
Opcode_xsr_epc1_encode_fns, 0, 0 }, |
| 6155 |
{ "rsr.excsave1", ICLASS_xt_iclass_rsr_excsave1, |
| 6156 |
0, |
| 6157 |
Opcode_rsr_excsave1_encode_fns, 0, 0 }, |
| 6158 |
{ "wsr.excsave1", ICLASS_xt_iclass_wsr_excsave1, |
| 6159 |
0, |
| 6160 |
Opcode_wsr_excsave1_encode_fns, 0, 0 }, |
| 6161 |
{ "xsr.excsave1", ICLASS_xt_iclass_xsr_excsave1, |
| 6162 |
0, |
| 6163 |
Opcode_xsr_excsave1_encode_fns, 0, 0 }, |
| 6164 |
{ "rsr.epc2", ICLASS_xt_iclass_rsr_epc2, |
| 6165 |
0, |
| 6166 |
Opcode_rsr_epc2_encode_fns, 0, 0 }, |
| 6167 |
{ "wsr.epc2", ICLASS_xt_iclass_wsr_epc2, |
| 6168 |
0, |
| 6169 |
Opcode_wsr_epc2_encode_fns, 0, 0 }, |
| 6170 |
{ "xsr.epc2", ICLASS_xt_iclass_xsr_epc2, |
| 6171 |
0, |
| 6172 |
Opcode_xsr_epc2_encode_fns, 0, 0 }, |
| 6173 |
{ "rsr.excsave2", ICLASS_xt_iclass_rsr_excsave2, |
| 6174 |
0, |
| 6175 |
Opcode_rsr_excsave2_encode_fns, 0, 0 }, |
| 6176 |
{ "wsr.excsave2", ICLASS_xt_iclass_wsr_excsave2, |
| 6177 |
0, |
| 6178 |
Opcode_wsr_excsave2_encode_fns, 0, 0 }, |
| 6179 |
{ "xsr.excsave2", ICLASS_xt_iclass_xsr_excsave2, |
| 6180 |
0, |
| 6181 |
Opcode_xsr_excsave2_encode_fns, 0, 0 }, |
| 6182 |
{ "rsr.epc3", ICLASS_xt_iclass_rsr_epc3, |
| 6183 |
0, |
| 6184 |
Opcode_rsr_epc3_encode_fns, 0, 0 }, |
| 6185 |
{ "wsr.epc3", ICLASS_xt_iclass_wsr_epc3, |
| 6186 |
0, |
| 6187 |
Opcode_wsr_epc3_encode_fns, 0, 0 }, |
| 6188 |
{ "xsr.epc3", ICLASS_xt_iclass_xsr_epc3, |
| 6189 |
0, |
| 6190 |
Opcode_xsr_epc3_encode_fns, 0, 0 }, |
| 6191 |
{ "rsr.excsave3", ICLASS_xt_iclass_rsr_excsave3, |
| 6192 |
0, |
| 6193 |
Opcode_rsr_excsave3_encode_fns, 0, 0 }, |
| 6194 |
{ "wsr.excsave3", ICLASS_xt_iclass_wsr_excsave3, |
| 6195 |
0, |
| 6196 |
Opcode_wsr_excsave3_encode_fns, 0, 0 }, |
| 6197 |
{ "xsr.excsave3", ICLASS_xt_iclass_xsr_excsave3, |
| 6198 |
0, |
| 6199 |
Opcode_xsr_excsave3_encode_fns, 0, 0 }, |
| 6200 |
{ "rsr.eps2", ICLASS_xt_iclass_rsr_eps2, |
| 6201 |
0, |
| 6202 |
Opcode_rsr_eps2_encode_fns, 0, 0 }, |
| 6203 |
{ "wsr.eps2", ICLASS_xt_iclass_wsr_eps2, |
| 6204 |
0, |
| 6205 |
Opcode_wsr_eps2_encode_fns, 0, 0 }, |
| 6206 |
{ "xsr.eps2", ICLASS_xt_iclass_xsr_eps2, |
| 6207 |
0, |
| 6208 |
Opcode_xsr_eps2_encode_fns, 0, 0 }, |
| 6209 |
{ "rsr.eps3", ICLASS_xt_iclass_rsr_eps3, |
| 6210 |
0, |
| 6211 |
Opcode_rsr_eps3_encode_fns, 0, 0 }, |
| 6212 |
{ "wsr.eps3", ICLASS_xt_iclass_wsr_eps3, |
| 6213 |
0, |
| 6214 |
Opcode_wsr_eps3_encode_fns, 0, 0 }, |
| 6215 |
{ "xsr.eps3", ICLASS_xt_iclass_xsr_eps3, |
| 6216 |
0, |
| 6217 |
Opcode_xsr_eps3_encode_fns, 0, 0 }, |
| 6218 |
{ "rsr.excvaddr", ICLASS_xt_iclass_rsr_excvaddr, |
| 6219 |
0, |
| 6220 |
Opcode_rsr_excvaddr_encode_fns, 0, 0 }, |
| 6221 |
{ "wsr.excvaddr", ICLASS_xt_iclass_wsr_excvaddr, |
| 6222 |
0, |
| 6223 |
Opcode_wsr_excvaddr_encode_fns, 0, 0 }, |
| 6224 |
{ "xsr.excvaddr", ICLASS_xt_iclass_xsr_excvaddr, |
| 6225 |
0, |
| 6226 |
Opcode_xsr_excvaddr_encode_fns, 0, 0 }, |
| 6227 |
{ "rsr.depc", ICLASS_xt_iclass_rsr_depc, |
| 6228 |
0, |
| 6229 |
Opcode_rsr_depc_encode_fns, 0, 0 }, |
| 6230 |
{ "wsr.depc", ICLASS_xt_iclass_wsr_depc, |
| 6231 |
0, |
| 6232 |
Opcode_wsr_depc_encode_fns, 0, 0 }, |
| 6233 |
{ "xsr.depc", ICLASS_xt_iclass_xsr_depc, |
| 6234 |
0, |
| 6235 |
Opcode_xsr_depc_encode_fns, 0, 0 }, |
| 6236 |
{ "rsr.exccause", ICLASS_xt_iclass_rsr_exccause, |
| 6237 |
0, |
| 6238 |
Opcode_rsr_exccause_encode_fns, 0, 0 }, |
| 6239 |
{ "wsr.exccause", ICLASS_xt_iclass_wsr_exccause, |
| 6240 |
0, |
| 6241 |
Opcode_wsr_exccause_encode_fns, 0, 0 }, |
| 6242 |
{ "xsr.exccause", ICLASS_xt_iclass_xsr_exccause, |
| 6243 |
0, |
| 6244 |
Opcode_xsr_exccause_encode_fns, 0, 0 }, |
| 6245 |
{ "rsr.prid", ICLASS_xt_iclass_rsr_prid, |
| 6246 |
0, |
| 6247 |
Opcode_rsr_prid_encode_fns, 0, 0 }, |
| 6248 |
{ "rsr.vecbase", ICLASS_xt_iclass_rsr_vecbase, |
| 6249 |
0, |
| 6250 |
Opcode_rsr_vecbase_encode_fns, 0, 0 }, |
| 6251 |
{ "wsr.vecbase", ICLASS_xt_iclass_wsr_vecbase, |
| 6252 |
0, |
| 6253 |
Opcode_wsr_vecbase_encode_fns, 0, 0 }, |
| 6254 |
{ "xsr.vecbase", ICLASS_xt_iclass_xsr_vecbase, |
| 6255 |
0, |
| 6256 |
Opcode_xsr_vecbase_encode_fns, 0, 0 }, |
| 6257 |
{ "mul16u", ICLASS_xt_mul16, |
| 6258 |
0, |
| 6259 |
Opcode_mul16u_encode_fns, 0, 0 }, |
| 6260 |
{ "mul16s", ICLASS_xt_mul16, |
| 6261 |
0, |
| 6262 |
Opcode_mul16s_encode_fns, 0, 0 }, |
| 6263 |
{ "mull", ICLASS_xt_mul32, |
| 6264 |
0, |
| 6265 |
Opcode_mull_encode_fns, 0, 0 }, |
| 6266 |
{ "rfi", ICLASS_xt_iclass_rfi, |
| 6267 |
XTENSA_OPCODE_IS_JUMP, |
| 6268 |
Opcode_rfi_encode_fns, 0, 0 }, |
| 6269 |
{ "waiti", ICLASS_xt_iclass_wait, |
| 6270 |
0, |
| 6271 |
Opcode_waiti_encode_fns, 0, 0 }, |
| 6272 |
{ "rsr.interrupt", ICLASS_xt_iclass_rsr_interrupt, |
| 6273 |
0, |
| 6274 |
Opcode_rsr_interrupt_encode_fns, 0, 0 }, |
| 6275 |
{ "wsr.intset", ICLASS_xt_iclass_wsr_intset, |
| 6276 |
0, |
| 6277 |
Opcode_wsr_intset_encode_fns, 0, 0 }, |
| 6278 |
{ "wsr.intclear", ICLASS_xt_iclass_wsr_intclear, |
| 6279 |
0, |
| 6280 |
Opcode_wsr_intclear_encode_fns, 0, 0 }, |
| 6281 |
{ "rsr.intenable", ICLASS_xt_iclass_rsr_intenable, |
| 6282 |
0, |
| 6283 |
Opcode_rsr_intenable_encode_fns, 0, 0 }, |
| 6284 |
{ "wsr.intenable", ICLASS_xt_iclass_wsr_intenable, |
| 6285 |
0, |
| 6286 |
Opcode_wsr_intenable_encode_fns, 0, 0 }, |
| 6287 |
{ "xsr.intenable", ICLASS_xt_iclass_xsr_intenable, |
| 6288 |
0, |
| 6289 |
Opcode_xsr_intenable_encode_fns, 0, 0 }, |
| 6290 |
{ "break", ICLASS_xt_iclass_break, |
| 6291 |
0, |
| 6292 |
Opcode_break_encode_fns, 0, 0 }, |
| 6293 |
{ "break.n", ICLASS_xt_iclass_break_n, |
| 6294 |
0, |
| 6295 |
Opcode_break_n_encode_fns, 0, 0 }, |
| 6296 |
{ "rsr.dbreaka0", ICLASS_xt_iclass_rsr_dbreaka0, |
| 6297 |
0, |
| 6298 |
Opcode_rsr_dbreaka0_encode_fns, 0, 0 }, |
| 6299 |
{ "wsr.dbreaka0", ICLASS_xt_iclass_wsr_dbreaka0, |
| 6300 |
0, |
| 6301 |
Opcode_wsr_dbreaka0_encode_fns, 0, 0 }, |
| 6302 |
{ "xsr.dbreaka0", ICLASS_xt_iclass_xsr_dbreaka0, |
| 6303 |
0, |
| 6304 |
Opcode_xsr_dbreaka0_encode_fns, 0, 0 }, |
| 6305 |
{ "rsr.dbreakc0", ICLASS_xt_iclass_rsr_dbreakc0, |
| 6306 |
0, |
| 6307 |
Opcode_rsr_dbreakc0_encode_fns, 0, 0 }, |
| 6308 |
{ "wsr.dbreakc0", ICLASS_xt_iclass_wsr_dbreakc0, |
| 6309 |
0, |
| 6310 |
Opcode_wsr_dbreakc0_encode_fns, 0, 0 }, |
| 6311 |
{ "xsr.dbreakc0", ICLASS_xt_iclass_xsr_dbreakc0, |
| 6312 |
0, |
| 6313 |
Opcode_xsr_dbreakc0_encode_fns, 0, 0 }, |
| 6314 |
{ "rsr.ibreaka0", ICLASS_xt_iclass_rsr_ibreaka0, |
| 6315 |
0, |
| 6316 |
Opcode_rsr_ibreaka0_encode_fns, 0, 0 }, |
| 6317 |
{ "wsr.ibreaka0", ICLASS_xt_iclass_wsr_ibreaka0, |
| 6318 |
0, |
| 6319 |
Opcode_wsr_ibreaka0_encode_fns, 0, 0 }, |
| 6320 |
{ "xsr.ibreaka0", ICLASS_xt_iclass_xsr_ibreaka0, |
| 6321 |
0, |
| 6322 |
Opcode_xsr_ibreaka0_encode_fns, 0, 0 }, |
| 6323 |
{ "rsr.ibreakenable", ICLASS_xt_iclass_rsr_ibreakenable, |
| 6324 |
0, |
| 6325 |
Opcode_rsr_ibreakenable_encode_fns, 0, 0 }, |
| 6326 |
{ "wsr.ibreakenable", ICLASS_xt_iclass_wsr_ibreakenable, |
| 6327 |
0, |
| 6328 |
Opcode_wsr_ibreakenable_encode_fns, 0, 0 }, |
| 6329 |
{ "xsr.ibreakenable", ICLASS_xt_iclass_xsr_ibreakenable, |
| 6330 |
0, |
| 6331 |
Opcode_xsr_ibreakenable_encode_fns, 0, 0 }, |
| 6332 |
{ "rsr.debugcause", ICLASS_xt_iclass_rsr_debugcause, |
| 6333 |
0, |
| 6334 |
Opcode_rsr_debugcause_encode_fns, 0, 0 }, |
| 6335 |
{ "wsr.debugcause", ICLASS_xt_iclass_wsr_debugcause, |
| 6336 |
0, |
| 6337 |
Opcode_wsr_debugcause_encode_fns, 0, 0 }, |
| 6338 |
{ "xsr.debugcause", ICLASS_xt_iclass_xsr_debugcause, |
| 6339 |
0, |
| 6340 |
Opcode_xsr_debugcause_encode_fns, 0, 0 }, |
| 6341 |
{ "rsr.icount", ICLASS_xt_iclass_rsr_icount, |
| 6342 |
0, |
| 6343 |
Opcode_rsr_icount_encode_fns, 0, 0 }, |
| 6344 |
{ "wsr.icount", ICLASS_xt_iclass_wsr_icount, |
| 6345 |
0, |
| 6346 |
Opcode_wsr_icount_encode_fns, 0, 0 }, |
| 6347 |
{ "xsr.icount", ICLASS_xt_iclass_xsr_icount, |
| 6348 |
0, |
| 6349 |
Opcode_xsr_icount_encode_fns, 0, 0 }, |
| 6350 |
{ "rsr.icountlevel", ICLASS_xt_iclass_rsr_icountlevel, |
| 6351 |
0, |
| 6352 |
Opcode_rsr_icountlevel_encode_fns, 0, 0 }, |
| 6353 |
{ "wsr.icountlevel", ICLASS_xt_iclass_wsr_icountlevel, |
| 6354 |
0, |
| 6355 |
Opcode_wsr_icountlevel_encode_fns, 0, 0 }, |
| 6356 |
{ "xsr.icountlevel", ICLASS_xt_iclass_xsr_icountlevel, |
| 6357 |
0, |
| 6358 |
Opcode_xsr_icountlevel_encode_fns, 0, 0 }, |
| 6359 |
{ "rsr.ddr", ICLASS_xt_iclass_rsr_ddr, |
| 6360 |
0, |
| 6361 |
Opcode_rsr_ddr_encode_fns, 0, 0 }, |
| 6362 |
{ "wsr.ddr", ICLASS_xt_iclass_wsr_ddr, |
| 6363 |
0, |
| 6364 |
Opcode_wsr_ddr_encode_fns, 0, 0 }, |
| 6365 |
{ "xsr.ddr", ICLASS_xt_iclass_xsr_ddr, |
| 6366 |
0, |
| 6367 |
Opcode_xsr_ddr_encode_fns, 0, 0 }, |
| 6368 |
{ "rfdo", ICLASS_xt_iclass_rfdo, |
| 6369 |
XTENSA_OPCODE_IS_JUMP, |
| 6370 |
Opcode_rfdo_encode_fns, 0, 0 }, |
| 6371 |
{ "rfdd", ICLASS_xt_iclass_rfdd, |
| 6372 |
XTENSA_OPCODE_IS_JUMP, |
| 6373 |
Opcode_rfdd_encode_fns, 0, 0 }, |
| 6374 |
{ "wsr.mmid", ICLASS_xt_iclass_wsr_mmid, |
| 6375 |
0, |
| 6376 |
Opcode_wsr_mmid_encode_fns, 0, 0 }, |
| 6377 |
{ "rsr.ccount", ICLASS_xt_iclass_rsr_ccount, |
| 6378 |
0, |
| 6379 |
Opcode_rsr_ccount_encode_fns, 0, 0 }, |
| 6380 |
{ "wsr.ccount", ICLASS_xt_iclass_wsr_ccount, |
| 6381 |
0, |
| 6382 |
Opcode_wsr_ccount_encode_fns, 0, 0 }, |
| 6383 |
{ "xsr.ccount", ICLASS_xt_iclass_xsr_ccount, |
| 6384 |
0, |
| 6385 |
Opcode_xsr_ccount_encode_fns, 0, 0 }, |
| 6386 |
{ "rsr.ccompare0", ICLASS_xt_iclass_rsr_ccompare0, |
| 6387 |
0, |
| 6388 |
Opcode_rsr_ccompare0_encode_fns, 0, 0 }, |
| 6389 |
{ "wsr.ccompare0", ICLASS_xt_iclass_wsr_ccompare0, |
| 6390 |
0, |
| 6391 |
Opcode_wsr_ccompare0_encode_fns, 0, 0 }, |
| 6392 |
{ "xsr.ccompare0", ICLASS_xt_iclass_xsr_ccompare0, |
| 6393 |
0, |
| 6394 |
Opcode_xsr_ccompare0_encode_fns, 0, 0 }, |
| 6395 |
{ "idtlb", ICLASS_xt_iclass_idtlb, |
| 6396 |
0, |
| 6397 |
Opcode_idtlb_encode_fns, 0, 0 }, |
| 6398 |
{ "pdtlb", ICLASS_xt_iclass_rdtlb, |
| 6399 |
0, |
| 6400 |
Opcode_pdtlb_encode_fns, 0, 0 }, |
| 6401 |
{ "rdtlb0", ICLASS_xt_iclass_rdtlb, |
| 6402 |
0, |
| 6403 |
Opcode_rdtlb0_encode_fns, 0, 0 }, |
| 6404 |
{ "rdtlb1", ICLASS_xt_iclass_rdtlb, |
| 6405 |
0, |
| 6406 |
Opcode_rdtlb1_encode_fns, 0, 0 }, |
| 6407 |
{ "wdtlb", ICLASS_xt_iclass_wdtlb, |
| 6408 |
0, |
| 6409 |
Opcode_wdtlb_encode_fns, 0, 0 }, |
| 6410 |
{ "iitlb", ICLASS_xt_iclass_iitlb, |
| 6411 |
0, |
| 6412 |
Opcode_iitlb_encode_fns, 0, 0 }, |
| 6413 |
{ "pitlb", ICLASS_xt_iclass_ritlb, |
| 6414 |
0, |
| 6415 |
Opcode_pitlb_encode_fns, 0, 0 }, |
| 6416 |
{ "ritlb0", ICLASS_xt_iclass_ritlb, |
| 6417 |
0, |
| 6418 |
Opcode_ritlb0_encode_fns, 0, 0 }, |
| 6419 |
{ "ritlb1", ICLASS_xt_iclass_ritlb, |
| 6420 |
0, |
| 6421 |
Opcode_ritlb1_encode_fns, 0, 0 }, |
| 6422 |
{ "witlb", ICLASS_xt_iclass_witlb, |
| 6423 |
0, |
| 6424 |
Opcode_witlb_encode_fns, 0, 0 }, |
| 6425 |
{ "nsa", ICLASS_xt_iclass_nsa, |
| 6426 |
0, |
| 6427 |
Opcode_nsa_encode_fns, 0, 0 }, |
| 6428 |
{ "nsau", ICLASS_xt_iclass_nsa, |
| 6429 |
0, |
| 6430 |
Opcode_nsau_encode_fns, 0, 0 }, |
| 6431 |
{ "rer", ICLASS_xt_iclass_rer, |
| 6432 |
0, |
| 6433 |
Opcode_rer_encode_fns, 0, 0 }, |
| 6434 |
{ "wer", ICLASS_xt_iclass_wer, |
| 6435 |
0, |
| 6436 |
Opcode_wer_encode_fns, 0, 0 } |
| 6437 |
}; |
| 6438 |
|
| 6439 |
enum xtensa_opcode_id { |
| 6440 |
OPCODE_EXCW, |
| 6441 |
OPCODE_RFE, |
| 6442 |
OPCODE_RFDE, |
| 6443 |
OPCODE_SYSCALL, |
| 6444 |
OPCODE_SIMCALL, |
| 6445 |
OPCODE_ADD_N, |
| 6446 |
OPCODE_ADDI_N, |
| 6447 |
OPCODE_BEQZ_N, |
| 6448 |
OPCODE_BNEZ_N, |
| 6449 |
OPCODE_ILL_N, |
| 6450 |
OPCODE_L32I_N, |
| 6451 |
OPCODE_MOV_N, |
| 6452 |
OPCODE_MOVI_N, |
| 6453 |
OPCODE_NOP_N, |
| 6454 |
OPCODE_RET_N, |
| 6455 |
OPCODE_S32I_N, |
| 6456 |
OPCODE_ADDI, |
| 6457 |
OPCODE_ADDMI, |
| 6458 |
OPCODE_ADD, |
| 6459 |
OPCODE_SUB, |
| 6460 |
OPCODE_ADDX2, |
| 6461 |
OPCODE_ADDX4, |
| 6462 |
OPCODE_ADDX8, |
| 6463 |
OPCODE_SUBX2, |
| 6464 |
OPCODE_SUBX4, |
| 6465 |
OPCODE_SUBX8, |
| 6466 |
OPCODE_AND, |
| 6467 |
OPCODE_OR, |
| 6468 |
OPCODE_XOR, |
| 6469 |
OPCODE_BEQI, |
| 6470 |
OPCODE_BNEI, |
| 6471 |
OPCODE_BGEI, |
| 6472 |
OPCODE_BLTI, |
| 6473 |
OPCODE_BBCI, |
| 6474 |
OPCODE_BBSI, |
| 6475 |
OPCODE_BGEUI, |
| 6476 |
OPCODE_BLTUI, |
| 6477 |
OPCODE_BEQ, |
| 6478 |
OPCODE_BNE, |
| 6479 |
OPCODE_BGE, |
| 6480 |
OPCODE_BLT, |
| 6481 |
OPCODE_BGEU, |
| 6482 |
OPCODE_BLTU, |
| 6483 |
OPCODE_BANY, |
| 6484 |
OPCODE_BNONE, |
| 6485 |
OPCODE_BALL, |
| 6486 |
OPCODE_BNALL, |
| 6487 |
OPCODE_BBC, |
| 6488 |
OPCODE_BBS, |
| 6489 |
OPCODE_BEQZ, |
| 6490 |
OPCODE_BNEZ, |
| 6491 |
OPCODE_BGEZ, |
| 6492 |
OPCODE_BLTZ, |
| 6493 |
OPCODE_CALL0, |
| 6494 |
OPCODE_CALLX0, |
| 6495 |
OPCODE_EXTUI, |
| 6496 |
OPCODE_ILL, |
| 6497 |
OPCODE_J, |
| 6498 |
OPCODE_JX, |
| 6499 |
OPCODE_L16UI, |
| 6500 |
OPCODE_L16SI, |
| 6501 |
OPCODE_L32I, |
| 6502 |
OPCODE_L32R, |
| 6503 |
OPCODE_L8UI, |
| 6504 |
OPCODE_MOVI, |
| 6505 |
OPCODE_MOVEQZ, |
| 6506 |
OPCODE_MOVNEZ, |
| 6507 |
OPCODE_MOVLTZ, |
| 6508 |
OPCODE_MOVGEZ, |
| 6509 |
OPCODE_NEG, |
| 6510 |
OPCODE_ABS, |
| 6511 |
OPCODE_NOP, |
| 6512 |
OPCODE_RET, |
| 6513 |
OPCODE_S16I, |
| 6514 |
OPCODE_S32I, |
| 6515 |
OPCODE_S8I, |
| 6516 |
OPCODE_SSR, |
| 6517 |
OPCODE_SSL, |
| 6518 |
OPCODE_SSA8L, |
| 6519 |
OPCODE_SSA8B, |
| 6520 |
OPCODE_SSAI, |
| 6521 |
OPCODE_SLL, |
| 6522 |
OPCODE_SRC, |
| 6523 |
OPCODE_SRL, |
| 6524 |
OPCODE_SRA, |
| 6525 |
OPCODE_SLLI, |
| 6526 |
OPCODE_SRAI, |
| 6527 |
OPCODE_SRLI, |
| 6528 |
OPCODE_MEMW, |
| 6529 |
OPCODE_EXTW, |
| 6530 |
OPCODE_ISYNC, |
| 6531 |
OPCODE_RSYNC, |
| 6532 |
OPCODE_ESYNC, |
| 6533 |
OPCODE_DSYNC, |
| 6534 |
OPCODE_RSIL, |
| 6535 |
OPCODE_RSR_SAR, |
| 6536 |
OPCODE_WSR_SAR, |
| 6537 |
OPCODE_XSR_SAR, |
| 6538 |
OPCODE_RSR_LITBASE, |
| 6539 |
OPCODE_WSR_LITBASE, |
| 6540 |
OPCODE_XSR_LITBASE, |
| 6541 |
OPCODE_RSR_176, |
| 6542 |
OPCODE_WSR_176, |
| 6543 |
OPCODE_RSR_208, |
| 6544 |
OPCODE_RSR_PS, |
| 6545 |
OPCODE_WSR_PS, |
| 6546 |
OPCODE_XSR_PS, |
| 6547 |
OPCODE_RSR_EPC1, |
| 6548 |
OPCODE_WSR_EPC1, |
| 6549 |
OPCODE_XSR_EPC1, |
| 6550 |
OPCODE_RSR_EXCSAVE1, |
| 6551 |
OPCODE_WSR_EXCSAVE1, |
| 6552 |
OPCODE_XSR_EXCSAVE1, |
| 6553 |
OPCODE_RSR_EPC2, |
| 6554 |
OPCODE_WSR_EPC2, |
| 6555 |
OPCODE_XSR_EPC2, |
| 6556 |
OPCODE_RSR_EXCSAVE2, |
| 6557 |
OPCODE_WSR_EXCSAVE2, |
| 6558 |
OPCODE_XSR_EXCSAVE2, |
| 6559 |
OPCODE_RSR_EPC3, |
| 6560 |
OPCODE_WSR_EPC3, |
| 6561 |
OPCODE_XSR_EPC3, |
| 6562 |
OPCODE_RSR_EXCSAVE3, |
| 6563 |
OPCODE_WSR_EXCSAVE3, |
| 6564 |
OPCODE_XSR_EXCSAVE3, |
| 6565 |
OPCODE_RSR_EPS2, |
| 6566 |
OPCODE_WSR_EPS2, |
| 6567 |
OPCODE_XSR_EPS2, |
| 6568 |
OPCODE_RSR_EPS3, |
| 6569 |
OPCODE_WSR_EPS3, |
| 6570 |
OPCODE_XSR_EPS3, |
| 6571 |
OPCODE_RSR_EXCVADDR, |
| 6572 |
OPCODE_WSR_EXCVADDR, |
| 6573 |
OPCODE_XSR_EXCVADDR, |
| 6574 |
OPCODE_RSR_DEPC, |
| 6575 |
OPCODE_WSR_DEPC, |
| 6576 |
OPCODE_XSR_DEPC, |
| 6577 |
OPCODE_RSR_EXCCAUSE, |
| 6578 |
OPCODE_WSR_EXCCAUSE, |
| 6579 |
OPCODE_XSR_EXCCAUSE, |
| 6580 |
OPCODE_RSR_PRID, |
| 6581 |
OPCODE_RSR_VECBASE, |
| 6582 |
OPCODE_WSR_VECBASE, |
| 6583 |
OPCODE_XSR_VECBASE, |
| 6584 |
OPCODE_MUL16U, |
| 6585 |
OPCODE_MUL16S, |
| 6586 |
OPCODE_MULL, |
| 6587 |
OPCODE_RFI, |
| 6588 |
OPCODE_WAITI, |
| 6589 |
OPCODE_RSR_INTERRUPT, |
| 6590 |
OPCODE_WSR_INTSET, |
| 6591 |
OPCODE_WSR_INTCLEAR, |
| 6592 |
OPCODE_RSR_INTENABLE, |
| 6593 |
OPCODE_WSR_INTENABLE, |
| 6594 |
OPCODE_XSR_INTENABLE, |
| 6595 |
OPCODE_BREAK, |
| 6596 |
OPCODE_BREAK_N, |
| 6597 |
OPCODE_RSR_DBREAKA0, |
| 6598 |
OPCODE_WSR_DBREAKA0, |
| 6599 |
OPCODE_XSR_DBREAKA0, |
| 6600 |
OPCODE_RSR_DBREAKC0, |
| 6601 |
OPCODE_WSR_DBREAKC0, |
| 6602 |
OPCODE_XSR_DBREAKC0, |
| 6603 |
OPCODE_RSR_IBREAKA0, |
| 6604 |
OPCODE_WSR_IBREAKA0, |
| 6605 |
OPCODE_XSR_IBREAKA0, |
| 6606 |
OPCODE_RSR_IBREAKENABLE, |
| 6607 |
OPCODE_WSR_IBREAKENABLE, |
| 6608 |
OPCODE_XSR_IBREAKENABLE, |
| 6609 |
OPCODE_RSR_DEBUGCAUSE, |
| 6610 |
OPCODE_WSR_DEBUGCAUSE, |
| 6611 |
OPCODE_XSR_DEBUGCAUSE, |
| 6612 |
OPCODE_RSR_ICOUNT, |
| 6613 |
OPCODE_WSR_ICOUNT, |
| 6614 |
OPCODE_XSR_ICOUNT, |
| 6615 |
OPCODE_RSR_ICOUNTLEVEL, |
| 6616 |
OPCODE_WSR_ICOUNTLEVEL, |
| 6617 |
OPCODE_XSR_ICOUNTLEVEL, |
| 6618 |
OPCODE_RSR_DDR, |
| 6619 |
OPCODE_WSR_DDR, |
| 6620 |
OPCODE_XSR_DDR, |
| 6621 |
OPCODE_RFDO, |
| 6622 |
OPCODE_RFDD, |
| 6623 |
OPCODE_WSR_MMID, |
| 6624 |
OPCODE_RSR_CCOUNT, |
| 6625 |
OPCODE_WSR_CCOUNT, |
| 6626 |
OPCODE_XSR_CCOUNT, |
| 6627 |
OPCODE_RSR_CCOMPARE0, |
| 6628 |
OPCODE_WSR_CCOMPARE0, |
| 6629 |
OPCODE_XSR_CCOMPARE0, |
| 6630 |
OPCODE_IDTLB, |
| 6631 |
OPCODE_PDTLB, |
| 6632 |
OPCODE_RDTLB0, |
| 6633 |
OPCODE_RDTLB1, |
| 6634 |
OPCODE_WDTLB, |
| 6635 |
OPCODE_IITLB, |
| 6636 |
OPCODE_PITLB, |
| 6637 |
OPCODE_RITLB0, |
| 6638 |
OPCODE_RITLB1, |
| 6639 |
OPCODE_WITLB, |
| 6640 |
OPCODE_NSA, |
| 6641 |
OPCODE_NSAU, |
| 6642 |
OPCODE_RER, |
| 6643 |
OPCODE_WER |
| 6644 |
}; |
| 6645 |
|
| 6646 |
|
| 6647 |
|
| 6648 |
|
| 6649 |
static int |
| 6650 |
Slot_inst_decode (const xtensa_insnbuf insn) |
| 6651 |
{ |
| 6652 |
switch (Field_op0_Slot_inst_get (insn)) |
| 6653 |
{ |
| 6654 |
case 0: |
| 6655 |
switch (Field_op1_Slot_inst_get (insn)) |
| 6656 |
{ |
| 6657 |
case 0: |
| 6658 |
switch (Field_op2_Slot_inst_get (insn)) |
| 6659 |
{ |
| 6660 |
case 0: |
| 6661 |
switch (Field_r_Slot_inst_get (insn)) |
| 6662 |
{ |
| 6663 |
case 0: |
| 6664 |
switch (Field_m_Slot_inst_get (insn)) |
| 6665 |
{ |
| 6666 |
case 0: |
| 6667 |
if (Field_s_Slot_inst_get (insn) == 0 && |
| 6668 |
Field_n_Slot_inst_get (insn) == 0) |
| 6669 |
return OPCODE_ILL; |
| 6670 |
break; |
| 6671 |
case 2: |
| 6672 |
switch (Field_n_Slot_inst_get (insn)) |
| 6673 |
{ |
| 6674 |
case 0: |
| 6675 |
return OPCODE_RET; |
| 6676 |
case 2: |
| 6677 |
return OPCODE_JX; |
| 6678 |
} |
| 6679 |
break; |
| 6680 |
case 3: |
| 6681 |
if (Field_n_Slot_inst_get (insn) == 0) |
| 6682 |
return OPCODE_CALLX0; |
| 6683 |
break; |
| 6684 |
} |
| 6685 |
break; |
| 6686 |
case 2: |
| 6687 |
if (Field_s_Slot_inst_get (insn) == 0) |
| 6688 |
{ |
| 6689 |
switch (Field_t_Slot_inst_get (insn)) |
| 6690 |
{ |
| 6691 |
case 0: |
| 6692 |
return OPCODE_ISYNC; |
| 6693 |
case 1: |
| 6694 |
return OPCODE_RSYNC; |
| 6695 |
case 2: |
| 6696 |
return OPCODE_ESYNC; |
| 6697 |
case 3: |
| 6698 |
return OPCODE_DSYNC; |
| 6699 |
case 8: |
| 6700 |
return OPCODE_EXCW; |
| 6701 |
case 12: |
| 6702 |
return OPCODE_MEMW; |
| 6703 |
case 13: |
| 6704 |
return OPCODE_EXTW; |
| 6705 |
case 15: |
| 6706 |
return OPCODE_NOP; |
| 6707 |
} |
| 6708 |
} |
| 6709 |
break; |
| 6710 |
case 3: |
| 6711 |
switch (Field_t_Slot_inst_get (insn)) |
| 6712 |
{ |
| 6713 |
case 0: |
| 6714 |
switch (Field_s_Slot_inst_get (insn)) |
| 6715 |
{ |
| 6716 |
case 0: |
| 6717 |
return OPCODE_RFE; |
| 6718 |
case 2: |
| 6719 |
return OPCODE_RFDE; |
| 6720 |
} |
| 6721 |
break; |
| 6722 |
case 1: |
| 6723 |
return OPCODE_RFI; |
| 6724 |
} |
| 6725 |
break; |
| 6726 |
case 4: |
| 6727 |
return OPCODE_BREAK; |
| 6728 |
case 5: |
| 6729 |
switch (Field_s_Slot_inst_get (insn)) |
| 6730 |
{ |
| 6731 |
case 0: |
| 6732 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6733 |
return OPCODE_SYSCALL; |
| 6734 |
break; |
| 6735 |
case 1: |
| 6736 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6737 |
return OPCODE_SIMCALL; |
| 6738 |
break; |
| 6739 |
} |
| 6740 |
break; |
| 6741 |
case 6: |
| 6742 |
return OPCODE_RSIL; |
| 6743 |
case 7: |
| 6744 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6745 |
return OPCODE_WAITI; |
| 6746 |
break; |
| 6747 |
} |
| 6748 |
break; |
| 6749 |
case 1: |
| 6750 |
return OPCODE_AND; |
| 6751 |
case 2: |
| 6752 |
return OPCODE_OR; |
| 6753 |
case 3: |
| 6754 |
return OPCODE_XOR; |
| 6755 |
case 4: |
| 6756 |
switch (Field_r_Slot_inst_get (insn)) |
| 6757 |
{ |
| 6758 |
case 0: |
| 6759 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6760 |
return OPCODE_SSR; |
| 6761 |
break; |
| 6762 |
case 1: |
| 6763 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6764 |
return OPCODE_SSL; |
| 6765 |
break; |
| 6766 |
case 2: |
| 6767 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6768 |
return OPCODE_SSA8L; |
| 6769 |
break; |
| 6770 |
case 3: |
| 6771 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6772 |
return OPCODE_SSA8B; |
| 6773 |
break; |
| 6774 |
case 4: |
| 6775 |
if (Field_thi3_Slot_inst_get (insn) == 0) |
| 6776 |
return OPCODE_SSAI; |
| 6777 |
break; |
| 6778 |
case 6: |
| 6779 |
return OPCODE_RER; |
| 6780 |
case 7: |
| 6781 |
return OPCODE_WER; |
| 6782 |
case 14: |
| 6783 |
return OPCODE_NSA; |
| 6784 |
case 15: |
| 6785 |
return OPCODE_NSAU; |
| 6786 |
} |
| 6787 |
break; |
| 6788 |
case 5: |
| 6789 |
switch (Field_r_Slot_inst_get (insn)) |
| 6790 |
{ |
| 6791 |
case 3: |
| 6792 |
return OPCODE_RITLB0; |
| 6793 |
case 4: |
| 6794 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6795 |
return OPCODE_IITLB; |
| 6796 |
break; |
| 6797 |
case 5: |
| 6798 |
return OPCODE_PITLB; |
| 6799 |
case 6: |
| 6800 |
return OPCODE_WITLB; |
| 6801 |
case 7: |
| 6802 |
return OPCODE_RITLB1; |
| 6803 |
case 11: |
| 6804 |
return OPCODE_RDTLB0; |
| 6805 |
case 12: |
| 6806 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6807 |
return OPCODE_IDTLB; |
| 6808 |
break; |
| 6809 |
case 13: |
| 6810 |
return OPCODE_PDTLB; |
| 6811 |
case 14: |
| 6812 |
return OPCODE_WDTLB; |
| 6813 |
case 15: |
| 6814 |
return OPCODE_RDTLB1; |
| 6815 |
} |
| 6816 |
break; |
| 6817 |
case 6: |
| 6818 |
switch (Field_s_Slot_inst_get (insn)) |
| 6819 |
{ |
| 6820 |
case 0: |
| 6821 |
return OPCODE_NEG; |
| 6822 |
case 1: |
| 6823 |
return OPCODE_ABS; |
| 6824 |
} |
| 6825 |
break; |
| 6826 |
case 8: |
| 6827 |
return OPCODE_ADD; |
| 6828 |
case 9: |
| 6829 |
return OPCODE_ADDX2; |
| 6830 |
case 10: |
| 6831 |
return OPCODE_ADDX4; |
| 6832 |
case 11: |
| 6833 |
return OPCODE_ADDX8; |
| 6834 |
case 12: |
| 6835 |
return OPCODE_SUB; |
| 6836 |
case 13: |
| 6837 |
return OPCODE_SUBX2; |
| 6838 |
case 14: |
| 6839 |
return OPCODE_SUBX4; |
| 6840 |
case 15: |
| 6841 |
return OPCODE_SUBX8; |
| 6842 |
} |
| 6843 |
break; |
| 6844 |
case 1: |
| 6845 |
switch (Field_op2_Slot_inst_get (insn)) |
| 6846 |
{ |
| 6847 |
case 0: |
| 6848 |
case 1: |
| 6849 |
return OPCODE_SLLI; |
| 6850 |
case 2: |
| 6851 |
case 3: |
| 6852 |
return OPCODE_SRAI; |
| 6853 |
case 4: |
| 6854 |
return OPCODE_SRLI; |
| 6855 |
case 6: |
| 6856 |
switch (Field_sr_Slot_inst_get (insn)) |
| 6857 |
{ |
| 6858 |
case 3: |
| 6859 |
return OPCODE_XSR_SAR; |
| 6860 |
case 5: |
| 6861 |
return OPCODE_XSR_LITBASE; |
| 6862 |
case 96: |
| 6863 |
return OPCODE_XSR_IBREAKENABLE; |
| 6864 |
case 104: |
| 6865 |
return OPCODE_XSR_DDR; |
| 6866 |
case 128: |
| 6867 |
return OPCODE_XSR_IBREAKA0; |
| 6868 |
case 144: |
| 6869 |
return OPCODE_XSR_DBREAKA0; |
| 6870 |
case 160: |
| 6871 |
return OPCODE_XSR_DBREAKC0; |
| 6872 |
case 177: |
| 6873 |
return OPCODE_XSR_EPC1; |
| 6874 |
case 178: |
| 6875 |
return OPCODE_XSR_EPC2; |
| 6876 |
case 179: |
| 6877 |
return OPCODE_XSR_EPC3; |
| 6878 |
case 192: |
| 6879 |
return OPCODE_XSR_DEPC; |
| 6880 |
case 194: |
| 6881 |
return OPCODE_XSR_EPS2; |
| 6882 |
case 195: |
| 6883 |
return OPCODE_XSR_EPS3; |
| 6884 |
case 209: |
| 6885 |
return OPCODE_XSR_EXCSAVE1; |
| 6886 |
case 210: |
| 6887 |
return OPCODE_XSR_EXCSAVE2; |
| 6888 |
case 211: |
| 6889 |
return OPCODE_XSR_EXCSAVE3; |
| 6890 |
case 228: |
| 6891 |
return OPCODE_XSR_INTENABLE; |
| 6892 |
case 230: |
| 6893 |
return OPCODE_XSR_PS; |
| 6894 |
case 231: |
| 6895 |
return OPCODE_XSR_VECBASE; |
| 6896 |
case 232: |
| 6897 |
return OPCODE_XSR_EXCCAUSE; |
| 6898 |
case 233: |
| 6899 |
return OPCODE_XSR_DEBUGCAUSE; |
| 6900 |
case 234: |
| 6901 |
return OPCODE_XSR_CCOUNT; |
| 6902 |
case 236: |
| 6903 |
return OPCODE_XSR_ICOUNT; |
| 6904 |
case 237: |
| 6905 |
return OPCODE_XSR_ICOUNTLEVEL; |
| 6906 |
case 238: |
| 6907 |
return OPCODE_XSR_EXCVADDR; |
| 6908 |
case 240: |
| 6909 |
return OPCODE_XSR_CCOMPARE0; |
| 6910 |
} |
| 6911 |
break; |
| 6912 |
case 8: |
| 6913 |
return OPCODE_SRC; |
| 6914 |
case 9: |
| 6915 |
if (Field_s_Slot_inst_get (insn) == 0) |
| 6916 |
return OPCODE_SRL; |
| 6917 |
break; |
| 6918 |
case 10: |
| 6919 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6920 |
return OPCODE_SLL; |
| 6921 |
break; |
| 6922 |
case 11: |
| 6923 |
if (Field_s_Slot_inst_get (insn) == 0) |
| 6924 |
return OPCODE_SRA; |
| 6925 |
break; |
| 6926 |
case 12: |
| 6927 |
return OPCODE_MUL16U; |
| 6928 |
case 13: |
| 6929 |
return OPCODE_MUL16S; |
| 6930 |
case 15: |
| 6931 |
switch (Field_r_Slot_inst_get (insn)) |
| 6932 |
{ |
| 6933 |
case 14: |
| 6934 |
if (Field_t_Slot_inst_get (insn) == 0) |
| 6935 |
return OPCODE_RFDO; |
| 6936 |
if (Field_t_Slot_inst_get (insn) == 1) |
| 6937 |
return OPCODE_RFDD; |
| 6938 |
break; |
| 6939 |
} |
| 6940 |
break; |
| 6941 |
} |
| 6942 |
break; |
| 6943 |
case 2: |
| 6944 |
if (Field_op2_Slot_inst_get (insn) == 8) |
| 6945 |
return OPCODE_MULL; |
| 6946 |
break; |
| 6947 |
case 3: |
| 6948 |
switch (Field_op2_Slot_inst_get (insn)) |
| 6949 |
{ |
| 6950 |
case 0: |
| 6951 |
switch (Field_sr_Slot_inst_get (insn)) |
| 6952 |
{ |
| 6953 |
case 3: |
| 6954 |
return OPCODE_RSR_SAR; |
| 6955 |
case 5: |
| 6956 |
return OPCODE_RSR_LITBASE; |
| 6957 |
case 96: |
| 6958 |
return OPCODE_RSR_IBREAKENABLE; |
| 6959 |
case 104: |
| 6960 |
return OPCODE_RSR_DDR; |
| 6961 |
case 128: |
| 6962 |
return OPCODE_RSR_IBREAKA0; |
| 6963 |
case 144: |
| 6964 |
return OPCODE_RSR_DBREAKA0; |
| 6965 |
case 160: |
| 6966 |
return OPCODE_RSR_DBREAKC0; |
| 6967 |
case 176: |
| 6968 |
return OPCODE_RSR_176; |
| 6969 |
case 177: |
| 6970 |
return OPCODE_RSR_EPC1; |
| 6971 |
case 178: |
| 6972 |
return OPCODE_RSR_EPC2; |
| 6973 |
case 179: |
| 6974 |
return OPCODE_RSR_EPC3; |
| 6975 |
case 192: |
| 6976 |
return OPCODE_RSR_DEPC; |
| 6977 |
case 194: |
| 6978 |
return OPCODE_RSR_EPS2; |
| 6979 |
case 195: |
| 6980 |
return OPCODE_RSR_EPS3; |
| 6981 |
case 208: |
| 6982 |
return OPCODE_RSR_208; |
| 6983 |
case 209: |
| 6984 |
return OPCODE_RSR_EXCSAVE1; |
| 6985 |
case 210: |
| 6986 |
return OPCODE_RSR_EXCSAVE2; |
| 6987 |
case 211: |
| 6988 |
return OPCODE_RSR_EXCSAVE3; |
| 6989 |
case 226: |
| 6990 |
return OPCODE_RSR_INTERRUPT; |
| 6991 |
case 228: |
| 6992 |
return OPCODE_RSR_INTENABLE; |
| 6993 |
case 230: |
| 6994 |
return OPCODE_RSR_PS; |
| 6995 |
case 231: |
| 6996 |
return OPCODE_RSR_VECBASE; |
| 6997 |
case 232: |
| 6998 |
return OPCODE_RSR_EXCCAUSE; |
| 6999 |
case 233: |
| 7000 |
return OPCODE_RSR_DEBUGCAUSE; |
| 7001 |
case 234: |
| 7002 |
return OPCODE_RSR_CCOUNT; |
| 7003 |
case 235: |
| 7004 |
return OPCODE_RSR_PRID; |
| 7005 |
case 236: |
| 7006 |
return OPCODE_RSR_ICOUNT; |
| 7007 |
case 237: |
| 7008 |
return OPCODE_RSR_ICOUNTLEVEL; |
| 7009 |
case 238: |
| 7010 |
return OPCODE_RSR_EXCVADDR; |
| 7011 |
case 240: |
| 7012 |
return OPCODE_RSR_CCOMPARE0; |
| 7013 |
} |
| 7014 |
break; |
| 7015 |
case 1: |
| 7016 |
switch (Field_sr_Slot_inst_get (insn)) |
| 7017 |
{ |
| 7018 |
case 3: |
| 7019 |
return OPCODE_WSR_SAR; |
| 7020 |
case 5: |
| 7021 |
return OPCODE_WSR_LITBASE; |
| 7022 |
case 89: |
| 7023 |
return OPCODE_WSR_MMID; |
| 7024 |
case 96: |
| 7025 |
return OPCODE_WSR_IBREAKENABLE; |
| 7026 |
case 104: |
| 7027 |
return OPCODE_WSR_DDR; |
| 7028 |
case 128: |
| 7029 |
return OPCODE_WSR_IBREAKA0; |
| 7030 |
case 144: |
| 7031 |
return OPCODE_WSR_DBREAKA0; |
| 7032 |
case 160: |
| 7033 |
return OPCODE_WSR_DBREAKC0; |
| 7034 |
case 176: |
| 7035 |
return OPCODE_WSR_176; |
| 7036 |
case 177: |
| 7037 |
return OPCODE_WSR_EPC1; |
| 7038 |
case 178: |
| 7039 |
return OPCODE_WSR_EPC2; |
| 7040 |
case 179: |
| 7041 |
return OPCODE_WSR_EPC3; |
| 7042 |
case 192: |
| 7043 |
return OPCODE_WSR_DEPC; |
| 7044 |
case 194: |
| 7045 |
return OPCODE_WSR_EPS2; |
| 7046 |
case 195: |
| 7047 |
return OPCODE_WSR_EPS3; |
| 7048 |
case 209: |
| 7049 |
return OPCODE_WSR_EXCSAVE1; |
| 7050 |
case 210: |
| 7051 |
return OPCODE_WSR_EXCSAVE2; |
| 7052 |
case 211: |
| 7053 |
return OPCODE_WSR_EXCSAVE3; |
| 7054 |
case 226: |
| 7055 |
return OPCODE_WSR_INTSET; |
| 7056 |
case 227: |
| 7057 |
return OPCODE_WSR_INTCLEAR; |
| 7058 |
case 228: |
| 7059 |
return OPCODE_WSR_INTENABLE; |
| 7060 |
case 230: |
| 7061 |
return OPCODE_WSR_PS; |
| 7062 |
case 231: |
| 7063 |
return OPCODE_WSR_VECBASE; |
| 7064 |
case 232: |
| 7065 |
return OPCODE_WSR_EXCCAUSE; |
| 7066 |
case 233: |
| 7067 |
return OPCODE_WSR_DEBUGCAUSE; |
| 7068 |
case 234: |
| 7069 |
return OPCODE_WSR_CCOUNT; |
| 7070 |
case 236: |
| 7071 |
return OPCODE_WSR_ICOUNT; |
| 7072 |
case 237: |
| 7073 |
return OPCODE_WSR_ICOUNTLEVEL; |
| 7074 |
case 238: |
| 7075 |
return OPCODE_WSR_EXCVADDR; |
| 7076 |
case 240: |
| 7077 |
return OPCODE_WSR_CCOMPARE0; |
| 7078 |
} |
| 7079 |
break; |
| 7080 |
case 8: |
| 7081 |
return OPCODE_MOVEQZ; |
| 7082 |
case 9: |
| 7083 |
return OPCODE_MOVNEZ; |
| 7084 |
case 10: |
| 7085 |
return OPCODE_MOVLTZ; |
| 7086 |
case 11: |
| 7087 |
return OPCODE_MOVGEZ; |
| 7088 |
} |
| 7089 |
break; |
| 7090 |
case 4: |
| 7091 |
case 5: |
| 7092 |
return OPCODE_EXTUI; |
| 7093 |
} |
| 7094 |
break; |
| 7095 |
case 1: |
| 7096 |
return OPCODE_L32R; |
| 7097 |
case 2: |
| 7098 |
switch (Field_r_Slot_inst_get (insn)) |
| 7099 |
{ |
| 7100 |
case 0: |
| 7101 |
return OPCODE_L8UI; |
| 7102 |
case 1: |
| 7103 |
return OPCODE_L16UI; |
| 7104 |
case 2: |
| 7105 |
return OPCODE_L32I; |
| 7106 |
case 4: |
| 7107 |
return OPCODE_S8I; |
| 7108 |
case 5: |
| 7109 |
return OPCODE_S16I; |
| 7110 |
case 6: |
| 7111 |
return OPCODE_S32I; |
| 7112 |
case 9: |
| 7113 |
return OPCODE_L16SI; |
| 7114 |
case 10: |
| 7115 |
return OPCODE_MOVI; |
| 7116 |
case 12: |
| 7117 |
return OPCODE_ADDI; |
| 7118 |
case 13: |
| 7119 |
return OPCODE_ADDMI; |
| 7120 |
} |
| 7121 |
break; |
| 7122 |
case 5: |
| 7123 |
if (Field_n_Slot_inst_get (insn) == 0) |
| 7124 |
return OPCODE_CALL0; |
| 7125 |
break; |
| 7126 |
case 6: |
| 7127 |
switch (Field_n_Slot_inst_get (insn)) |
| 7128 |
{ |
| 7129 |
case 0: |
| 7130 |
return OPCODE_J; |
| 7131 |
case 1: |
| 7132 |
switch (Field_m_Slot_inst_get (insn)) |
| 7133 |
{ |
| 7134 |
case 0: |
| 7135 |
return OPCODE_BEQZ; |
| 7136 |
case 1: |
| 7137 |
return OPCODE_BNEZ; |
| 7138 |
case 2: |
| 7139 |
return OPCODE_BLTZ; |
| 7140 |
case 3: |
| 7141 |
return OPCODE_BGEZ; |
| 7142 |
} |
| 7143 |
break; |
| 7144 |
case 2: |
| 7145 |
switch (Field_m_Slot_inst_get (insn)) |
| 7146 |
{ |
| 7147 |
case 0: |
| 7148 |
return OPCODE_BEQI; |
| 7149 |
case 1: |
| 7150 |
return OPCODE_BNEI; |
| 7151 |
case 2: |
| 7152 |
return OPCODE_BLTI; |
| 7153 |
case 3: |
| 7154 |
return OPCODE_BGEI; |
| 7155 |
} |
| 7156 |
break; |
| 7157 |
case 3: |
| 7158 |
switch (Field_m_Slot_inst_get (insn)) |
| 7159 |
{ |
| 7160 |
case 2: |
| 7161 |
return OPCODE_BLTUI; |
| 7162 |
case 3: |
| 7163 |
return OPCODE_BGEUI; |
| 7164 |
} |
| 7165 |
break; |
| 7166 |
} |
| 7167 |
break; |
| 7168 |
case 7: |
| 7169 |
switch (Field_r_Slot_inst_get (insn)) |
| 7170 |
{ |
| 7171 |
case 0: |
| 7172 |
return OPCODE_BNONE; |
| 7173 |
case 1: |
| 7174 |
return OPCODE_BEQ; |
| 7175 |
case 2: |
| 7176 |
return OPCODE_BLT; |
| 7177 |
case 3: |
| 7178 |
return OPCODE_BLTU; |
| 7179 |
case 4: |
| 7180 |
return OPCODE_BALL; |
| 7181 |
case 5: |
| 7182 |
return OPCODE_BBC; |
| 7183 |
case 6: |
| 7184 |
case 7: |
| 7185 |
return OPCODE_BBCI; |
| 7186 |
case 8: |
| 7187 |
return OPCODE_BANY; |
| 7188 |
case 9: |
| 7189 |
return OPCODE_BNE; |
| 7190 |
case 10: |
| 7191 |
return OPCODE_BGE; |
| 7192 |
case 11: |
| 7193 |
return OPCODE_BGEU; |
| 7194 |
case 12: |
| 7195 |
return OPCODE_BNALL; |
| 7196 |
case 13: |
| 7197 |
return OPCODE_BBS; |
| 7198 |
case 14: |
| 7199 |
case 15: |
| 7200 |
return OPCODE_BBSI; |
| 7201 |
} |
| 7202 |
break; |
| 7203 |
} |
| 7204 |
return 0; |
| 7205 |
} |
| 7206 |
|
| 7207 |
static int |
| 7208 |
Slot_inst16a_decode (const xtensa_insnbuf insn) |
| 7209 |
{ |
| 7210 |
switch (Field_op0_Slot_inst16a_get (insn)) |
| 7211 |
{ |
| 7212 |
case 8: |
| 7213 |
return OPCODE_L32I_N; |
| 7214 |
case 9: |
| 7215 |
return OPCODE_S32I_N; |
| 7216 |
case 10: |
| 7217 |
return OPCODE_ADD_N; |
| 7218 |
case 11: |
| 7219 |
return OPCODE_ADDI_N; |
| 7220 |
} |
| 7221 |
return 0; |
| 7222 |
} |
| 7223 |
|
| 7224 |
static int |
| 7225 |
Slot_inst16b_decode (const xtensa_insnbuf insn) |
| 7226 |
{ |
| 7227 |
switch (Field_op0_Slot_inst16b_get (insn)) |
| 7228 |
{ |
| 7229 |
case 12: |
| 7230 |
switch (Field_i_Slot_inst16b_get (insn)) |
| 7231 |
{ |
| 7232 |
case 0: |
| 7233 |
return OPCODE_MOVI_N; |
| 7234 |
case 1: |
| 7235 |
switch (Field_z_Slot_inst16b_get (insn)) |
| 7236 |
{ |
| 7237 |
case 0: |
| 7238 |
return OPCODE_BEQZ_N; |
| 7239 |
case 1: |
| 7240 |
return OPCODE_BNEZ_N; |
| 7241 |
} |
| 7242 |
break; |
| 7243 |
} |
| 7244 |
break; |
| 7245 |
case 13: |
| 7246 |
switch (Field_r_Slot_inst16b_get (insn)) |
| 7247 |
{ |
| 7248 |
case 0: |
| 7249 |
return OPCODE_MOV_N; |
| 7250 |
case 15: |
| 7251 |
switch (Field_t_Slot_inst16b_get (insn)) |
| 7252 |
{ |
| 7253 |
case 0: |
| 7254 |
return OPCODE_RET_N; |
| 7255 |
case 2: |
| 7256 |
return OPCODE_BREAK_N; |
| 7257 |
case 3: |
| 7258 |
if (Field_s_Slot_inst16b_get (insn) == 0) |
| 7259 |
return OPCODE_NOP_N; |
| 7260 |
break; |
| 7261 |
case 6: |
| 7262 |
if (Field_s_Slot_inst16b_get (insn) == 0) |
| 7263 |
return OPCODE_ILL_N; |
| 7264 |
break; |
| 7265 |
} |
| 7266 |
break; |
| 7267 |
} |
| 7268 |
break; |
| 7269 |
} |
| 7270 |
return 0; |
| 7271 |
} |
| 7272 |
|
| 7273 |
|
| 7274 |
|
| 7275 |
|
| 7276 |
static void |
| 7277 |
Slot_x24_Format_inst_0_get (const xtensa_insnbuf insn, |
| 7278 |
xtensa_insnbuf slotbuf) |
| 7279 |
{ |
| 7280 |
slotbuf[0] = (insn[0] & 0xffffff); |
| 7281 |
} |
| 7282 |
|
| 7283 |
static void |
| 7284 |
Slot_x24_Format_inst_0_set (xtensa_insnbuf insn, |
| 7285 |
const xtensa_insnbuf slotbuf) |
| 7286 |
{ |
| 7287 |
insn[0] = (insn[0] & ~0xffffff) | (slotbuf[0] & 0xffffff); |
| 7288 |
} |
| 7289 |
|
| 7290 |
static void |
| 7291 |
Slot_x16a_Format_inst16a_0_get (const xtensa_insnbuf insn, |
| 7292 |
xtensa_insnbuf slotbuf) |
| 7293 |
{ |
| 7294 |
slotbuf[0] = (insn[0] & 0xffff); |
| 7295 |
} |
| 7296 |
|
| 7297 |
static void |
| 7298 |
Slot_x16a_Format_inst16a_0_set (xtensa_insnbuf insn, |
| 7299 |
const xtensa_insnbuf slotbuf) |
| 7300 |
{ |
| 7301 |
insn[0] = (insn[0] & ~0xffff) | (slotbuf[0] & 0xffff); |
| 7302 |
} |
| 7303 |
|
| 7304 |
static void |
| 7305 |
Slot_x16b_Format_inst16b_0_get (const xtensa_insnbuf insn, |
| 7306 |
xtensa_insnbuf slotbuf) |
| 7307 |
{ |
| 7308 |
slotbuf[0] = (insn[0] & 0xffff); |
| 7309 |
} |
| 7310 |
|
| 7311 |
static void |
| 7312 |
Slot_x16b_Format_inst16b_0_set (xtensa_insnbuf insn, |
| 7313 |
const xtensa_insnbuf slotbuf) |
| 7314 |
{ |
| 7315 |
insn[0] = (insn[0] & ~0xffff) | (slotbuf[0] & 0xffff); |
| 7316 |
} |
| 7317 |
|
| 7318 |
static xtensa_get_field_fn |
| 7319 |
Slot_inst_get_field_fns[] = { |
| 7320 |
Field_t_Slot_inst_get, |
| 7321 |
Field_bbi4_Slot_inst_get, |
| 7322 |
Field_bbi_Slot_inst_get, |
| 7323 |
Field_imm12_Slot_inst_get, |
| 7324 |
Field_imm8_Slot_inst_get, |
| 7325 |
Field_s_Slot_inst_get, |
| 7326 |
Field_imm12b_Slot_inst_get, |
| 7327 |
Field_imm16_Slot_inst_get, |
| 7328 |
Field_m_Slot_inst_get, |
| 7329 |
Field_n_Slot_inst_get, |
| 7330 |
Field_offset_Slot_inst_get, |
| 7331 |
Field_op0_Slot_inst_get, |
| 7332 |
Field_op1_Slot_inst_get, |
| 7333 |
Field_op2_Slot_inst_get, |
| 7334 |
Field_r_Slot_inst_get, |
| 7335 |
Field_sa4_Slot_inst_get, |
| 7336 |
Field_sae4_Slot_inst_get, |
| 7337 |
Field_sae_Slot_inst_get, |
| 7338 |
Field_sal_Slot_inst_get, |
| 7339 |
Field_sargt_Slot_inst_get, |
| 7340 |
Field_sas4_Slot_inst_get, |
| 7341 |
Field_sas_Slot_inst_get, |
| 7342 |
Field_sr_Slot_inst_get, |
| 7343 |
Field_st_Slot_inst_get, |
| 7344 |
Field_thi3_Slot_inst_get, |
| 7345 |
Field_imm4_Slot_inst_get, |
| 7346 |
0, |
| 7347 |
0, |
| 7348 |
0, |
| 7349 |
0, |
| 7350 |
0, |
| 7351 |
0, |
| 7352 |
0, |
| 7353 |
0, |
| 7354 |
Field_xt_wbr15_imm_Slot_inst_get, |
| 7355 |
Field_xt_wbr18_imm_Slot_inst_get, |
| 7356 |
Implicit_Field_ar0_get |
| 7357 |
}; |
| 7358 |
|
| 7359 |
static xtensa_set_field_fn |
| 7360 |
Slot_inst_set_field_fns[] = { |
| 7361 |
Field_t_Slot_inst_set, |
| 7362 |
Field_bbi4_Slot_inst_set, |
| 7363 |
Field_bbi_Slot_inst_set, |
| 7364 |
Field_imm12_Slot_inst_set, |
| 7365 |
Field_imm8_Slot_inst_set, |
| 7366 |
Field_s_Slot_inst_set, |
| 7367 |
Field_imm12b_Slot_inst_set, |
| 7368 |
Field_imm16_Slot_inst_set, |
| 7369 |
Field_m_Slot_inst_set, |
| 7370 |
Field_n_Slot_inst_set, |
| 7371 |
Field_offset_Slot_inst_set, |
| 7372 |
Field_op0_Slot_inst_set, |
| 7373 |
Field_op1_Slot_inst_set, |
| 7374 |
Field_op2_Slot_inst_set, |
| 7375 |
Field_r_Slot_inst_set, |
| 7376 |
Field_sa4_Slot_inst_set, |
| 7377 |
Field_sae4_Slot_inst_set, |
| 7378 |
Field_sae_Slot_inst_set, |
| 7379 |
Field_sal_Slot_inst_set, |
| 7380 |
Field_sargt_Slot_inst_set, |
| 7381 |
Field_sas4_Slot_inst_set, |
| 7382 |
Field_sas_Slot_inst_set, |
| 7383 |
Field_sr_Slot_inst_set, |
| 7384 |
Field_st_Slot_inst_set, |
| 7385 |
Field_thi3_Slot_inst_set, |
| 7386 |
Field_imm4_Slot_inst_set, |
| 7387 |
0, |
| 7388 |
0, |
| 7389 |
0, |
| 7390 |
0, |
| 7391 |
0, |
| 7392 |
0, |
| 7393 |
0, |
| 7394 |
0, |
| 7395 |
Field_xt_wbr15_imm_Slot_inst_set, |
| 7396 |
Field_xt_wbr18_imm_Slot_inst_set, |
| 7397 |
Implicit_Field_set |
| 7398 |
}; |
| 7399 |
|
| 7400 |
static xtensa_get_field_fn |
| 7401 |
Slot_inst16a_get_field_fns[] = { |
| 7402 |
Field_t_Slot_inst16a_get, |
| 7403 |
0, |
| 7404 |
0, |
| 7405 |
0, |
| 7406 |
0, |
| 7407 |
Field_s_Slot_inst16a_get, |
| 7408 |
0, |
| 7409 |
0, |
| 7410 |
0, |
| 7411 |
0, |
| 7412 |
0, |
| 7413 |
Field_op0_Slot_inst16a_get, |
| 7414 |
0, |
| 7415 |
0, |
| 7416 |
Field_r_Slot_inst16a_get, |
| 7417 |
0, |
| 7418 |
0, |
| 7419 |
0, |
| 7420 |
0, |
| 7421 |
0, |
| 7422 |
0, |
| 7423 |
0, |
| 7424 |
Field_sr_Slot_inst16a_get, |
| 7425 |
Field_st_Slot_inst16a_get, |
| 7426 |
0, |
| 7427 |
Field_imm4_Slot_inst16a_get, |
| 7428 |
Field_i_Slot_inst16a_get, |
| 7429 |
Field_imm6lo_Slot_inst16a_get, |
| 7430 |
Field_imm6hi_Slot_inst16a_get, |
| 7431 |
Field_imm7lo_Slot_inst16a_get, |
| 7432 |
Field_imm7hi_Slot_inst16a_get, |
| 7433 |
Field_z_Slot_inst16a_get, |
| 7434 |
Field_imm6_Slot_inst16a_get, |
| 7435 |
Field_imm7_Slot_inst16a_get, |
| 7436 |
0, |
| 7437 |
0, |
| 7438 |
Implicit_Field_ar0_get |
| 7439 |
}; |
| 7440 |
|
| 7441 |
static xtensa_set_field_fn |
| 7442 |
Slot_inst16a_set_field_fns[] = { |
| 7443 |
Field_t_Slot_inst16a_set, |
| 7444 |
0, |
| 7445 |
0, |
| 7446 |
0, |
| 7447 |
0, |
| 7448 |
Field_s_Slot_inst16a_set, |
| 7449 |
0, |
| 7450 |
0, |
| 7451 |
0, |
| 7452 |
0, |
| 7453 |
0, |
| 7454 |
Field_op0_Slot_inst16a_set, |
| 7455 |
0, |
| 7456 |
0, |
| 7457 |
Field_r_Slot_inst16a_set, |
| 7458 |
0, |
| 7459 |
0, |
| 7460 |
0, |
| 7461 |
0, |
| 7462 |
0, |
| 7463 |
0, |
| 7464 |
0, |
| 7465 |
Field_sr_Slot_inst16a_set, |
| 7466 |
Field_st_Slot_inst16a_set, |
| 7467 |
0, |
| 7468 |
Field_imm4_Slot_inst16a_set, |
| 7469 |
Field_i_Slot_inst16a_set, |
| 7470 |
Field_imm6lo_Slot_inst16a_set, |
| 7471 |
Field_imm6hi_Slot_inst16a_set, |
| 7472 |
Field_imm7lo_Slot_inst16a_set, |
| 7473 |
Field_imm7hi_Slot_inst16a_set, |
| 7474 |
Field_z_Slot_inst16a_set, |
| 7475 |
Field_imm6_Slot_inst16a_set, |
| 7476 |
Field_imm7_Slot_inst16a_set, |
| 7477 |
0, |
| 7478 |
0, |
| 7479 |
Implicit_Field_set |
| 7480 |
}; |
| 7481 |
|
| 7482 |
static xtensa_get_field_fn |
| 7483 |
Slot_inst16b_get_field_fns[] = { |
| 7484 |
Field_t_Slot_inst16b_get, |
| 7485 |
0, |
| 7486 |
0, |
| 7487 |
0, |
| 7488 |
0, |
| 7489 |
Field_s_Slot_inst16b_get, |
| 7490 |
0, |
| 7491 |
0, |
| 7492 |
0, |
| 7493 |
0, |
| 7494 |
0, |
| 7495 |
Field_op0_Slot_inst16b_get, |
| 7496 |
0, |
| 7497 |
0, |
| 7498 |
Field_r_Slot_inst16b_get, |
| 7499 |
0, |
| 7500 |
0, |
| 7501 |
0, |
| 7502 |
0, |
| 7503 |
0, |
| 7504 |
0, |
| 7505 |
0, |
| 7506 |
Field_sr_Slot_inst16b_get, |
| 7507 |
Field_st_Slot_inst16b_get, |
| 7508 |
0, |
| 7509 |
Field_imm4_Slot_inst16b_get, |
| 7510 |
Field_i_Slot_inst16b_get, |
| 7511 |
Field_imm6lo_Slot_inst16b_get, |
| 7512 |
Field_imm6hi_Slot_inst16b_get, |
| 7513 |
Field_imm7lo_Slot_inst16b_get, |
| 7514 |
Field_imm7hi_Slot_inst16b_get, |
| 7515 |
Field_z_Slot_inst16b_get, |
| 7516 |
Field_imm6_Slot_inst16b_get, |
| 7517 |
Field_imm7_Slot_inst16b_get, |
| 7518 |
0, |
| 7519 |
0, |
| 7520 |
Implicit_Field_ar0_get |
| 7521 |
}; |
| 7522 |
|
| 7523 |
static xtensa_set_field_fn |
| 7524 |
Slot_inst16b_set_field_fns[] = { |
| 7525 |
Field_t_Slot_inst16b_set, |
| 7526 |
0, |
| 7527 |
0, |
| 7528 |
0, |
| 7529 |
0, |
| 7530 |
Field_s_Slot_inst16b_set, |
| 7531 |
0, |
| 7532 |
0, |
| 7533 |
0, |
| 7534 |
0, |
| 7535 |
0, |
| 7536 |
Field_op0_Slot_inst16b_set, |
| 7537 |
0, |
| 7538 |
0, |
| 7539 |
Field_r_Slot_inst16b_set, |
| 7540 |
0, |
| 7541 |
0, |
| 7542 |
0, |
| 7543 |
0, |
| 7544 |
0, |
| 7545 |
0, |
| 7546 |
0, |
| 7547 |
Field_sr_Slot_inst16b_set, |
| 7548 |
Field_st_Slot_inst16b_set, |
| 7549 |
0, |
| 7550 |
Field_imm4_Slot_inst16b_set, |
| 7551 |
Field_i_Slot_inst16b_set, |
| 7552 |
Field_imm6lo_Slot_inst16b_set, |
| 7553 |
Field_imm6hi_Slot_inst16b_set, |
| 7554 |
Field_imm7lo_Slot_inst16b_set, |
| 7555 |
Field_imm7hi_Slot_inst16b_set, |
| 7556 |
Field_z_Slot_inst16b_set, |
| 7557 |
Field_imm6_Slot_inst16b_set, |
| 7558 |
Field_imm7_Slot_inst16b_set, |
| 7559 |
0, |
| 7560 |
0, |
| 7561 |
Implicit_Field_set |
| 7562 |
}; |
| 7563 |
|
| 7564 |
static xtensa_slot_internal slots[] = { |
| 7565 |
{ "Inst", "x24", 0, |
| 7566 |
Slot_x24_Format_inst_0_get, Slot_x24_Format_inst_0_set, |
| 7567 |
Slot_inst_get_field_fns, Slot_inst_set_field_fns, |
| 7568 |
Slot_inst_decode, "nop" }, |
| 7569 |
{ "Inst16a", "x16a", 0, |
| 7570 |
Slot_x16a_Format_inst16a_0_get, Slot_x16a_Format_inst16a_0_set, |
| 7571 |
Slot_inst16a_get_field_fns, Slot_inst16a_set_field_fns, |
| 7572 |
Slot_inst16a_decode, "" }, |
| 7573 |
{ "Inst16b", "x16b", 0, |
| 7574 |
Slot_x16b_Format_inst16b_0_get, Slot_x16b_Format_inst16b_0_set, |
| 7575 |
Slot_inst16b_get_field_fns, Slot_inst16b_set_field_fns, |
| 7576 |
Slot_inst16b_decode, "nop.n" } |
| 7577 |
}; |
| 7578 |
|
| 7579 |
|
| 7580 |
|
| 7581 |
|
| 7582 |
static void |
| 7583 |
Format_x24_encode (xtensa_insnbuf insn) |
| 7584 |
{ |
| 7585 |
insn[0] = 0; |
| 7586 |
} |
| 7587 |
|
| 7588 |
static void |
| 7589 |
Format_x16a_encode (xtensa_insnbuf insn) |
| 7590 |
{ |
| 7591 |
insn[0] = 0x8; |
| 7592 |
} |
| 7593 |
|
| 7594 |
static void |
| 7595 |
Format_x16b_encode (xtensa_insnbuf insn) |
| 7596 |
{ |
| 7597 |
insn[0] = 0xc; |
| 7598 |
} |
| 7599 |
|
| 7600 |
static int Format_x24_slots[] = { 0 }; |
| 7601 |
|
| 7602 |
static int Format_x16a_slots[] = { 1 }; |
| 7603 |
|
| 7604 |
static int Format_x16b_slots[] = { 2 }; |
| 7605 |
|
| 7606 |
static xtensa_format_internal formats[] = { |
| 7607 |
{ "x24", 3, Format_x24_encode, 1, Format_x24_slots }, |
| 7608 |
{ "x16a", 2, Format_x16a_encode, 1, Format_x16a_slots }, |
| 7609 |
{ "x16b", 2, Format_x16b_encode, 1, Format_x16b_slots } |
| 7610 |
}; |
| 7611 |
|
| 7612 |
|
| 7613 |
static int |
| 7614 |
format_decoder (const xtensa_insnbuf insn) |
| 7615 |
{ |
| 7616 |
if ((insn[0] & 0x8) == 0) |
| 7617 |
return 0; |
| 7618 |
if ((insn[0] & 0xc) == 0x8) |
| 7619 |
return 1; |
| 7620 |
if ((insn[0] & 0xe) == 0xc) |
| 7621 |
return 2; |
| 7622 |
return -1; |
| 7623 |
} |
| 7624 |
|
| 7625 |
static int length_table[16] = { |
| 7626 |
3, |
| 7627 |
3, |
| 7628 |
3, |
| 7629 |
3, |
| 7630 |
3, |
| 7631 |
3, |
| 7632 |
3, |
| 7633 |
3, |
| 7634 |
2, |
| 7635 |
2, |
| 7636 |
2, |
| 7637 |
2, |
| 7638 |
2, |
| 7639 |
2, |
| 7640 |
-1, |
| 7641 |
-1 |
| 7642 |
}; |
| 7643 |
|
| 7644 |
static int |
| 7645 |
length_decoder (const unsigned char *insn) |
| 7646 |
{ |
| 7647 |
int op0 = insn[0] & 0xf; |
| 7648 |
return length_table[op0]; |
| 7649 |
} |
| 7650 |
|
| 7651 |
|
| 7652 |
|
| 7653 |
|
| 7654 |
xtensa_isa_internal xtensa_modules = { |
| 7655 |
0 , |
| 7656 |
3 , 0, |
| 7657 |
3, formats, format_decoder, length_decoder, |
| 7658 |
3, slots, |
| 7659 |
37 , |
| 7660 |
65, operands, |
| 7661 |
159, iclasses, |
| 7662 |
204, opcodes, 0, |
| 7663 |
1, regfiles, |
| 7664 |
NUM_STATES, states, 0, |
| 7665 |
NUM_SYSREGS, sysregs, 0, |
| 7666 |
{ MAX_SPECIAL_REG, MAX_USER_REG }, { 0, 0 }, |
| 7667 |
0, interfaces, 0, |
| 7668 |
0, funcUnits, 0 |
| 7669 |
}; |