diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-09 12:50:55 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-09 12:50:55 +0200 |
commit | 2c5cfbc4e033c3959f5e3c9707b71044adadbd55 (patch) | |
tree | e34017459ce6a38f54d32cb9c375a3fcfc49ac29 | |
parent | 1164322fc326fd8023c9a01823092eac105ccba5 (diff) | |
download | xine-lib-2c5cfbc4e033c3959f5e3c9707b71044adadbd55.tar.gz xine-lib-2c5cfbc4e033c3959f5e3c9707b71044adadbd55.tar.bz2 |
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.
-rw-r--r-- | src/xine-utils/cpu_accel.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 |