/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/ |
H A D | mrs.inc | 6 static void __init_cpu_features_constructor(unsigned long hwcap, 14 if (hwcap & _IFUNC_ARG_HWCAP) 16 if (hwcap & HWCAP_CRC32) 18 if (hwcap & HWCAP_PMULL) 20 if (hwcap & HWCAP_FLAGM) 24 if (hwcap & HWCAP_SM4) 26 if (hwcap & HWCAP_ASIMDDP) 28 if (hwcap & HWCAP_ASIMDFHM) 30 if (hwcap & HWCAP_FPHP) 32 if (hwcap & HWCAP_DIT) [all …]
|
H A D | freebsd.inc | 1 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 D | sysauxv.inc | 1 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 D | android.inc | 1 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);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterFlagsDetector_arm64.cpp | 30 Arm64RegisterFlagsDetector::DetectSVCRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectSVCRFields() argument 31 (void)hwcap; in DetectSVCRFields() 46 Arm64RegisterFlagsDetector::DetectMTECtrlFields(uint64_t hwcap, in DetectMTECtrlFields() argument 48 (void)hwcap; in DetectMTECtrlFields() 66 Arm64RegisterFlagsDetector::DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectFPCRFields() argument 77 if ((hwcap & HWCAP_FPHP) && (hwcap & HWCAP_ASIMDHP)) in DetectFPCRFields() 105 Arm64RegisterFlagsDetector::DetectFPSRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectFPSRFields() argument 107 (void)hwcap; in DetectFPSRFields() 125 Arm64RegisterFlagsDetector::DetectCPSRFields(uint64_t hwcap, uint64_t hwcap2) { in DetectCPSRFields() argument 138 if (hwcap & HWCAP_DIT) in DetectCPSRFields() [all …]
|
H A D | RegisterFlagsDetector_arm64.h | 43 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 D | simd.h | 497 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() 538 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha256_available() local 539 return (hwcap & HWCAP_SHA2); in zfs_sha256_available() 548 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha512_available() local 549 return (hwcap & HWCAP_SHA512); in zfs_sha512_available() [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | armcap.c | 191 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 D | ppccap.c | 222 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 D | s390xcap.c | 92 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 D | biospci.c | 220 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 D | ibm,powerpc-cpu-features.txt | 107 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 D | sha256c.c | 209 u_long hwcap; variable 211 if (elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)) == 0) { 212 if ((hwcap & HWCAP_SHA2) != 0)
|
H A D | sha512c.c | 239 u_long hwcap; variable 241 if (elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)) == 0) { 242 if ((hwcap & HWCAP_SHA512) != 0) {
|
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | microwatt.dts | 50 hwcap-bit-nr = <1>; 69 hwcap-bit-nr = <27>;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/ |
H A D | hwcap.inc | 1 #if __has_include(<sys/hwcap.h>) 2 #include <sys/hwcap.h>
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | Host.cpp | 2022 unsigned long hwcap = getauxval(AT_HWCAP); in getHostCPUFeatures() local 2023 bool HasFPU = hwcap & (1UL << 3); // HWCAP_LOONGARCH_FPU in getHostCPUFeatures() 2032 Features["lsx"] = hwcap & (1UL << 4); // HWCAP_LOONGARCH_LSX in getHostCPUFeatures() 2033 Features["lasx"] = hwcap & (1UL << 5); // HWCAP_LOONGARCH_LASX in getHostCPUFeatures() 2034 Features["lvz"] = hwcap & (1UL << 9); // HWCAP_LOONGARCH_LVZ in getHostCPUFeatures()
|
/freebsd/sys/arm64/arm64/ |
H A D | identcpu.c | 2690 parse_cpu_features(bool is64bit, struct cpu_desc *cpu_desc, u_long *hwcap, in parse_cpu_features() argument 2717 hwcap : hwcap2; in parse_cpu_features() 2855 u_long hwcap = HWCAP32_DEFAULT; in parse_cpu_features_hwcap32() local 2863 hwcap |= HWCAP32_NEON; in parse_cpu_features_hwcap32() 2865 return (hwcap); in parse_cpu_features_hwcap32()
|
/freebsd/contrib/openbsm/m4/ |
H A D | libtool.m4 | 2877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|
/freebsd/contrib/openpam/m4/ |
H A D | libtool.m4 | 2897 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|
/freebsd/contrib/ntp/sntp/libevent/m4/ |
H A D | libtool.m4 | 2877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|
/freebsd/contrib/ntp/sntp/m4/ |
H A D | libtool.m4 | 2877 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|
/freebsd/contrib/libevent/m4/ |
H A D | libtool.m4 | 2898 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|
/freebsd/contrib/ldns/m4/ |
H A D | libtool.m4 | 2876 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|
/freebsd/contrib/file/m4/ |
H A D | libtool.m4 | 2897 …ip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;…
|