summaryrefslogtreecommitdiffstats
path: root/runtime/globals.h
diff options
context:
space:
mode:
authorZheng Xu <zheng.xu@arm.com>2014-10-23 18:29:55 +0800
committerIan Rogers <irogers@google.com>2014-10-24 16:27:22 -0700
commit5667fdbb6e441dee7534ade18b628ed396daf593 (patch)
treea06fe0a79b3465571556d13f509daf1f664fc614 /runtime/globals.h
parentb62ff579cd870b0bf213765b07d7b404d15ece7b (diff)
downloadart-5667fdbb6e441dee7534ade18b628ed396daf593.zip
art-5667fdbb6e441dee7534ade18b628ed396daf593.tar.gz
art-5667fdbb6e441dee7534ade18b628ed396daf593.tar.bz2
ARM: Use hardfp calling convention between java to java call.
This patch default to use hardfp calling convention. Softfp can be enabled by setting kArm32QuickCodeUseSoftFloat to true. We get about -1 ~ +5% performance improvement with different benchmark tests. Hopefully, we should be able to get more performance by address the left TODOs, as some part of the code takes the original assumption which is not optimal. DONE: 1. Interpreter to quick code 2. Quick code to interpreter 3. Transition assembly and callee-saves 4. Trampoline(generic jni, resolution, invoke with access check and etc.) 5. Pass fp arg reg following aapcs(gpr and stack do not follow aapcs) 6. Quick helper assembly routines to handle ABI differences 7. Quick code method entry 8. Quick code method invocation 9. JNI compiler TODO: 10. Rework ArgMap, FlushIn, GenDalvikArgs and affected common code. 11. Rework CallRuntimeHelperXXX(). Change-Id: I9965d8a007f4829f2560b63bcbbde271bdcf6ec2
Diffstat (limited to 'runtime/globals.h')
-rw-r--r--runtime/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/globals.h b/runtime/globals.h
index b7bd44d..4d33196 100644
--- a/runtime/globals.h
+++ b/runtime/globals.h
@@ -112,6 +112,8 @@ static constexpr TraceClockSource kDefaultTraceClockSource = kTraceClockSourceWa
static constexpr bool kDefaultMustRelocate = true;
+static constexpr bool kArm32QuickCodeUseSoftFloat = false;
+
} // namespace art
#endif // ART_RUNTIME_GLOBALS_H_