ffmpeg/tests/checkasm
Lynne bbe95f7353
x86: replace explicit REP_RETs with RETs
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.
2023-02-01 04:23:55 +01:00
..
aarch64
arm
riscv
x86 x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
.gitignore
Makefile libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI 2022-11-14 10:04:16 +08:00
aacpsdsp.c
af_afir.c
alacdsp.c
audiodsp.c
av_tx.c
blockdsp.c
bswapdsp.c
checkasm.c libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI 2022-11-14 10:04:16 +08:00
checkasm.h libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI 2022-11-14 10:04:16 +08:00
exrdsp.c
fixed_dsp.c
flacdsp.c
float_dsp.c
fmtconvert.c
g722dsp.c
h264dsp.c
h264pred.c
h264qpel.c
hevc_add_res.c
hevc_idct.c
hevc_pel.c
hevc_sao.c
huffyuvdsp.c
idctdsp.c
jpeg2000dsp.c
llviddsp.c
llviddspenc.c
lpc.c
motion.c
opusdsp.c
pixblockdsp.c
sbrdsp.c
sw_gbrp.c
sw_rgb.c
sw_scale.c
synth_filter.c dca_core: convert to lavu/tx 2022-11-06 14:39:36 +01:00
utvideodsp.c
v210dec.c checkasm/v210dec: add extra space to the destination arrays 2022-12-21 00:36:49 +01:00
v210enc.c checkasm/v210enc: test the entire width of 10-bit planar input arrays 2022-12-01 18:19:03 +01:00
vc1dsp.c
vf_blend.c
vf_colorspace.c
vf_convolution.c libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI 2022-11-14 10:04:16 +08:00
vf_eq.c
vf_gblur.c
vf_hflip.c
vf_nlmeans.c
vf_threshold.c
videodsp.c
vorbisdsp.c
vp8dsp.c
vp9dsp.c