summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/simd.h
blob: 6c8a7ed13365ae5dd675fd4b158c8034ba213a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <asm/fpu/api.h>

/*
 * may_use_simd - whether it is allowable at this time to issue SIMD
 *                instructions or access the SIMD register file
 */
static __must_check inline bool may_use_simd(void)
{
	return irq_fpu_usable();
}