Lines Matching refs:CPUFeatures

46   CPUFeaturesTest(const CPUFeatures& features, const char* description)
57 RunWithFeatures(CPUFeatures::All());
62 std::vector<CPUFeatures> errors;
63 for (CPUFeatures::const_iterator it = features_.begin();
67 CPUFeatures reduced = features_.Without(*it);
74 std::cerr << "Negative CPUFeatures test failed for:\n";
78 for (std::vector<CPUFeatures>::iterator it = errors.begin();
87 // In release mode, the {Macro}Assembler doesn't check CPUFeatures.
88 RunWithFeatures(CPUFeatures::None());
101 CPUFeatures features_;
109 void RunWithFeatures(const CPUFeatures& features) {
127 CPUFeatures missing =
130 std::cout << "Error: the auditor should have detected CPUFeatures { "
133 CPUFeatures extra = auditor_.GetInstructionFeatures().Without(features_);
135 std::cout << "Error: the auditor detected superfluous CPUFeatures { "
149 explicit TestCase(const CPUFeatures& features) \
165 TEST_TEMPLATE(CPUFeatures::None(), NONE_##NAME, ASM)
530 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP), FP_##NAME, ASM)
725 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, \
726 CPUFeatures::kFrintToFixedSizedInt), \
739 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kBTI), BTI_##NAME, ASM)
746 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kRAS), RAS_##NAME, ASM)
750 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kRNG), RNG_##NAME, ASM)
755 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kNEON), NEON_##NAME, ASM)
2786 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kRCpc), RCpc_##NAME, ASM)
2793 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kCRC32), CRC32_##NAME, ASM)
2804 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kDCPoP), DCPoP_##NAME, ASM)
2808 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFlagM), FlagM_##NAME, ASM)
2815 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kPAuth), PAuth_##NAME, ASM)
2863 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kAXFlag), AXFlag_##NAME, ASM)
2868 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kAtomics), Atomics_##NAME, ASM)
3103 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, CPUFeatures::kNEON), \
3391 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, \
3392 CPUFeatures::kNEON, \
3393 CPUFeatures::kFrintToFixedSizedInt), \
3410 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, CPUFeatures::kJSCVT), \
3416 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kRDM, CPUFeatures::kNEON), \
3445 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, CPUFeatures::kFPHalf), \
3518 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kLORegions), LORegions_##NAME, ASM)
3529 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, \
3530 CPUFeatures::kFcma, \
3531 CPUFeatures::kNEON), \
3543 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kRCpc, CPUFeatures::kRCpcImm), \
3561 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kNEON, CPUFeatures::kDotProduct), \
3574 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, \
3575 CPUFeatures::kNEON, \
3576 CPUFeatures::kNEONHalf), \
3746 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kPAuth, CPUFeatures::kPAuthGeneric), \
3752 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, \
3753 CPUFeatures::kFHM, \
3754 CPUFeatures::kNEON, \
3755 CPUFeatures::kNEONHalf), \
3768 TEST_TEMPLATE(CPUFeatures(CPUFeatures::kFP, \
3769 CPUFeatures::kFcma, \
3770 CPUFeatures::kNEON, \
3771 CPUFeatures::kNEONHalf), \