Little-endian PowerPC
Little-endian PowerPC
Posted Oct 7, 2010 13:11 UTC (Thu) by jengelh (subscriber, #33263)In reply to: Little-endian PowerPC by etienne
Parent article: Little-endian PowerPC
>Not all the fields, just the 32 bits fields - while the 16 bits fields have to be rotated by 8
Well, for 32-bit fields you use "BSWAP reg32" instruction, for 16 bit you use "ROR reg16, 8", so for simplicity of the argument, it is equally costly.
But my point was that BE CPUs need not do either of these for most networking protocols.
