Skip to content
Snippets Groups Projects
Commit 6b81da2f authored by Christophe GISQUET's avatar Christophe GISQUET Committed by Ronald S. Bultje
Browse files

dsputil x86: use SSE float instruction instead of SSE2 integer equivalent


All the more required since the users are pure SSE functions.

Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent cd88105f
No related branches found
No related tags found
No related merge requests found
...@@ -473,7 +473,7 @@ cglobal scalarproduct_float_sse, 3,3,2, v1, v2, offset ...@@ -473,7 +473,7 @@ cglobal scalarproduct_float_sse, 3,3,2, v1, v2, offset
shufps xmm0, xmm0, 1 shufps xmm0, xmm0, 1
addss xmm0, xmm1 addss xmm0, xmm1
%if ARCH_X86_64 == 0 %if ARCH_X86_64 == 0
movd r0m, xmm0 movss r0m, xmm0
fld dword r0m fld dword r0m
%endif %endif
RET RET
......
...@@ -68,7 +68,7 @@ cglobal sbr_sum_square, 2, 3, 6 ...@@ -68,7 +68,7 @@ cglobal sbr_sum_square, 2, 3, 6
shufps m0, m0, 1 shufps m0, m0, 1
addss m0, m1 addss m0, m1
%if ARCH_X86_64 == 0 %if ARCH_X86_64 == 0
movd r0m, m0 movss r0m, m0
fld dword r0m fld dword r0m
%endif %endif
RET RET
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment