From owner-freebsd-amd64@FreeBSD.ORG Mon Oct 25 12:00:57 2004 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E4E316A517 for ; Mon, 25 Oct 2004 12:00:57 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E9F643D48 for ; Mon, 25 Oct 2004 12:00:57 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9PC0vhe087183 for ; Mon, 25 Oct 2004 12:00:57 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9PC0v0h087177; Mon, 25 Oct 2004 12:00:57 GMT (envelope-from gnats) Resent-Date: Mon, 25 Oct 2004 12:00:57 GMT Resent-Message-Id: <200410251200.i9PC0v0h087177@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ville-Pertti Keinonen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C51516A4CE for ; Mon, 25 Oct 2004 11:53:25 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 408F643D48 for ; Mon, 25 Oct 2004 11:53:25 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9PBrPnU026370 for ; Mon, 25 Oct 2004 11:53:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9PBrPUf026369; Mon, 25 Oct 2004 11:53:25 GMT (envelope-from nobody) Message-Id: <200410251153.i9PBrPUf026369@www.freebsd.org> Date: Mon, 25 Oct 2004 11:53:25 GMT From: Ville-Pertti Keinonen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: amd64/73111: Optimized libc string functions missing for amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 12:00:57 -0000 >Number: 73111 >Category: amd64 >Synopsis: Optimized libc string functions missing for amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 25 12:00:56 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ville-Pertti Keinonen >Release: 6.0-current >Organization: >Environment: >Description: Using optimized assembly language versions of string functions on amd64 (this is already done on other architectures) would probably be a good idea. Functions adapted from NetBSD (which can be extracted into /usr/src for inclusion in a buildworld) are available at the following URL: http://will.iki.fi/patches/libc-amd64-string.tar.gz I mentioned the issue on -current, but this didn't result in any discussion. The NetBSD functions may or may not all be desirable in their current form; some of the functions have extensive unrolling and may produce a performance penalty for short strings (but a huge advantage for longer ones). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: