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

Måns Rullgård mans
Sun Jan 17 00:52:51 CET 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> 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}'

What binutils version are you using?  2.18 should be OK, but 2.19 or
later is what I've used most.  2.17 doesn't work.

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



More information about the ffmpeg-devel mailing list