[vlc-devel] commit: ARM: pretend not lack the FPU even if we have one ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Sep 5 17:24:38 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep  5 18:20:52 2009 +0300| [dcecc3b4b8575344d3c4ee9e5f1bad134a8ab704] | committer: Rémi Denis-Courmont 

ARM: pretend not lack the FPU even if we have one

While VFP/NEON do support floating point instructions, they appear to
be noticeably slower than fixed point.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dcecc3b4b8575344d3c4ee9e5f1bad134a8ab704
---

 src/misc/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index f223bf8..5162294 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -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__ )




More information about the vlc-devel mailing list