diff options
author | 2022-08-03 22:53:45 +0100 | |
---|---|---|
committer | 2022-08-06 16:59:51 +0000 | |
commit | 1e9cf89d3667d6342dc08f51d35732af5f41fdd4 (patch) | |
tree | 9ca1c1735427c265df8c54197a154f4e95e8fd03 /compiler/jit/jit_compiler.cc | |
parent | ccf4f91f7768e8ed14a685f5bbbb0bf03e467081 (diff) |
For cortex-a75/a55 validate features with hwcaps.
Pixel3a is wrongly reporting as cortex-a75, it should report kryo360
instead.
Test: ART module on pixel3a
Bug: 241290778
Change-Id: I97e99192298becdf2af6f28e2e31b510f722c4e1
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 7002636d4e..e578d3bf7f 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -85,7 +85,7 @@ void JitCompiler::ParseCompilerOptions() { if (StartsWith(option, "--instruction-set-variant=")) { const char* str = option.c_str() + strlen("--instruction-set-variant="); VLOG(compiler) << "JIT instruction set variant " << str; - instruction_set_features = InstructionSetFeatures::FromVariant( + instruction_set_features = InstructionSetFeatures::FromVariantAndHwcap( instruction_set, str, &error_msg); if (instruction_set_features == nullptr) { LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; |