xserver ChangeLog,3.352,3.353 configure.ac,3.102,3.103

Lars Knoll xserver-commit at pdx.freedesktop.org
Tue Jul 12 19:57:02 EST 2005


Committed by: lars

Update of /cvs/xserver/xserver
In directory gabe:/tmp/cvs-serv16642

Modified Files:
	ChangeLog configure.ac 
Log Message:
Add MMX Code paths for the basic composition operations
in fbComposeGeneral.
Check for -msse in configure, as pshufw needs this flag working.



Index: ChangeLog
===================================================================
RCS file: /cvs/xserver/xserver/ChangeLog,v
retrieving revision 3.352
retrieving revision 3.353
diff -u -d -r3.352 -r3.353
--- ChangeLog	7 Jul 2005 08:37:53 -0000	3.352
+++ ChangeLog	12 Jul 2005 09:56:59 -0000	3.353
@@ -1,3 +1,14 @@
+2005-07-12  Lars Knoll <lars at trolltech.com>
+	* configure.ac: 
+	* fb/fbcompose.c:
+	* fb/fbmmx.c:
+	* fb/fbmmx.h:
+	* fb/fbpict.c:
+	* fb/fbpict.h:
+	Add MMX Code paths for the basic composition operations
+	in fbComposeGeneral.
+	Check for -msse in configure, as pshufw needs this flag working.
+
 2005-07-07  mallum  <mallum at openedhand.com>
 
 	* miext/damage/damage.c: (damageDamageRegion), (damageDamageBox),

Index: configure.ac
===================================================================
RCS file: /cvs/xserver/xserver/configure.ac,v
retrieving revision 3.102
retrieving revision 3.103
diff -u -d -r3.102 -r3.103
--- configure.ac	13 Jun 2005 16:38:05 -0000	3.102
+++ configure.ac	12 Jul 2005 09:57:00 -0000	3.103
@@ -536,10 +536,10 @@
  AC_MSG_RESULT(no),
  AC_MSG_RESULT(assuming not on target machine))
 
-MMX_CFLAGS="-mmmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000"
+MMX_CFLAGS="-mmmx -msse -Winline --param inline-unit-growth=10000 --param large-function-growth=10000"
 
 have_mmx_intrinsics=no
-AC_MSG_CHECKING(For MMX intrinsics in the compiler)
+AC_MSG_CHECKING(For MMX/SSE intrinsics in the compiler)
 xserver_save_CFLAGS=$CFLAGS
 CFLAGS="$CFLAGS $MMX_CFLAGS"
 AC_COMPILE_IFELSE([
@@ -547,8 +547,10 @@
 #error "Need GCC >= 3.4 for MMX intrinsics"
 #endif
 #include <mmintrin.h>
+#include <xmmintrin.h>
 int main () {
     __m64 v = _mm_cvtsi32_si64 (1);
+    v = _mm_shuffle_pi16 (v, _MM_SHUFFLE(3, 3, 3, 3));
     return _mm_cvtsi64_si32 (v);
 }], have_mmx_intrinsics=yes)
 CFLAGS=$xserver_save_CFLAGS



More information about the xserver-commit mailing list