ARM: pretend not lack the FPU even if we have one
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 5 Sep 2009 15:20:52 +0000 (18:20 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 5 Sep 2009 15:22:42 +0000 (18:22 +0300)
While VFP/NEON do support floating point instructions, they appear to
be noticeably slower than fixed point.

src/misc/cpu.c

index f223bf8..5162294 100644 (file)
@@ -227,7 +227,7 @@ out:
 
 #elif defined( __arm__ )
 #   if defined( __ARM_EABI__ ) && !defined( __SOFTFP__ )
-    i_capabilities |= CPU_CAPABILITY_FPU;
+//    i_capabilities |= CPU_CAPABILITY_FPU;
 #   endif
 
 #elif defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )