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:
parent
7d7fdd6532
commit
172af20852
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user