Lines Matching refs:get_cr
1034 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1047 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1065 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
2866 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch()
3260 cr0 = ctxt->ops->get_cr(ctxt, 0); in em_clts()
3360 ctxt->dst.val = ctxt->ops->get_cr(ctxt, 0); in em_smsw()
3366 ctxt->ops->set_cr(ctxt, 0, (ctxt->ops->get_cr(ctxt, 0) & ~0x0eul) in em_lmsw()
3532 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_cr_write()
3584 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_dr_read()
3630 u64 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_rdtsc()
3640 u64 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_rdpmc()
4742 if (((ctxt->d & (Sse|Mmx)) && ((ops->get_cr(ctxt, 0) & X86_CR0_EM))) in x86_emulate_insn()
4743 || ((ctxt->d & Sse) && !(ops->get_cr(ctxt, 4) & X86_CR4_OSFXSR))) { in x86_emulate_insn()
4748 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
5024 ctxt->dst.val = ops->get_cr(ctxt, ctxt->modrm_reg); in x86_emulate_insn()