From owner-svn-src-projects@FreeBSD.ORG Mon Apr 28 17:41:25 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E28B2299; Mon, 28 Apr 2014 17:41:25 +0000 (UTC) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5DBE1A60; Mon, 28 Apr 2014 17:41:25 +0000 (UTC) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1WepYI-000Pwt-L8; Mon, 28 Apr 2014 18:41:23 +0100 Subject: Re: svn commit: r265045 - projects/random_number_generator/sys/dev/random Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F24A0AD0-F108-4637-B442-1508AB59B871"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Mark R V Murray In-Reply-To: <2404556.5ed5qdM2Fl@ralph.baldwin.cx> Date: Mon, 28 Apr 2014 18:41:38 +0100 Message-Id: <369E19F8-5694-4AF8-97EF-4F691FD52C5D@FreeBSD.org> References: <201404280751.s3S7p8Sg008554@svn.freebsd.org> <2404556.5ed5qdM2Fl@ralph.baldwin.cx> To: John Baldwin X-Mailer: Apple Mail (2.1874) X-SA-Score: -1.0 Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 17:41:26 -0000 --Apple-Mail=_F24A0AD0-F108-4637-B442-1508AB59B871 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 28 Apr 2014, at 14:12, John Baldwin wrote: > On Monday, April 28, 2014 07:51:08 AM Mark Murray wrote: >> -#if !defined(__arm__) && !defined(__mips__) && !defined(__i386__) && >> !defined(__pc98__) +#if !defined(__arm__) && !defined(__mips__) && >> !defined(__i386__) && !defined(__pc98__) && !defined(__powerpc__) /* = We do >> have an inbuilt __uint128_t type */ >=20 > A better test would be to use >=20 > #ifdef __SIZEOF_INT128__ >=20 > instead of listing architectures. (Especially given it might be true = on > a given platform based on compiler options like -march.) This is what > Boost uses to detect a native 128-bit integer and works with both GCC = and > clang. Thank you! This was on my =93to-ask=94 list. M --=20 Mark R V Murray --Apple-Mail=_F24A0AD0-F108-4637-B442-1508AB59B871 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - http://gpgtools.org iQCVAwUBU16S1t58vKOKE6LNAQrZSwP+IG8Riv12J3g7nHaYdqLEQvEv5Opx2Q4S UoFXVM5Er4gafRo3MdcaCoKcp/HN2QINK68PCEGs3a7mbaeccRcsK/MC2sNb8IVV Tu+rD0vbnu94Z+X5rs9Qs0bEPDUXvZAxGDGu+c7itOcgbbj+e8hwGQLS1xkCZl8M BraWujIveg4= =MXkW -----END PGP SIGNATURE----- --Apple-Mail=_F24A0AD0-F108-4637-B442-1508AB59B871--