提交 c7925289 编写于 作者: J James Almer

x86/imdct36: use extractps inside the STORE macro

Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc>
Reviewed-by: NHenrik Gramner <henrik@gramner.com>
Signed-off-by: NJames Almer <jamrial@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册