Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   joerg
Date:           Tue Jul 21 13:18:44 UTC 2009

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/distrib/sets/lists/tests: mi
        src/etc/mtree: NetBSD.dist
        src/include: strings.h
        src/lib/libc/string: Makefile.inc
        src/tests/lib/libc: Atffile Makefile
Added Files:
        src/lib/libc/string: popcount.3 popcount.c popcountl.c popcountll.c
        src/tests/lib/libc/string: Atffile Makefile t_popcount.c

Log Message:
Add popcount(3) and the long and long long version. Name is inspired by
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.


To generate a diff of this commit:
cvs rdiff -u -r1.1284 -r1.1285 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.406 -r1.407 src/etc/mtree/NetBSD.dist
cvs rdiff -u -r1.13 -r1.14 src/include/strings.h
cvs rdiff -u -r1.72 -r1.73 src/lib/libc/string/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/string/popcount.3 \
    src/lib/libc/string/popcount.c src/lib/libc/string/popcountl.c \
    src/lib/libc/string/popcountll.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/Atffile \
    src/tests/lib/libc/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/string/Atffile \
    src/tests/lib/libc/string/Makefile src/tests/lib/libc/string/t_popcount.c

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