From: Frédéric Recoules <frederic.recou...@orange.fr> --- libavcodec/x86/fdct.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/x86/fdct.c b/libavcodec/x86/fdct.c index 2635d58cbf..975e5e7769 100644 --- a/libavcodec/x86/fdct.c +++ b/libavcodec/x86/fdct.c @@ -370,7 +370,7 @@ static av_always_inline void fdct_col_##cpu(const int16_t *in, int16_t *out, int : \ : "r" (in + offset), "r" (fdct_tg_all_16), "r" (fdct_one_corr), \ "r" (out + offset), "r" (ocos_4_16) \ - MM##_CLOBBERS_ONLY(#mm"0", #mm"1", #mm"2", #mm"3", \ + : "memory" MM##_CLOBBERS(, #mm"0", #mm"1", #mm"2", #mm"3", \ #mm"4", #mm"5", #mm"6", #mm"7") ); \ } @@ -437,7 +437,7 @@ static av_always_inline void fdct_row_sse2(const int16_t *in, int16_t *out) : : "r" (in), "r" (tab_frw_01234567_sse2.tab_frw_01234567_sse2), "r" (fdct_r_row_sse2.fdct_r_row_sse2), "i" (SHIFT_FRW_ROW), "r" (out) - XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3", + : "memory" XMM_CLOBBERS(, "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7") ); } @@ -487,7 +487,7 @@ static av_always_inline void fdct_row_mmxext(const int16_t *in, int16_t *out, "movq %%mm7, 8(%3) \n\t" : : "r" (in), "r" (table), "r" (fdct_r_row), "r" (out) - MMX_CLOBBERS_ONLY("%mm0", "%mm1", "%mm2", "%mm3", + : "memory" MMX_CLOBBERS(, "%mm0", "%mm1", "%mm2", "%mm3", "%mm4", "%mm5", "%mm6", "%mm7") ); } @@ -540,7 +540,7 @@ static av_always_inline void fdct_row_mmx(const int16_t *in, int16_t *out, const "movq %%mm7, 8(%3) \n\t" : : "r" (in), "r" (table), "r" (fdct_r_row), "r" (out) - MMX_CLOBBERS_ONLY("%mm0", "%mm1", "%mm2", "%mm3", + : "memory" MMX_CLOBBERS(, "%mm0", "%mm1", "%mm2", "%mm3", "%mm4", "%mm5", "%mm6", "%mm7") ); } -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".