Commit ef67af31 authored by James Almer's avatar James Almer

x86/af_afir: use three operand form forat some instructions

Fixes compilation with old yasm versions.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 6fcf8131
...@@ -40,18 +40,18 @@ ALIGN 16 ...@@ -40,18 +40,18 @@ ALIGN 16
movsldup m3, [tq + lenq+mmsize] movsldup m3, [tq + lenq+mmsize]
movaps m1, [cq + lenq] movaps m1, [cq + lenq]
movaps m4, [cq + lenq+mmsize] movaps m4, [cq + lenq+mmsize]
mulps m0, m1 mulps m0, m0, m1
mulps m3, m4 mulps m3, m3, m4
shufps m1, m1, 0xb1 shufps m1, m1, m1, 0xb1
shufps m4, m4, 0xb1 shufps m4, m4, m4, 0xb1
movshdup m2, [tq + lenq] movshdup m2, [tq + lenq]
movshdup m5, [tq + lenq+mmsize] movshdup m5, [tq + lenq+mmsize]
mulps m2, m1 mulps m2, m2, m1
mulps m5, m4 mulps m5, m5, m4
addsubps m0, m2 addsubps m0, m0, m2
addsubps m3, m5 addsubps m3, m3, m5
addps m0, [sumq + lenq] addps m0, m0, [sumq + lenq]
addps m3, [sumq + lenq+mmsize] addps m3, m3, [sumq + lenq+mmsize]
movaps [sumq + lenq], m0 movaps [sumq + lenq], m0
movaps [sumq + lenq+mmsize], m3 movaps [sumq + lenq+mmsize], m3
add lenq, mmsize*2 add lenq, mmsize*2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment