aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86/rgb2rgb_template.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-05 22:03:47 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-09 12:03:47 +0200
commitf7305eb3b3e8f5f4d2061cb1126040769e5aacf6 (patch)
tree93dc8a9bd425c702a35ead3e956c65028c2f840b /libswscale/x86/rgb2rgb_template.c
parentfca796ac3bab56bd3d701aab10d1d4bbcb92413e (diff)
downloadffmpeg-f7305eb3b3e8f5f4d2061cb1126040769e5aacf6.tar.gz
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@outlook.com>
Diffstat (limited to 'libswscale/x86/rgb2rgb_template.c')
-rw-r--r--libswscale/x86/rgb2rgb_template.c4
1 files changed, 0 insertions, 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 */