Lines Matching refs:features
83 uint64_t features = android_getCpuFeatures(); in _cpu_check_features() local
84 arm_cpu_enable_crc32 = !!(features & ANDROID_CPU_ARM64_FEATURE_CRC32); in _cpu_check_features()
85 arm_cpu_enable_pmull = !!(features & ANDROID_CPU_ARM64_FEATURE_PMULL); in _cpu_check_features()
87 uint64_t features = android_getCpuFeatures(); in _cpu_check_features()
88 arm_cpu_enable_crc32 = !!(features & ANDROID_CPU_ARM_FEATURE_CRC32); in _cpu_check_features()
89 arm_cpu_enable_pmull = !!(features & ANDROID_CPU_ARM_FEATURE_PMULL); in _cpu_check_features()
91 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()
92 arm_cpu_enable_crc32 = !!(features & HWCAP_CRC32); in _cpu_check_features()
93 arm_cpu_enable_pmull = !!(features & HWCAP_PMULL); in _cpu_check_features()
96 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
97 arm_cpu_enable_crc32 = !!(features & HWCAP2_CRC32); in _cpu_check_features()
98 arm_cpu_enable_pmull = !!(features & HWCAP2_PMULL); in _cpu_check_features()
100 uint32_t features; in _cpu_check_features()
101 zx_status_t rc = zx_system_get_features(ZX_FEATURE_KIND_CPU, &features); in _cpu_check_features()
102 if (rc != ZX_OK || (features & ZX_ARM64_FEATURE_ISA_ASIMD) == 0) in _cpu_check_features()
104 arm_cpu_enable_crc32 = !!(features & ZX_ARM64_FEATURE_ISA_CRC32); in _cpu_check_features()
105 arm_cpu_enable_pmull = !!(features & ZX_ARM64_FEATURE_ISA_PMULL); in _cpu_check_features()