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

Reimar Döffinger Reimar.Doeffinger
Sun Jan 17 00:45:33 CET 2010


On Sat, Jan 16, 2010 at 11:44:25PM +0000, M?ns Rullg?rd wrote:
> M?ns Rullg?rd <mans at mansr.com> writes:
> 
> > 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...
> 
> And what was the exact command that failed?

armv7a-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/data/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mcpu=cortex-a8 -g -MMD -MF libavcodec/arm/dsputil_vfp.d -MT libavcodec/arm/dsputil_vfp.o -c -o libavcodec/arm/dsputil_vfp.o libavcodec/arm/dsputil_vfp.S
libavcodec/arm/dsputil_vfp.S: Assembler messages:
libavcodec/arm/dsputil_vfp.S:46: Error: selected processor does not support `vpush {d8-d15}'
libavcodec/arm/dsputil_vfp.S:48: Error: selected processor does not support `fmrx r12,fpscr'
libavcodec/arm/dsputil_vfp.S:50: Error: selected processor does not support `fmxr fpscr,r12'
libavcodec/arm/dsputil_vfp.S:52: Error: selected processor does not support `vldmia r3!,{s0-s3}'
libavcodec/arm/dsputil_vfp.S:53: Error: selected processor does not support `vldmia r1!,{s8-s11}'
libavcodec/arm/dsputil_vfp.S:54: Error: selected processor does not support `vldmia r3!,{s4-s7}'
libavcodec/arm/dsputil_vfp.S:55: Error: selected processor does not support `vldmia r1!,{s12-s15}'
....



More information about the ffmpeg-devel mailing list