FFmpeg/libavfilter/x86
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
..
af_afir_init.c
af_afir.asm
af_anlmdn_init.c
af_anlmdn.asm
af_volume_init.c
af_volume.asm
avf_showcqt_init.c
avf_showcqt.asm
colorspacedsp_init.c
colorspacedsp.asm
Makefile
scene_sad_init.c
scene_sad.asm
vf_atadenoise_init.c
vf_atadenoise.asm
vf_blend_init.c
vf_blend.asm
vf_bwdif_init.c
vf_bwdif.asm
vf_convolution_init.c
vf_convolution.asm
vf_eq_init.c
vf_eq.asm
vf_framerate_init.c
vf_framerate.asm
vf_fspp_init.c
vf_fspp.asm
vf_gblur_init.c
vf_gblur.asm
vf_gradfun_init.c
vf_gradfun.asm
vf_hflip_init.c
vf_hflip.asm
vf_hqdn3d_init.c
vf_hqdn3d.asm
vf_idet_init.c
vf_idet.asm
vf_interlace.asm
vf_limiter_init.c
vf_limiter.asm
vf_lut3d_init.c
vf_lut3d.asm
vf_maskedclamp_init.c
vf_maskedclamp.asm
vf_maskedmerge_init.c
vf_maskedmerge.asm
vf_nlmeans_init.c
vf_nlmeans.asm
vf_noise.c
vf_overlay_init.c
vf_overlay.asm
vf_pp7_init.c
vf_pp7.asm
vf_psnr_init.c
vf_psnr.asm
vf_pullup_init.c
vf_pullup.asm
vf_removegrain_init.c
vf_removegrain.asm
vf_spp.c
vf_ssim_init.c
vf_ssim.asm
vf_stereo3d_init.c
vf_stereo3d.asm
vf_threshold_init.c
vf_threshold.asm
vf_tinterlace_init.c
vf_transpose_init.c
vf_transpose.asm
vf_v360_init.c
vf_v360.asm
vf_w3fdif_init.c
vf_w3fdif.asm
vf_yadif_init.c
vf_yadif.asm
yadif-10.asm
yadif-16.asm