1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Enable 16-bit longest_match for x86.

This gives a ~2% improvement in compression tests.

MFC after:	2 weeks
This commit is contained in:
Xin LI 2017-04-08 06:39:13 +00:00
parent 75580d5881
commit 7250d89e54
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316635

View File

@ -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