Home
last modified time | relevance | path

Searched refs:cpu_features (Results 1 – 25 of 26) sorted by relevance

12

/src/sys/contrib/libsodium/src/libsodium/sodium/
H A Druntime.c46 _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 Dptrace_machdep.c60 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 Dcpu.c267 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 Delf64_machdep.c98 .sv_hwcap = &cpu_features,
142 .sv_hwcap = &cpu_features,
H A Dfpu.c291 if (cpu_features & PPC_FEATURE_HAS_VSX) in enable_fpu_kern()
H A Delf32_machdep.c135 .sv_hwcap = &cpu_features,
/src/lib/libc/csu/powerpc64/
H A Dreloc.c23 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 Dossl_ppc.c58 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 Dsimd_powerpc.h73 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 Drtld_machdep.h65 extern u_long cpu_features; /* r3 */
70 uint64_t, uint64_t, uint64_t))ptr)((uint32_t)cpu_features, \
H A Dreloc.c679 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 Drtld_machdep.h65 extern u_long cpu_features; /* r3 */
70 uint32_t, uint32_t, uint32_t))ptr)((uint32_t)cpu_features, \
H A Dreloc.c782 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 Daim_machdep.c353 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 Dstrcpy_resolver.c40 if (cpu_features & PPC_FEATURE_ARCH_2_05)
H A Dstrncpy_resolver.c41 if (cpu_features & PPC_FEATURE_ARCH_2_05)
H A Dbcopy_resolver.c66 if (cpu_features & PPC_FEATURE_HAS_VSX)
/src/sys/dev/acpica/
H A Dacpi_cpu.c90 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 Difunc.h49 register_t cpu_features, \
H A Dcpu.h51 extern u_long cpu_features;
/src/sys/powerpc/booke/
H A Dbooke_machdep.c208 cpu_features |= PPC_FEATURE_BOOKE; in booke_cpu_init()
/src/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h64 std::vector<std::string> &cpu_features);
/src/contrib/llvm-project/lldb/source/Expression/
H A DIRExecutionUnit.cpp49 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 Dofw_machdep.c731 if (!(cpu_features & PPC_FEATURE_64)) in openfirmware_core()
/src/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c707 if (!(cpu_features & PPC_FEATURE_BOOKE) && !(mfmsr() & PSL_DR)) in ofwfb_init()

12