]> Git Repo - qemu.git/commit
tcg/arm: add ext16u op
authorAurelien Jarno <[email protected]>
Fri, 9 Apr 2010 18:52:48 +0000 (20:52 +0200)
committerAurelien Jarno <[email protected]>
Mon, 19 Apr 2010 05:03:02 +0000 (07:03 +0200)
commit9517094f720097b51854ef458ffb1971720dddfa
tree0b9c04e908d799fdc171887f0925fcfe68dcdce7
parent293579e55c40d78353ecd3e48d67f744ba579c12
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 <[email protected]>
tcg/arm/tcg-target.c
tcg/arm/tcg-target.h
This page took 0.024907 seconds and 4 git commands to generate.