Source-Changes-D archive

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

Re: CVS commit: src/common/lib/libc/string



(yes, change is from January, I'm hugely behind)

On Mon, Jan 27, 2020 at 10:22:03PM +0000, Andrew Doran wrote:
 > Modified Files:
 > 	src/common/lib/libc/string: bcmp.c memcmp.c
 > 
 > Log Message:
 > Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax).

Even on machines that allow unaligned accesses, aligned accesses are
usually faster, so would it be worthwhile to do a few byte comparisons
first until at least one of the arguments is aligned?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index