Lines Matching refs:reg
44 bool arch_callee_saved_reg(unsigned char reg) in arch_callee_saved_reg() argument
46 switch (reg) { in arch_callee_saved_reg()
133 #define rm_is(reg) (have_SIB() ? \ argument
134 sib_base == (reg) && sib_index == CFI_SP && \
136 modrm_rm == (reg))
138 #define rm_is_mem(reg) (mod_is_mem() && !is_RIP() && rm_is(reg)) argument
139 #define rm_is_reg(reg) (mod_is_reg() && modrm_rm == (reg)) argument
232 op->src.reg = modrm_reg; in arch_decode_instruction()
234 op->dest.reg = CFI_SP; in arch_decode_instruction()
244 op->src.reg = (op1 & 0x7) + 8*rex_b; in arch_decode_instruction()
256 op->dest.reg = (op1 & 0x7) + 8*rex_b; in arch_decode_instruction()
314 op->src.reg = CFI_SP; in arch_decode_instruction()
317 op->dest.reg = CFI_SP; in arch_decode_instruction()
325 op->src.reg = CFI_SP; in arch_decode_instruction()
328 op->dest.reg = CFI_SP; in arch_decode_instruction()
349 op->src.reg = CFI_SP; in arch_decode_instruction()
351 op->dest.reg = modrm_rm; in arch_decode_instruction()
370 op->src.reg = CFI_SP; in arch_decode_instruction()
372 op->dest.reg = modrm_rm; in arch_decode_instruction()
386 op->src.reg = modrm_reg; in arch_decode_instruction()
388 op->dest.reg = CFI_SP; in arch_decode_instruction()
403 op->src.reg = modrm_reg; in arch_decode_instruction()
405 op->dest.reg = CFI_BP; in arch_decode_instruction()
416 op->src.reg = modrm_reg; in arch_decode_instruction()
418 op->dest.reg = CFI_SP; in arch_decode_instruction()
435 op->src.reg = CFI_BP; in arch_decode_instruction()
438 op->dest.reg = modrm_reg; in arch_decode_instruction()
448 op->src.reg = CFI_SP; in arch_decode_instruction()
451 op->dest.reg = modrm_reg; in arch_decode_instruction()
491 op->src.reg = modrm_rm; in arch_decode_instruction()
493 op->dest.reg = modrm_reg; in arch_decode_instruction()
609 op->src.reg = CFI_BP; in arch_decode_instruction()
611 op->dest.reg = CFI_SP; in arch_decode_instruction()
616 op->dest.reg = CFI_BP; in arch_decode_instruction()
680 op->src.reg = CFI_SP; in arch_decode_instruction()
683 op->dest.reg = CFI_SP; in arch_decode_instruction()