diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2017-11-21 22:02:07 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2017-11-23 20:00:13 +0100 |
commit | 515555af6c1737102d24b783f6316a1cdeca6511 (patch) | |
tree | dbd04af2ebe1fd09bb2e7e3b5c7fbe382b12f0b5 /libavcodec | |
parent | cce33ed10fdceda7e634ed8b01cf616d34505924 (diff) | |
download | ffmpeg-515555af6c1737102d24b783f6316a1cdeca6511.tar.gz |
avcodec/x86/exrdsp : use ymm constant for pb_80
speed seems to be similar, but simplify code
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/exrdsp.asm | 6 |
1 files changed, 1 insertions, 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 |