Re: [U-Boot] [RFC PATCH] ARM: byteorder: add optimized swab16 and swab32

2013-05-10 Thread Wolfgang Denk
Dear Dirk Behme, In message <518d3191.7060...@gmail.com> you wrote: > > > Which compiler are you using? > > An older gcc 4.4.4 version. We should not really care about these. And if so, then onlya fter testing we are really suing such old stuff, i. e. those who are using recent tools (eventuall

Re: [U-Boot] [RFC PATCH] ARM: byteorder: add optimized swab16 and swab32

2013-05-10 Thread Dirk Behme
Am 10.05.2013 18:56, schrieb Måns Rullgård: Dirk Behme writes: Use the specialized ARM instructions for swapping 16 and 32 bit values instead of using the generic ones from include/linux/byteorder/swab.h. The x86 version in arch/x86/include/asm/byteorder.h was taken as an example for this. E

Re: [U-Boot] [RFC PATCH] ARM: byteorder: add optimized swab16 and swab32

2013-05-10 Thread Måns Rullgård
Dirk Behme writes: > Use the specialized ARM instructions for swapping 16 and 32 bit values > instead of using the generic ones from include/linux/byteorder/swab.h. > > The x86 version in arch/x86/include/asm/byteorder.h was taken as an > example for this. > > E.g. for the mx6qsabrelite target th

[U-Boot] [RFC PATCH] ARM: byteorder: add optimized swab16 and swab32

2013-05-10 Thread Dirk Behme
Use the specialized ARM instructions for swapping 16 and 32 bit values instead of using the generic ones from include/linux/byteorder/swab.h. The x86 version in arch/x86/include/asm/byteorder.h was taken as an example for this. E.g. for the mx6qsabrelite target this results in ~4k less code. Sig