From 2c5cfbc4e033c3959f5e3c9707b71044adadbd55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 9 Jun 2007 12:50:55 +0200 Subject: If 3dNOW is enabled at build-time, mark it as present on x86-64; it's not always there because Intel EM64T machines does not have it. --- src/xine-utils/cpu_accel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-utils/cpu_accel.c b/src/xine-utils/cpu_accel.c index 9285148b8..147a32ac5 100644 --- a/src/xine-utils/cpu_accel.c +++ b/src/xine-utils/cpu_accel.c @@ -61,7 +61,11 @@ static uint32_t arch_accel (void) #ifdef __x86_64__ /* No need to test for this on AMD64, we know what the platform has. */ - caps = MM_ACCEL_X86_MMX | MM_ACCEL_X86_SSE | MM_ACCEL_X86_MMXEXT | MM_ACCEL_X86_SSE2; + caps = MM_ACCEL_X86_MMX | MM_ACCEL_X86_SSE | MM_ACCEL_X86_MMXEXT | MM_ACCEL_X86_SSE2 +# if defined(__3dNOW__) + | MM_ACCEL_X86_3DNOW +# endif + ; #else #ifndef _MSC_VER -- cgit v1.2.3