[vlc-devel] commit: contrib: ffmpeg optimizations for N900: ( Rémi Denis-Courmont )

Rémi Denis-Courmont remi at remlab.net
Sat Aug 29 21:13:03 CEST 2009


Le samedi 29 août 2009 21:43:34 Måns Rullgård, vous avez écrit :
> > +ifneq ($(filter -m%=cortex-a8, $(EXTRA_CFLAGS)),)
> > +FFMPEGCONF += --disable-runtime-cpudetect --enable-neon --cpu=cortex-a8
> > +endif
>
> This won't work the way you think.  You need to somehow pass
> -mfpu=neon to gcc, and NEON will be automatically enabled.  Without
> -mfpu=neon, NEON will be disabled regardless of the configure command
> line, simply because without this flag, gcc will not permit any NEON
> instructions.

Why oh why does the gcc documentation not mention "neon" for mfpu... except in 
the section for NEON instrinsics.

Thanks.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list