]> git.proxmox.com Git - mirror_qemu.git/commit - target-arm/translate.c
target-arm: convert sar, shl and shr helpers to TCG
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 5 Oct 2012 14:04:44 +0000 (15:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Oct 2012 14:04:44 +0000 (15:04 +0100)
commit365af80e47bf150506345cdfbcbf32120f18cdf6
tree6fe81992eb8d77b7fe88aaf20764270efcd8cb70
parent72485ec4f63d86c428f9223fc966bd7d2cc8100c
target-arm: convert sar, shl and shr helpers to TCG

Now that the movcond TCG op is available, it's possible to replace
shl and shr helpers by TCG code. The code generated by TCG is slightly
longer than the code generated by GCC for the helper but is still worth
it as this avoid all the consequences of using an helper: globals saved
back to memory, no possible optimization, call overhead, etc.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.h
target-arm/op_helper.c
target-arm/translate.c