Re: Little Endian to Big Endian
From: <hidden>
Date: 2001-02-11 01:25:11
From: <hidden>
Date: 2001-02-11 01:25:11
Naushit,
I am in need to write most efficint little endian to big endian conversion function. I know it can be done best in assembly with one instruction. can somebody tell me what instruction will do that?
Maybe you want to got to linux/inlcude/asm-ppc/byteorder.h in the kernel source and take a loot at the __arch__swab Boas Betzler, IBM Linux Technology Center embedded Linux ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/