diff options
author | James Almer <jamrial@gmail.com> | 2016-06-08 19:37:08 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-06-08 19:37:08 -0300 |
commit | 172af208520108c9b20bf1cdd62d8775cff7cd2b (patch) | |
tree | 9bbb8dbadd2efcd4ee2d0aca8c638d80622fe35a /libavfilter/x86 | |
parent | 7d7fdd6532b4f08f1c1f76e809b807a334a98a32 (diff) | |
download | ffmpeg-172af208520108c9b20bf1cdd62d8775cff7cd2b.tar.gz |
x86/showcqt: use three operand format for some instructions
Fixes failures with yasm 1.1.0 and older
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/avf_showcqt.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/x86/avf_showcqt.asm b/libavfilter/x86/avf_showcqt.asm index f6b3fef0bb..659afeb3e6 100644 --- a/libavfilter/x86/avf_showcqt.asm +++ b/libavfilter/x86/avf_showcqt.asm @@ -72,8 +72,8 @@ endstruc %macro CQT_SEPARATE 6 ; a_re, a_im, b_re, b_im, tmp, tmp2 addps m%5, m%4, m%2 subps m%6, m%3, m%1 - addps m%1, m%3 - subps m%2, m%4 + addps m%1, m%1, m%3 + subps m%2, m%2, m%4 HADDPS m%5, m%6, m%3 HADDPS m%1, m%2, m%3 HADDPS m%1, m%5, m%2 @@ -90,7 +90,7 @@ cglobal showcqt_cqt_calc, 5, 10, 12, dst, src, coeffs, len, fft_len, x, coeffs_v align 16 .loop_k: mov xd, [coeffsq + Coeffs.len] - xorps m0, m0 + xorps m0, m0, m0 movaps m1, m0 movaps m2, m0 mov coeffs_lend, [coeffsq + Coeffs.len + Coeffs.sizeof] @@ -155,7 +155,7 @@ cglobal showcqt_cqt_calc, 4, 7, 8, dst, src, coeffs, len, x, coeffs_val, i align 16 .loop_k: mov xd, [coeffsq + Coeffs.len] - xorps m0, m0 + xorps m0, m0, m0 movaps m1, m0 movaps m2, m0 movaps m3, m0 |