This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 796
ASM Support
Taner Sener edited this page Sep 17, 2019
·
15 revisions
Build scripts of libraries try to enable all CPU optimizations possible. But some libraries do not support CPU optimizations and configure/build operations fail when asm is enabled.
Below you can see the libraries and architectures that do not support asm. Other than that all libraries are built with asm enabled.
-
gmp
: Enabling assembly producescannot locate symbol "__gmp_binvert_limb_table"
error when library is loaded. -
gnutls
,libass
,xvidcore
,x264
: Enabling asm forx86
ABI causes text relocation errors forlibavfilter.so
/libavformat.so
/libavcodec.so
. -
libtheora
: asm is disabled on LTS releases. Enabling asm causes random crashes on pre API 21 devices -
libwebp
dropped support forarm-v7a
architecture (armeabi-v7a without NEON) with release 1.0.2. -
x265
: Assembly compilation fails forarm64-v8a
architecture. It is possible to buildarm-v7a
,arm-v7a-neon
andx86
with assembly enabled but all three ABIs include relocation errors. Additionally, assembly onx86-64
causes linking errors.
-
gmp
: Enabling assembly onarmv7
,armv7s
,arm64
andarm64e
architectures causesconfigure
to fail withconfigure: error: cannot determine how to define a 32-bit word
. -
libjpeg-turbo
: Build fails oni386
architecture witherror: symbol '.no_avx2' undefined
error. -
xvidcore
: Build fails fori386
architecture when asm is enabled.ffmpeg
crashes when asm is enabled onx86-64
architecture. -
x265
: Assembly compilation fails forarm64
andarm64e
architectures.
Copyright (c) 2018-2021 MobileFFmpeg