Replace SSE2 instruction in scalarproduct_float_sse() by SSE equivalent.
Fixes an AAC decoding issue with the sample from ticket #213 on machines
with SSE but without SSE2.
Based on 89411a by Reimar.
(cherry picked from commit f6b7863808
)
This commit is contained in:

committed by
Carl Eugen Hoyos

parent
b6cc1c77fd
commit
10848d0862
@@ -474,7 +474,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
|
||||||
%ifndef ARCH_X86_64
|
%ifndef ARCH_X86_64
|
||||||
movd r0m, xmm0
|
movss r0m, xmm0
|
||||||
fld dword r0m
|
fld dword r0m
|
||||||
%endif
|
%endif
|
||||||
RET
|
RET
|
||||||
|
Reference in New Issue
Block a user