platform_bionic/libc/arch-arm
Haibo Huang 73ad790ebe [ifunc] Use c implementation to compare cpu variant names
Did this for fun but turns out it generates better assembly code.

With a C implementation, compiler can expand both the comparison
loop and cpu_variant_names array. Results in a decision tree like
structure. For example the "cortex-a" prefix common in many variants
will only be compared once.

Test: run bionic unit tests.
Test: use debugger to check which variant is used.
Change-Id: Id70e5536f968161f20b18f35d46430457c338f0f
2018-11-30 07:56:22 +00:00
..
bionic Remove workarounds for old versions of clang and GCC. 2018-07-11 13:18:29 -07:00
cortex-a7/bionic Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00
cortex-a9/bionic Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00
cortex-a15/bionic Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00
cortex-a53/bionic Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00
denver/bionic Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00
generic/bionic Arm32 dynamic function dispatch 2018-11-26 20:00:55 +00:00
krait/bionic Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00
kryo/bionic Arm32 dynamic function dispatch 2018-11-26 20:00:55 +00:00
syscalls Fix SYSCALLS.TXT now clock_getres comes from the vdso. 2017-12-11 11:40:40 -08:00
dynamic_function_dispatch.cpp [ifunc] Use c implementation to compare cpu variant names 2018-11-30 07:56:22 +00:00
static_function_dispatch.S Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00