• Home
  • Raw
  • Download

Lines Matching refs:src

124   X86ManagedRegister src = msrc.AsX86();  in Store()  local
125 if (src.IsNoRegister()) { in Store()
127 } else if (src.IsCpuRegister()) { in Store()
129 __ movl(Address(ESP, offs), src.AsCpuRegister()); in Store()
130 } else if (src.IsRegisterPair()) { in Store()
132 __ movl(Address(ESP, offs), src.AsRegisterPairLow()); in Store()
133 __ movl(Address(ESP, FrameOffset(offs.Int32Value()+4)), src.AsRegisterPairHigh()); in Store()
134 } else if (src.IsX87Register()) { in Store()
141 CHECK(src.IsXmmRegister()); in Store()
143 __ movss(Address(ESP, offs), src.AsXmmRegister()); in Store()
145 __ movsd(Address(ESP, offs), src.AsXmmRegister()); in Store()
151 X86ManagedRegister src = msrc.AsX86(); in StoreRef() local
152 CHECK(src.IsCpuRegister()); in StoreRef()
153 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRef()
157 X86ManagedRegister src = msrc.AsX86(); in StoreRawPtr() local
158 CHECK(src.IsCpuRegister()); in StoreRawPtr()
159 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRawPtr()
186 void X86JNIMacroAssembler::Load(ManagedRegister mdest, FrameOffset src, size_t size) { in Load() argument
192 __ movl(dest.AsCpuRegister(), Address(ESP, src)); in Load()
195 __ movl(dest.AsRegisterPairLow(), Address(ESP, src)); in Load()
196 __ movl(dest.AsRegisterPairHigh(), Address(ESP, FrameOffset(src.Int32Value()+4))); in Load()
199 __ flds(Address(ESP, src)); in Load()
201 __ fldl(Address(ESP, src)); in Load()
206 __ movss(dest.AsXmmRegister(), Address(ESP, src)); in Load()
208 __ movsd(dest.AsXmmRegister(), Address(ESP, src)); in Load()
213 void X86JNIMacroAssembler::LoadFromThread(ManagedRegister mdest, ThreadOffset32 src, size_t size) { in LoadFromThread() argument
219 __ fs()->movzxb(dest.AsCpuRegister(), Address::Absolute(src)); in LoadFromThread()
222 __ fs()->movl(dest.AsCpuRegister(), Address::Absolute(src)); in LoadFromThread()
226 __ fs()->movl(dest.AsRegisterPairLow(), Address::Absolute(src)); in LoadFromThread()
227 __ fs()->movl(dest.AsRegisterPairHigh(), Address::Absolute(ThreadOffset32(src.Int32Value()+4))); in LoadFromThread()
230 __ fs()->flds(Address::Absolute(src)); in LoadFromThread()
232 __ fs()->fldl(Address::Absolute(src)); in LoadFromThread()
237 __ fs()->movss(dest.AsXmmRegister(), Address::Absolute(src)); in LoadFromThread()
239 __ fs()->movsd(dest.AsXmmRegister(), Address::Absolute(src)); in LoadFromThread()
244 void X86JNIMacroAssembler::LoadRef(ManagedRegister mdest, FrameOffset src) { in LoadRef() argument
247 __ movl(dest.AsCpuRegister(), Address(ESP, src)); in LoadRef()
298 X86ManagedRegister src = msrc.AsX86(); in Move() local
299 if (!dest.Equals(src)) { in Move()
300 if (dest.IsCpuRegister() && src.IsCpuRegister()) { in Move()
301 __ movl(dest.AsCpuRegister(), src.AsCpuRegister()); in Move()
302 } else if (src.IsX87Register() && dest.IsXmmRegister()) { in Move()
306 CHECK_EQ(src.AsX87Register(), ST0); in Move()
310 CHECK_EQ(src.AsX87Register(), ST0); in Move()
317 UNIMPLEMENTED(FATAL) << ": Move " << dest << ", " << src; in Move()
322 void X86JNIMacroAssembler::CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister mscratch) { in CopyRef() argument
325 __ movl(scratch.AsCpuRegister(), Address(ESP, src)); in CopyRef()
347 void X86JNIMacroAssembler::Copy(FrameOffset dest, FrameOffset src, in Copy() argument
352 Load(scratch, src, 4); in Copy()
354 Load(scratch, FrameOffset(src.Int32Value() + 4), 4); in Copy()
357 Load(scratch, src, size); in Copy()
372 FrameOffset src, in Copy() argument
377 __ pushl(Address(ESP, src)); in Copy()
395 ManagedRegister src, in Copy() argument
401 __ pushl(Address(src.AsX86().AsCpuRegister(), src_offset)); in Copy()
407 FrameOffset src, in Copy() argument
413 CHECK_EQ(dest.Int32Value(), src.Int32Value()); in Copy()
414 __ movl(scratch, Address(ESP, src)); in Copy()