5df73d02ce
Clang supports specific CPU targeting and optimization for Kryo. This switches us to using the specific Kryo targeting when Clang is used. For other compilers, we fallback to cortex-a57 targeting. Also, move the replaceFirst function to a shared location. Bug: 36728278 Test: Built and booted sailfish, ran bionic unit tests and art tests. Test: Disassembled libc.so before this change and after and looked at Test: the differences. Mostly the results were the order of instructions Test: changing. Test: Verified with the clang person (srhines) that our clang has this support Test: and that it appears to be mostly instruction scheduling changes. Change-Id: I4ee73d8bcc1e4f5eccb162c18937811fe199b16f Signed-off-by: Alex Naidis <alex.naidis@linux.com> |
||
---|---|---|
.. | ||
arm64_device.go | ||
arm_device.go | ||
clang.go | ||
global.go | ||
mips64_device.go | ||
mips_device.go | ||
tidy.go | ||
tidy_test.go | ||
toolchain.go | ||
x86_64_device.go | ||
x86_darwin_host.go | ||
x86_device.go | ||
x86_linux_bionic_host.go | ||
x86_linux_host.go | ||
x86_windows_host.go |