]> git.proxmox.com Git - qemu.git/commit
bswap: Rewrite cpu_to_<endian><type>u with {ld,st}<type>_<endian>_p
authorRichard Henderson <rth@twiddle.net>
Sat, 5 Jan 2013 00:39:30 +0000 (16:39 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 12 Jan 2013 12:24:33 +0000 (12:24 +0000)
commitc732a52d3e3b7ed42d7daa94ba40a83408cd6f22
tree586ab7f97b97beb03a03c2e82db343f6748ffa28
parent612d590ebc6cef179cf5f7823522237e622ab430
bswap: Rewrite cpu_to_<endian><type>u with {ld,st}<type>_<endian>_p

We've now optimized the ld/st versions; reuse that for the "legacy"
versions.  Always use inlines so that we get the type checking that
we expect.

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