]> git.proxmox.com Git - qemu.git/commit
target-arm: convert add_cc and sub_cc 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)
commit72485ec4f63d86c428f9223fc966bd7d2cc8100c
tree7496948a3221bc95b15733b99c883b64b9138f2d
parent66c374de8a949062bfb1792f7e685a168c61c416
target-arm: convert add_cc and sub_cc helpers to TCG

Now that the setcond TCG op is available, it's possible to replace
add_cc and sub_cc helpers by TCG code. The code generated by TCG is
actually very close to the one generated by GCC for the helper, and
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