/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 182 __ fs()->movl(Address::Absolute(thr_offs), scratch); in StoreStackPointerToThread() 185 __ fs()->movl(Address::Absolute(thr_offs), ESP); in StoreStackPointerToThread() 228 __ fs()->movl(dest.AsCpuRegister(), Address::Absolute(offs)); in LoadRawPtrFromThread() 431 __ fs()->call(Address::Absolute(offset)); in CallFromThread() 436 Address::Absolute(Thread::SelfOffset<kX86PointerSize>())); in GetCurrentThread() 441 __ fs()->movl(scratch, Address::Absolute(Thread::SelfOffset<kX86PointerSize>())); in GetCurrentThread() 463 __ fs()->LockCmpxchgl(Address::Absolute(thread_flags_offset.Uint32Value()), scratch); in TryToTransitionFromRunnableToNative() 470 __ fs()->movl(Address::Absolute(thread_held_mutex_mutator_lock_offset.Uint32Value()), in TryToTransitionFromRunnableToNative() 509 __ fs()->LockCmpxchgl(Address::Absolute(thread_flags_offset.Uint32Value()), scratch); in TryToTransitionFromNativeToRunnable() 520 __ fs()->movl(scratch, Address::Absolute(thread_mutator_lock_offset.Uint32Value())); in TryToTransitionFromNativeToRunnable() [all …]
|
D | assembler_x86.h | 255 static Address Absolute(uintptr_t addr) { in Absolute() function 262 static Address Absolute(ThreadOffset32 addr) { in Absolute() function 263 return Absolute(addr.Int32Value()); in Absolute()
|
D | assembler_x86_test.cc | 1391 EXPECT_EQ(x86::Address::displace(x86::Address::Absolute(disp0), disp), in TEST_F() 1392 x86::Address::Absolute(disp0 + disp)); in TEST_F()
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.cc | 209 __ gs()->movq(Address::Absolute(thr_offs, true), reg); in StoreStackPointerToThread() 211 __ gs()->movq(Address::Absolute(thr_offs, true), CpuRegister(RSP)); in StoreStackPointerToThread() 254 __ gs()->movq(dest.AsCpuRegister(), Address::Absolute(offs, true)); in LoadRawPtrFromThread() 503 __ gs()->call(Address::Absolute(offset, true)); in CallFromThread() 508 Address::Absolute(Thread::SelfOffset<kX86_64PointerSize>(), true)); in GetCurrentThread() 513 __ gs()->movq(scratch, Address::Absolute(Thread::SelfOffset<kX86_64PointerSize>(), true)); in GetCurrentThread() 532 __ gs()->LockCmpxchgl(Address::Absolute(thread_flags_offset.Uint32Value(), /*no_rip=*/ true), in TryToTransitionFromRunnableToNative() 540 Address::Absolute(thread_held_mutex_mutator_lock_offset.Uint32Value(), /*no_rip=*/ true), in TryToTransitionFromRunnableToNative() 571 __ gs()->LockCmpxchgl(Address::Absolute(thread_flags_offset.Uint32Value(), /*no_rip=*/ true), in TryToTransitionFromNativeToRunnable() 584 Address::Absolute(thread_mutator_lock_offset.Uint32Value(), /*no_rip=*/ true)); in TryToTransitionFromNativeToRunnable() [all …]
|
D | assembler_x86_64.h | 273 static Address Absolute(uintptr_t addr, bool no_rip = false) { 300 static Address Absolute(ThreadOffset64 addr, bool no_rip = false) { 301 return Absolute(addr.Int32Value(), no_rip);
|
D | assembler_x86_64_test.cc | 2499 EXPECT_EQ(x86_64::Address::displace(x86_64::Address::Absolute(disp0, false), disp), in TEST_F() 2500 x86_64::Address::Absolute(disp0 + disp, false)); in TEST_F() 2501 EXPECT_EQ(x86_64::Address::displace(x86_64::Address::Absolute(disp0, true), disp), in TEST_F() 2502 x86_64::Address::Absolute(disp0 + disp, true)); in TEST_F()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 165 __ fs()->jmp(Address::Absolute(offset)); in CreateTrampoline() 186 __ gs()->jmp(x86_64::Address::Absolute(offset, true)); in CreateTrampoline()
|
/art/compiler/optimizing/ |
D | code_generator_x86_64.cc | 1135 Address::Absolute(kPlaceholder32BitOffset, /* no_rip= */ false)); in LoadMethod() 1141 Address::Absolute(kPlaceholder32BitOffset, /* no_rip= */ false)); in LoadMethod() 1147 Address::Absolute(kPlaceholder32BitOffset, /* no_rip= */ false)); in LoadMethod() 1178 __ gs()->movq(temp.AsRegister<CpuRegister>(), Address::Absolute(offset, /* no_rip= */ true)); in GenerateStaticOrDirectCall() 1214 __ call(Address::Absolute(kPlaceholder32BitOffset, /* no_rip= */ false)); in GenerateStaticOrDirectCall() 1384 Address::Absolute(CodeGeneratorX86_64::kPlaceholder32BitOffset, /* no_rip= */ false)); in LoadBootImageAddress() 1388 Address::Absolute(CodeGeneratorX86_64::kPlaceholder32BitOffset, /* no_rip= */ false)); in LoadBootImageAddress() 1404 Address::Absolute(CodeGeneratorX86_64::kPlaceholder32BitOffset, /* no_rip= */ false)); in LoadIntrinsicDeclaringClass() 1565 __ gs()->call(Address::Absolute(entry_point_offset, /* no_rip= */ true)); in GenerateInvokeRuntime() 1701 Address::Absolute(trace_buffer_index_offset, /* no_rip= */ true)); in GenerateMethodEntryExitHook() [all …]
|
D | code_generator_x86.cc | 1001 __ movw(Address::Absolute(counter_address_), Immediate(ProfilingInfo::GetOptimizeThreshold())); in EmitNativeCode() 1125 __ fs()->call(Address::Absolute(entry_point_offset)); in GenerateInvokeRuntime() 1269 __ cmpb(Address::Absolute(address + offset.Int32Value()), in GenerateMethodEntryExitHook() 1287 __ fs()->movl(index, Address::Absolute(trace_buffer_index_offset)); in GenerateMethodEntryExitHook() 1292 __ fs()->movl(Address::Absolute(trace_buffer_index_offset), index); in GenerateMethodEntryExitHook() 1295 __ fs()->movl(entry_addr, Address::Absolute(trace_buffer_ptr)); in GenerateMethodEntryExitHook() 1375 __ addw(Address::Absolute(address), Immediate(-1)); in MaybeIncrementHotness() 1408 __ fs()->cmpl(EBP, Address::Absolute(Thread::TidOffset<kX86PointerSize>().Int32Value())); in GenerateFrameEntry() 1417 __ fs()->jmp(Address::Absolute(entrypoint_offset)); in GenerateFrameEntry() 5539 __ fs()->movl(temp.AsRegister<Register>(), Address::Absolute(offset)); in GenerateStaticOrDirectCall() [all …]
|
D | intrinsics_x86_64.cc | 1800 GetAssembler()->gs()->movl(out, Address::Absolute(Thread::PeerOffset<kX86_64PointerSize>(), in VisitThreadCurrentThread() 3302 __ gs()->cmpl(Address::Absolute(offset, /* no_rip= */ true), in VisitReferenceGetReferent() 3403 Address address = Address::Absolute in VisitThreadInterrupted() 3906 Address::Absolute(CodeGeneratorX86_64::kPlaceholder32BitOffset, /*no_rip=*/ false)); in GenerateVarHandleTarget()
|
D | intrinsics_x86.cc | 1663 GetAssembler()->fs()->movl(out, Address::Absolute(Thread::PeerOffset<kX86PointerSize>())); in VisitThreadCurrentThread() 3508 __ fs()->cmpl(Address::Absolute(offset), in VisitReferenceGetReferent() 3616 Address address = Address::Absolute(Thread::InterruptedOffset<kX86PointerSize>().Int32Value()); in VisitThreadInterrupted()
|