diff options
author | James Almer <jamrial@gmail.com> | 2017-06-24 01:44:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-06-24 01:44:49 -0300 |
commit | 349446e36f17261c84bbad45ab81d35f4a833a2b (patch) | |
tree | 0acb11f9b43b071520e614911274e7c819e8dd85 /libavcodec | |
parent | 078322f33ced4b2db6ac3e5002f98233d6fbf643 (diff) | |
download | ffmpeg-349446e36f17261c84bbad45ab81d35f4a833a2b.tar.gz |
x86/mdct15: use three operand form for some instructions
Fixes compilation with old yasm
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/mdct15.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/x86/mdct15.asm b/libavcodec/x86/mdct15.asm index 8d01675956..f8b895944d 100644 --- a/libavcodec/x86/mdct15.asm +++ b/libavcodec/x86/mdct15.asm @@ -66,7 +66,7 @@ SECTION .text shufps xm3, xm3, q1032 vinsertf128 m%3, m%3, xm3, 1 ; All ACs (tmp[1] through to tmp[4]) - addps m%3, m0 ; Finally offset with DCs + addps m%3, m%3, m0 ; Finally offset with DCs %endmacro %macro BUTTERFLIES_DC 2 ; %1 - exptab_offset, %2 - out @@ -88,12 +88,12 @@ SECTION .text mulps m2, m13, [exptabq + 64*1 + 0*mmsize + %1] mulps m3, m13, [exptabq + 64*1 + 1*mmsize + %1] - addps m0, m2 - addps m1, m3 - addps m0, m11 + addps m0, m0, m2 + addps m1, m1, m3 + addps m0, m0, m11 - shufps m1, m1, q2301 - addps m0, m1 + shufps m1, m1, m1, q2301 + addps m0, m0, m1 vextractf128 xm1, m0, 1 |