]> git.sesse.net Git - vlc/commitdiff
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 f223bf859c0b133811a48ee61f5062c8f6e19604..516229433ae0d012f47a537e378144c131b16527 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__ )