Source-Changes archive

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

CVS commit: [netbsd-9] src



Module Name:    src
Committed By:   martin
Date:           Sun Dec  8 13:23:23 UTC 2019

Modified Files:
        src/common/lib/libc/hash/murmurhash [netbsd-9]: murmurhash.c
        src/sys/arch/amd64/include [netbsd-9]: param.h
        src/sys/arch/i386/include [netbsd-9]: param.h
        src/sys/sys [netbsd-9]: param.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #505):

        common/lib/libc/hash/murmurhash/murmurhash.c: revision 1.7
        common/lib/libc/hash/murmurhash/murmurhash.c: revision 1.8
        sys/sys/param.h: revision 1.610
        sys/arch/amd64/include/param.h: revision 1.31
        sys/arch/i386/include/param.h: revision 1.85

New macro ALIGNED_POINTER_LOAD.

To be used with ALIGNED_POINTER(p,t) instead of writing *(const t *)p
directly.  This way, on machines without strict alignment, we can use
memcpy to pacify sanitizers, while getting the same compiled code in
the end with a single (say) MOV instruction.

Fix byte order bug in murmurhash and pacify sanitizers.
add now required includes for memcpy prototypes analogue to other hash functions
(fix the build)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.28.1 \
    src/common/lib/libc/hash/murmurhash/murmurhash.c
cvs rdiff -u -r1.30 -r1.30.4.1 src/sys/arch/amd64/include/param.h
cvs rdiff -u -r1.84 -r1.84.4.1 src/sys/arch/i386/include/param.h
cvs rdiff -u -r1.599.2.2 -r1.599.2.3 src/sys/sys/param.h

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