Commit c7925289 authored by James Almer's avatar James Almer

x86/imdct36: use extractps inside the STORE macro

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Reviewed-by: 's avatarHenrik Gramner <henrik@gramner.com>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 14a90c9e
......@@ -143,6 +143,12 @@ SECTION .text
%endmacro
%macro STORE 4
%if cpuflag(sse4)
movss [%3 ], %1
extractps [%3 + %4], %1, 1
extractps [%3 + 2*%4], %1, 2
extractps [%3 + 3*%4], %1, 3
%else
movhlps %2, %1
movss [%3 ], %1
movss [%3 + 2*%4], %2
......@@ -150,6 +156,7 @@ SECTION .text
movss [%3 + %4], %1
movhlps %2, %1
movss [%3 + 3*%4], %2
%endif
%endmacro
%macro LOAD 4
......
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