Searched hist:"0 ce2703942a199c148cb23cd64c9a6ddc693f0d7" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | vfp_a32.S | 0ce2703942a199c148cb23cd64c9a6ddc693f0d7 Tue Apr 26 01:59:18 UTC 2022 Neal Liu <neal_liu@aspeedtech.com> arm: vfp_a32: check the existence of FPU NEON by CPACR
Almost all Cortex-A processors come with a Floating-Point Unit (FPU) and most also have a NEON unit. However, use of registers D16-D31 of the VFP register file depends on the processor's FPU implementation.
Arm coprocessor access control register (CPACR.D32DIS) indicates if FPU and Advanced SIMD is implemented. Check this bit to see if the processor is supported or not.
Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
|