Home
last modified time | relevance | path

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

123

/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc75 kRuntimeISA, in TEST_F()
79 kRuntimeISA, in TEST_F()
83 kRuntimeISA, in TEST_F()
87 kRuntimeISA, in TEST_F()
91 kRuntimeISA, in TEST_F()
95 kRuntimeISA, in TEST_F()
/art/runtime/
Doat_quick_method_header.h43 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer()
44 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer()
105 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in Contains()
106 if (kRuntimeISA == InstructionSet::kArm) { in Contains()
118 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in GetEntryPoint()
119 return (kRuntimeISA == InstructionSet::kArm) in GetEntryPoint()
Doat_file_assistant_test.cc52 file, kRuntimeISA, &compilation_filter, &compilation_reason); in VerifyOptimizationStatus()
129 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
146 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
151 ASSERT_TRUE(context->OpenDexFiles(kRuntimeISA, "")); in TEST_F()
173 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
178 ASSERT_TRUE(context->OpenDexFiles(kRuntimeISA, "")); in TEST_F()
204 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
228 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
249 dex_location.c_str(), kRuntimeISA, /*load_executable=*/ false); in TEST_F()
281 dex_location.c_str(), kRuntimeISA, /*load_executable=*/ false); in TEST_F()
[all …]
Dcommon_runtime_test.h199 if (kRuntimeISA == InstructionSet::kArm || kRuntimeISA == InstructionSet::kThumb2) { \
205 if (kRuntimeISA == InstructionSet::kArm64) { \
211 if (kRuntimeISA == InstructionSet::kMips) { \
217 if (kRuntimeISA == InstructionSet::kMips64) { \
223 if (kRuntimeISA == InstructionSet::kX86) { \
Ddexopt_test.cc77 std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(kRuntimeISA)); in GenerateOatForTest()
125 kRuntimeISA, in GenerateOatForTest()
162 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in GenerateOatForTest()
Ddex2oat_environment_test.h66 odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA)); in SetUp()
159 return GetImageDirectory() + "/" + GetInstructionSetString(kRuntimeISA) in GetSystemImageFile()
Doat_file_test.cc143 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
167 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
/art/runtime/arch/
Dinstruction_set_features.cc96 switch (kRuntimeISA) { in FromCppDefines()
114 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCppDefines()
119 switch (kRuntimeISA) { in FromRuntimeDetection()
130 switch (kRuntimeISA) { in FromCpuInfo()
148 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCpuInfo()
153 switch (kRuntimeISA) { in FromHwcap()
171 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromHwcap()
176 switch (kRuntimeISA) { in FromAssembly()
194 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromAssembly()
292 UNIMPLEMENTED(FATAL) << kRuntimeISA; in AddRuntimeDetectedFeatures()
Dstub_test.cc48 runtime_->SetInstructionSet(kRuntimeISA); in SetUp()
579 LOG(INFO) << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA; in TEST_F()
581 std::cout << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
638 LOG(INFO) << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
640 …std::cout << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
798 LOG(INFO) << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA; in TestUnlockObject()
800 …std::cout << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA << std::en… in TestUnlockObject()
909 LOG(INFO) << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA; in TEST_F()
911 std::cout << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
1026 LOG(INFO) << "Skipping alloc_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
[all …]
Dinstruction_set_features_test.cc47 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA));
54 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
75 GetInstructionSetString(kRuntimeISA));
80 GetInstructionSetString(kRuntimeISA));
87 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
124 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg));
/art/libartbase/arch/
Dinstruction_set_test.cc63 EXPECT_EQ(kRuntimeISA, GetInstructionSetFromString(GetInstructionSetString(kRuntimeISA))); in TEST()
67 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
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
/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/compiler/optimizing/
Dstack_map_test.cc48 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA);
54 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
77 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
108 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
165 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
204 ASSERT_EQ(128u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
237 ASSERT_EQ(192u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
270 ASSERT_EQ(256u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
302 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
335 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
[all …]
/art/compiler/
Dexception_test.cc74 CHECK_ALIGNED_PARAM(native_pc_offset, GetInstructionSetInstructionAlignment(kRuntimeISA)); in SetUp()
79 StackMapStream stack_maps(&allocator, kRuntimeISA); in SetUp()
88 const size_t code_alignment = GetInstructionSetAlignment(kRuntimeISA); in SetUp()
101 if (kRuntimeISA == InstructionSet::kArm) { in SetUp()
174 r->SetInstructionSet(kRuntimeISA); in TEST_F()
Dcommon_compiler_test.h87 (kRuntimeISA == InstructionSet::kArm) ? InstructionSet::kThumb2 : kRuntimeISA;
/art/runtime/native/
Djava_util_concurrent_atomic_AtomicLong.cc30 return QuasiAtomic::LongAtomicsUseMutexes(kRuntimeISA) ? JNI_FALSE : JNI_TRUE; in AtomicLong_VMSupportsCS8()
/art/oatdump/
Doatdump_test.h46 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); in SetUp()
136 "--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)), in GenerateAppOdexFile()
194 GetInstructionSetString(kRuntimeISA))); in Exec()
206 GetInstructionSetString(kRuntimeISA))); in Exec()
216 GetInstructionSetString(kRuntimeISA))); in Exec()
/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/jit/
Djit_compiler.cc68 if (kRuntimeISA == InstructionSet::kArm) { in ParseCompilerOptions()
71 DCHECK_EQ(instruction_set, kRuntimeISA); in ParseCompilerOptions()
147 kRuntimeISA, compiler_options.GetInstructionSetFeatures(), types_array); in jit_types_loaded()
/art/simulator/
Dcode_simulator_arm64.h52 static constexpr bool kCanSimulate = (kRuntimeISA == InstructionSet::kX86_64);
/art/dex2oat/linker/
Delf_writer_test.cc58 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
125 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
/art/compiler/driver/
Dcompiler_options.cc49 instruction_set_(kRuntimeISA == InstructionSet::kArm ? InstructionSet::kThumb2 : kRuntimeISA), in CompilerOptions()
/art/cmdline/
Dcmdline.h229 GetInstructionSetString(kRuntimeISA)); in GetUsage()
263 LOG(WARNING) << "No instruction set given, assuming " << GetInstructionSetString(kRuntimeISA); in ParseCheckBootImage()
264 instruction_set_ = kRuntimeISA; in ParseCheckBootImage()

123