From owner-freebsd-current@FreeBSD.ORG Sat Jun 3 20:37:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1335E16A41F; Sat, 3 Jun 2006 20:37:26 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9467C43D46; Sat, 3 Jun 2006 20:37:25 +0000 (GMT) (envelope-from mi@aldan.algebra.com) Received: from corbulon.video-collage.com ([151.204.231.237]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J0A00CDUX9NSP44@vms042.mailsrvcs.net>; Sat, 03 Jun 2006 15:36:59 -0500 (CDT) Received: from vaio.virtual-estates.net (aldan.algebra.com [216.254.65.224]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k53KaqmP059678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 03 Jun 2006 16:36:53 -0400 (EDT envelope-from mi@aldan.algebra.com) Received: from vaio.virtual-estates.net (localhost [127.0.0.1]) by vaio.virtual-estates.net (8.13.4/8.13.4) with ESMTP id k53KaDlW082134; Sat, 03 Jun 2006 20:36:18 +0000 (envelope-from mi@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by vaio.virtual-estates.net (8.13.6/8.13.4/Submit) id k53KZqLf082133; Sat, 03 Jun 2006 20:35:52 +0000 (envelope-from mi@aldan.algebra.com) Date: Sat, 03 Jun 2006 20:35:50 +0000 From: "Mikhail T." X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli"<=?koi8-r?q?kcG=5EEOVihy+z3/UR=7B6SCQ=0A?= In-reply-to: <200606031009.04640.jhb@freebsd.org> To: John Baldwin Message-id: <200606032035.52075@Misha> MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Content-transfer-encoding: quoted-printable Content-disposition: inline X-Virus-Scanned: ClamAV 0.88/1510/Sat Jun 3 08:07:20 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 References: <200606022121.20535.mi+mx@aldan.algebra.com> <200606031009.04640.jhb@freebsd.org> X-Authentication-warning: vaio.virtual-estates.net: mi set sender to mi@aldan.algebra.com using -f User-Agent: KMail/1.9.1 X-Mailman-Approved-At: Sun, 04 Jun 2006 04:46:12 +0000 Cc: Mikhail Teterin , freebsd-current@freebsd.org Subject: Re: Assembler optimizations for libz X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jun 2006 20:37:26 -0000 =D3=D5=C2=CF=D4=C1 03 =DE=C5=D2=D7=C5=CE=D8 2006 14:09, John Baldwin, =F7= =C9 =CE=C1=D0=C9=D3=C1=CC=C9: =3D Can you expand on the problem you have with inffast.S? There exist both inffast.c and inffast.S. Although the latter is in a directory, that is explicitly listed in the VPATH, the former is picked up. I think, it should be the other way around -- the current directory, that's always in the VPATH implicitly, should be consulted last... =46or this reason, I had to rename inffast.S to _inffast.S. =3D Also, it might read better if the flow of the Makefile is [...] =3D That is, merge the two i386 sections into one section. I'm quite confident, that I will NOT be able to pick the right color for this structure. :-) I'll leave the perfection of the Makefile to whoever commits it -- what's in it now works good enough to demonstrate the benefit of the optimization... Whoever gets to it, though, should add the amd64 implementation too (posted in this thread). It is just the compression for now, I'm still working on the inffast.S... Thanks! Yours, -mi http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/96393