Re: [PATCH v7] arm: use built-in byte swap function

From: Kim Phillips
Date: Tue Nov 05 2013 - 16:50:41 EST


On Sat, 26 Oct 2013 22:41:34 -0400
Nicolas Pitre <nico@xxxxxxxxxxx> wrote:

> On Thu, 23 May 2013, Kim Phillips wrote:
>
> > Enable the compiler intrinsic for byte swapping on arch ARM. This
> > allows the compiler to detect and be able to optimize out byte
> > swappings, and has a very modest benefit on vmlinux size (Linaro gcc
> > 4.8):
> >
> > text data bss dec hex filename
> > 2840310 123932 61960 3026202 2e2d1a vmlinux-lart #orig
> > 2840152 123932 61960 3026044 2e2c7c vmlinux-lart #builtin-bswap
> >
> > 6473120 314840 5616016 12403976 bd4508 vmlinux-mxs #orig
> > 6472586 314848 5616016 12403450 bd42fa vmlinux-mxs #builtin-bswap
> >
> > 7419872 318372 379556 8117800 7bde28 vmlinux-imx_v6_v7 #orig
> > 7419170 318364 379556 8117090 7bdb62 vmlinux-imx_v6_v7 #builtin-bswap
> >
> > Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
> > Reviewed-by: Nicolas Pitre <nico@xxxxxxxxxx>
> > Acked-by: David Woodhouse <David.Woodhouse@xxxxxxxxx>
>
> Did this ever go somewhere?
>
> Russell suggested at the time to base it against a mainline kernel
> (since it was patching files which apparently were already patched with
> out-of-tree lz4 patches) and send it to his patch system.

I'll re-base and send it to his patch system.

Thanks,

Kim

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/