Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/pixman updates for pixman 0.32.4 and x86.



details:   https://anonhg.NetBSD.org/src/rev/b58dc65dafde
branches:  trunk
changeset: 327786:b58dc65dafde
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Mar 17 01:41:46 2014 +0000

description:
updates for pixman 0.32.4 and x86.

diffstat:

 external/mit/xorg/lib/pixman/Makefile |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (48 lines):

diff -r 60b2ebc01d0b -r b58dc65dafde external/mit/xorg/lib/pixman/Makefile
--- a/external/mit/xorg/lib/pixman/Makefile     Mon Mar 17 01:09:07 2014 +0000
+++ b/external/mit/xorg/lib/pixman/Makefile     Mon Mar 17 01:41:46 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.27 2014/01/30 19:24:06 riz Exp $
+#      $NetBSD: Makefile,v 1.28 2014/03/17 01:41:46 mrg Exp $
 
 NOLINT=        1       # defined
 
@@ -45,20 +45,21 @@
 
 # XXX
 
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+. if ${MACHINE_ARCH} == "i386"
 SRCS+= pixman-mmx.c
 COPTS.pixman-mmx.c=    -mmmx -fvisibility=hidden
-. if defined(HAVE_LLVM)
+.  if defined(HAVE_LLVM)
 COPTS.pixman-mmx.c+=   -Wno-error=attributes
+.  endif
+CPPFLAGS+=             -DUSE_X86_MMX
+MKDEPFLAGS+=           -mmmx
 . endif
-MKDEPFLAGS+=           -mmmx -msse2 -fvisibility=hidden
-SRCS+= pixman-sse2.c
+SRCS+= pixman-sse2.c pixman-ssse3.c
 COPTS.pixman-sse2.c=   -msse2 -fvisibility=hidden
-CPPFLAGS+=     -DUSE_SSE2 -DUSE_X86_MMX
-.elif ${MACHINE_ARCH} == "x86_64"
-SRCS+= pixman-sse2.c
-COPTS.pixman-sse2.c=   -msse2 -fvisibility=hidden
-CPPFLAGS+=     -DUSE_SSE2
+COPTS.pixman-ssse3.c=  -msse3 -mssse3 -fvisibility=hidden
+CPPFLAGS+=             -DUSE_SSE2 -DUSE_SSE3
+MKDEPFLAGS+=           -msse2 -mssse3 -mssse3 -fvisibility=hidden
 .endif
 
 .if ${MACHINE_ARCH} == "powerpc"
@@ -68,7 +69,6 @@
 MKDEPFLAGS+=           -maltivec
 .endif
 
-
 .if !empty(MACHINE_ARCH:Mearm*)
 # ARM SIMD
 SRCS+=         pixman-arm-simd.c               \



Home | Main Index | Thread Index | Old Index