diff options
author | aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-03 17:12:01 +0000 |
---|---|---|
committer | aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-03 17:12:01 +0000 |
commit | 1ff43b7f48ee6c45a559e9efff2ad1b6bc94c533 (patch) | |
tree | 73fbf661e539e1ab795de72c9c39b223e068d89a /libmpeg2/cpu_state.c | |
parent | 19eda0954b21d88d82f6e588ab70609e1b034a79 (diff) | |
download | mpv-1ff43b7f48ee6c45a559e9efff2ad1b6bc94c533.tar.bz2 mpv-1ff43b7f48ee6c45a559e9efff2ad1b6bc94c533.tar.xz |
enable mmx support on x86_64 in libmpeg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13865 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2/cpu_state.c')
-rw-r--r-- | libmpeg2/cpu_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpeg2/cpu_state.c b/libmpeg2/cpu_state.c index 994b703105..b542404b93 100644 --- a/libmpeg2/cpu_state.c +++ b/libmpeg2/cpu_state.c @@ -29,14 +29,14 @@ #include "mpeg2.h" #include "attributes.h" #include "mpeg2_internal.h" -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) #include "mmx.h" #endif void (* mpeg2_cpu_state_save) (cpu_state_t * state) = NULL; void (* mpeg2_cpu_state_restore) (cpu_state_t * state) = NULL; -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) static void state_restore_mmx (cpu_state_t * state) { emms (); @@ -115,7 +115,7 @@ static void state_restore_altivec (cpu_state_t * state) void mpeg2_cpu_state_init (uint32_t accel) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) if (accel & MPEG2_ACCEL_X86_MMX) { mpeg2_cpu_state_restore = state_restore_mmx; } |