This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM] Implement __builtin_bswap32() via ARMv6 "rev" instruction
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: "Alexandre Pereira Nunes" <alexandre dot nunes at gmail dot com>
- Date: Mon, 8 Dec 2008 17:01:13 +0000
- Subject: Re: [ARM] Implement __builtin_bswap32() via ARMv6 "rev" instruction
- References: <3b6faf240812080821s60a14c98r9d964f7e8da5426d@mail.gmail.com>
On Monday 08 December 2008, Alexandre Pereira Nunes wrote:
> A patch follows. I didn't take care of the scheduling case the correct
> way, tought (aliased to clz class).
Please read http://gcc.gnu.org/contribute.html
In particular you need a copyright assignment, ChangeLog entry, and testing.
You should also be able to implement bswap16, and while we're here it probably
makes sense to implement an optimized bswap sequence for pre-v6 cores.
Once all that is fixed, patches should be sent to gcc-patches@gcc.gnu.org, not
this list.
Paul