[FFmpeg-devel] [PATCH] avutil: disable arch specific intmath routines if optimizations are disabled

Michael Niedermayer michael at niedermayer.cc
Tue Feb 16 14:01:41 CET 2016


On Tue, Feb 16, 2016 at 02:40:10PM +0800, Xiaolei Yu wrote:
> Current intmath routines for arm require inter-procedure constant propagation
> and fail to compile when optimizations are disabled.
> ---
>  configure           | 1 +
>  libavutil/intmath.h | 2 ++
>  2 files changed, 3 insertions(+)

on arm without opts and this patch i get
src/libavcodec/arm/aac.h: In function ‘VMUL4S’:
src/libavcodec/arm/aac.h:102:5: error: can't find a register in class ‘LO_REGS’ while reloading ‘asm’
src/libavcodec/arm/aac.h:102:5: error: ‘asm’ operand has impossible constraints
make: *** [libavcodec/aacdec.o] Error 1

on x86 build passes with and without the patch here
with what compiler is this needed ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160216/1f92ed26/attachment.sig>


More information about the ffmpeg-devel mailing list