Home
last modified time | relevance | path

Searched refs:kRuntimeISA (Results 1 – 25 of 65) sorted by relevance

123

/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc137 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveRefsAndArgs, in TEST_F()
138 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveRefsAndArgs)); in TEST_F()
139 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveRefsOnly, in TEST_F()
140 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveRefsOnly)); in TEST_F()
141 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveAllCalleeSaves, in TEST_F()
142 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveAllCalleeSaves)); in TEST_F()
143 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveEverything, in TEST_F()
144 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveEverything)); in TEST_F()
145 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveEverythingForClinit, in TEST_F()
146 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveEverythingForClinit)); in TEST_F()
[all …]
Dquick_trampoline_entrypoints.cc62 GetCalleeSaveFrameSize(kRuntimeISA, CalleeSaveType::kSaveRefsAndArgs);
97 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
138 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
184 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
228 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
261 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
304 case 0: return (4 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
305 case 1: return (1 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
306 case 2: return (0 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
307 case 3: return (5 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
[all …]
/art/runtime/arch/
Dinstruction_set_features_test.cc44 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA));
51 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
72 GetInstructionSetString(kRuntimeISA));
77 GetInstructionSetString(kRuntimeISA));
84 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
121 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg));
Dinstruction_set_features.cc91 switch (kRuntimeISA) { in FromCppDefines()
109 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCppDefines()
115 switch (kRuntimeISA) { in FromCpuInfo()
133 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCpuInfo()
138 switch (kRuntimeISA) { in FromHwcap()
156 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromHwcap()
161 switch (kRuntimeISA) { in FromAssembly()
179 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromAssembly()
Dinstruction_set.h42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm; variable
44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64; variable
46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips; variable
48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips64; variable
50 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86; variable
52 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64; variable
54 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone; variable
Dinstruction_set_test.cc63 EXPECT_EQ(kRuntimeISA, GetInstructionSetFromString(GetInstructionSetString(kRuntimeISA))); in TEST()
67 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
Dstub_test.cc46 runtime_->SetInstructionSet(kRuntimeISA); in SetUp()
576 LOG(INFO) << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA; in TEST_F()
578 std::cout << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
635 LOG(INFO) << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
637 …std::cout << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
795 LOG(INFO) << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA; in TestUnlockObject()
797 …std::cout << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA << std::en… in TestUnlockObject()
906 LOG(INFO) << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA; in TEST_F()
908 std::cout << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
1023 LOG(INFO) << "Skipping alloc_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
[all …]
Dcode_offset.h34 ALWAYS_INLINE static CodeOffset FromOffset(uint32_t offset, InstructionSet isa = kRuntimeISA) {
42 ALWAYS_INLINE uint32_t Uint32Value(InstructionSet isa = kRuntimeISA) const {
/art/runtime/
Doat_quick_method_header.h47 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer()
48 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer()
139 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in Contains()
140 if (kRuntimeISA == InstructionSet::kArm) { in Contains()
152 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in GetEntryPoint()
153 return (kRuntimeISA == InstructionSet::kArm) in GetEntryPoint()
Doat_file_assistant_test.cc57 file, kRuntimeISA, &compilation_filter, &compilation_reason); in VerifyOptimizationStatus()
118 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
142 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
167 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
202 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
236 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
276 kRuntimeISA, in TEST_F()
316 kRuntimeISA, in TEST_F()
351 kRuntimeISA, in TEST_F()
375 kRuntimeISA, in TEST_F()
[all …]
Ddexopt_test.cc55 std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(kRuntimeISA)); in GenerateOatForTest()
123 kRuntimeISA, in GenerateOatForTest()
184 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in GenerateOatForTest()
206 GetDalvikCache(GetInstructionSetString(kRuntimeISA), in PreRelocateImage()
224 argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA))); in PreRelocateImage()
Doat_file_test.cc76 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
101 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
Ddex2oat_environment_test.h66 odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA)); in SetUp()
159 return GetImageDirectory() + "/" + GetInstructionSetString(kRuntimeISA) in GetSystemImageFile()
Doat_quick_method_header.cc85 stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA); in ToNativeQuickPc()
/art/runtime/base/
Dquasi_atomic.h61 if (!NeedSwapMutexes(kRuntimeISA)) { in Read64()
97 if (!NeedSwapMutexes(kRuntimeISA)) { in Write64()
143 if (!NeedSwapMutexes(kRuntimeISA)) { in Cas64()
Dquasi_atomic.cc32 if (NeedSwapMutexes(kRuntimeISA)) { in Startup()
41 if (NeedSwapMutexes(kRuntimeISA)) { in Shutdown()
/art/runtime/native/
Djava_util_concurrent_atomic_AtomicLong.cc30 return QuasiAtomic::LongAtomicsUseMutexes(kRuntimeISA) ? JNI_FALSE : JNI_TRUE; in AtomicLong_VMSupportsCS8()
/art/compiler/optimizing/
Dstack_map_test.cc52 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
83 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
134 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
199 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
258 ASSERT_EQ(128u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
312 ASSERT_EQ(192u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
366 ASSERT_EQ(256u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
419 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
460 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST()
514 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
[all …]
/art/dexlayout/
Ddexdiag_test.cc50 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()
67 std::string oat_location = GetSystemImageFilename(default_location.c_str(), kRuntimeISA); in OpenOatAndVdexFiles()
/art/compiler/
Dexception_test.cc73 StackMapStream stack_maps(&allocator, kRuntimeISA); in SetUp()
94 const size_t alignment = GetInstructionSetAlignment(kRuntimeISA); in SetUp()
108 if (kRuntimeISA == InstructionSet::kArm) { in SetUp()
181 r->SetInstructionSet(kRuntimeISA); in TEST_F()
/art/oatdump/
Doatdump_test.h46 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); in SetUp()
127 "--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)), in GenerateAppOdexFile()
171 GetInstructionSetString(kRuntimeISA))); in Exec()
178 GetInstructionSetString(kRuntimeISA))); in Exec()
/art/simulator/
Dcode_simulator_arm64.h52 static constexpr bool kCanSimulate = (kRuntimeISA == InstructionSet::kX86_64);
/art/dex2oat/linker/
Delf_writer_test.cc55 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
111 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
/art/compiler/jit/
Djit_compiler.cc78 kRuntimeISA, jit_compiler->GetCompilerDriver()->GetInstructionSetFeatures(), types_array); in jit_types_loaded()
106 const InstructionSet instruction_set = kRuntimeISA; in JitCompiler()
/art/cmdline/
Dcmdline.h211 GetInstructionSetString(kRuntimeISA)); in GetUsage()
237 LOG(WARNING) << "No instruction set given, assuming " << GetInstructionSetString(kRuntimeISA); in ParseCheckBootImage()
238 instruction_set_ = kRuntimeISA; in ParseCheckBootImage()

123