Searched refs:hwcap (Results 1 – 1 of 1) sorted by relevance
160 unsigned long hwcap = 0; in check_os_altivec_support() local162 elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); in check_os_altivec_support()164 size_t len = sizeof(hwcap); in check_os_altivec_support()165 sysctlbyname("hw.cpu_features", &hwcap, &len, NULL, 0); in check_os_altivec_support()167 if (hwcap & PPC_FEATURE_HAS_ALTIVEC) in check_os_altivec_support()169 if (hwcap & PPC_FEATURE_HAS_VSX) in check_os_altivec_support()182 uint64_t hwcap = aux.a_un.a_val; in check_os_altivec_support() local183 util_cpu_caps.has_altivec = (hwcap >> 28) & 1; in check_os_altivec_support()185 util_cpu_caps.has_vsx = (hwcap >> 7) & 1; in check_os_altivec_support()410 unsigned long hwcap = 0; in check_os_arm_support()[all …]