[FFmpeg-cvslog] avcodec/x86/exrdsp : use ymm constant for pb_80

Martin Vignali git at videolan.org
Thu Nov 23 21:01:18 EET 2017


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Tue Nov 21 22:02:07 2017 +0100| [515555af6c1737102d24b783f6316a1cdeca6511] | committer: Martin Vignali

avcodec/x86/exrdsp : use ymm constant for pb_80

speed seems to be similar, but simplify code

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=515555af6c1737102d24b783f6316a1cdeca6511
---

 libavcodec/x86/exrdsp.asm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/libavcodec/x86/exrdsp.asm b/libavcodec/x86/exrdsp.asm
index 23c9397ef8..3bf240c8b1 100644
--- a/libavcodec/x86/exrdsp.asm
+++ b/libavcodec/x86/exrdsp.asm
@@ -73,11 +73,7 @@ REORDER_PIXELS
 
 %macro PREDICTOR 0
 cglobal predictor, 2,2,5, src, size
-%if mmsize == 32
-    vbroadcasti128   m0, [pb_80]
-%else
-    mova            xm0, [pb_80]
-%endif
+    mova             m0, [pb_80]
     mova            xm1, [pb_15]
     mova            xm2, xm0
     add            srcq, sizeq



More information about the ffmpeg-cvslog mailing list