x86/imdct36: use extractps inside the STORE macro
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
14a90c9ef0
commit
c792528970
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user