Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c4184 struct fxregs_state fx_state; in em_fxsave() local
4193 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave()
4200 return segmented_write_std(ctxt, ctxt->memop.addr.mem, &fx_state, in em_fxsave()
4211 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup() argument
4218 memcpy((void *)fx_state + used_size, (void *)&fx_tmp + used_size, in fxregs_fixup()
4226 struct fxregs_state fx_state; in em_fxrstor() local
4235 rc = segmented_read_std(ctxt, ctxt->memop.addr.mem, &fx_state, size); in em_fxrstor()
4242 rc = fxregs_fixup(&fx_state, size); in em_fxrstor()
4247 if (fx_state.mxcsr >> 16) { in em_fxrstor()
4253 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()