qemu-patch-raspberry4/tcg/arm
Aurelien Jarno 9517094f72 tcg/arm: add ext16u op
Add an ext16u op, either using the uxth instruction on ARMv6+ or two
shifts on previous ARM versions. In both cases the result use the same
number or less instructions than the pure TCG version.

Also move all sign extension code to separate functions, so that they
can be reused in other parts of the code.

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