summaryrefslogtreecommitdiff
path: root/target-arm/helper.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-10-05 15:04:44 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-10-05 15:04:44 +0100
commit72485ec4f63d86c428f9223fc966bd7d2cc8100c (patch)
tree7496948a3221bc95b15733b99c883b64b9138f2d /target-arm/helper.h
parent66c374de8a949062bfb1792f7e685a168c61c416 (diff)
downloadqemu-72485ec4f63d86c428f9223fc966bd7d2cc8100c.tar.gz
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>
Diffstat (limited to 'target-arm/helper.h')
-rw-r--r--target-arm/helper.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-arm/helper.h b/target-arm/helper.h
index afdb2b5b1a..7151e28d4b 100644
--- a/target-arm/helper.h
+++ b/target-arm/helper.h
@@ -142,9 +142,7 @@ DEF_HELPER_2(recpe_u32, i32, i32, env)
DEF_HELPER_2(rsqrte_u32, i32, i32, env)
DEF_HELPER_5(neon_tbl, i32, env, i32, i32, i32, i32)
-DEF_HELPER_3(add_cc, i32, env, i32, i32)
DEF_HELPER_3(adc_cc, i32, env, i32, i32)
-DEF_HELPER_3(sub_cc, i32, env, i32, i32)
DEF_HELPER_3(sbc_cc, i32, env, i32, i32)
DEF_HELPER_3(shl, i32, env, i32, i32)