NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/35535 CVS commit: src/common/lib/libc/arch/x86_64/string



The following reply was made to PR port-amd64/35535; it has been noted by GNATS.

From: David Laight <dsl%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/35535 CVS commit: src/common/lib/libc/arch/x86_64/string
Date: Sun, 22 Nov 2009 17:25:48 +0000

 Module Name:   src
 Committed By:  dsl
 Date:          Sun Nov 22 17:25:47 UTC 2009
 
 Modified Files:
        src/common/lib/libc/arch/x86_64/string: bcopy.S
 
 Log Message:
 Align to the destination buffer.
 This probably costs 1 clock (on modern cpus) in the normal case.
 But gives a big benefit when the destination is misaligned.
 In particular when the source has the same misalignment - although
 that may not be a gain on Nehalem!
 Fixes PR/35535
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/arch/x86_64/string/bcopy.S
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index