Lines Matching refs:offset
221 int32_t offset = offset_; in encodingThumb() local
222 if (offset < 0) { in encodingThumb()
224 offset = -offset; in encodingThumb()
226 if (offset_ < 0 || (offset >= 0 && offset < 256 && in encodingThumb()
235 encoding |= B11 | PUW << 8 | offset; in encodingThumb()
291 uint32_t offset = encoding & offset_mask; in encoding3() local
292 CHECK_LT(offset, 256u); in encoding3()
293 return (encoding & ~offset_mask) | ((offset & 0xf0) << 4) | (offset & 0xf); in encoding3()
300 uint32_t offset = encoding & offset_mask; in vencoding() local
301 CHECK(IsAbsoluteUint(10, offset)); // In the range -1020 to +1020. in vencoding()
302 CHECK_ALIGNED(offset, 2); // Multiple of 4. in vencoding()
304 uint32_t vencoding = (encoding & (0xf << kRnShift)) | (offset >> 2); in vencoding()
312 bool Address::CanHoldLoadOffsetArm(LoadOperandType type, int offset) { in CanHoldLoadOffsetArm() argument
318 return IsAbsoluteUint(8, offset); // Addressing mode 3. in CanHoldLoadOffsetArm()
321 return IsAbsoluteUint(12, offset); // Addressing mode 2. in CanHoldLoadOffsetArm()
324 return IsAbsoluteUint(10, offset); // VFP addressing mode. in CanHoldLoadOffsetArm()
332 bool Address::CanHoldStoreOffsetArm(StoreOperandType type, int offset) { in CanHoldStoreOffsetArm() argument
336 return IsAbsoluteUint(8, offset); // Addressing mode 3. in CanHoldStoreOffsetArm()
339 return IsAbsoluteUint(12, offset); // Addressing mode 2. in CanHoldStoreOffsetArm()
342 return IsAbsoluteUint(10, offset); // VFP addressing mode. in CanHoldStoreOffsetArm()
349 bool Address::CanHoldLoadOffsetThumb(LoadOperandType type, int offset) { in CanHoldLoadOffsetThumb() argument
356 return IsAbsoluteUint(12, offset); in CanHoldLoadOffsetThumb()
359 return IsAbsoluteUint(10, offset); // VFP addressing mode. in CanHoldLoadOffsetThumb()
361 return IsAbsoluteUint(10, offset); in CanHoldLoadOffsetThumb()
369 bool Address::CanHoldStoreOffsetThumb(StoreOperandType type, int offset) { in CanHoldStoreOffsetThumb() argument
374 return IsAbsoluteUint(12, offset); in CanHoldStoreOffsetThumb()
377 return IsAbsoluteUint(10, offset); // VFP addressing mode. in CanHoldStoreOffsetThumb()
379 return IsAbsoluteUint(10, offset); in CanHoldStoreOffsetThumb()
774 void ArmAssembler::Call(ManagedRegister mbase, Offset offset, in Call() argument
781 base.AsCoreRegister(), offset.Int32Value()); in Call()
786 void ArmAssembler::Call(FrameOffset base, Offset offset, in Call() argument
794 scratch.AsCoreRegister(), offset.Int32Value()); in Call()
807 void ArmAssembler::GetCurrentThread(FrameOffset offset, in GetCurrentThread() argument
809 StoreToOffset(kStoreWord, TR, SP, offset.Int32Value(), AL); in GetCurrentThread()