mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
bbe95f7353
From x86inc: > On AMD cpus <=K10, an ordinary ret is slow if it immediately follows either > a branch or a branch target. So switch to a 2-byte form of ret in that case. > We can automatically detect "follows a branch", but not a branch target. > (SSSE3 is a sufficient condition to know that your cpu doesn't have this problem.) x86inc can automatically determine whether to use REP_RET rather than REP in most of these cases, so impact is minimal. Additionally, a few REP_RETs were used unnecessary, despite the return being nowhere near a branch. The only CPUs affected were AMD K10s, made between 2007 and 2011, 16 years ago and 12 years ago, respectively. In the future, everyone involved with x86inc should consider dropping REP_RETs altogether. |
||
---|---|---|
.. | ||
asm.h | ||
bswap.h | ||
cpu.c | ||
cpu.h | ||
cpuid.asm | ||
emms.asm | ||
emms.h | ||
fixed_dsp_init.c | ||
fixed_dsp.asm | ||
float_dsp_init.c | ||
float_dsp.asm | ||
imgutils_init.c | ||
imgutils.asm | ||
intmath.h | ||
intreadwrite.h | ||
lls_init.c | ||
lls.asm | ||
Makefile | ||
pixelutils_init.c | ||
pixelutils.asm | ||
pixelutils.h | ||
timer.h | ||
tx_float_init.c | ||
tx_float.asm | ||
w64xmmtest.h | ||
x86inc.asm | ||
x86util.asm |