Lines Matching refs:opcode
208 struct opcode { struct
213 const struct opcode *group; argument
225 struct opcode mod012[8]; argument
226 struct opcode mod3[8];
230 struct opcode pfx_no;
231 struct opcode pfx_66;
232 struct opcode pfx_f2;
233 struct opcode pfx_f3;
237 struct opcode op[8];
238 struct opcode high[64];
242 struct opcode mod012;
243 struct opcode mod3;
247 struct opcode mode32;
248 struct opcode mode64;
3767 static const struct opcode group7_rm0[] = {
3773 static const struct opcode group7_rm1[] = {
3779 static const struct opcode group7_rm3[] = {
3790 static const struct opcode group7_rm7[] = {
3796 static const struct opcode group1[] = {
3807 static const struct opcode group1A[] = {
3811 static const struct opcode group2[] = {
3822 static const struct opcode group3[] = {
3833 static const struct opcode group4[] = {
3839 static const struct opcode group5[] = {
3849 static const struct opcode group6[] = {
3874 static const struct opcode group8[] = {
3888 static const struct opcode group11[] = {
3994 static const struct opcode opcode_table[256] = {
4118 static const struct opcode twobyte_table[256] = {
4230 static const struct opcode opcode_map_0f_38[256] = {
4481 struct opcode opcode; in x86_decode_insn() local
4575 opcode = opcode_table[ctxt->b]; in x86_decode_insn()
4580 opcode = twobyte_table[ctxt->b]; in x86_decode_insn()
4586 opcode = opcode_map_0f_38[ctxt->b]; in x86_decode_insn()
4589 ctxt->d = opcode.flags; in x86_decode_insn()
4604 opcode = opcode.u.group[goffset]; in x86_decode_insn()
4609 opcode = opcode.u.gdual->mod3[goffset]; in x86_decode_insn()
4611 opcode = opcode.u.gdual->mod012[goffset]; in x86_decode_insn()
4615 opcode = opcode.u.group[goffset]; in x86_decode_insn()
4622 case 0x00: opcode = opcode.u.gprefix->pfx_no; break; in x86_decode_insn()
4623 case 0x66: opcode = opcode.u.gprefix->pfx_66; break; in x86_decode_insn()
4624 case 0xf2: opcode = opcode.u.gprefix->pfx_f2; break; in x86_decode_insn()
4625 case 0xf3: opcode = opcode.u.gprefix->pfx_f3; break; in x86_decode_insn()
4630 opcode = opcode.u.esc->high[ctxt->modrm - 0xc0]; in x86_decode_insn()
4632 opcode = opcode.u.esc->op[(ctxt->modrm >> 3) & 7]; in x86_decode_insn()
4636 opcode = opcode.u.idual->mod3; in x86_decode_insn()
4638 opcode = opcode.u.idual->mod012; in x86_decode_insn()
4642 opcode = opcode.u.mdual->mode64; in x86_decode_insn()
4644 opcode = opcode.u.mdual->mode32; in x86_decode_insn()
4651 ctxt->d |= opcode.flags; in x86_decode_insn()
4658 ctxt->execute = opcode.u.execute; in x86_decode_insn()
4670 ctxt->check_perm = opcode.check_perm; in x86_decode_insn()
4671 ctxt->intercept = opcode.intercept; in x86_decode_insn()