Module Name:    src
Committed By:   martin
Date:           Tue May  7 07:01:39 UTC 2013

Modified Files:
        src/external/mit/xorg/lib/pixman: Makefile

Log Message:
Enable SSE2 support for i386 - the -current compiler seems to get the
alignment right.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/mit/xorg/lib/pixman/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.22 src/external/mit/xorg/lib/pixman/Makefile:1.23
--- src/external/mit/xorg/lib/pixman/Makefile:1.22	Thu May  2 21:40:57 2013
+++ src/external/mit/xorg/lib/pixman/Makefile	Tue May  7 07:01:37 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2013/05/02 21:40:57 skrll Exp $
+#	$NetBSD: Makefile,v 1.23 2013/05/07 07:01:37 martin Exp $
 
 NOLINT=	1	# defined
 
@@ -43,10 +43,12 @@ SRCS=					\
 # XXX
 
 .if ${MACHINE_ARCH} == "i386"
-# SSE2 does not work, for unknown reasons
 SRCS+= pixman-mmx.c
 COPTS.pixman-mmx.c=	-mmmx -fvisibility=hidden
-MKDEPFLAGS+=		-mmmx -fvisibility=hidden
+MKDEPFLAGS+=		-mmmx -msse2 -fvisibility=hidden
+SRCS+=	pixman-sse2.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

Reply via email to