Subject: CVS commit: src/lib/libc/arch/arm/string
To: None <source-changes@NetBSD.org>
From: Richard Earnshaw <rearnsha@netbsd.org>
List: source-changes
Date: 05/06/2005 09:50:25
Module Name: src
Committed By: rearnsha
Date: Fri May 6 09:50:25 UTC 2005
Modified Files:
src/lib/libc/arch/arm/string: ffs.S
Log Message:
On ARMv5 reduce the value to the LSB before using CLZ. Otherwise we'll
calculate the position of the MSB not the LSB.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/lib/libc/arch/arm/string/ffs.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.