/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 | 58 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED, 62 variant); 65 variant); 68 variant); 74 variant); 78 variant); 80 // Verify that variant is known. 82 variant); 83 if (!known_variant && variant != "default") { 84 LOG(WARNING) << "Unexpected CPU variant fo 57 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED, bool x86_64) argument [all...] |
/art/compiler/linker/ |
H A D | relative_patcher_test.h | 43 RelativePatcherTest(InstructionSet instruction_set, const std::string& variant) argument 66 features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)), 75 CHECK(error_msg_.empty()) << instruction_set << "/" << variant; local
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 26 explicit Arm64RelativePatcherTest(const std::string& variant) argument 27 : RelativePatcherTest(kArm64, variant) { }
|
/art/compiler/optimizing/ |
H A D | code_generator_arm64.cc | 1851 // There is no immediate variant of negated bitwise instructions in AArch64. 2987 static inline bool HasSwappedInputs(SelectVariant variant) { argument 2988 return variant == kCselTrueConst; 2991 static inline Condition GetConditionForSelect(HCondition* condition, SelectVariant variant) { argument 2992 IfCondition cond = HasSwappedInputs(variant) ? condition->GetOppositeCondition() 3029 SelectVariant variant = GetSelectVariant(select); local 3035 csel_cond = GetConditionForSelect(cond->AsCondition(), variant); 3038 csel_cond = HasSwappedInputs(variant) ? eq : ne; 3042 csel_cond = GetConditionForSelect(cond->AsCondition(), variant); 3045 csel_cond = GetConditionForSelect(cond->AsCondition(), variant); [all...] |