1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
James Almer 2016-06-08 19:37:08 -03:00
parent 7d7fdd6532
commit 172af20852
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -359,7 +359,7 @@
%macro HADDPS 3 ; dst, src, tmp
%if cpuflag(sse3)
haddps %1, %2
haddps %1, %1, %2
%else
movaps %3, %1
shufps %1, %2, q2020