/art/runtime/arch/arm64/ |
H A D | instruction_set_features_arm64.cc | 28 const std::string& variant, std::string* error_msg) { 37 variant); 40 // Check to see if this is an expected variant. 44 if (!FindVariantInArray(arm64_known_variants, arraysize(arm64_known_variants), variant)) { 46 os << "Unexpected CPU variant for Arm64: " << variant; local 27 FromVariant( const std::string& variant, std::string* error_msg) argument
|
/art/runtime/arch/mips64/ |
H A D | instruction_set_features_mips64.cc | 28 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) { 29 if (variant != "default" && variant != "mips64r6") { 30 LOG(WARNING) << "Unexpected CPU variant for Mips64 using defaults: " << variant; 27 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) argument
|
/art/runtime/arch/x86_64/ |
H A D | instruction_set_features_x86_64.h | 27 // Process a CPU variant string like "atom" or "nehalem" and create InstructionSetFeatures. 28 static const X86_64InstructionSetFeatures* FromVariant(const std::string& variant, argument 30 return X86InstructionSetFeatures::FromVariant(variant, error_msg, true)
|
/art/runtime/arch/arm/ |
H A D | instruction_set_features_arm.cc | 37 const std::string& variant, std::string* error_msg) { 39 // TODO: set the SMP support based on variant. 49 variant); 56 variant); 70 variant)) { 71 *error_msg = StringPrintf("Attempt to use unsupported ARM variant: %s", variant.c_str()); 74 // Warn if the variant is unknown. 95 variant)) { 96 LOG(WARNING) << "Unknown instruction set features for ARM CPU variant (" << varian 36 FromVariant( const std::string& variant, std::string* error_msg) argument [all...] |
/art/runtime/arch/ |
H A D | instruction_set_features.cc | 33 const std::string& variant, 39 result = ArmInstructionSetFeatures::FromVariant(variant, error_msg); 42 result = Arm64InstructionSetFeatures::FromVariant(variant, error_msg); 45 result = MipsInstructionSetFeatures::FromVariant(variant, error_msg); 48 result = Mips64InstructionSetFeatures::FromVariant(variant, error_msg); 51 result = X86InstructionSetFeatures::FromVariant(variant, error_msg); 54 result = X86_64InstructionSetFeatures::FromVariant(variant, error_msg); 292 const std::string& variant) { 295 return std::find(begin, end, variant) != end; 32 FromVariant(InstructionSet isa, const std::string& variant, std::string* error_msg) argument 291 FindVariantInArray(const char* const variants[], size_t num_variants, const std::string& variant) argument
|
/art/runtime/arch/mips/ |
H A D | instruction_set_features_mips.cc | 67 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) { 72 // This is needed when running ART test where the variant is not defined. 78 // Override defaults based on variant string. 82 if (variant.compare(0, kPrefixLength, kMips32Prefix, kPrefixLength) == 0 && 83 variant.size() > kPrefixLength) { 84 if (variant[kPrefixLength] >= '6') { 88 if (variant[kPrefixLength] >= '2') { 91 } else if (variant == "default") { 92 // Default variant is: smp = true, has fpu, is gte2, is not r6. This is the traditional 96 LOG(WARNING) << "Unexpected CPU variant fo 66 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) argument [all...] |
/art/runtime/arch/x86/ |
H A D | instruction_set_features_x86.cc | 49 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED, 53 variant); 56 variant); 59 variant); 64 variant); 65 if (!known_variant && variant != "default") { 66 LOG(WARNING) << "Unexpected CPU variant for X86 using defaults: " << variant; 48 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED, bool x86_64) argument
|
/art/compiler/linker/ |
H A D | relative_patcher_test.h | 42 RelativePatcherTest(InstructionSet instruction_set, const std::string& variant) argument 52 features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)), 61 CHECK(error_msg_.empty()) << instruction_set << "/" << variant; local
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 25 explicit Arm64RelativePatcherTest(const std::string& variant) argument 26 : RelativePatcherTest(kArm64, variant) { }
|