Lines Matching refs:prf
89 static int skip_prefix(unsigned char *addr, struct prefix_bits *prf) in skip_prefix() argument
93 prf->shorted = 0; in skip_prefix()
94 prf->enlarged = 0; in skip_prefix()
95 prf->rexr = 0; in skip_prefix()
96 prf->rex = 0; in skip_prefix()
102 prf->shorted = 1; in skip_prefix()
105 prf->enlarged = 1; in skip_prefix()
107 prf->rexr = 1; in skip_prefix()
109 prf->rex = 1; in skip_prefix()
147 struct prefix_bits prf; in get_ins_type() local
152 p += skip_prefix(p, &prf); in get_ins_type()
168 struct prefix_bits prf; in get_ins_reg_width() local
172 p += skip_prefix(p, &prf); in get_ins_reg_width()
181 return prf.shorted ? 2 : (prf.enlarged ? 8 : 4); in get_ins_reg_width()
191 struct prefix_bits prf; in get_ins_mem_width() local
195 p += skip_prefix(p, &prf); in get_ins_mem_width()
208 return prf.shorted ? 2 : 4; in get_ins_mem_width()
212 return prf.shorted ? 2 : (prf.enlarged ? 8 : 4); in get_ins_mem_width()
415 struct prefix_bits prf; in get_ins_reg_val() local
419 p += skip_prefix(p, &prf); in get_ins_reg_val()
439 reg = ((mod_rm >> 3) & 0x7) | (prf.rexr << 3); in get_ins_reg_val()
443 return *get_reg_w8(reg, prf.rex, regs); in get_ins_reg_val()
470 struct prefix_bits prf; in get_ins_imm_val() local
474 p += skip_prefix(p, &prf); in get_ins_imm_val()