Lines Matching refs:reg_num
1935 unsigned int nr = r->reg_num; in register_number()
3214 register_specifier = i.vex.register_specifier->reg_num; in build_evex_prefix()
3365 i.vex.bytes[3] |= i.mask->mask->reg_num; in build_evex_prefix()
3709 if (i.op[x].regs->reg_num > 3) in md_assemble()
4392 && (!i.mask || i.mask->mask->reg_num == 0)) in check_VecOperands()
5416 && i.op[op].regs->reg_num < 4 in check_byte_reg()
5857 && i.op[0].regs->reg_num == 1) in process_operands()
5862 i.tm.base_opcode |= (i.op[0].regs->reg_num << 3); in process_operands()
5878 i.tm.base_opcode |= i.op[op].regs->reg_num; in process_operands()
6218 i.rm.reg = i.op[dest].regs->reg_num; in build_modrm_byte()
6219 i.rm.regmem = i.op[source].regs->reg_num; in build_modrm_byte()
6231 i.rm.reg = i.op[source].regs->reg_num; in build_modrm_byte()
6232 i.rm.regmem = i.op[dest].regs->reg_num; in build_modrm_byte()
6267 if (i.index_reg->reg_num == RegEiz in build_modrm_byte()
6268 || i.index_reg->reg_num == RegRiz) in build_modrm_byte()
6293 i.sib.index = i.index_reg->reg_num; in build_modrm_byte()
6344 if (i.index_reg->reg_num == RegEiz in build_modrm_byte()
6345 || i.index_reg->reg_num == RegRiz) in build_modrm_byte()
6348 i.sib.index = i.index_reg->reg_num; in build_modrm_byte()
6373 else if (i.base_reg->reg_num == RegRip || in build_modrm_byte()
6374 i.base_reg->reg_num == RegEip) in build_modrm_byte()
6391 switch (i.base_reg->reg_num) in build_modrm_byte()
6397 i.rm.regmem = i.index_reg->reg_num - 6; in build_modrm_byte()
6415 i.rm.regmem = i.index_reg->reg_num - 6 + 2; in build_modrm_byte()
6418 i.rm.regmem = i.base_reg->reg_num - 6 + 4; in build_modrm_byte()
6440 i.rm.regmem = i.base_reg->reg_num; in build_modrm_byte()
6443 i.sib.base = i.base_reg->reg_num; in build_modrm_byte()
6447 && (i.base_reg->reg_num == EBP_REG_NUM in build_modrm_byte()
6448 || i.base_reg->reg_num == ESP_REG_NUM)) in build_modrm_byte()
6450 if (i.base_reg->reg_num == 5 && i.disp_operands == 0) in build_modrm_byte()
6471 if (i.index_reg->reg_num == RegEiz in build_modrm_byte()
6472 || i.index_reg->reg_num == RegRiz) in build_modrm_byte()
6475 i.sib.index = i.index_reg->reg_num; in build_modrm_byte()
6537 i.rm.reg = i.op[2].regs->reg_num; in build_modrm_byte()
6547 i.rm.regmem = i.op[1].regs->reg_num; in build_modrm_byte()
6549 i.rm.regmem = i.op[0].regs->reg_num; in build_modrm_byte()
6561 i.rm.regmem = i.op[1].regs->reg_num; in build_modrm_byte()
6667 i.rm.regmem = i.op[op].regs->reg_num; in build_modrm_byte()
6675 i.rm.reg = i.op[op].regs->reg_num; in build_modrm_byte()
7830 if (mask->reg_num == 0) in check_VecOperations()
8346 if (addr_reg->reg_num == RegEip in i386_index_check()
8347 || addr_reg->reg_num == RegEiz in i386_index_check()
8450 || (i.base_reg->reg_num in i386_index_check()
8458 || i.index_reg->reg_num == RegRiz) in i386_index_check()
8460 || i.index_reg->reg_num == RegEiz)) in i386_index_check()
8474 && i.base_reg->reg_num < 6 in i386_index_check()
8475 && i.index_reg->reg_num >= 6 in i386_index_check()
8581 switch (r->reg_num) in i386_att_operand()
9430 && (r->reg_num == RegEiz || r->reg_num == RegRiz)) in parse_real_register()
9451 if (r->reg_type.bitfield.sreg3 && r->reg_num == RegFlat && !intel_syntax) in parse_real_register()