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 Enable SSE2 support for i386 - ...
details: https://anonhg.NetBSD.org/src/rev/ed922429acad
branches: trunk
changeset: 786680:ed922429acad
user: martin <martin%NetBSD.org@localhost>
date: Tue May 07 07:01:37 2013 +0000
description:
Enable SSE2 support for i386 - the -current compiler seems to get the
alignment right.
diffstat:
external/mit/xorg/lib/pixman/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r c31e7e568217 -r ed922429acad external/mit/xorg/lib/pixman/Makefile
--- a/external/mit/xorg/lib/pixman/Makefile Tue May 07 01:16:25 2013 +0000
+++ b/external/mit/xorg/lib/pixman/Makefile Tue May 07 07:01:37 2013 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index