Commit de7f22ab authored by Justin Ruggles's avatar Justin Ruggles Committed by Ronald S. Bultje

ac3dsp: call femms/emms at the end of float_to_fixed24() for 3DNow and SSE

Fixes ac3-encode and eac3-encode FATE test failures with SSE2 disabled.
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 31168588
...@@ -223,7 +223,8 @@ cglobal float_to_fixed24_3dnow, 3,3,0, dst, src, len ...@@ -223,7 +223,8 @@ cglobal float_to_fixed24_3dnow, 3,3,0, dst, src, len
add dstq, 32 add dstq, 32
sub lend, 8 sub lend, 8
ja .loop ja .loop
REP_RET femms
RET
INIT_XMM INIT_XMM
cglobal float_to_fixed24_sse, 3,3,3, dst, src, len cglobal float_to_fixed24_sse, 3,3,3, dst, src, len
...@@ -247,7 +248,8 @@ cglobal float_to_fixed24_sse, 3,3,3, dst, src, len ...@@ -247,7 +248,8 @@ cglobal float_to_fixed24_sse, 3,3,3, dst, src, len
add dstq, 32 add dstq, 32
sub lend, 8 sub lend, 8
ja .loop ja .loop
REP_RET emms
RET
INIT_XMM INIT_XMM
cglobal float_to_fixed24_sse2, 3,3,9, dst, src, len cglobal float_to_fixed24_sse2, 3,3,9, dst, src, len
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment