Home
last modified time | relevance | path

Searched refs:hwcap (Results 1 – 7 of 7) sorted by relevance

/bionic/tests/
Difunc_test.cpp47 extern "C" fn_ptr_t hwcap_resolver(uint64_t hwcap, __ifunc_arg_t* arg) in hwcap_resolver() argument
49 g_hwcap = hwcap; in hwcap_resolver()
58 extern "C" fn_ptr_t hwcap_resolver(unsigned long hwcap) { in hwcap_resolver() argument
59 g_hwcap = hwcap; in hwcap_resolver()
73 extern "C" fn_ptr_t hwcap_resolver(uint64_t hwcap, __riscv_hwprobe_t hwprobe_ptr, void* null) { in hwcap_resolver() argument
74 g_hwcap = hwcap; in hwcap_resolver()
91 int hwcap() __attribute__((ifunc("hwcap_resolver")));
93 TEST(ifunc, hwcap) { in TEST() argument
94 ASSERT_EQ(42, hwcap()); in TEST()
Dsys_auxv_test.cpp34 __attribute__((__unused__)) unsigned long hwcap = getauxval(AT_HWCAP); in TEST() local
46 __attribute__((__unused__)) unsigned long hwcap = getauxval(AT_HWCAP2); in TEST() local
/bionic/libc/bionic/
Dbionic_call_ifunc_resolver.cpp54 static unsigned long hwcap = getauxval(AT_HWCAP); in __bionic_call_ifunc_resolver()
55 return reinterpret_cast<ifunc_resolver_t>(resolver_addr)(hwcap); in __bionic_call_ifunc_resolver()
61 static uint64_t hwcap = getauxval(AT_HWCAP); in __bionic_call_ifunc_resolver()
62 return reinterpret_cast<ifunc_resolver_t>(resolver_addr)(hwcap, __riscv_hwprobe, nullptr); in __bionic_call_ifunc_resolver()
/bionic/libc/private/
Dbionic_ifuncs.h35 #define IFUNC_ARGS (uint64_t hwcap __attribute__((unused)), \
38 #define IFUNC_ARGS (unsigned long hwcap __attribute__((unused)))
/bionic/libc/include/bits/
Dauxvec.h41 #if __has_include(<asm/hwcap.h>)
/bionic/libc/arch-arm64/
Ddynamic_function_dispatch.cpp33 static inline bool __bionic_is_oryon(unsigned long hwcap) { in __bionic_is_oryon() argument
34 if (!(hwcap & HWCAP_CPUID)) return false; in __bionic_is_oryon()
/bionic/libc/arch-arm/
Ddynamic_function_dispatch.cpp152 return memmove_resolver(hwcap); in DEFINE_IFUNC_FOR()