Home
last modified time | relevance | path

Searched refs:have_hwcap (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/tools/testing/selftests/arm64/abi/
Dhwcap.c937 bool have_hwcap) \
950 if (have_hwcap) { \
978 bool have_cpuinfo, have_hwcap, raise_sigill; in main() local
986 have_hwcap = getauxval(hwcap->at_hwcap) & hwcap->hwcap_bit; in main()
989 if (have_hwcap) in main()
992 ksft_test_result(have_hwcap == have_cpuinfo, in main()
999 raise_sigill = inst_raise_sigill(hwcap, have_hwcap); in main()
1001 inst_raise_sigbus(hwcap, have_hwcap); in main()
/linux-6.12.1/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c325 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in test_alignment_handler_vsx_206()
469 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in test_alignment_handler_integer_206()
505 SKIP_IF(!have_hwcap(PPC_FEATURE_HAS_ALTIVEC)); in test_alignment_handler_vmx()
561 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_05)); in test_alignment_handler_fp_205()
579 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in test_alignment_handler_fp_206()
/linux-6.12.1/tools/testing/selftests/powerpc/mm/
Dprot_sao.c26 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06) || in test_prot_sao()
/linux-6.12.1/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c484 if (!have_hwcap(PPC_FEATURE_HAS_ALTIVEC)) in main()
487 if (!have_hwcap(PPC_FEATURE_HAS_VSX)) in main()
/linux-6.12.1/tools/testing/selftests/powerpc/security/
Drfi_flush.c35 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in rfi_flush_test()
Dentry_flush.c35 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in entry_flush_test()
Duaccess_flush.c37 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in uaccess_flush_test()
/linux-6.12.1/tools/testing/selftests/powerpc/math/
Dvsx_preempt.c95 SKIP_IF(!have_hwcap(PPC_FEATURE_HAS_VSX)); in test_preempt_vsx()
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dptrace-vsx.c64 SKIP_IF_MSG(!have_hwcap(PPC_FEATURE_HAS_VSX), "Don't have VSX"); in ptrace_vsx()
/linux-6.12.1/tools/testing/selftests/powerpc/include/
Dutils.h85 static inline bool have_hwcap(unsigned long ftr) in have_hwcap() function