Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 #include <asm/fpu/api.h>
0004 
0005 /*
0006  * may_use_simd - whether it is allowable at this time to issue SIMD
0007  *                instructions or access the SIMD register file
0008  */
0009 static __must_check inline bool may_use_simd(void)
0010 {
0011     return irq_fpu_usable();
0012 }