| /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 | elf_aux_info.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 | getauxval.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);
|
| H A D | baremetal.inc | 18 void __init_cpu_features_resolver(unsigned long hwcap,
|
| H A D | windows.inc | 40 void __init_cpu_features_resolver(unsigned long hwcap,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterFlagsDetector_arm64.cpp | 34 Arm64RegisterFlagsDetector::DetectFPMRFields(uint64_t hwcap, uint64_t hwcap2, in DetectFPMRFields() argument 36 (void)hwcap; in DetectFPMRFields() 59 Arm64RegisterFlagsDetector::DetectGCSFeatureFields(uint64_t hwcap, in DetectGCSFeatureFields() argument 65 if (!(hwcap & HWCAP_GCS)) in DetectGCSFeatureFields() 76 Arm64RegisterFlagsDetector::DetectSVCRFields(uint64_t hwcap, uint64_t hwcap2, in DetectSVCRFields() argument 78 (void)hwcap; in DetectSVCRFields() 94 Arm64RegisterFlagsDetector::DetectMTECtrlFields(uint64_t hwcap, uint64_t hwcap2, in DetectMTECtrlFields() argument 96 (void)hwcap; in DetectMTECtrlFields() 124 Arm64RegisterFlagsDetector::DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2, in DetectFPCRFields() argument 138 if ((hwcap & HWCAP_FPHP) && (hwcap & HWCAP_ASIMDHP)) in DetectFPCRFields() [all …]
|
| H A D | RegisterFlagsDetector_arm64.h | 43 void DetectFields(uint64_t hwcap, uint64_t hwcap2, uint64_t hwcap3); 58 static Fields DetectCPSRFields(uint64_t hwcap, uint64_t hwcap2, 60 static Fields DetectFPSRFields(uint64_t hwcap, uint64_t hwcap2, 62 static Fields DetectFPCRFields(uint64_t hwcap, uint64_t hwcap2, 64 static Fields DetectMTECtrlFields(uint64_t hwcap, uint64_t hwcap2, 66 static Fields DetectSVCRFields(uint64_t hwcap, uint64_t hwcap2, 68 static Fields DetectFPMRFields(uint64_t hwcap, uint64_t hwcap2, 70 static Fields DetectGCSFeatureFields(uint64_t hwcap, uint64_t hwcap2,
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | simd.h | 527 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_neon_available() local 528 return (hwcap & HWCAP_NEON); in zfs_neon_available() 537 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha256_available() local 538 return (hwcap & HWCAP2_SHA2); in zfs_sha256_available() 558 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_neon_available() local 559 return (hwcap & HWCAP_FP); in zfs_neon_available() 568 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha256_available() local 569 return (hwcap & HWCAP_SHA2); in zfs_sha256_available() 578 unsigned long hwcap = getauxval(AT_HWCAP); in zfs_sha512_available() local 579 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/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/ |
| H A D | elf_aux_info.inc | 2 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 D | getauxval.inc | 4 unsigned long hwcap = getauxval(AT_HWCAP); 5 __aarch64_have_lse_atomics = (hwcap & HWCAP_ATOMICS) != 0;
|
| /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/tests/sys/arch/aarch64/ |
| H A D | sve.c | 51 unsigned long hwcap; in check_for_sve() local 53 if (elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)) != 0) in check_for_sve() 56 if ((hwcap & HWCAP_SVE) == 0) in check_for_sve() 349 unsigned long child_vl, hwcap; in ATF_TC_BODY() local 351 if (elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)) != 0) in ATF_TC_BODY() 354 if ((hwcap & HWCAP_SVE) == 0) in ATF_TC_BODY()
|
| /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 | 2171 unsigned long hwcap = getauxval(AT_HWCAP); in getHostCPUFeatures() local 2172 bool HasFPU = hwcap & (1UL << 3); // HWCAP_LOONGARCH_FPU in getHostCPUFeatures() 2182 Features["lsx"] = hwcap & (1UL << 4); // HWCAP_LOONGARCH_LSX in getHostCPUFeatures() 2183 Features["lasx"] = hwcap & (1UL << 5); // HWCAP_LOONGARCH_LASX in getHostCPUFeatures() 2184 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() argument 2789 hwcap : hwcap2; in parse_cpu_features() 2950 u_long hwcap = HWCAP32_DEFAULT; in parse_cpu_features_hwcap32() local 2958 hwcap |= HWCAP32_NEON; in parse_cpu_features_hwcap32() 2960 return (hwcap); in parse_cpu_features_hwcap32()
|
| /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;…
|