| /src/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 …]
|
| /src/sys/powerpc/powerpc/ |
| H A D | ptrace_machdep.c | 60 if (!(cpu_features & PPC_FEATURE_VECTOR)) in cpu_ptrace() 70 if (!(cpu_features & PPC_FEATURE_VECTOR)) in cpu_ptrace() 79 if (!(cpu_features & PPC_FEATURE_HAS_VSX)) in cpu_ptrace() 98 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,
|
| /src/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()
|
| /src/sys/crypto/openssl/ |
| H A D | ossl_ppc.c | 58 if (cpu_features & PPC_FEATURE_64) { in ossl_cpuid() 64 if (cpu_features & PPC_FEATURE_HAS_FPU) { in ossl_cpuid() 67 if (cpu_features & PPC_FEATURE_64) { in ossl_cpuid() 72 if (cpu_features & PPC_FEATURE_HAS_ALTIVEC) { in ossl_cpuid()
|
| /src/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()
|
| /src/libexec/rtld-elf/powerpc64/ |
| H A D | rtld_machdep.h | 65 extern u_long cpu_features; /* r3 */ 70 uint64_t, uint64_t, uint64_t))ptr)((uint32_t)cpu_features, \
|
| H A D | reloc.c | 679 u_long cpu_features; variable 689 cpu_features = -1UL; in powerpc64_abi_variant_hook() 692 cpu_features = (uint32_t)aux_info[AT_HWCAP]->a_un.a_val; in powerpc64_abi_variant_hook()
|
| /src/libexec/rtld-elf/powerpc/ |
| H A D | rtld_machdep.h | 65 extern u_long cpu_features; /* r3 */ 70 uint32_t, uint32_t, uint32_t))ptr)((uint32_t)cpu_features, \
|
| H A D | reloc.c | 782 u_long cpu_features; variable 792 cpu_features = -1UL; in powerpc_abi_variant_hook() 795 cpu_features = aux_info[AT_HWCAP]->a_un.a_val; in powerpc_abi_variant_hook()
|
| /src/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()
|
| /src/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)
|
| /src/sys/dev/acpica/ |
| H A D | acpi_cpu.c | 90 int cpu_features; /* Child driver supported features. */ member 401 sc->cpu_features = ACPI_CAP_SMP_SAME | ACPI_CAP_SMP_SAME_C3 | in acpi_cpu_attach() 410 sc->cpu_features |= ACPI_CAP_SMP_C1_NATIVE | ACPI_CAP_SMP_C3_NATIVE; in acpi_cpu_attach() 417 sc->cpu_features |= ACPI_CAP_INTR_CPPC; in acpi_cpu_attach() 424 sc->cpu_features |= features; in acpi_cpu_attach() 433 if (sc->cpu_features) { in acpi_cpu_attach() 434 cap_set[1] = sc->cpu_features; in acpi_cpu_attach() 449 cap_set[2] = sc->cpu_features; in acpi_cpu_attach()
|
| /src/sys/powerpc/include/ |
| H A D | ifunc.h | 49 register_t cpu_features, \
|
| H A D | cpu.h | 51 extern u_long cpu_features;
|
| /src/sys/powerpc/booke/ |
| H A D | booke_machdep.c | 208 cpu_features |= PPC_FEATURE_BOOKE; in booke_cpu_init()
|
| /src/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | IRExecutionUnit.h | 64 std::vector<std::string> &cpu_features);
|
| /src/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()
|
| /src/sys/powerpc/ofw/ |
| H A D | ofw_machdep.c | 731 if (!(cpu_features & PPC_FEATURE_64)) in openfirmware_core()
|
| /src/sys/dev/vt/hw/ofwfb/ |
| H A D | ofwfb.c | 707 if (!(cpu_features & PPC_FEATURE_BOOKE) && !(mfmsr() & PSL_DR)) in ofwfb_init()
|