bswap: Rewrite all ld<type>_<endian>_p functions
commit612d590ebc6cef179cf5f7823522237e622ab430
authorRichard Henderson <rth@twiddle.net>
Sat, 5 Jan 2013 00:39:29 +0000 (4 16:39 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 12 Jan 2013 12:24:24 +0000 (12 12:24 +0000)
tree564d112916da19ce571b8c69cf13a70dae4f31ec
parent7db2145a6826b14efceb8dd64bfe6ad8647072eb
bswap: Rewrite all ld<type>_<endian>_p functions

Use the new host endian unaligned access functions instead of
open coding byte-by-byte references.  Remove assembly special
cases for i386 and ppc -- we've now exposed the operation to
the compiler sufficiently for these to be optimized automatically.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
include/qemu/bswap.h