[FFmpeg-cvslog] swscale/x86/rgb2rgb_template: Remove unnecessary SFENCE
Andreas Rheinhardt
git at videolan.org
Sun Jun 9 13:08:02 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Jun 5 22:03:47 2024 +0200| [f7305eb3b3e8f5f4d2061cb1126040769e5aacf6] | committer: Andreas Rheinhardt
swscale/x86/rgb2rgb_template: Remove unnecessary SFENCE
The ff_nv12ToUV_* functions don't use non-temporal stores
at all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7305eb3b3e8f5f4d2061cb1126040769e5aacf6
---
libswscale/x86/rgb2rgb_template.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c
index edbacea784..e4e884827c 100644
--- a/libswscale/x86/rgb2rgb_template.c
+++ b/libswscale/x86/rgb2rgb_template.c
@@ -1837,10 +1837,6 @@ static void RENAME(deinterleaveBytes)(const uint8_t *src, uint8_t *dst1, uint8_t
dst1 += dst1Stride;
dst2 += dst2Stride;
}
- __asm__(
- SFENCE" \n\t"
- ::: "memory"
- );
}
#endif /* COMPILE_TEMPLATE_SSE2 && HAVE_X86ASM */
#endif /* !COMPILE_TEMPLATE_AVX || HAVE_AVX_EXTERNAL */
More information about the ffmpeg-cvslog
mailing list