[Spice-devel] [PATCH spice-protocol 1/2] macros: Use GCC built-ins to swap bytes

Christophe Fergeau cfergeau at redhat.com
Fri Mar 9 15:36:28 UTC 2018


On Fri, Mar 09, 2018 at 01:06:38PM +0000, Frediano Ziglio wrote:
> GCC introduced __builtin_bswapXX intrinsics in a quite old
> version.
> As version 2 and 3 are no more used nowadays instead of manually
> craft these functions using assembly language use the new built-ins.

Oh yes, very happy to see that !

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180309/e4bb8f5d/attachment.sig>


More information about the Spice-devel mailing list