[parisc-linux] byte swapping redux

Grant Grundler grundler@parisc-linux.org
Sun, 29 Jun 2003 12:33:13 -0600


On Sun, Jun 29, 2003 at 12:14:15PM -0600, Grant Grundler wrote:
> #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
> #  define __BYTEORDER_HAS_U64__
> #  define __SWAB_64_THRU_32__
> #endif
> 
> vs include/asm-sparc64/byeorder.h:
> #define __BYTEORDER_HAS_U64__

BTW, I forgot to mention parisc is picking generic 64-bit swap macros.
Instead of 4 cycles, we are talking 30 or so.

grant