Home
last modified time | relevance | path

Searched refs:kryo_features (Results 1 – 2 of 2) sorted by relevance

/art/runtime/arch/arm/
Dinstruction_set_features_arm_test.cc38 std::unique_ptr<const InstructionSetFeatures> kryo_features( in TEST() local
40 ASSERT_TRUE(kryo_features.get() != nullptr) << error_msg; in TEST()
42 ASSERT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm); in TEST()
43 EXPECT_TRUE(kryo_features->Equals(kryo_features.get())); in TEST()
44 EXPECT_TRUE(kryo_features->AsArmInstructionSetFeatures()->HasDivideInstruction()); in TEST()
45 EXPECT_TRUE(kryo_features->AsArmInstructionSetFeatures()->HasAtomicLdrdAndStrd()); in TEST()
46 EXPECT_STREQ("div,atomic_ldrd_strd,armv8a", kryo_features->GetFeatureString().c_str()); in TEST()
47 EXPECT_EQ(kryo_features->AsBitmap(), 7U); in TEST()
88 std::unique_ptr<const InstructionSetFeatures> kryo_features( in TEST() local
90 ASSERT_TRUE(kryo_features.get() != nullptr) << error_msg; in TEST()
[all …]
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64_test.cc67 std::unique_ptr<const InstructionSetFeatures> kryo_features( in TEST() local
69 ASSERT_TRUE(kryo_features.get() != nullptr) << error_msg; in TEST()
70 EXPECT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm64); in TEST()
71 EXPECT_TRUE(kryo_features->Equals(kryo_features.get())); in TEST()
72 EXPECT_TRUE(kryo_features->Equals(cortex_a35_features.get())); in TEST()
73 EXPECT_FALSE(kryo_features->Equals(cortex_a57_features.get())); in TEST()
74 EXPECT_STREQ("-a53,crc,-lse,-fp16,-dotprod,-sve", kryo_features->GetFeatureString().c_str()); in TEST()
75 EXPECT_EQ(kryo_features->AsBitmap(), 2U); in TEST()