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

Måns Rullgård mans at mansr.com
Sun Sep 6 20:07:35 CEST 2009


git at videolan.org (git version control) writes:

> 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.

The Cortex-A8 FPU is indeed rather slow, but it is much faster than
software emulation of IEEE754.  A dedicated fixed-point codec can
probably be faster though.

I don't know exactly what effect this commit has in VLC.  If it simply
gives priority to fixed-point implementations over floating-point,
that's fine and probably correct for now (Cortex-A9 will change all
this).  If it means using floating-point emulation, it's probably not
so good.

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list