Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/
H A Dmrs.inc17 if (hwcap & HWCAP_CRC32)
19 if (hwcap & HWCAP_PMULL)
21 if (hwcap & HWCAP_FLAGM)
27 if (hwcap & HWCAP_SM3 && hwcap & HWCAP_SM4)
37 if (hwcap & HWCAP_DIT)
43 if (hwcap & HWCAP_AES)
45 if (hwcap & HWCAP_SHA1)
47 if (hwcap & HWCAP_SHA2)
51 if (hwcap & HWCAP_FCMA)
53 if (hwcap & HWCAP_SB)
[all …]
H A Dfreebsd.inc1 void __init_cpu_features_resolver(unsigned long hwcap,
6 __init_cpu_features_constructor(hwcap, arg);
10 unsigned long hwcap = 0;
17 res = elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap);
24 arg._hwcap = hwcap;
26 __init_cpu_features_constructor(hwcap | _IFUNC_ARG_HWCAP, &arg);
H A Dsysauxv.inc1 void __init_cpu_features_resolver(unsigned long hwcap,
5 __init_cpu_features_constructor(hwcap, arg);
13 unsigned long hwcap = getauxval(AT_HWCAP);
18 arg._hwcap = hwcap;
20 __init_cpu_features_constructor(hwcap | _IFUNC_ARG_HWCAP, &arg);
H A Dandroid.inc1 void __init_cpu_features_resolver(unsigned long hwcap,
15 __init_cpu_features_constructor(hwcap, arg);
28 unsigned long hwcap = getauxval(AT_HWCAP);
33 arg._hwcap = hwcap;
35 __init_cpu_features_constructor(hwcap | _IFUNC_ARG_HWCAP, &arg);
H A Dunimplemented.inc5 void __init_cpu_features_resolver(unsigned long hwcap,
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterFlagsLinux_arm64.cpp28 LinuxArm64RegisterFlags::DetectSVCRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectSVCRFields() argument
29 (void)hwcap; in DetectSVCRFields()
42 (void)hwcap; in DetectMTECtrlFields()
54 LinuxArm64RegisterFlags::DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectFPCRFields() argument
62 if ((hwcap & HWCAP_FPHP) && (hwcap & HWCAP_ASIMDHP)) in DetectFPCRFields()
90 LinuxArm64RegisterFlags::DetectFPSRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectFPSRFields() argument
92 (void)hwcap; in DetectFPSRFields()
110 LinuxArm64RegisterFlags::DetectCPSRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectCPSRFields() argument
123 if (hwcap & HWCAP_DIT) in DetectCPSRFields()
135 if (hwcap & HWCAP_SSBS) in DetectCPSRFields()
[all …]
H A DRegisterFlagsLinux_arm64.h43 void DetectFields(uint64_t hwcap, uint64_t hwcap2);
58 static Fields DetectCPSRFields(uint64_t hwcap, uint64_t hwcap2);
59 static Fields DetectFPSRFields(uint64_t hwcap, uint64_t hwcap2);
60 static Fields DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2);
61 static Fields DetectMTECtrlFields(uint64_t hwcap, uint64_t hwcap2);
62 static Fields DetectSVCRFields(uint64_t hwcap, uint64_t hwcap2);
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dsimd.h497 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_neon_available() local
498 return (hwcap & HWCAP_NEON); in zfs_neon_available()
507 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha256_available() local
508 return (hwcap & HWCAP2_SHA2); in zfs_sha256_available()
528 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_neon_available() local
529 return (hwcap & HWCAP_FP); in zfs_neon_available()
539 return (hwcap & HWCAP_SHA2); in zfs_sha256_available()
549 return (hwcap & HWCAP_SHA512); in zfs_sha512_available()
567 return (hwcap & PPC_FEATURE_HAS_ALTIVEC); in zfs_altivec_available()
574 return (hwcap & PPC_FEATURE_HAS_VSX); in zfs_vsx_available()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/
H A Dfreebsd.inc2 unsigned long hwcap;
3 int result = elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap);
4 __aarch64_have_lse_atomics = result == 0 && (hwcap & HWCAP_ATOMICS) != 0;
H A Dsysauxv.inc4 unsigned long hwcap = getauxval(AT_HWCAP);
5 __aarch64_have_lse_atomics = (hwcap & HWCAP_ATOMICS) != 0;
H A Dandroid.inc12 unsigned long hwcap = getauxval(AT_HWCAP);
13 _Bool result = (hwcap & HWCAP_ATOMICS) != 0;
/freebsd/crypto/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.c222 unsigned long hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup() local
225 if (hwcap & HWCAP_FPU) { in OPENSSL_cpuid_setup()
230 if (hwcap & HWCAP_PPC64) in OPENSSL_cpuid_setup()
234 if (hwcap & HWCAP_POWER6_EXT) in OPENSSL_cpuid_setup()
239 if (hwcap & HWCAP_ALTIVEC) { in OPENSSL_cpuid_setup()
242 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()
/freebsd/stand/i386/libi386/
H A Dbiospci.c220 uint16_t version, hwcap, maxbus; in biospci_detect() local
236 hwcap = v86.eax & 0xff; in biospci_detect()
241 (hwcap & 1) ? " config1" : "", (hwcap & 2) ? " config2" : "", in biospci_detect()
248 sprintf(buf, "%d", !!(hwcap & 1)); in biospci_detect()
250 sprintf(buf, "%d", !!(hwcap & 2)); in biospci_detect()
/freebsd/sys/contrib/device-tree/Bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt107 If bit 0 is set, then the hwcap-bit-nr property will exist.
174 - hwcap-bit-nr
189 advertised to userspace without a one-to-one hwcap bit number may not specify
191 features usable by userspace will have a hwcap-bit-nr property.
214 hwcap-bit-nr = <xx>;
221 hwcap-bit-nr = <xx>;
236 hwcap-bit-nr = <xx>;
244 hwcap-bit-nr = <xx>;
/freebsd/sys/crypto/sha2/
H A Dsha256c.c209 u_long hwcap; variable
211 if (elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)) == 0) {
212 if ((hwcap & HWCAP_SHA2) != 0)
H A Dsha512c.c239 u_long hwcap; variable
241 if (elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)) == 0) {
242 if ((hwcap & HWCAP_SHA512) != 0) {
/freebsd/lib/libsys/
H A Dauxv.c75 static u_long hwcap, hwcap2; variable
118 hwcap = (u_long)(aux->a_un.a_val); in init_aux()
309 *(u_long *)buf = hwcap; in _elf_aux_info()
/freebsd/sys/contrib/device-tree/src/powerpc/
H A Dmicrowatt.dts50 hwcap-bit-nr = <1>;
69 hwcap-bit-nr = <27>;
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/
H A Dhwcap.inc1 #if __has_include(<sys/hwcap.h>)
2 #include <sys/hwcap.h>
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp1961 unsigned long hwcap = getauxval(AT_HWCAP); in getHostCPUFeatures() local
1962 bool HasFPU = hwcap & (1UL << 3); // HWCAP_LOONGARCH_FPU in getHostCPUFeatures()
1969 Features["lsx"] = hwcap & (1UL << 4); // HWCAP_LOONGARCH_LSX in getHostCPUFeatures()
1970 Features["lasx"] = hwcap & (1UL << 5); // HWCAP_LOONGARCH_LASX in getHostCPUFeatures()
1971 Features["lvz"] = hwcap & (1UL << 9); // HWCAP_LOONGARCH_LVZ in getHostCPUFeatures()
/freebsd/sys/arm64/arm64/
H A Didentcpu.c2189 parse_cpu_features(bool is64bit, struct cpu_desc *cpu_desc, u_long *hwcap, in parse_cpu_features() argument
2216 hwcap : hwcap2; in parse_cpu_features()
2353 u_long hwcap = HWCAP32_DEFAULT; in parse_cpu_features_hwcap32() local
2361 hwcap |= HWCAP32_NEON; in parse_cpu_features_hwcap32()
2363 return (hwcap); in parse_cpu_features_hwcap32()
/freebsd/contrib/file/m4/
H A Dlibtool.m42877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
/freebsd/contrib/ntp/sntp/m4/
H A Dlibtool.m42877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…

12