Reuben Scratton <reuben.scratton@...> writes:

> If I compile with -mfpu=neon then FFmpeg blows up 
> with SIGILL (ILLOPTPC) when run on a non-Neon CPU. 

> If I compile with -mfpu=vfvp3 then FFmpeg runs fine, 
> but presumably without the optimized code

Did you test this? (with a debugger)
I don't know but it seems very unlikely to me that a 
compiler option ("-mfpu=vfvp3") affects FFmpeg asm 
optimizations.

[...]

> Would it be possible for FFmpeg to detect Neon at runtime?

Looking at ff_dsputil_init_arm() in 
libavcodec/arm/dsputil_init_arm.c, that is exactly what it 
currently does.

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to