Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/arm/
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 |= HWCAP_VFP; in get_cpuinfo()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dranden_detect.cc146 const uint32_t hwcap = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
147 return (hwcap & kVCRYPTO) != 0; 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/
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 >> 7) & 1; in check_os_altivec_support()
398 unsigned long hwcap = 0; in check_os_arm_support()
[all …]
/third_party/node/deps/openssl/openssl/crypto/
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()
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()
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/
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()
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()
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/
Dauxv.rs58 let mut hwcap = HWCAP.load(Relaxed); in linux_hwcap() localVariable
61 if hwcap == 0 || hwcap2 == 0 { in linux_hwcap()
63 hwcap = HWCAP.load(Relaxed); in linux_hwcap()
67 (hwcap, hwcap2) in linux_hwcap()
195 let mut hwcap = 0; in init_from_auxp() localVariable
209 AT_HWCAP => hwcap = a_val as usize, in init_from_auxp()
229 HWCAP.store(hwcap, Relaxed); in init_from_auxp()
/third_party/rust/crates/rustix/src/backend/libc/param/
Dauxv.rs34 let hwcap = libc_getauxval(c::AT_HWCAP) as usize; in linux_hwcap() localVariable
36 (hwcap, hwcap2) in linux_hwcap()
/third_party/vixl/src/aarch64/
Dcpu-aarch64.cc322 uint64_t hwcap = hwcap_low32 | (hwcap_high32 << 32); in InferCPUFeaturesFromOS() local
326 if (hwcap & (UINT64_C(1) << i)) features.Combine(kFeatureBits[i]); in InferCPUFeaturesFromOS()
/third_party/pcre2/pcre2/src/sljit/
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()
/third_party/musl/
Dmusl_src.gni1813 "arch/arm/bits/hwcap.h",
1850 "arch/aarch64/bits/hwcap.h",
1896 "arch/generic/bits/hwcap.h",
1933 "arch/generic/bits/hwcap.h",
1970 "arch/generic/bits/hwcap.h",
/third_party/skia/third_party/externals/microhttpd/m4/
Dlibtool.m42677 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/node/deps/cares/m4/
Dlibtool.m42896 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/skia/third_party/externals/libpng/scripts/
Dlibtool.m42877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/curl/m4/
Dlibtool.m42896 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/libevdev/m4/
Dlibtool.m42880 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/lame/
Daclocal.m45147 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…