aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorChristophe GISQUET <christophe.gisquet@gmail.com>2012-03-21 20:46:29 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2012-04-04 11:24:27 -0700
commit6b81da2fd030dbc03d36b38558b58e8f0f667501 (patch)
tree7f09ede157249c09a02c1d84c58fa92a06c5289f /libavcodec/x86
parentcd88105f6fddf04fb04fe6c57cbaac5f6037c6a6 (diff)
downloadffmpeg-6b81da2fd030dbc03d36b38558b58e8f0f667501.tar.gz
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: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/dsputil_yasm.asm2
-rw-r--r--libavcodec/x86/sbrdsp.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/dsputil_yasm.asm b/libavcodec/x86/dsputil_yasm.asm
index da08bdab50..00dc18b469 100644
--- a/libavcodec/x86/dsputil_yasm.asm
+++ b/libavcodec/x86/dsputil_yasm.asm
@@ -473,7 +473,7 @@ cglobal scalarproduct_float_sse, 3,3,2, v1, v2, offset
shufps xmm0, xmm0, 1
addss xmm0, xmm1
%if ARCH_X86_64 == 0
- movd r0m, xmm0
+ movss r0m, xmm0
fld dword r0m
%endif
RET
diff --git a/libavcodec/x86/sbrdsp.asm b/libavcodec/x86/sbrdsp.asm
index 6f66327088..47cb312140 100644
--- a/libavcodec/x86/sbrdsp.asm
+++ b/libavcodec/x86/sbrdsp.asm
@@ -68,7 +68,7 @@ cglobal sbr_sum_square, 2, 3, 6
shufps m0, m0, 1
addss m0, m1
%if ARCH_X86_64 == 0
- movd r0m, m0
+ movss r0m, m0
fld dword r0m
%endif
RET