Home
last modified time | relevance | path

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

1234

/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/oat/
Doat_quick_method_header.h59 DCHECK(IsAlignedParam(code, GetInstructionSetCodeAlignment(kRuntimeISA)) || in FromCodePointer()
60 IsAlignedParam(header, GetInstructionSetCodeAlignment(kRuntimeISA))) in FromCodePointer()
70 return RoundUp(sizeof(OatQuickMethodHeader), GetInstructionSetCodeAlignment(kRuntimeISA)); in InstructionAlignedSize()
134 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in Contains()
135 if (kRuntimeISA == InstructionSet::kArm) { in Contains()
147 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in GetEntryPoint()
148 return (kRuntimeISA == InstructionSet::kArm) in GetEntryPoint()
172 POPCOUNT(frame_info.CoreSpillMask()) * GetBytesPerGprSpillLocation(kRuntimeISA); in GetShouldDeoptimizeFlagOffset()
174 POPCOUNT(frame_info.FpSpillMask()) * GetBytesPerFprSpillLocation(kRuntimeISA); in GetShouldDeoptimizeFlagOffset()
Djni_stub_hash_map_test.cc71 : jni_stub_hash_map_(JniStubKeyHash(kRuntimeISA), JniStubKeyEquals(kRuntimeISA)) { in JniStubHashMapTest()
72 if (kRuntimeISA == InstructionSet::kArm64 || kRuntimeISA == InstructionSet::kX86_64) { in JniStubHashMapTest()
261 if (kRuntimeISA == InstructionSet::kX86_64) { in TEST_F()
Doat_file_test.cc40 dex_location, kRuntimeISA, &oat_location, &error_msg)) in TEST_F()
64 dex_location, kRuntimeISA, &oat_location, &error_msg)) in TEST_F()
/art/runtime/arch/
Dinstruction_set_features.cc112 switch (kRuntimeISA) { in FromCppDefines()
128 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCppDefines()
133 switch (kRuntimeISA) { in FromRuntimeDetection()
144 switch (kRuntimeISA) { in FromCpuInfo()
160 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCpuInfo()
165 switch (kRuntimeISA) { in FromHwcap()
181 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromHwcap()
186 switch (kRuntimeISA) { in FromAssembly()
202 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromAssembly()
207 switch (kRuntimeISA) { in FromCpuFeatures()
[all …]
Dstub_test.cc48 runtime_->SetInstructionSet(kRuntimeISA); in SetUp()
447 LOG(INFO) << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA; in TEST_F()
449 std::cout << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
506 LOG(INFO) << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
508 …std::cout << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
666 LOG(INFO) << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA; in TestUnlockObject()
668 …std::cout << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA << std::en… in TestUnlockObject()
777 LOG(INFO) << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA; in TEST_F()
779 std::cout << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
894 LOG(INFO) << "Skipping alloc_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
[all …]
Dinstruction_set_features_test.cc54 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA));
61 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
88 GetInstructionSetString(kRuntimeISA));
93 GetInstructionSetString(kRuntimeISA));
100 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
137 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg));
/art/libartbase/arch/
Dinstruction_set_test.cc55 EXPECT_EQ(kRuntimeISA, GetInstructionSetFromString(GetInstructionSetString(kRuntimeISA))); in TEST()
59 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::kRiscv64; variable
48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86; variable
50 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64; variable
52 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone; variable
Dinstruction_set.cc88 switch (kRuntimeISA) { in GetSupportedInstructionSets()
117 GetInstructionSetString(kRuntimeISA)); in GetSupportedInstructionSets()
/art/dex2oat/linker/
Dcode_info_table_deduper_test.cc31 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA); in TEST()
37 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
66 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
/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.cc49 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA);
55 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
83 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
114 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
176 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
215 ASSERT_EQ(128u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
248 ASSERT_EQ(192u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
281 ASSERT_EQ(256u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
313 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
351 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
[all …]
/art/runtime/
Dcommon_runtime_test.h272 if (kRuntimeISA == InstructionSet::kArm || kRuntimeISA == InstructionSet::kThumb2) { \
277 if (kRuntimeISA == InstructionSet::kArm64) { \
282 if (kRuntimeISA == InstructionSet::kRiscv64) { \
287 if (kRuntimeISA == InstructionSet::kX86) { \
292 if (kRuntimeISA == InstructionSet::kX86_64) { \
Dnterp_helpers.cc184 return QuickMethodFrameInfo(NterpGetFrameSize(*frame, kRuntimeISA), core_spills, fp_spills); in NterpFrameInfo()
195 const uint16_t out_regs = GetNumberOfOutRegs(*frame, kRuntimeISA); in NterpGetReferenceArray()
205 const uint16_t out_regs = GetNumberOfOutRegs(*frame, kRuntimeISA); in NterpGetDexPC()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc144 switch (kRuntimeISA) { in artCriticalNativeFrameSize()
157 UNIMPLEMENTED(FATAL) << kRuntimeISA; in artCriticalNativeFrameSize()
181 switch (kRuntimeISA) { in artCriticalNativeFrameSize()
194 UNIMPLEMENTED(FATAL) << kRuntimeISA; in artCriticalNativeFrameSize()
/art/compiler/
Dexception_test.cc79 CHECK_ALIGNED_PARAM(native_pc_offset, GetInstructionSetInstructionAlignment(kRuntimeISA)); in SetUp()
84 StackMapStream stack_maps(&allocator, kRuntimeISA); in SetUp()
98 const size_t code_alignment = GetInstructionSetCodeAlignment(kRuntimeISA); in SetUp()
118 if (kRuntimeISA == InstructionSet::kArm) { in SetUp()
193 r->SetInstructionSet(kRuntimeISA); in TEST_F()
Dcommon_compiler_test.h77 (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/test/dexpreopt/
Ddexpreopt_test.cc72 switch (kRuntimeISA) { in GetZygoteNamesAndIsas()
92 return Errorf("Unknown runtime ISA: {}", GetInstructionSetString(kRuntimeISA)); in GetZygoteNamesAndIsas()
142 if (kRuntimeISA == InstructionSet::kNone) { in GetSystemServerExpectedArtifacts()
150 if (!OatFileAssistant::DexLocationToOdexFilename(jar, kRuntimeISA, &odex_file, &error_msg)) { in GetSystemServerExpectedArtifacts()
/art/compiler/driver/
Dcompiler_options.cc43 instruction_set_(kRuntimeISA == InstructionSet::kArm ? InstructionSet::kThumb2 : kRuntimeISA), in CompilerOptions()
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64_test.cc24 const bool is_runtime_isa = kRuntimeISA == InstructionSet::kX86_64; in TEST()
/art/simulator/
Dcode_simulator_arm64.h52 static constexpr bool kCanSimulate = (kRuntimeISA == InstructionSet::kX86_64);
/art/oatdump/
Doatdump_test.h49 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); in SetUp()
90 path += Is64BitInstructionSet(kRuntimeISA) ? "64" : "32"; in GetExecutableFilePath()
151 "--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)),
229 exec_argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)));

1234