[PATCH 1/6] make byte swapping macros less opaque to the optimizer

Keith Packard keithp at keithp.com
Fri May 13 13:43:48 PDT 2011


On Fri, 29 Apr 2011 14:46:23 +0300, Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote:

> And of course, if none of the swapl/swaps/cpswapl/cpswaps are supposed
> to deal with unaligned pointers, then this is not an issue at all.

All of the protocol structures are aligned on 'natural' boundaries;
swaps within those should never be unaligned.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110513/f1d047fe/attachment.pgp>


More information about the xorg-devel mailing list