Searched refs:generic_features (Results 1 – 2 of 2) sorted by relevance
/art/runtime/arch/arm/ |
D | instruction_set_features_arm_test.cc | 50 std::unique_ptr<const InstructionSetFeatures> generic_features( in TEST() local 52 ASSERT_TRUE(generic_features.get() != nullptr) << error_msg; in TEST() 54 EXPECT_TRUE(generic_features->Equals(generic_features.get())); in TEST() 55 EXPECT_FALSE(generic_features->Equals(krait_features.get())); in TEST() 56 EXPECT_FALSE(krait_features->Equals(generic_features.get())); in TEST() 57 EXPECT_FALSE(generic_features->AsArmInstructionSetFeatures()->HasDivideInstruction()); in TEST() 58 EXPECT_FALSE(generic_features->AsArmInstructionSetFeatures()->HasAtomicLdrdAndStrd()); in TEST() 59 EXPECT_STREQ("-div,-atomic_ldrd_strd,-armv8a", generic_features->GetFeatureString().c_str()); in TEST() 60 EXPECT_EQ(generic_features->AsBitmap(), 0U); in TEST() 114 std::unique_ptr<const InstructionSetFeatures> generic_features( in TEST() local [all …]
|
/art/runtime/arch/arm64/ |
D | instruction_set_features_arm64_test.cc | 146 std::unique_ptr<const InstructionSetFeatures> generic_features( in TEST() local 148 ASSERT_TRUE(generic_features.get() != nullptr) << error_msg; in TEST() 149 ASSERT_EQ(generic_features->GetInstructionSet(), InstructionSet::kArm64); in TEST() 150 EXPECT_TRUE(generic_features->Equals(generic_features.get())); in TEST() 151 EXPECT_FALSE(generic_features->AsArm64InstructionSetFeatures()->HasLSE()); in TEST() 152 EXPECT_FALSE(generic_features->AsArm64InstructionSetFeatures()->HasFP16()); in TEST() 153 EXPECT_FALSE(generic_features->AsArm64InstructionSetFeatures()->HasDotProd()); in TEST() 154 EXPECT_STREQ("a53,crc,-lse,-fp16,-dotprod", generic_features->GetFeatureString().c_str()); in TEST() 155 EXPECT_EQ(generic_features->AsBitmap(), 3U); in TEST()
|