[PATCH v6] arm: use built-in byte swap function
From: Kim Phillips
Date: Fri Feb 22 2013 - 20:43:59 EST
On Thu, 21 Feb 2013 22:40:08 -0500
Nicolas Pitre <nico@xxxxxxxxxxx> wrote:
> On Thu, 21 Feb 2013, Kim Phillips wrote:
>
> > Here's the asm version I'm working on now, based on compiler
> > output of the C version. Haven't tested beyond defconfig builds,
> > which pass ok.
> >
> > Is there anything I have to do for thumb mode? If so, how to test?
>
> You just need to pick a config that uses some ARMv7 processor, and
> enable CONFIG_THUMB2_KERNEL. I don't see any problem with your patch
> wrt Thumb2.
ok, I've addressed your comments and tested both pre-armv6 and armv6
+ bswapsi2s on i.mx hardware with CONFIG_CC_OPTIMIZE_FOR_SIZE and
CONFIG_THUMB2_KERNEL set: