Home
last modified time | relevance | path

Searched refs:isa (Results 1 – 25 of 62) sorted by relevance

123

/art/compiler/jni/
Djni_cfi_test.cc43 void TestImpl(InstructionSet isa, in TestImpl() argument
47 if (Is64BitInstructionSet(isa)) { in TestImpl()
48 TestImplSized<PointerSize::k64>(isa, isa_str, expected_asm, expected_cfi); in TestImpl()
50 TestImplSized<PointerSize::k32>(isa, isa_str, expected_asm, expected_cfi); in TestImpl()
56 void TestImplSized(InstructionSet isa, in TestImplSized() argument
74 isa)); in TestImplSized()
77 &allocator, is_static, is_synchronized, shorty, isa)); in TestImplSized()
83 JNIMacroAssembler<kPointerSize>::Create(&allocator, isa)); in TestImplSized()
99 isa, in TestImplSized()
110 #define TEST_ISA(isa) \ argument
[all …]
/art/libartbase/arch/
Dinstruction_set.h87 const char* GetInstructionSetString(InstructionSet isa);
93 NO_RETURN void InstructionSetAbort(InstructionSet isa);
95 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize() argument
96 switch (isa) { in GetInstructionSetPointerSize()
115 InstructionSetAbort(isa); in GetInstructionSetPointerSize()
118 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment() argument
119 switch (isa) { in GetInstructionSetInstructionAlignment()
138 InstructionSetAbort(isa); in GetInstructionSetInstructionAlignment()
141 constexpr bool IsValidInstructionSet(InstructionSet isa) { in IsValidInstructionSet() argument
142 switch (isa) { in IsValidInstructionSet()
[all …]
Dinstruction_set.cc25 void InstructionSetAbort(InstructionSet isa) { in InstructionSetAbort() argument
26 switch (isa) { in InstructionSetAbort()
35 LOG(FATAL) << "Unsupported instruction set " << isa; in InstructionSetAbort()
38 LOG(FATAL) << "Unknown ISA " << isa; in InstructionSetAbort()
42 const char* GetInstructionSetString(InstructionSet isa) { in GetInstructionSetString() argument
43 switch (isa) { in GetInstructionSetString()
60 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetString()
84 size_t GetInstructionSetAlignment(InstructionSet isa) { in GetInstructionSetAlignment() argument
85 switch (isa) { in GetInstructionSetAlignment()
104 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetAlignment()
/art/compiler/optimizing/
Doptimizing_cfi_test.cc52 void SetUpFrame(InstructionSet isa) { in SetUpFrame() argument
53 OverrideInstructionSetFeatures(isa, "default"); in SetUpFrame()
96 void Check(InstructionSet isa, in Check() argument
106 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi); in Check()
113 void TestImpl(InstructionSet isa, const char* in TestImpl() argument
117 SetUpFrame(isa); in TestImpl()
119 Check(isa, isa_str, expected_asm, expected_cfi); in TestImpl()
150 #define TEST_ISA(isa) \ argument
151 TEST_F(OptimizingCFITest, isa) { \
153 expected_asm_##isa, \
[all …]
Dinstruction_simplifier_shared.h41 inline bool HasShifterOperand(HInstruction* instr, InstructionSet isa) { in HasShifterOperand() argument
45 (isa == InstructionSet::kArm64 && instr->IsNeg()) || in HasShifterOperand()
52 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa);
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc42 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, CalleeSaveType type) in CreateCalleeSaveMethod() argument
50 r->SetInstructionSet(isa); in CreateCalleeSaveMethod()
57 static void CheckPCOffset(InstructionSet isa, CalleeSaveType type, size_t pc_offset) in CheckPCOffset() argument
59 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckPCOffset()
64 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckPCOffset()
/art/compiler/debug/
Delf_debug_writer.h44 InstructionSet isa,
53 InstructionSet isa,
59 InstructionSet isa,
66 InstructionSet isa,
Delf_debug_writer.cc114 InstructionSet isa, in MakeMiniDebugInfoInternal() argument
124 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeMiniDebugInfoInternal()
148 InstructionSet isa, in MakeMiniDebugInfo() argument
155 if (Is64BitInstructionSet(isa)) { in MakeMiniDebugInfo()
156 return MakeMiniDebugInfoInternal<ElfTypes64>(isa, in MakeMiniDebugInfo()
164 return MakeMiniDebugInfoInternal<ElfTypes32>(isa, in MakeMiniDebugInfo()
175 InstructionSet isa, in MakeElfFileForJIT() argument
180 CHECK_EQ(sizeof(ElfTypes::Addr), static_cast<size_t>(GetInstructionSetPointerSize(isa))); in MakeElfFileForJIT()
187 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeElfFileForJIT()
210 DCHECK_EQ(sym.st_value, method_info.code_address + CompiledMethod::CodeDelta(isa)); in MakeElfFileForJIT()
[all …]
Delf_debug_loc_writer.h34 static Reg GetDwarfCoreReg(InstructionSet isa, int machine_reg) { in GetDwarfCoreReg() argument
35 switch (isa) { in GetDwarfCoreReg()
55 static Reg GetDwarfFpReg(InstructionSet isa, int machine_reg) { in GetDwarfFpReg() argument
56 switch (isa) { in GetDwarfFpReg()
96 InstructionSet isa) { in GetVariableLocations() argument
114 const uint32_t pc_offset = stack_map.GetNativePcOffset(isa); in GetVariableLocations()
182 InstructionSet isa, in WriteDebugLocEntry() argument
199 isa); in WriteDebugLocEntry()
204 const bool is64bit = Is64BitInstructionSet(isa); in WriteDebugLocEntry()
225 expr.WriteOpReg(GetDwarfCoreReg(isa, value).num()); in WriteDebugLocEntry()
[all …]
Delf_debug_line_writer.h52 const InstructionSet isa = builder_->GetIsa(); in WriteCompilationUnit() local
53 const bool is64bit = Is64BitInstructionSet(isa); in WriteCompilationUnit()
66 switch (isa) { in WriteCompilationUnit()
100 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit()
/art/runtime/base/
Dquasi_atomic.h49 static constexpr bool NeedSwapMutexes(InstructionSet isa) { in NeedSwapMutexes() argument
51 return (isa == InstructionSet::kMips) || (isa == InstructionSet::kMips64); in NeedSwapMutexes()
151 static bool LongAtomicsUseMutexes(InstructionSet isa) { in LongAtomicsUseMutexes() argument
152 return NeedSwapMutexes(isa); in LongAtomicsUseMutexes()
/art/runtime/
Dprebuilt_tools_test.cc54 for (InstructionSet isa : isas) { in TEST_F() local
55 std::string tools_dir = GetAndroidTargetToolsDir(isa); in TEST_F()
57 ADD_FAILURE() << "Cannot find Android tools directory for " << isa; in TEST_F()
Doat_file_assistant.h109 const InstructionSet isa,
117 const InstructionSet isa,
178 InstructionSet isa,
233 InstructionSet isa,
244 InstructionSet isa,
254 InstructionSet isa,
Doat_file_assistant.cc77 const InstructionSet isa, in OatFileAssistant() argument
81 isa, in OatFileAssistant()
90 const InstructionSet isa, in OatFileAssistant() argument
96 : isa_(isa), in OatFileAssistant()
113 if (load_executable_ && isa != kRuntimeISA) { in OatFileAssistant()
437 InstructionSet isa, in AnonymousDexVdexLocation() argument
458 if (!DexLocationToOdexFilename(*dex_location, isa, &odex_filename, &error_msg)) { in AnonymousDexVdexLocation()
485 InstructionSet isa, in DexLocationToOdexNames() argument
512 dir += "/" + std::string(GetInstructionSetString(isa)); in DexLocationToOdexNames()
531 InstructionSet isa, in DexLocationToOdexFilename() argument
[all …]
Dstack_map.h153 static uint32_t PackNativePc(uint32_t native_pc, InstructionSet isa) { in PackNativePc() argument
154 DCHECK_ALIGNED_PARAM(native_pc, GetInstructionSetInstructionAlignment(isa)); in PackNativePc()
155 return native_pc / GetInstructionSetInstructionAlignment(isa); in PackNativePc()
158 static uint32_t UnpackNativePc(uint32_t packed_native_pc, InstructionSet isa) { in UnpackNativePc() argument
159 uint32_t native_pc = packed_native_pc * GetInstructionSetInstructionAlignment(isa); in UnpackNativePc()
160 DCHECK_EQ(native_pc / GetInstructionSetInstructionAlignment(isa), packed_native_pc); in UnpackNativePc()
429 StackMap GetStackMapForNativePcOffset(uint32_t pc, InstructionSet isa = kRuntimeISA) const;
Dparsed_options_test.cc159 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F() local
160 EXPECT_EQ(kRuntimeISA, isa); in TEST_F()
178 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F() local
179 EXPECT_EQ(ISAs[i], isa); in TEST_F()
/art/runtime/gc/space/
Dimage_space_fs.h92 static void PruneDalvikCache(InstructionSet isa) { in PruneDalvikCache() argument
93 CHECK_NE(isa, InstructionSet::kNone); in PruneDalvikCache()
99 impl::DeleteDirectoryContents(GetDalvikCache(GetInstructionSetString(isa)), false); in PruneDalvikCache()
111 static void MarkZygoteStart(const InstructionSet isa, const uint32_t max_failed_boots) { in MarkZygoteStart() argument
112 const std::string isa_subdir = GetDalvikCache(GetInstructionSetString(isa)); in MarkZygoteStart()
/art/compiler/trampolines/
Dtrampoline_compiler.h39 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa,
42 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa,
Dtrampoline_compiler.cc244 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa, in CreateTrampoline64() argument
249 switch (isa) { in CreateTrampoline64()
265 LOG(FATAL) << "Unexpected InstructionSet: " << isa; in CreateTrampoline64()
270 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, in CreateTrampoline32() argument
275 switch (isa) { in CreateTrampoline32()
291 LOG(FATAL) << "Unexpected InstructionSet: " << isa; in CreateTrampoline32()
/art/runtime/jit/
Ddebugger_interface.h35 InstructionSet isa,
53 InstructionSet isa,
/art/runtime/arch/
Dinstruction_set_features.cc39 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariant() argument
40 switch (isa) { in FromVariant()
58 UNIMPLEMENTED(FATAL) << isa; in FromVariant()
62 std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::FromBitmap(InstructionSet isa, in FromBitmap() argument
65 switch (isa) { in FromBitmap()
88 UNIMPLEMENTED(FATAL) << isa; in FromBitmap()
Dinstruction_set_features.h40 static std::unique_ptr<const InstructionSetFeatures> FromVariant(InstructionSet isa,
45 static std::unique_ptr<const InstructionSetFeatures> FromBitmap(InstructionSet isa,
/art/build/apex/
Dart_preinstall_hook_boot.sh53 DEX2OAT_TARGET_CPU_VARIANT=`getprop dalvik.vm.isa.${DEX2OAT_TARGET_ARCH}.variant`
54 DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES=`getprop dalvik.vm.isa.${DEX2OAT_TARGET_ARCH}.features`
Dart_preinstall_hook_system_server.sh48 DEX2OAT_TARGET_CPU_VARIANT=`getprop dalvik.vm.isa.${DEX2OAT_TARGET_ARCH}.variant`
49 DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES=`getprop dalvik.vm.isa.${DEX2OAT_TARGET_ARCH}.features`
/art/compiler/utils/
Dstack_checks.h37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) { in FrameNeedsStackCheck()

123