Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavutil/arm/
Dcpu.c51 static int get_hwcap(uint32_t *hwcap) in get_hwcap() argument
62 *hwcap = auxv.a_val; in get_hwcap()
72 static int get_cpuinfo(uint32_t *hwcap) in get_cpuinfo() argument
80 *hwcap = 0; in get_cpuinfo()
84 *hwcap |= HWCAP_EDSP; in get_cpuinfo()
86 *hwcap |= HWCAP_TLS; in get_cpuinfo()
88 *hwcap |= HWCAP_THUMBEE; in get_cpuinfo()
90 *hwcap |= HWCAP_VFP; in get_cpuinfo()
92 *hwcap |= HWCAP_VFPv3; in get_cpuinfo()
94 *hwcap |= HWCAP_NEON; in get_cpuinfo()
[all …]
/third_party/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/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/openssl/crypto/
Darmcap.c174 unsigned long hwcap = getauxval(HWCAP_CE); in OPENSSL_cpuid_setup() local
178 if (hwcap & HWCAP_CE_AES) in OPENSSL_cpuid_setup()
181 if (hwcap & HWCAP_CE_PMULL) in OPENSSL_cpuid_setup()
184 if (hwcap & HWCAP_CE_SHA1) in OPENSSL_cpuid_setup()
187 if (hwcap & HWCAP_CE_SHA256) in OPENSSL_cpuid_setup()
191 if (hwcap & HWCAP_CE_SHA512) in OPENSSL_cpuid_setup()
Dppccap.c340 unsigned long hwcap = getauxval(HWCAP); in OPENSSL_cpuid_setup() local
343 if (hwcap & HWCAP_FPU) { in OPENSSL_cpuid_setup()
348 if (hwcap & HWCAP_PPC64) in OPENSSL_cpuid_setup()
352 if (hwcap & HWCAP_POWER6_EXT) in OPENSSL_cpuid_setup()
357 if (hwcap & HWCAP_ALTIVEC) { in OPENSSL_cpuid_setup()
360 if ((hwcap & HWCAP_VSX) && (hwcap2 & HWCAP_VEC_CRYPTO)) in OPENSSL_cpuid_setup()
/third_party/pixman/pixman/
Dpixman-arm.c150 uint32_t hwcap = aux.a_un.a_val; in detect_cpu_features() local
155 if ((hwcap & 64) != 0) in detect_cpu_features()
157 if ((hwcap & 512) != 0) in detect_cpu_features()
160 if ((hwcap & 4096) != 0) in detect_cpu_features()
DMakefile.am17 solaris-hwcap.mapfile \
/third_party/mindspore/mindspore/lite/src/
Dcpu_info.cc172 uint32_t hwcap = getHwCap(hwcap_type); in ArmIsSupportFp16()
173 if (hwcap & HWCAP_FPHP) { in ArmIsSupportFp16()
174 MS_LOG(DEBUG) << "Hw cap support FP16, hwcap: 0x" << hwcap; in ArmIsSupportFp16()
177 MS_LOG(DEBUG) << "Hw cap NOT support FP16, hwcap: 0x" << hwcap; in ArmIsSupportFp16()
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/base/
Dcommon_wrapper.c28 const uint32_t hwcap = getauxval(hwcap_type); in GetSupportOptFlag() local
29 if (hwcap & HWCAP_ASIMDDP) { in GetSupportOptFlag()
/third_party/mindspore/mindspore/lite/src/common/
Dutils.cc145 uint32_t hwcap = getHwCap(hwcap_type); in IsSupportSDot() local
146 if (hwcap & HWCAP_ASIMDDP) { in IsSupportSDot()
147 MS_LOG(DEBUG) << "Hw cap support SMID Dot Product, hwcap: 0x" << hwcap; in IsSupportSDot()
150 MS_LOG(DEBUG) << "Hw cap NOT support SIMD Dot Product, hwcap: 0x" << hwcap; in IsSupportSDot()
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeS390X.c317 static unsigned long hwcap = 0; in get_hwcap() local
318 if (SLJIT_UNLIKELY(!hwcap)) { in get_hwcap()
319 hwcap = getauxval(AT_HWCAP); in get_hwcap()
320 SLJIT_ASSERT(hwcap != 0); in get_hwcap()
322 return hwcap; in get_hwcap()
/third_party/pixman/
Dconfigure.ac517 HWCAP_LDFLAGS='-Wl,-M,$(srcdir)/solaris-hwcap.mapfile'
518 LDFLAGS="$LDFLAGS -Wl,-M,pixman/solaris-hwcap.mapfile"
/third_party/musl/
Dmusl_src.gni1679 "arch/arm/bits/hwcap.h",
1716 "arch/aarch64/bits/hwcap.h",
1763 "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/gettext/m4/
Dlibtool.m42877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/wayland_standard/m4/
Dlibtool.m42898 …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/eudev/m4/
Dlibtool.m42890 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/libpng/scripts/
Dlibtool.m42877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/node/deps/cares/m4/
Dlibtool.m42876 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/libffi/m4/
Dlibtool.m42880 …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/freetype/builds/unix/
Daclocal.m42882 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/third_party/mtdev/
Daclocal.m42912 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…

12