Home
last modified time | relevance | path

Searched refs:hwcap (Results 1 - 22 of 22) sorted by relevance

/third_party/ffmpeg/libavutil/arm/
H A Dcpu.c55 static int get_auxval(uint32_t *hwcap) in get_auxval() argument
61 *hwcap = ret; in get_auxval()
68 static int get_hwcap(uint32_t *hwcap) in get_hwcap() argument
79 *hwcap = auxv.a_val; in get_hwcap()
89 static int get_cpuinfo(uint32_t *hwcap) in get_cpuinfo() argument
97 *hwcap = 0; in get_cpuinfo()
101 *hwcap |= HWCAP_EDSP; in get_cpuinfo()
103 *hwcap |= HWCAP_TLS; in get_cpuinfo()
105 *hwcap |= HWCAP_THUMBEE; in get_cpuinfo()
107 *hwcap | in get_cpuinfo()
124 uint32_t hwcap; ff_get_cpu_flags_arm() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dranden_detect.cc146 const uint32_t hwcap = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
147 return (hwcap & kVCRYPTO) != 0; in CPUSupportsRandenHwAes()
152 // Uses Linux kernel constants from arch/arm64/include/asm/hwcap.h in CPUSupportsRandenHwAes()
154 uint32_t hwcap = GetAuxval(AT_HWCAP); in CPUSupportsRandenHwAes()
155 if ((hwcap & kNEON) == 0) { in CPUSupportsRandenHwAes()
169 const uint32_t hwcap = GetAuxval(AT_HWCAP); in CPUSupportsRandenHwAes()
170 return ((hwcap & kNEON) != 0) && ((hwcap & kAES) != 0); in CPUSupportsRandenHwAes()
/third_party/mesa3d/src/util/
H A Du_cpu_detect.c150 unsigned long hwcap = 0; in check_os_altivec_support() local
152 elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); in check_os_altivec_support()
154 size_t len = sizeof(hwcap); in check_os_altivec_support()
155 sysctlbyname("hw.cpu_features", &hwcap, &len, NULL, 0); in check_os_altivec_support()
157 if (hwcap & PPC_FEATURE_HAS_ALTIVEC) in check_os_altivec_support()
159 if (hwcap & PPC_FEATURE_HAS_VSX) in check_os_altivec_support()
172 uint64_t hwcap = aux.a_un.a_val; in check_os_altivec_support() local
173 util_cpu_caps.has_altivec = (hwcap >> 28) & 1; in check_os_altivec_support()
175 util_cpu_caps.has_vsx = (hwcap >> in check_os_altivec_support()
449 uint64_t hwcap = aux.a_un.a_val; check_os_mips64_support() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Darmcap.c191 unsigned long hwcap = getauxval(HWCAP_CE); in OPENSSL_cpuid_setup() local
195 if (hwcap & HWCAP_CE_AES) in OPENSSL_cpuid_setup()
198 if (hwcap & HWCAP_CE_PMULL) in OPENSSL_cpuid_setup()
201 if (hwcap & HWCAP_CE_SHA1) in OPENSSL_cpuid_setup()
204 if (hwcap & HWCAP_CE_SHA256) in OPENSSL_cpuid_setup()
208 if (hwcap & HWCAP_CE_SHA512) in OPENSSL_cpuid_setup()
211 if (hwcap & HWCAP_CPUID) in OPENSSL_cpuid_setup()
H A Dppccap.c218 unsigned long hwcap = getauxval(HWCAP); in OPENSSL_cpuid_setup() local
221 if (hwcap & HWCAP_FPU) { in OPENSSL_cpuid_setup()
226 if (hwcap & HWCAP_PPC64) in OPENSSL_cpuid_setup()
230 if (hwcap & HWCAP_POWER6_EXT) in OPENSSL_cpuid_setup()
235 if (hwcap & HWCAP_ALTIVEC) { in OPENSSL_cpuid_setup()
238 if ((hwcap & HWCAP_VSX) && (hwcap2 & HWCAP_VEC_CRYPTO)) in OPENSSL_cpuid_setup()
H A Ds390xcap.c92 const unsigned long hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup() local
95 if (hwcap & HWCAP_S390_STFLE) in OPENSSL_cpuid_setup()
99 if (!(hwcap & HWCAP_S390_VX)) { in OPENSSL_cpuid_setup()
/third_party/openssl/crypto/
H A Darmcap.c191 unsigned long hwcap = getauxval(HWCAP_CE); in OPENSSL_cpuid_setup() local
195 if (hwcap & HWCAP_CE_AES) in OPENSSL_cpuid_setup()
198 if (hwcap & HWCAP_CE_PMULL) in OPENSSL_cpuid_setup()
201 if (hwcap & HWCAP_CE_SHA1) in OPENSSL_cpuid_setup()
204 if (hwcap & HWCAP_CE_SHA256) in OPENSSL_cpuid_setup()
208 if (hwcap & HWCAP_CE_SHA512) in OPENSSL_cpuid_setup()
211 if (hwcap & HWCAP_CPUID) in OPENSSL_cpuid_setup()
H A Dppccap.c218 unsigned long hwcap = getauxval(HWCAP); in OPENSSL_cpuid_setup() local
221 if (hwcap & HWCAP_FPU) { in OPENSSL_cpuid_setup()
226 if (hwcap & HWCAP_PPC64) in OPENSSL_cpuid_setup()
230 if (hwcap & HWCAP_POWER6_EXT) in OPENSSL_cpuid_setup()
235 if (hwcap & HWCAP_ALTIVEC) { in OPENSSL_cpuid_setup()
238 if ((hwcap & HWCAP_VSX) && (hwcap2 & HWCAP_VEC_CRYPTO)) in OPENSSL_cpuid_setup()
H A Ds390xcap.c92 const unsigned long hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup() local
95 if (hwcap & HWCAP_S390_STFLE) in OPENSSL_cpuid_setup()
99 if (!(hwcap & HWCAP_S390_VX)) { in OPENSSL_cpuid_setup()
/third_party/rust/crates/rustix/src/backend/linux_raw/param/
H A Dauxv.rs58 let mut hwcap = HWCAP.load(Relaxed); variables
61 if hwcap == 0 || hwcap2 == 0 {
63 hwcap = HWCAP.load(Relaxed);
67 (hwcap, hwcap2)
195 let mut hwcap = 0; in init_from_auxp() variables
209 AT_HWCAP => hwcap = a_val as usize, in init_from_auxp()
229 HWCAP.store(hwcap, Relaxed); in init_from_auxp()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dauxv.h9 #include <bits/hwcap.h>
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dauxv.h9 #include <bits/hwcap.h>
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dauxv.h9 #include <bits/hwcap.h>
/third_party/musl/include/sys/
H A Dauxv.h9 #include <bits/hwcap.h>
/third_party/skia/third_party/externals/libpng/contrib/arm-neon/
H A Dlinux-auxv.c32 #include <asm/hwcap.h>
/third_party/node/deps/v8/third_party/zlib/
H A Dcpu_features.c41 #include <asm/hwcap.h>
/third_party/skia/third_party/externals/zlib/
H A Dcpu_features.c41 #include <asm/hwcap.h>
/third_party/node/deps/zlib/
H A Dcpu_features.c45 #include <asm/hwcap.h>
/third_party/vixl/src/aarch64/
H A Dcpu-aarch64.cc367 auto combine_features = [&features](uint64_t hwcap, in InferCPUFeaturesFromOS()
371 if (hwcap & (UINT64_C(1) << i)) features.Combine(feature_array[i]); in InferCPUFeaturesFromOS()
/third_party/lzma/C/
H A DCpuArch.c769 #include <asm/hwcap.h>
/third_party/lzma/CPP/Windows/
H A DSystemInfo.cpp40 #include <asm/hwcap.h>
683 s.Add_OptSpaced("hwcap:"); in AddCpuFeatures()
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativeS390X.c375 static unsigned long hwcap = 0; in get_hwcap() local
376 if (SLJIT_UNLIKELY(!hwcap)) { in get_hwcap()
377 hwcap = getauxval(AT_HWCAP); in get_hwcap()
378 SLJIT_ASSERT(hwcap != 0); in get_hwcap()
380 return hwcap; in get_hwcap()

Completed in 14 milliseconds