Home
last modified time | relevance | path

Searched refs:fx_state (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/arch/x86/kvm/
Demulate.c3752 struct fxregs_state fx_state; in em_fxsave() local
3761 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave()
3768 return segmented_write_std(ctxt, ctxt->memop.addr.mem, &fx_state, in em_fxsave()
3779 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup() argument
3786 memcpy((void *)fx_state + used_size, (void *)&fx_tmp + used_size, in fxregs_fixup()
3794 struct fxregs_state fx_state; in em_fxrstor() local
3803 rc = segmented_read_std(ctxt, ctxt->memop.addr.mem, &fx_state, size); in em_fxrstor()
3810 rc = fxregs_fixup(&fx_state, size); in em_fxrstor()
3815 if (fx_state.mxcsr >> 16) { in em_fxrstor()
3821 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()