blob: 6c8a7ed13365ae5dd675fd4b158c8034ba213a29 [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001
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 */
8static __must_check inline bool may_use_simd(void)
9{
10 return irq_fpu_usable();
11}