Commit 3e7e3cc6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Compile-time detection for FPU on ARM EABI

(cherry picked from commit eaeba49b)
parent 905a8141
......@@ -259,6 +259,12 @@ uint32_t CPUCapabilities( void )
# endif
return i_capabilities;
#elif defined( __arm__ )
# if defined( __ARM_EABI__ ) && !defined( __SOFTFP__ )
i_capabilities |= CPU_CAPABILITY_FPU;
# endif
return i_capabilities;
#elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )
# ifdef CAN_COMPILE_ALTIVEC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment