| /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 | 524 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_neon_available() local 525 return (hwcap & HWCAP_NEON); in zfs_neon_available() 534 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha256_available() local 535 return (hwcap & HWCAP2_SHA2); in zfs_sha256_available() 555 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_neon_available() local 556 return (hwcap & HWCAP_FP); in zfs_neon_available() 565 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha256_available() local 566 return (hwcap & HWCAP_SHA2); in zfs_sha256_available() 575 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha512_available() local 576 return (hwcap & HWCAP_SHA512); in zfs_sha512_available() [all …]
|
| /freebsd/lib/libmd/aarch64/ |
| H A D | sha1dispatch.c | 16 unsigned long hwcap = 0; variable 18 elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); 20 if (hwcap & HWCAP_SHA1)
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | armcap.c | 310 unsigned long hwcap = getauxval(OSSL_HWCAP_CE); in OPENSSL_cpuid_setup() local 314 if (hwcap & OSSL_HWCAP_CE_AES) in OPENSSL_cpuid_setup() 317 if (hwcap & OSSL_HWCAP_CE_PMULL) in OPENSSL_cpuid_setup() 320 if (hwcap & OSSL_HWCAP_CE_SHA1) in OPENSSL_cpuid_setup() 323 if (hwcap & OSSL_HWCAP_CE_SHA256) in OPENSSL_cpuid_setup() 327 if (hwcap & OSSL_HWCAP_CE_SM4) in OPENSSL_cpuid_setup() 330 if (hwcap & OSSL_HWCAP_CE_SHA512) in OPENSSL_cpuid_setup() 333 if (hwcap & OSSL_HWCAP_CPUID) in OPENSSL_cpuid_setup() 336 if (hwcap & OSSL_HWCAP_CE_SM3) in OPENSSL_cpuid_setup() 338 if (hwcap & OSSL_HWCAP_SHA3) in OPENSSL_cpuid_setup()
|
| H A D | ppccap.c | 227 unsigned long hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup() local 230 if (hwcap & HWCAP_FPU) { in OPENSSL_cpuid_setup() 235 if (hwcap & HWCAP_PPC64) in OPENSSL_cpuid_setup() 239 if (hwcap & HWCAP_POWER6_EXT) in OPENSSL_cpuid_setup() 244 if (hwcap & HWCAP_ALTIVEC) { in OPENSSL_cpuid_setup() 247 if ((hwcap & HWCAP_VSX) && (hwcap2 & HWCAP_VEC_CRYPTO)) in OPENSSL_cpuid_setup()
|
| H A D | s390xcap.c | 129 const unsigned long hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup() local 132 if (hwcap & HWCAP_S390_STFLE) in OPENSSL_cpuid_setup() 136 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/contrib/device-tree/src/powerpc/ |
| H A D | microwatt.dts | 54 hwcap-bit-nr = <1>; 76 hwcap-bit-nr = <27>; 99 hwcap-bit-nr = <58>; 112 hwcap-bit-nr = <52>;
|
| /freebsd/lib/libsys/ |
| H A D | auxv.c | 75 static u_long hwcap, hwcap2, hwcap3, hwcap4; variable 118 hwcap = (u_long)(aux->a_un.a_val); in init_aux() 319 *(u_long *)buf = hwcap; in _elf_aux_info()
|
| /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 | 2762 parse_cpu_features(bool is64bit, struct cpu_desc *cpu_desc, u_long *hwcap, in parse_cpu_features() 2789 hwcap : hwcap2; in parse_cpu_features() 2794 * value we can set the hwcap; in parse_cpu_features() 2950 u_long hwcap = HWCAP32_DEFAULT; 2958 hwcap |= HWCAP32_NEON; in print_register() 2960 return (hwcap); in print_register() 2761 parse_cpu_features(bool is64bit,struct cpu_desc * cpu_desc,u_long * hwcap,u_long * hwcap2) parse_cpu_features() argument 2936 u_long hwcap = HWCAP32_DEFAULT; parse_cpu_features_hwcap32() local
|
| /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/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/openpam/m4/ |
| H A D | libtool.m4 | 2956 …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;…
|