Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
Dinit.c56 u16 fsw, fcw; in fpu__probe_without_cpuid() local
58 fsw = fcw = 0xffff; in fpu__probe_without_cpuid()
64 asm volatile("fninit ; fnstsw %0 ; fnstcw %1" : "+m" (fsw), "+m" (fcw)); in fpu__probe_without_cpuid()
66 pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw); in fpu__probe_without_cpuid()
68 return fsw == 0 && (fcw & 0x103f) == 0x003f; in fpu__probe_without_cpuid()
/arch/x86/boot/
Dcpuflags.c17 u16 fcw = -1, fsw = -1; in has_fpu() local
27 : "+m" (fsw), "+m" (fcw)); in has_fpu()
29 return fsw == 0 && (fcw & 0x103f) == 0x003f; in has_fpu()
/arch/x86/include/uapi/asm/
Dkvm.h164 __u16 fsw; member
/arch/x86/kvm/
Demulate.c1184 u16 fsw; in em_fnstsw() local
1189 asm volatile("fnstsw %0": "+m"(fsw)); in em_fnstsw()
1191 ctxt->dst.val = fsw; in em_fnstsw()
Dx86.c8969 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
8990 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu()