Re: Little Endian to Big Endian

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/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help