diff options
author | wm4 <wm4@nowhere> | 2012-07-29 17:31:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-30 01:38:14 +0200 |
commit | 43da1e78c40ba4f948bfe20536ccc18b2f25c8f7 (patch) | |
tree | e92a83bd2f1aeb0945092dbe24540c9eba84ca94 /libmpcodecs/dec_video.c | |
parent | 74df1d8e05aa226c7e82a6d84f43c873ee234561 (diff) | |
download | mpv-43da1e78c40ba4f948bfe20536ccc18b2f25c8f7.tar.bz2 mpv-43da1e78c40ba4f948bfe20536ccc18b2f25c8f7.tar.xz |
Rip out 3DNOW support
Ancient AMD specific enhancement to the MMX instruction set. Officually
discontinued by AMD.
Note that support for this was already disabled in the previous commit.
This commit removes the actual code.
Diffstat (limited to 'libmpcodecs/dec_video.c')
-rw-r--r-- | libmpcodecs/dec_video.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index baa8467c1e..1f4ce7497e 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -455,9 +455,7 @@ void *decode_video(sh_video_t *sh_video, struct demux_packet *packet, #if HAVE_MMX // some codecs are broken, and doesn't restore MMX state :( // it happens usually with broken/damaged files. - if (gCpuCaps.has3DNow) { - __asm__ volatile("femms\n\t":::"memory"); - } else if (gCpuCaps.hasMMX) { + if (gCpuCaps.hasMMX) { __asm__ volatile("emms\n\t":::"memory"); } #endif |