Received: by mail.netbsd.org (Postfix, from userid 605) id 43EB384DAC; Sun, 8 Dec 2019 13:23:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id ABDBD84D90 for ; Sun, 8 Dec 2019 13:23:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id bOMhZsBWz-CQ for ; Sun, 8 Dec 2019 13:23:24 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0A14984D64 for ; Sun, 8 Dec 2019 13:23:24 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 02BB7FA97; Sun, 8 Dec 2019 13:23:24 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 8 Dec 2019 13:23:23 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-9] src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191208132324.02BB7FA97@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Martin Husemann" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: 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.