Lines Matching refs:reg_rmw

556 	ulong *preg = reg_rmw(ctxt, reg);  in register_address_increment()
563 masked_increment(reg_rmw(ctxt, VCPU_REGS_RSP), stack_mask(ctxt), inc); in rsp_increment()
982 p = (unsigned char *)reg_rmw(ctxt, modrm_reg & 3) + 1; in decode_register()
984 p = reg_rmw(ctxt, modrm_reg); in decode_register()
1927 assign_masked(reg_rmw(ctxt, VCPU_REGS_RBP), reg_read(ctxt, VCPU_REGS_RSP), in em_enter()
1929 assign_masked(reg_rmw(ctxt, VCPU_REGS_RSP), in em_enter()
1937 assign_masked(reg_rmw(ctxt, VCPU_REGS_RSP), reg_read(ctxt, VCPU_REGS_RBP), in em_leave()
1939 return emulate_pop(ctxt, reg_rmw(ctxt, VCPU_REGS_RBP), ctxt->op_bytes); in em_leave()
2015 assign_register(reg_rmw(ctxt, reg), val, ctxt->op_bytes); in em_popa()
2296 ctxt->src.addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); in em_cmpxchg()
2629 *reg_rmw(ctxt, VCPU_REGS_RSI) &= (u32)-1; in string_registers_quirk()
2633 *reg_rmw(ctxt, VCPU_REGS_RDI) &= (u32)-1; in string_registers_quirk()
3194 ctxt->dst.addr.reg = reg_rmw(ctxt, VCPU_REGS_RDX); in em_cwd()
3624 flags &= *reg_rmw(ctxt, VCPU_REGS_RAX) >> 8; in em_sahf()
3633 *reg_rmw(ctxt, VCPU_REGS_RAX) &= ~0xff00UL; in em_lahf()
3634 *reg_rmw(ctxt, VCPU_REGS_RAX) |= (ctxt->eflags & 0xff) << 8; in em_lahf()
4588 op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); in decode_operand()
4595 op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); in decode_operand()
4606 op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RDX); in decode_operand()
4622 op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RDX); in decode_operand()
5276 if (ctxt->dst.addr.reg == reg_rmw(ctxt, VCPU_REGS_RAX)) in x86_emulate_insn()