From owner-svn-src-all@FreeBSD.ORG Fri Mar 9 16:11:57 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 568731065672; Fri, 9 Mar 2012 16:11:57 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by mx1.freebsd.org (Postfix) with ESMTP id 8235B8FC14; Fri, 9 Mar 2012 16:11:56 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EADUrWk9bsWTD/2dsb2JhbABDtTGBCIIKAQEFViMQCxguOR4GE4gOuyGQWgSlZYJk Received: from 195.100-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.100.195]) by relay.skynet.be with ESMTP; 09 Mar 2012 17:11:48 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.5/8.14.5) with ESMTP id q29GBlk2004248; Fri, 9 Mar 2012 17:11:47 +0100 (CET) (envelope-from tijl@freebsd.org) From: Tijl Coosemans To: Ed Schouten Date: Fri, 9 Mar 2012 17:11:41 +0100 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.3; i386; ; ) References: <201203091148.q29BmuIp005151@svn.freebsd.org> <20120309154707.GB27469@hoeg.nl> In-Reply-To: <20120309154707.GB27469@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1552931.9rx4fqYbL6"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201203091711.45604.tijl@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r232721 - head/sys/x86/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 16:11:57 -0000 --nextPart1552931.9rx4fqYbL6 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Friday 09 March 2012 16:47:07 Ed Schouten wrote: > * Tijl Coosemans , 20120309 12:48: >> Clean up x86 endian.h: >=20 > Wouldn't it be possible to simply place these macros in > and only let define the assembly versions for the > non-constant cases? Several things could be moved to sys, not just endian.h, but I'd like to finish merging amd64/i386 headers first. Also, for clang and gcc >=3D 4.3 it's better to use __builtin_bswapNN(x), because it can use movbe rather than mov+bswap when x is a memory operand. --nextPart1552931.9rx4fqYbL6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EABEIAAYFAk9aK8EACgkQfoCS2CCgtisQSgD/bSh41FegN7GHd4WS5+iDrzdD l3yIqGbg7l7kX9j4E18A/jZsccCrNAkYFJeqzyVz7H82/8e2tVZ+u+ePDEi2BqOc =GTf0 -----END PGP SIGNATURE----- --nextPart1552931.9rx4fqYbL6--