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

Compile-time detection for FPU on ARM EABI

parent c14e42d7
......@@ -226,6 +226,12 @@ out:
signal( SIGILL, pf_sigill );
# endif
#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__ )
i_capabilities |= CPU_CAPABILITY_FPU;
......
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