Lines Matching refs:src
135 X86ManagedRegister src = msrc.AsX86(); in Store() local
136 if (src.IsNoRegister()) { in Store()
138 } else if (src.IsCpuRegister()) { in Store()
140 __ movl(Address(ESP, offs), src.AsCpuRegister()); in Store()
141 } else if (src.IsRegisterPair()) { in Store()
143 __ movl(Address(ESP, offs), src.AsRegisterPairLow()); in Store()
144 __ movl(Address(ESP, FrameOffset(offs.Int32Value()+4)), src.AsRegisterPairHigh()); in Store()
145 } else if (src.IsX87Register()) { in Store()
152 CHECK(src.IsXmmRegister()); in Store()
154 __ movss(Address(ESP, offs), src.AsXmmRegister()); in Store()
156 __ movsd(Address(ESP, offs), src.AsXmmRegister()); in Store()
162 X86ManagedRegister src = msrc.AsX86(); in StoreRef() local
163 CHECK(src.IsCpuRegister()); in StoreRef()
164 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRef()
168 X86ManagedRegister src = msrc.AsX86(); in StoreRawPtr() local
169 CHECK(src.IsCpuRegister()); in StoreRawPtr()
170 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRawPtr()
193 void X86JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load() argument
199 __ movl(dest.AsCpuRegister(), Address(ESP, src)); in Load()
202 __ movl(dest.AsRegisterPairLow(), Address(ESP, src)); in Load()
203 __ movl(dest.AsRegisterPairHigh(), Address(ESP, FrameOffset(src.Int32Value()+4))); in Load()
206 __ flds(Address(ESP, src)); in Load()
208 __ fldl(Address(ESP, src)); in Load()
213 __ movss(dest.AsXmmRegister(), Address(ESP, src)); in Load()
215 __ movsd(dest.AsXmmRegister(), Address(ESP, src)); in Load()
220 void X86JNIMacroAssembler::LoadFromThread(ManagedRegister mdest, ThreadOffset32 src, size_t size) { in LoadFromThread() argument
226 __ fs()->movzxb(dest.AsCpuRegister(), Address::Absolute(src)); in LoadFromThread()
229 __ fs()->movl(dest.AsCpuRegister(), Address::Absolute(src)); in LoadFromThread()
233 __ fs()->movl(dest.AsRegisterPairLow(), Address::Absolute(src)); in LoadFromThread()
234 __ fs()->movl(dest.AsRegisterPairHigh(), Address::Absolute(ThreadOffset32(src.Int32Value()+4))); in LoadFromThread()
237 __ fs()->flds(Address::Absolute(src)); in LoadFromThread()
239 __ fs()->fldl(Address::Absolute(src)); in LoadFromThread()
244 __ fs()->movss(dest.AsXmmRegister(), Address::Absolute(src)); in LoadFromThread()
246 __ fs()->movsd(dest.AsXmmRegister(), Address::Absolute(src)); in LoadFromThread()
251 void X86JNIMacroAssembler::LoadRef(ManagedRegister mdest, FrameOffset src) { in LoadRef() argument
254 __ movl(dest.AsCpuRegister(), Address(ESP, src)); in LoadRef()
308 const ArgumentLocation& src = srcs[i]; in MoveArguments() local
310 DCHECK_EQ(src.GetSize(), dest.GetSize()); in MoveArguments()
311 if (src.IsRegister()) { in MoveArguments()
318 Move(dest.GetRegister(), src.GetRegister(), dest.GetSize()); in MoveArguments()
320 Store(dest.GetFrameOffset(), src.GetRegister(), dest.GetSize()); in MoveArguments()
327 const ArgumentLocation& src = srcs[i]; in MoveArguments() local
329 DCHECK_EQ(src.GetSize(), dest.GetSize()); in MoveArguments()
330 if (!src.IsRegister()) { in MoveArguments()
332 Copy(dest.GetFrameOffset(), src.GetFrameOffset(), dest.GetSize()); in MoveArguments()
340 X86ManagedRegister src = msrc.AsX86(); in Move() local
341 if (!dest.Equals(src)) { in Move()
342 if (dest.IsCpuRegister() && src.IsCpuRegister()) { in Move()
343 __ movl(dest.AsCpuRegister(), src.AsCpuRegister()); in Move()
344 } else if (src.IsX87Register() && dest.IsXmmRegister()) { in Move()
348 CHECK_EQ(src.AsX87Register(), ST0); in Move()
352 CHECK_EQ(src.AsX87Register(), ST0); in Move()
359 UNIMPLEMENTED(FATAL) << ": Move " << dest << ", " << src; in Move()
364 void X86JNIMacroAssembler::CopyRef(FrameOffset dest, FrameOffset src) { in CopyRef() argument
366 __ movl(scratch, Address(ESP, src)); in CopyRef()
397 void X86JNIMacroAssembler::Copy(FrameOffset dest, FrameOffset src, size_t size) { in Copy() argument
400 __ movl(scratch, Address(ESP, src)); in Copy()
403 __ movl(scratch, Address(ESP, FrameOffset(src.Int32Value() + 4))); in Copy()
418 FrameOffset src, in Copy() argument
423 __ pushl(Address(ESP, src)); in Copy()
441 ManagedRegister src, in Copy() argument
447 __ pushl(Address(src.AsX86().AsCpuRegister(), src_offset)); in Copy()
453 FrameOffset src, in Copy() argument
459 CHECK_EQ(dest.Int32Value(), src.Int32Value()); in Copy()
460 __ movl(scratch, Address(ESP, src)); in Copy()