summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-06-13 18:11:45 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2025-01-27 03:57:15 -0800
commit705809a6019ae118a8e4ec1efd40d62fd6844439 (patch)
tree524a5e0004d597f9506a68c9b0287a8583e0bc37 /build
parent00c7f9fbce1a52ca82dc5ef1f32af5e05904326e (diff)
Add a one-pass baseline compiler for arm64.
Currently handles 50% of methods by supporting methods that: - don't branch - don't have try/catch - don't have float/double - <= 8 registers - opcodes are const/invokes/iget/iput/const-string/new-instance/checkcast. Cost of compilation is 10 times less than current baseline compiler. Performance of generated code: jit-baseline-cc configuration shows no impact on go/lem Test: test.py Change-Id: I8c99b8a8a7552c09c900c5c3e831e8897aef73e5
Diffstat (limited to 'build')
-rw-r--r--build/flags/art-flags.aconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/flags/art-flags.aconfig b/build/flags/art-flags.aconfig
index 38ef3fe5dd..f12b19eba4 100644
--- a/build/flags/art-flags.aconfig
+++ b/build/flags/art-flags.aconfig
@@ -62,3 +62,12 @@ flag {
is_fixed_read_only: true
is_exported: true
}
+
+flag {
+ name: "fast_baseline_compiler"
+ namespace: "art_performance"
+ description: "Flag to enable the fast ARM64 baseline compiler"
+ bug: "384433113"
+ is_fixed_read_only: true
+ is_exported: false
+}