]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/x86/x86inc.asm
x86inc: Make REP_RET identical to RET in SSSE3+ functions
[ffmpeg] / libavutil / x86 / x86inc.asm
index c28bc8dcaeb13a688544a3db7c21763889e2e0d5..bb1b1be191ec8d44811d1492136e9bb452071fcb 100644 (file)
@@ -636,7 +636,7 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
 ; 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.)
 %macro REP_RET 0
-    %if has_epilogue
+    %if has_epilogue || cpuflag(ssse3)
         RET
     %else
         rep ret