svn commit: r356141 - head/lib/libc/arm/string

Pedro F. Giffuni pfg at FreeBSD.org
Sat Dec 28 02:11:42 UTC 2019


Author: pfg
Date: Sat Dec 28 02:11:41 2019
New Revision: 356141
URL: https://svnweb.freebsd.org/changeset/base/356141

Log:
  arm/ffs.S: remove stale comment.
  
  We already use the CLZ instruction.
  
  Discussed with: andrew

Modified:
  head/lib/libc/arm/string/ffs.S

Modified: head/lib/libc/arm/string/ffs.S
==============================================================================
--- head/lib/libc/arm/string/ffs.S	Sat Dec 28 01:35:32 2019	(r356140)
+++ head/lib/libc/arm/string/ffs.S	Sat Dec 28 02:11:41 2019	(r356141)
@@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
  * 6 bits as an index into the table.  This algorithm should be a win
  * over the checking each bit in turn as per the C compiled version.
  *
- * under ARMv5 there's an instruction called CLZ (count leading Zero's) that
- * could be used
- *
  * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
  * 16 Feb 1994.
  */


More information about the svn-src-all mailing list