Home
last modified time | relevance | path

Searched refs:InstructionSet (Results 1 – 25 of 166) sorted by relevance

1234567

/art/libartbase/arch/
Dinstruction_set.h28 enum class InstructionSet { enum
37 std::ostream& operator<<(std::ostream& os, InstructionSet rhs);
40 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm;
42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64;
44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86;
46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64;
48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone;
73 const char* GetInstructionSetString(InstructionSet isa);
76 InstructionSet GetInstructionSetFromString(const char* instruction_set);
79 NO_RETURN void InstructionSetAbort(InstructionSet isa);
[all …]
Dinstruction_set.cc25 void InstructionSetAbort(InstructionSet isa) { in InstructionSetAbort()
27 case InstructionSet::kArm: in InstructionSetAbort()
28 case InstructionSet::kThumb2: in InstructionSetAbort()
29 case InstructionSet::kArm64: in InstructionSetAbort()
30 case InstructionSet::kX86: in InstructionSetAbort()
31 case InstructionSet::kX86_64: in InstructionSetAbort()
32 case InstructionSet::kNone: in InstructionSetAbort()
40 const char* GetInstructionSetString(InstructionSet isa) { in GetInstructionSetString()
42 case InstructionSet::kArm: in GetInstructionSetString()
43 case InstructionSet::kThumb2: in GetInstructionSetString()
[all …]
Dinstruction_set_test.cc26 EXPECT_EQ(InstructionSet::kArm, GetInstructionSetFromString("arm")); in TEST()
27 EXPECT_EQ(InstructionSet::kArm64, GetInstructionSetFromString("arm64")); in TEST()
28 EXPECT_EQ(InstructionSet::kX86, GetInstructionSetFromString("x86")); in TEST()
29 EXPECT_EQ(InstructionSet::kX86_64, GetInstructionSetFromString("x86_64")); in TEST()
30 EXPECT_EQ(InstructionSet::kNone, GetInstructionSetFromString("none")); in TEST()
31 EXPECT_EQ(InstructionSet::kNone, GetInstructionSetFromString("random-string")); in TEST()
35 EXPECT_STREQ("arm", GetInstructionSetString(InstructionSet::kArm)); in TEST()
36 EXPECT_STREQ("arm", GetInstructionSetString(InstructionSet::kThumb2)); in TEST()
37 EXPECT_STREQ("arm64", GetInstructionSetString(InstructionSet::kArm64)); in TEST()
38 EXPECT_STREQ("x86", GetInstructionSetString(InstructionSet::kX86)); in TEST()
[all …]
/art/runtime/arch/
Dinstruction_set_features.cc37 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariant()
39 case InstructionSet::kArm: in FromVariant()
40 case InstructionSet::kThumb2: in FromVariant()
42 case InstructionSet::kArm64: in FromVariant()
44 case InstructionSet::kX86: in FromVariant()
46 case InstructionSet::kX86_64: in FromVariant()
56 std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::FromBitmap(InstructionSet isa, in FromBitmap()
60 case InstructionSet::kArm: in FromBitmap()
61 case InstructionSet::kThumb2: in FromBitmap()
64 case InstructionSet::kArm64: in FromBitmap()
[all …]
/art/compiler/
Dcompiled_method.cc25 InstructionSet instruction_set, in CompiledCode()
53 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { in AlignCode()
61 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { in CodeDelta()
63 case InstructionSet::kArm: in CodeDelta()
64 case InstructionSet::kArm64: in CodeDelta()
65 case InstructionSet::kX86: in CodeDelta()
66 case InstructionSet::kX86_64: in CodeDelta()
68 case InstructionSet::kThumb2: { in CodeDelta()
78 const void* CompiledCode::CodePointer(const void* code_pointer, InstructionSet instruction_set) { in CodePointer()
80 case InstructionSet::kArm: in CodePointer()
[all …]
Dcompiled_method.h42 InstructionSet instruction_set,
47 InstructionSet GetInstructionSet() const { in GetInstructionSet()
59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
64 static size_t CodeDelta(InstructionSet instruction_set);
69 static const void* CodePointer(const void* code_pointer, InstructionSet instruction_set);
73 MinimumBitsToStore(static_cast<size_t>(InstructionSet::kLast));
96 using InstructionSetField = BitField<InstructionSet, 0u, kInstructionSetFieldSize>;
112 InstructionSet instruction_set,
122 InstructionSet instruction_set,
Dcommon_compiler_test.h47 static std::unique_ptr<CompilerOptions> CreateCompilerOptions(InstructionSet instruction_set,
83 void OverrideInstructionSetFeatures(InstructionSet instruction_set, const std::string& variant);
89 InstructionSet instruction_set_ =
90 (kRuntimeISA == InstructionSet::kArm) ? InstructionSet::kThumb2 : kRuntimeISA;
/art/runtime/arch/x86/
Dinstruction_set_features_x86_test.cc24 const bool is_runtime_isa = kRuntimeISA == InstructionSet::kX86; in TEST()
27 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "default", &error_msg)); in TEST()
29 EXPECT_EQ(x86_features->GetInstructionSet(), InstructionSet::kX86); in TEST()
42 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "atom", &error_msg)); in TEST()
44 EXPECT_EQ(x86_features->GetInstructionSet(), InstructionSet::kX86); in TEST()
52 InstructionSetFeatures::FromVariant(InstructionSet::kX86_64, "atom", &error_msg)); in TEST()
54 EXPECT_EQ(x86_64_features->GetInstructionSet(), InstructionSet::kX86_64); in TEST()
67 InstructionSetFeatures::FromVariant(InstructionSet::kX86, "sandybridge", &error_msg)); in TEST()
69 EXPECT_EQ(x86_features->GetInstructionSet(), InstructionSet::kX86); in TEST()
77 InstructionSetFeatures::FromVariant(InstructionSet::kX86_64, "sandybridge", &error_msg)); in TEST()
[all …]
/art/disassembler/
Ddisassembler.cc45 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create()
48 case InstructionSet::kArm: in Create()
49 case InstructionSet::kThumb2: in Create()
53 case InstructionSet::kArm64: in Create()
57 case InstructionSet::kX86: in Create()
61 case InstructionSet::kX86_64: in Create()
79 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler()
/art/compiler/utils/
Djni_macro_assembler.cc45 InstructionSet instruction_set, in Create()
52 case InstructionSet::kArm: in Create()
53 case InstructionSet::kThumb2: in Create()
57 case InstructionSet::kX86: in Create()
71 InstructionSet instruction_set, in Create()
78 case InstructionSet::kArm64: in Create()
82 case InstructionSet::kX86_64: in Create()
/art/runtime/
Dprebuilt_tools_test.cc30 static void CheckToolsExist(InstructionSet isa) { in CheckToolsExist()
40 CheckToolsExist(InstructionSet::kX86); in TEST_F()
41 CheckToolsExist(InstructionSet::kX86_64); in TEST_F()
45 CheckToolsExist(InstructionSet::kThumb2); in TEST_F()
46 CheckToolsExist(InstructionSet::kArm64); in TEST_F()
Doat_file_assistant.h109 const InstructionSet isa,
117 const InstructionSet isa,
176 InstructionSet isa,
228 InstructionSet isa,
239 InstructionSet isa,
249 InstructionSet isa,
408 const InstructionSet isa_ = InstructionSet::kNone;
Doat.h29 enum class InstructionSet; variable
53 static OatHeader* Create(InstructionSet instruction_set,
93 InstructionSet GetInstructionSet() const;
111 OatHeader(InstructionSet instruction_set,
125 InstructionSet instruction_set_;
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64_test.cc27 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "default", &error_msg)); in TEST()
29 EXPECT_EQ(arm64_features->GetInstructionSet(), InstructionSet::kArm64); in TEST()
35 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "cortex-a57", &error_msg)); in TEST()
37 EXPECT_EQ(cortex_a57_features->GetInstructionSet(), InstructionSet::kArm64); in TEST()
45 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "cortex-a73", &error_msg)); in TEST()
47 EXPECT_EQ(cortex_a73_features->GetInstructionSet(), InstructionSet::kArm64); in TEST()
59 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "cortex-a35", &error_msg)); in TEST()
61 EXPECT_EQ(cortex_a35_features->GetInstructionSet(), InstructionSet::kArm64); in TEST()
68 InstructionSetFeatures::FromVariant(InstructionSet::kArm64, "kryo", &error_msg)); in TEST()
70 EXPECT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm64); in TEST()
[all …]
/art/compiler/debug/
Delf_debug_loc_writer.h34 static Reg GetDwarfCoreReg(InstructionSet isa, int machine_reg) { in GetDwarfCoreReg()
36 case InstructionSet::kArm: in GetDwarfCoreReg()
37 case InstructionSet::kThumb2: in GetDwarfCoreReg()
39 case InstructionSet::kArm64: in GetDwarfCoreReg()
41 case InstructionSet::kX86: in GetDwarfCoreReg()
43 case InstructionSet::kX86_64: in GetDwarfCoreReg()
45 case InstructionSet::kNone: in GetDwarfCoreReg()
51 static Reg GetDwarfFpReg(InstructionSet isa, int machine_reg) { in GetDwarfFpReg()
53 case InstructionSet::kArm: in GetDwarfFpReg()
54 case InstructionSet::kThumb2: in GetDwarfFpReg()
[all …]
Delf_debug_writer.h45 InstructionSet isa,
54 InstructionSet isa,
66 InstructionSet isa,
/art/simulator/
Dcode_simulator.cc23 CodeSimulator* CodeSimulator::CreateCodeSimulator(InstructionSet target_isa) { in CreateCodeSimulator()
25 case InstructionSet::kArm64: in CreateCodeSimulator()
32 CodeSimulator* CreateCodeSimulator(InstructionSet target_isa) { in CreateCodeSimulator()
/art/runtime/entrypoints/quick/
Dcallee_save_frame.h71 template <InstructionSet>
76 struct CSFSelector<InstructionSet::kArm> { using type = arm::ArmCalleeSaveFrame; };
78 struct CSFSelector<InstructionSet::kArm64> { using type = arm64::Arm64CalleeSaveFrame; };
80 struct CSFSelector<InstructionSet::kX86> { using type = x86::X86CalleeSaveFrame; };
82 struct CSFSelector<InstructionSet::kX86_64> { using type = x86_64::X86_64CalleeSaveFrame; };
/art/compiler/jni/quick/
Dcalling_convention.cc48 InstructionSet instruction_set) { in Create()
51 case InstructionSet::kArm: in Create()
52 case InstructionSet::kThumb2: in Create()
58 case InstructionSet::kArm64: in Create()
64 case InstructionSet::kX86: in Create()
70 case InstructionSet::kX86_64: in Create()
138 InstructionSet instruction_set) { in Create()
141 case InstructionSet::kArm: in Create()
142 case InstructionSet::kThumb2: in Create()
148 case InstructionSet::kArm64: in Create()
[all …]
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc138 case InstructionSet::kArm: in artCriticalNativeFrameSize()
139 case InstructionSet::kThumb2: in artCriticalNativeFrameSize()
141 case InstructionSet::kArm64: in artCriticalNativeFrameSize()
143 case InstructionSet::kX86: in artCriticalNativeFrameSize()
145 case InstructionSet::kX86_64: in artCriticalNativeFrameSize()
174 case InstructionSet::kArm: in artCriticalNativeFrameSize()
175 case InstructionSet::kThumb2: in artCriticalNativeFrameSize()
177 case InstructionSet::kArm64: in artCriticalNativeFrameSize()
179 case InstructionSet::kX86: in artCriticalNativeFrameSize()
181 case InstructionSet::kX86_64: in artCriticalNativeFrameSize()
/art/runtime/arch/arm/
Dinstruction_set_features_arm_test.cc27 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "krait", &error_msg)); in TEST()
30 ASSERT_EQ(krait_features->GetInstructionSet(), InstructionSet::kArm); in TEST()
39 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "kryo", &error_msg)); in TEST()
42 ASSERT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm); in TEST()
51 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "generic", &error_msg)); in TEST()
64 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "arm6", &error_msg)); in TEST()
72 InstructionSetFeatures::FromVariant(InstructionSet::kArm, "generic", &error_msg)); in TEST()
80 ASSERT_EQ(krait_features->GetInstructionSet(), InstructionSet::kArm); in TEST()
92 ASSERT_EQ(kryo_features->GetInstructionSet(), InstructionSet::kArm); in TEST()
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64_test.cc24 const bool is_runtime_isa = kRuntimeISA == InstructionSet::kX86_64; in TEST()
27 InstructionSetFeatures::FromVariant(InstructionSet::kX86_64, "default", &error_msg)); in TEST()
29 EXPECT_EQ(x86_64_features->GetInstructionSet(), InstructionSet::kX86_64); in TEST()
/art/dex2oat/linker/
Drelative_patcher.cc38 InstructionSet instruction_set, in Create()
100 case InstructionSet::kX86: in Create()
104 case InstructionSet::kX86_64: in Create()
108 case InstructionSet::kArm: in Create()
110 case InstructionSet::kThumb2: in Create()
115 case InstructionSet::kArm64: in Create()
/art/compiler/optimizing/
Dcodegen_test_utils.h52 CodegenTargetConfig(InstructionSet isa, CreateCodegenFn create_codegen) in CodegenTargetConfig()
55 InstructionSet GetInstructionSet() const { return isa_; } in GetInstructionSet()
61 InstructionSet isa_;
187 static bool CanExecuteOnHardware(InstructionSet target_isa) { in CanExecuteOnHardware()
190 || (kRuntimeISA == InstructionSet::kArm && target_isa == InstructionSet::kThumb2); in CanExecuteOnHardware()
193 static bool CanExecute(InstructionSet target_isa) { in CanExecute()
220 static void VerifyGeneratedCode(InstructionSet target_isa, in VerifyGeneratedCode()
249 InstructionSet target_isa = codegen.GetInstructionSet(); in Run()
254 if (target_isa == InstructionSet::kThumb2) { in Run()
Doptimizing_cfi_test.cc50 void SetUpFrame(InstructionSet isa) { in SetUpFrame()
94 void Check(InstructionSet isa, in Check()
111 void TestImpl(InstructionSet isa, const char* in TestImpl()
156 TestImpl(InstructionSet::isa, #isa, expected_asm, expected_cfi); \
192 SetUpFrame(InstructionSet::kThumb2); in TEST_ISA()
204 Check(InstructionSet::kThumb2, "kThumb2_adjust", expected_asm, expected_cfi); in TEST_ISA()

1234567