Lines Matching defs:opcode

124 #define Group       (1<<15)     /* Bits 3:5 of modrm byte extend opcode */
168 #define Fastop ((u64)1 << 44) /* Use opcode::u.fastop */
191 struct opcode {
196 const struct opcode *group;
208 struct opcode mod012[8];
209 struct opcode mod3[8];
213 struct opcode pfx_no;
214 struct opcode pfx_66;
215 struct opcode pfx_f2;
216 struct opcode pfx_f3;
220 struct opcode op[8];
221 struct opcode high[64];
225 struct opcode mod012;
226 struct opcode mod3;
230 struct opcode mode32;
231 struct opcode mode64;
4442 static const struct opcode group7_rm0[] = {
4448 static const struct opcode group7_rm1[] = {
4454 static const struct opcode group7_rm2[] = {
4460 static const struct opcode group7_rm3[] = {
4471 static const struct opcode group7_rm7[] = {
4477 static const struct opcode group1[] = {
4488 static const struct opcode group1A[] = {
4492 static const struct opcode group2[] = {
4503 static const struct opcode group3[] = {
4514 static const struct opcode group4[] = {
4520 static const struct opcode group5[] = {
4530 static const struct opcode group6[] = {
4556 static const struct opcode group8[] = {
4580 static const struct opcode group11[] = {
4692 static const struct opcode opcode_table[256] = {
4816 static const struct opcode twobyte_table[256] = {
4931 * Insns below are selected by the prefix which indexed by the third opcode
4934 static const struct opcode opcode_map_0f_38[256] = {
5185 struct opcode opcode;
5299 opcode = opcode_table[ctxt->b];
5300 /* Two-byte opcode? */
5304 opcode = twobyte_table[ctxt->b];
5306 /* 0F_38 opcode map */
5310 opcode = opcode_map_0f_38[ctxt->b];
5313 ctxt->d = opcode.flags;
5328 opcode = opcode.u.group[goffset];
5333 opcode = opcode.u.gdual->mod3[goffset];
5335 opcode = opcode.u.gdual->mod012[goffset];
5339 opcode = opcode.u.group[goffset];
5346 case 0x00: opcode = opcode.u.gprefix->pfx_no; break;
5347 case 0x66: opcode = opcode.u.gprefix->pfx_66; break;
5348 case 0xf2: opcode = opcode.u.gprefix->pfx_f2; break;
5349 case 0xf3: opcode = opcode.u.gprefix->pfx_f3; break;
5354 size_t size = ARRAY_SIZE(opcode.u.esc->high);
5358 opcode = opcode.u.esc->high[index];
5360 opcode = opcode.u.esc->op[(ctxt->modrm >> 3) & 7];
5365 opcode = opcode.u.idual->mod3;
5367 opcode = opcode.u.idual->mod012;
5371 opcode = opcode.u.mdual->mode64;
5373 opcode = opcode.u.mdual->mode32;
5380 ctxt->d |= opcode.flags;
5387 ctxt->execute = opcode.u.execute;
5399 ctxt->check_perm = opcode.check_perm;
5400 ctxt->intercept = opcode.intercept;