]> git.proxmox.com Git - qemu.git/commit - target-mips/translate.c
target-mips: convert bit shuffle ops to TCG
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 11:47:06 +0000 (11:47 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 11:47:06 +0000 (11:47 +0000)
commit49bcf33cc7c94655c0a48f8de9b3473d29bb6ed0
tree94df6bd0899b13b0e9d5cbc00551bf7472ff1d49
parent505ad7c2ffd1caf82a6789b610bff82b8b6ad472
target-mips: convert bit shuffle ops to TCG

Bit shuffle operations can be written with very few TCG instructions
(between 5 and 8), so it is worth converting them to TCG.

This code also move all bit shuffle generation code to a separate
function in order to have a cleaner exception code path, that is it
doesn't store back the TCG register to the target register after the
exception, as the TCG register doesn't exist anymore.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5679 c046a42c-6fe2-441c-8c8c-71466251a162
target-mips/helper.h
target-mips/op_helper.c
target-mips/translate.c