]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/x86/include/asm/simd.h
x86/bugs, KVM: Support the combination of guest and host IBRS
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / simd.h
1
2 #include <asm/fpu/api.h>
3
4 /*
5 * may_use_simd - whether it is allowable at this time to issue SIMD
6 * instructions or access the SIMD register file
7 */
8 static __must_check inline bool may_use_simd(void)
9 {
10 return irq_fpu_usable();
11 }