# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181386255 -7200
# Node ID d77f08cd1a619809575e99e3eb4ab02a5d3353c1
# Parent  8f53370491e666fd18d74f6c8d5abc100d3adabb
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.

diff -r d77f08cd1a619809575e99e3eb4ab02a5d3353c1 -r 
8f53370491e666fd18d74f6c8d5abc100d3adabb src/xine-utils/cpu_accel.c
--- a/src/xine-utils/cpu_accel.c        Sat Jun 09 12:50:55 2007 +0200
+++ b/src/xine-utils/cpu_accel.c        Sat Jun 09 12:30:11 2007 +0200
@@ -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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to