-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ART: Enable ISA features run-time detection for ARM64
On a target run-time detected ISA features can be more accurate than instruction set features based on a build-time information such as an instruction set variant or C++ defines. Build-time based features can be too generic and do not include all features a target CPU supports. This CL enables instruction feature run-time detection in the JIT/AOT compilers: - The value "runtime" to the option "--instruction-set-features" to try to detect CPU features at run time. If a target does not support run-time detection it has the same effect as the value "default". - Runtime uses "--instruction-set-features=runtime" if run-time detection is supported. The CL also cleans up how an instruction set feature string is processed by InstructionSetFeatures::AddFeaturesFromString. It used to make redundant uses of Trim in subclasses. The calls are replaced with DCHECKs verifying that feature names are already trimmed. Test: m test-art-target-gtest Test: m test-art-host-gtest Test: art/test.py --target --optimizing --interpreter --jit Test: art/test.py --host --optimizing --interpreter --jit Test: Pixel 3 UI booted Change-Id: I223d5bc968d589dba5c09f6b03ee8c25987610b0
- Loading branch information
xueliang.zhong
authored and
Evgeny Astigeevich
committed
Jan 30, 2019
1 parent
5247113
commit 7f88c1a
Showing
14 changed files
with
361 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.