From 5e7976e7ef58bab9ae5b55a87acf369868c7a955 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 4 Feb 2006 14:06:29 +0000 Subject: Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...) patch by dani3l CVS patchset: 7867 CVS date: 2006/02/04 14:06:29 --- src/libmpeg2/cpu_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libmpeg2/cpu_state.c') diff --git a/src/libmpeg2/cpu_state.c b/src/libmpeg2/cpu_state.c index 433a85b85..07b4c5b7e 100644 --- a/src/libmpeg2/cpu_state.c +++ b/src/libmpeg2/cpu_state.c @@ -32,7 +32,7 @@ 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 (); @@ -168,7 +168,7 @@ static void state_restore_altivec (cpu_state_t * state) void mpeg2_cpu_state_init (uint32_t mm_accel) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) if (mm_accel & MM_ACCEL_X86_MMX) { mpeg2_cpu_state_restore = state_restore_mmx; } -- cgit v1.2.3