pixman: Branch 'master' - 2 commits

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Sun Jun 22 10:44:50 PDT 2008


 TODO         |    2 ++
 configure.ac |   39 +++++++++++++++++++++++++++++++++++----
 2 files changed, 37 insertions(+), 4 deletions(-)

New commits:
commit 4a9df4be7e384cf18e3d7a65d1e0023d2e2a280f
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Sun Jun 22 13:44:23 2008 -0400

    TODO

diff --git a/TODO b/TODO
index 01b3ddf..11b276d 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+  - Rename "SSE" to "MMX_EXTENSIONS"
+
   - Behdad's MMX issue - see list
 
   - SSE 2 issues:
commit a766b62880108f278478888f5167a5fbf2819a97
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Sun Jun 22 13:42:21 2008 -0400

    Add configure time options to disable mmx/sse2/vmx

diff --git a/configure.ac b/configure.ac
index 52ecb0d..1bfa2a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,7 +149,15 @@ int main () {
     return _mm_cvtsi64_si32 (v);
 }], have_mmx_intrinsics=yes)
 CFLAGS=$xserver_save_CFLAGS
-AC_MSG_RESULT($have_mmx_intrinsics)
+
+AC_ARG_ENABLE(mmx,
+   [AC_HELP_STRING([--disable-mmx],
+                   [disable MMX fast paths])],
+   [disable_mmx=yes], [disable_mmx=no])
+
+if test $disable_mmx = yes ; then
+   have_mmx_intrinsics=disabled
+fi
 
 if test $have_mmx_intrinsics = yes ; then
    AC_DEFINE(USE_MMX, 1, [use MMX compiler intrinsics])
@@ -157,6 +165,8 @@ else
    MMX_CFLAGS=
 fi
 
+AC_MSG_RESULT($have_mmx_intrinsics)
+
 AM_CONDITIONAL(USE_MMX, test $have_mmx_intrinsics = yes)
 
 dnl =======================================================
@@ -225,12 +235,22 @@ int main () {
     return 0;
 }], have_sse2_intrinsics=yes)
 CFLAGS=$xserver_save_CFLAGS
-AC_MSG_RESULT($have_sse2_intrinsics)
+
+AC_ARG_ENABLE(sse2,
+   [AC_HELP_STRING([--disable-sse2],
+                   [disable SSE2 fast paths])],
+   [disable_sse2=yes], [disable_sse2=no])
+
+if test $disable_sse2 = yes ; then
+   have_sse2_intrinsics=disabled
+fi
 
 if test $have_sse2_intrinsics = yes ; then
-   AC_DEFINE(USE_SSE2, 1, [use SSE compiler intrinsics])
+   AC_DEFINE(USE_SSE2, 1, [use SSE2 compiler intrinsics])
 fi
 
+AC_MSG_RESULT($have_sse2_intrinsics)
+
 AM_CONDITIONAL(USE_SSE2, test $have_sse2_intrinsics = yes)
 
 dnl ========================================================
@@ -259,13 +279,24 @@ int main () {
     return 0;
 }], have_vmx_intrinsics=yes)
 CFLAGS=$xserver_save_CFLAGS
-AC_MSG_RESULT($have_vmx_intrinsics)
+
+AC_ARG_ENABLE(vmx,
+   [AC_HELP_STRING([--disable-vmx],
+                   [disable VMX fast paths])],
+   [disable_vmx=yes], [disable_vmx=no])
+
+if test $disable_vmx = yes ; then
+   have_vmx_intrinsics=disabled
+fi
 
 if test $have_vmx_intrinsics = yes ; then
    AC_DEFINE(USE_VMX, 1, [use VMX compiler intrinsics])
 else
    VMX_CFLAGS=
 fi
+
+AC_MSG_RESULT($have_vmx_intrinsics)
+
 AC_SUBST(VMX_CFLAGS)
 
 AM_CONDITIONAL(USE_VMX, test $have_vmx_intrinsics = yes)


More information about the xorg-commit mailing list