From owner-freebsd-arch@FreeBSD.ORG Fri Jul 13 12:22:25 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80E0B16A405; Fri, 13 Jul 2007 12:22:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 2E19313C481; Fri, 13 Jul 2007 12:22:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l6DCMJHK003289; Fri, 13 Jul 2007 08:22:20 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-arch@freebsd.org Date: Fri, 13 Jul 2007 07:17:06 -0400 User-Agent: KMail/1.9.6 References: <20070711134721.D2385@thor.farley.org> <20070712170748.W8789@thor.farley.org> <86d4yw649m.fsf@dwp.des.no> In-Reply-To: <86d4yw649m.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707130717.07585.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 13 Jul 2007 08:22:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3656/Fri Jul 13 07:24:51 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= , "Sean C. Farley" Subject: Re: Assembly string functions in i386 libc X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 12:22:25 -0000 On Friday 13 July 2007 05:29:09 am Dag-Erling Sm=C3=B8rgrav wrote: > "Sean C. Farley" writes: > > I never claimed to succeed; I only tried. The two types of tests I can > > think would be useful were execution of strlen() by itself and within a > > common program. I had thought I had tested the first type of test. >=20 > You did, but it's worthless. >=20 > If you wrote a test program that did nothing but add two numbers > together, then profiled that program, would you then conclude that > addition needs optimizing? Um, des, he's asking to _remove_ the assembly optimization on i386 and just= =20 use the C version that other archs use. Unless there is a compelling reaso= n=20 to keep the asm versions I agree that the C version should just be used=20 instead. =2D-=20 John Baldwin