/freebsd/sys/contrib/libsodium/src/libsodium/sodium/ |
H A D | runtime.c | 46 _sodium_runtime_arm_cpu_features(CPUFeatures * const cpu_features) in _sodium_runtime_arm_cpu_features() argument 49 cpu_features->has_neon = 0; in _sodium_runtime_arm_cpu_features() 54 cpu_features->has_neon = 1; in _sodium_runtime_arm_cpu_features() 56 cpu_features->has_neon = 0; in _sodium_runtime_arm_cpu_features() 60 cpu_features->has_neon = in _sodium_runtime_arm_cpu_features() 63 cpu_features->has_neon = 0; in _sodium_runtime_arm_cpu_features() 113 _sodium_runtime_intel_cpu_features(CPUFeatures * const cpu_features) in _sodium_runtime_intel_cpu_features() argument 124 cpu_features->has_sse2 = ((cpu_info[3] & CPUID_EDX_SSE2) != 0x0); in _sodium_runtime_intel_cpu_features() 126 cpu_features->has_sse2 = 0; in _sodium_runtime_intel_cpu_features() 130 cpu_features->has_sse3 = ((cpu_info[2] & CPUID_ECX_SSE3) != 0x0); in _sodium_runtime_intel_cpu_features() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | ptrace_machdep.c | 64 if (!(cpu_features & PPC_FEATURE_VECTOR)) in cpu_ptrace() 74 if (!(cpu_features & PPC_FEATURE_VECTOR)) in cpu_ptrace() 83 if (!(cpu_features & PPC_FEATURE_HAS_VSX)) in cpu_ptrace() 102 if (!(cpu_features & PPC_FEATURE_HAS_VSX)) in cpu_ptrace()
|
H A D | cpu.c | 267 u_long cpu_features = PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU; variable 269 SYSCTL_OPAQUE(_hw, OID_AUTO, cpu_features, CTLFLAG_RD, 270 &cpu_features, sizeof(cpu_features), "LX", "PowerPC CPU features"); 304 cpu_features |= cp->features; in cpu_feature_setup() 362 printf("cpu%d: Features %b\n", cpuid, (int)cpu_features, in cpu_setup() 720 result = (cpu_features & arg2) ? 1 : 0; in cpu_feature_bit()
|
H A D | elf64_machdep.c | 98 .sv_hwcap = &cpu_features, 142 .sv_hwcap = &cpu_features,
|
H A D | fpu.c | 291 if (cpu_features & PPC_FEATURE_HAS_VSX) in enable_fpu_kern()
|
H A D | elf32_machdep.c | 135 .sv_hwcap = &cpu_features,
|
/freebsd/lib/libc/csu/powerpc64/ |
H A D | reloc.c | 23 static uint32_t cpu_features; variable 33 cpu_features = (uint32_t)aux->a_un.a_val; in ifunc_init() 54 target = ((ifunc_resolver_t)ptr)(cpu_features, cpu_features2, in crt1_handle_rela()
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_ppc.c | 55 if (cpu_features & PPC_FEATURE_64) { in ossl_cpuid() 61 if (cpu_features & PPC_FEATURE_HAS_FPU) { in ossl_cpuid() 64 if (cpu_features & PPC_FEATURE_64) { in ossl_cpuid() 69 if (cpu_features & PPC_FEATURE_HAS_ALTIVEC) { in ossl_cpuid()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | simd_powerpc.h | 73 return ((cpu_features & PPC_FEATURE_HAS_ALTIVEC) != 0); in zfs_altivec_available() 82 return ((cpu_features & PPC_FEATURE_HAS_VSX) != 0); in zfs_vsx_available()
|
/freebsd/sys/powerpc/aim/ |
H A D | aim_machdep.c | 353 cpu_features |= PPC_FEATURE_64; in aim_cpu_init() 360 if (cpu_features & PPC_FEATURE_64) { in aim_cpu_init() 369 cpu_features |= PPC_FEATURE_64; in aim_cpu_init() 382 if (cpu_features & PPC_FEATURE_64) { in aim_cpu_init() 450 if (cpu_features & PPC_FEATURE_64) in aim_cpu_init() 480 else if (cpu_features & PPC_FEATURE_64) in aim_cpu_init()
|
/freebsd/lib/libc/powerpc64/string/ |
H A D | strcpy_resolver.c | 40 if (cpu_features & PPC_FEATURE_ARCH_2_05)
|
H A D | strncpy_resolver.c | 41 if (cpu_features & PPC_FEATURE_ARCH_2_05)
|
H A D | bcopy_resolver.c | 66 if (cpu_features & PPC_FEATURE_HAS_VSX)
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_cpu.c | 90 int cpu_features; /* Child driver supported features. */ member 399 sc->cpu_features = ACPI_CAP_SMP_SAME | ACPI_CAP_SMP_SAME_C3 | in acpi_cpu_attach() 408 sc->cpu_features |= ACPI_CAP_SMP_C1_NATIVE | ACPI_CAP_SMP_C3_NATIVE; in acpi_cpu_attach() 415 sc->cpu_features |= ACPI_CAP_INTR_CPPC; in acpi_cpu_attach() 422 sc->cpu_features |= features; in acpi_cpu_attach() 431 if (sc->cpu_features) { in acpi_cpu_attach() 432 cap_set[1] = sc->cpu_features; in acpi_cpu_attach() 447 cap_set[2] = sc->cpu_features; in acpi_cpu_attach()
|
/freebsd/sys/powerpc/include/ |
H A D | ifunc.h | 49 register_t cpu_features, \
|
H A D | cpu.h | 51 extern u_long cpu_features;
|
/freebsd/libexec/rtld-elf/powerpc64/ |
H A D | reloc.c | 694 u_long cpu_features; variable 704 cpu_features = -1UL; in powerpc64_abi_variant_hook() 707 cpu_features = (uint32_t)aux_info[AT_HWCAP]->a_un.a_val; in powerpc64_abi_variant_hook()
|
/freebsd/libexec/rtld-elf/powerpc/ |
H A D | reloc.c | 797 u_long cpu_features; variable 807 cpu_features = -1UL; in powerpc_abi_variant_hook() 810 cpu_features = aux_info[AT_HWCAP]->a_un.a_val; in powerpc_abi_variant_hook()
|
/freebsd/sys/powerpc/booke/ |
H A D | booke_machdep.c | 212 cpu_features |= PPC_FEATURE_BOOKE; in booke_cpu_init()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
H A D | IRExecutionUnit.h | 64 std::vector<std::string> &cpu_features);
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRExecutionUnit.cpp | 49 std::vector<std::string> &cpu_features) in IRExecutionUnit() argument 52 m_cpu_features(cpu_features), m_name(name), m_sym_ctx(sym_ctx), in IRExecutionUnit()
|
/freebsd/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 707 if (!(cpu_features & PPC_FEATURE_BOOKE) && !(mfmsr() & PSL_DR))
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_machdep.c | 731 if (!(cpu_features & PPC_FEATURE_64)) in openfirmware_core()
|
/freebsd/sys/arm64/arm64/ |
H A D | identcpu.c | 2910 SYSINIT(cpu_features, SI_SUB_SMP - 1, SI_ORDER_ANY, cpu_features_sysinit, NULL);
|