platform_build_soong/cc/config
Alex Naidis 5df73d02ce Make use of specific Kryo targeting in Clang
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>
2017-04-06 14:35:44 -07:00
..
arm64_device.go Make use of specific Kryo targeting in Clang 2017-04-06 14:35:44 -07:00
arm_device.go Make use of specific Kryo targeting in Clang 2017-04-06 14:35:44 -07:00
clang.go Fix absolute paths in clang debug output 2017-03-27 16:58:43 -07:00
global.go Make use of specific Kryo targeting in Clang 2017-04-06 14:35:44 -07:00
mips64_device.go Dynamically generate arch struct 2016-09-08 13:50:36 -07:00
mips_device.go Dynamically generate arch struct 2016-09-08 13:50:36 -07:00
tidy.go Allow overriding tidy configs using environment variables 2016-11-02 15:47:20 -07:00
tidy_test.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
toolchain.go Export TSAN_RUNTIME_LIBRARY make variable 2017-03-27 11:29:52 -07:00
x86_64_device.go Support .asm files for assembly 2016-12-02 21:12:30 -08:00
x86_darwin_host.go Always use the standard OSX SDK tools 2017-03-13 12:40:30 -07:00
x86_device.go Support .asm files for assembly 2016-12-02 21:12:30 -08:00
x86_linux_bionic_host.go Add LinuxBionic toolchain and switch 2017-03-15 14:18:42 -07:00
x86_linux_host.go Add Toolchain.Bionic() 2016-11-17 01:50:43 -08:00
x86_windows_host.go Enable large-address-aware for 32-bit windows 2017-03-14 13:37:26 -07:00