Searched refs:hwcap (Results 1 – 6 of 6) sorted by relevance
47 extern "C" fn_ptr_t hwcap_resolver(uint64_t hwcap, __ifunc_arg_t* arg) in hwcap_resolver() argument49 g_hwcap = hwcap; in hwcap_resolver()58 extern "C" fn_ptr_t hwcap_resolver(unsigned long hwcap) { in hwcap_resolver() argument59 g_hwcap = hwcap; in hwcap_resolver()71 int hwcap() __attribute__((ifunc("hwcap_resolver")));73 TEST(ifunc, hwcap) { in TEST() argument74 ASSERT_EQ(42, hwcap()); in TEST()
34 __attribute__((__unused__)) unsigned long hwcap = getauxval(AT_HWCAP); in TEST() local46 __attribute__((__unused__)) unsigned long hwcap = getauxval(AT_HWCAP2); in TEST() local
53 static unsigned long hwcap; in __bionic_call_ifunc_resolver()57 hwcap = getauxval(AT_HWCAP); in __bionic_call_ifunc_resolver()59 return reinterpret_cast<ifunc_resolver_t>(resolver_addr)(hwcap); in __bionic_call_ifunc_resolver()
35 #define IFUNC_ARGS (uint64_t hwcap __attribute__((unused)), \38 #define IFUNC_ARGS (unsigned long hwcap __attribute__((unused)))
41 #if __has_include(<asm/hwcap.h>)
152 return memmove_resolver(hwcap); in DEFINE_IFUNC_FOR()