[FFmpeg-cvslog] ac3dsp: call femms/emms at the end of float_to_fixed24() for 3DNow and SSE
Justin Ruggles
git at videolan.org
Fri Apr 13 22:12:31 CEST 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Apr 12 16:22:00 2012 -0400| [de7f22ab0c5f79239ee627344d0d73e1c7060192] | committer: 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: Ronald S. Bultje <rsbultje at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de7f22ab0c5f79239ee627344d0d73e1c7060192
---
libavcodec/x86/ac3dsp.asm | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavcodec/x86/ac3dsp.asm b/libavcodec/x86/ac3dsp.asm
index 746fd83..1438811 100644
--- a/libavcodec/x86/ac3dsp.asm
+++ b/libavcodec/x86/ac3dsp.asm
@@ -223,7 +223,8 @@ cglobal float_to_fixed24_3dnow, 3,3,0, dst, src, len
add dstq, 32
sub lend, 8
ja .loop
- REP_RET
+ femms
+ RET
INIT_XMM
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
sub lend, 8
ja .loop
- REP_RET
+ emms
+ RET
INIT_XMM
cglobal float_to_fixed24_sse2, 3,3,9, dst, src, len
More information about the ffmpeg-cvslog
mailing list