r2960: during a lunchtime discussion I found out that all powerpc processors
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Oct 2004 05:26:35 +0000 (05:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:51 +0000 (12:59 -0500)
commit2a0c427c2bf2f8b0739f12c78151b819388c44d4
treed008aefb676710ef58cc9c66959198140cd5ef62
parent2f1e9954e3381b1864a6fd9fa8b2231478179d4d
r2960: during a lunchtime discussion I found out that all powerpc processors
can correctly (and quickly!) handle unaligned little endian memory
accesses, just like i386. This should reduce code size and speeds
things up quite a lot on ppc, at the expense of some inline asm code
(whcih means it only works with gcc)
source/include/byteorder.h