[Liboil-commit] 2 commits - Makefile.am liboil/i386_amd64

David Schleef ds at kemper.freedesktop.org
Tue Feb 19 17:59:33 PST 2008


 Makefile.am                |    2 ++
 liboil/i386_amd64/sad8x8.c |   11 +++--------
 2 files changed, 5 insertions(+), 8 deletions(-)

New commits:
commit f29739b53f4bff4fd74bf1fdb5910cca9841bb37
Author: David Schleef <ds at ginger.bigkitten.com>
Date:   Tue Feb 19 18:01:31 2008 -0800

    Remove the half of the cleverness that is broken when compiled with -fomit-frame-pointer

diff --git a/liboil/i386_amd64/sad8x8.c b/liboil/i386_amd64/sad8x8.c
index 239202a..f72cbf5 100644
--- a/liboil/i386_amd64/sad8x8.c
+++ b/liboil/i386_amd64/sad8x8.c
@@ -332,9 +332,6 @@ sad8x8_8xn_u8_psadbw (uint32_t * dest, uint8_t * src1, int sstr1, uint8_t * src2
   sstr2 = -sstr2;
 
   __asm__ __volatile__ ("\n"
-#ifdef __i386__
-    "  pushl %%ebx\n\t"
-#endif
     "1:\n"
     "  movq (%[src1]), %%mm7             \n\t"
     "  psadbw (%[src2]), %%mm7           \n\t"
@@ -347,15 +344,13 @@ sad8x8_8xn_u8_psadbw (uint32_t * dest, uint8_t * src1, int sstr1, uint8_t * src2
     "   movq (%[src1],%[sstr1],4), %%mm1          \n\t"
     "   psadbw (%[src2],%[sstr2],4), %%mm1      \n\t"
     "   paddw %%mm1, %%mm7           \n\t"
-    "  movd %%mm7, %%ebx\n\t"
-    "  addl %%ebx, 0(%[dest])\n\t"
+    "  movq 0(%[dest]), %%mm1\n\t"
+    "  paddd %%mm7, %%mm1\n\t"
+    "  movq %%mm1, 0(%[dest])\n\t"
     "  sub %[sstr2],%[src2]\n\t"
     "  add $4, %[dest]\n\t"
     "  decl %[n]\n\t"
     "  jnz 1b\n\t"
-#ifdef __i386__
-    "  popl %%ebx\n\t"
-#endif
 
     "  emms                         \n\t"
      : [src1] "+r" (src1), 
commit fdd2deae110668b1d6427af9a430ce572d297462
Author: David Schleef <ds at ginger.bigkitten.com>
Date:   Tue Feb 19 18:00:48 2008 -0800

    Distcheck requires gtk-doc, so enforce it.

diff --git a/Makefile.am b/Makefile.am
index 0e71e80..a6cf4ef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,8 @@ SUBDIRS = liboil testsuite examples doc
 
 EXTRA_DIST = COPYING autogen.sh gtk-doc.make HACKING BUG-REPORTING
 
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+
 pkgconfig_DATA = liboil-$(LIBOIL_MAJORMINOR).pc
 
 liboil-$(LIBOIL_MAJORMINOR).pc: liboil.pc


More information about the Liboil-commit mailing list