Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
Dinit.c55 u16 fsw, fcw; in fpu__probe_without_cpuid() local
57 fsw = fcw = 0xffff; in fpu__probe_without_cpuid()
63 asm volatile("fninit ; fnstsw %0 ; fnstcw %1" : "+m" (fsw), "+m" (fcw)); in fpu__probe_without_cpuid()
65 pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw); in fpu__probe_without_cpuid()
67 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.h178 __u16 fcw; member
/arch/x86/kvm/
Demulate.c1140 u16 fcw; in em_fnstcw() local
1146 asm volatile("fnstcw %0": "+m"(fcw)); in em_fnstcw()
1149 ctxt->dst.val = fcw; in em_fnstcw()
Dx86.c10897 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
10921 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()