This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC, patch] implement __builtin_bswap
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Eric Christopher <echristo at apple dot com>
- Date: Tue, 11 Jul 2006 21:13:53 +0100
- Subject: Re: [RFC, patch] implement __builtin_bswap
- References: <44B30440.2080607@apple.com>
On Tuesday 11 July 2006 02:52, Eric Christopher wrote:
> This patch appears to implement all of builtin_bswap for SI and DImodes.
>
> Thoughts? OK for 4.3? Other feedback?
It might be useful to have __builtin_bswap{16,32,64}. My guess is that most
uses are dealing with data of a fixed size rather than int/long.
Paul