diff options
author | Justin Ruggles | 2012-04-12 16:22:00 -0400 |
---|---|---|
committer | Ronald S. Bultje | 2012-04-12 21:33:04 -0700 |
commit | de7f22ab0c5f79239ee627344d0d73e1c7060192 (patch) | |
tree | 2682087cc1b9fe605111c36d0edc6d48f22a74b0 /libavcodec/x86/ac3dsp.asm | |
parent | 311685885375122d011b79bb0c2bdeed767374a1 (diff) |
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@gmail.com>
Diffstat (limited to 'libavcodec/x86/ac3dsp.asm')
-rw-r--r-- | 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 746fd83a67..1438811fc7 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 |