• Christopher Degawa's avatar
    get_cabac_inline_x86: Don't inline the assembly function on 32 bit · 182663a5
    Christopher Degawa authored
    While the inline cabac assembly has worked correctly in i386 builds
    historically, modern compiler updates has started showing issues
    with it, when the function gets inlined into larger contexts that
    fail to provide the amount of free registers as this function
    requires.
    
    This was an issue with Clang on Windows on i386, which was fixed
    in c6d284b945324a7bc70ea8b9056040c8148aa835. However, recently
    the same issues also have started showing up with GCC (both for
    Windows and Linux). Whether the issue appears seems dependent on
    a lot of optimizer tuning (e.g. the issue appears or goes away
    depenent on the combinaton of -march= and -mtune= options),
    potentially due to the compiler making different decisions on
    how much to inline.
    
    Fixes: https://trac.ffmpeg.org/ticket/8903Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    182663a5
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...