[FFmpeg-devel] [RFC] insufficient VFP check?

Reimar Döffinger Reimar.Doeffinger
Sun Jan 17 00:44:06 CET 2010

On Sat, Jan 16, 2010 at 11:40:34PM +0000, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> > Hello,
> > the configure vfp check looks for
> > fadds s0, s0, s0
> > However, this detects VFP e.g. for
> > -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
> > while actual compilation fails with e.g.
> > libavcodec/arm/dsputil_vfp.S:160: Error: selected processor does not support `vmov r7,r8,s4,s5'
> > So what is the right solution, replace the check with something
> > like the failing instruction?
> What configure line did you use?  It always works for me...

Something a bit silly:
./configure --cross-prefix=armv7a-softfloat-linux-gnueabi- --extra-cflags="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" --arch=arm --cpu=cortex-a8
However doesn't look silly enough to make it break that way..

More information about the ffmpeg-devel mailing list