[FFmpeg-devel] [PATCH 5/5] x86 inline assembly compliance

FRÉDÉRIC RECOULES frederic.recoules at univ-grenoble-alpes.fr
Sat Apr 4 13:37:36 EEST 2020


[inline assembly] add "memory" to sub_median_pred_mmxext 

--- 
libavcodec/x86/lossless_videoencdsp_init.c | 2 +- 
1 file changed, 1 insertion(+), 1 deletion(-) 

diff --git a/libavcodec/x86/lossless_videoencdsp_init.c b/libavcodec/x86/lossless_videoencdsp_init.c 
index fb481e66f5..feb6874f94 100644 
--- a/libavcodec/x86/lossless_videoencdsp_init.c 
+++ b/libavcodec/x86/lossless_videoencdsp_init.c 
@@ -71,7 +71,7 @@ static void sub_median_pred_mmxext(uint8_t *dst, const uint8_t *src1, 
" jb 1b \n\t" 
: "+r" (i) 
: "r" (src1), "r" (src2), "r" (dst), "r" ((x86_reg) w) 
- : MMX_CLOBBERS("mm0", "mm1", "mm2", "mm3", "mm4", "mm5") 
+ : MMX_CLOBBERS("mm0", "mm1", "mm2", "mm3", "mm4", "mm5",) "memory" 
); 

l = *left; 
-- 
2.17.1 


More information about the ffmpeg-devel mailing list