Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/abi/
H A 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/tools/testing/selftests/powerpc/alignment/
H A 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/tools/testing/selftests/powerpc/mm/
H A Dprot_sao.c26 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06) || in test_prot_sao()
/linux/tools/testing/selftests/powerpc/security/
H A Dentry_flush.c35 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in entry_flush_test()
H A Drfi_flush.c35 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in rfi_flush_test()
H A Duaccess_flush.c37 SKIP_IF(!have_hwcap(PPC_FEATURE_ARCH_2_06)); in uaccess_flush_test()
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c484 if (!have_hwcap(PPC_FEATURE_HAS_ALTIVEC)) in main()
487 if (!have_hwcap(PPC_FEATURE_HAS_VSX)) in main()
/linux/tools/testing/selftests/powerpc/math/
H A Dvsx_preempt.c95 SKIP_IF(!have_hwcap(PPC_FEATURE_HAS_VSX)); in test_preempt_vsx()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-vsx.c64 SKIP_IF_MSG(!have_hwcap(PPC_FEATURE_HAS_VSX), "Don't have VSX"); in ptrace_vsx()
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h85 static inline bool have_hwcap(unsigned long ftr) in have_hwcap() function