svn commit: r319282 - stable/11/lib/libz
Xin LI
delphij at FreeBSD.org
Wed May 31 05:37:53 UTC 2017
Author: delphij
Date: Wed May 31 05:37:51 2017
New Revision: 319282
URL: https://svnweb.freebsd.org/changeset/base/319282
Log:
MFC r316635:
Enable 16-bit longest_match for x86.
This gives a ~2% improvement in compression tests.
Modified:
stable/11/lib/libz/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/libz/Makefile
==============================================================================
--- stable/11/lib/libz/Makefile Wed May 31 05:33:32 2017 (r319281)
+++ stable/11/lib/libz/Makefile Wed May 31 05:37:51 2017 (r319282)
@@ -40,19 +40,9 @@ SRCS+= uncompr.c
SRCS+= zopen.c
SRCS+= zutil.c
-#.if ${MACHINE_ARCH} == "i386" && ${MACHINE_CPU:M*i686*}
-#.PATH: ${ZLIBSRC}/contrib/asm686
-#SRCS+= match.S
-#CFLAGS+= -DASMV -DNO_UNDERLINE
-#ACFLAGS+= -Wa,--noexecstack
-#.endif
-
-#.if ${MACHINE_ARCH} == "amd64"
-#.PATH: ${ZLIBSRC}/contrib/gcc_gvmat64
-#SRCS+= gvmat64.S
-#CFLAGS+= -DASMV -DNO_UNDERLINE
-#ACFLAGS+= -Wa,--noexecstack
-#.endif
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64
+CFLAGS+= -DUNALIGNED_OK
+.endif
VERSION_DEF= ${.CURDIR}/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
More information about the svn-src-stable-11
mailing list