Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2004 11:53:25 GMT
From:      Ville-Pertti Keinonen <will@iki.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/73111: Optimized libc string functions missing for amd64
Message-ID:  <200410251153.i9PBrPUf026369@www.freebsd.org>
Resent-Message-ID: <200410251200.i9PC0v0h087177@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410251153.i9PBrPUf026369>