qemu-e2k/tcg/arm
Aurelien Jarno 244b1e81f6 tcg/arm: add bswap ops
Add an bswap16 and bswap32 ops, either using the rev and rev16
instructions on ARMv6+ or shifts and logical operations on previous
ARM versions. In both cases the result use less instructions than
the pure TCG version.

These ops are also needed by the qemu_ld/st functions.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-04-19 07:03:02 +02:00
..
tcg-target.c tcg/arm: add bswap ops 2010-04-19 07:03:02 +02:00
tcg-target.h tcg/arm: add bswap ops 2010-04-19 07:03:02 +02:00