Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 25 of 37) sorted by relevance

12

/dalvik/vm/compiler/template/mips/
DTEMPLATE_SHL_LONG.S8 sll rRESULT0, rARG0, a2 # rlo<- alo << (shift&31)
9 not rRESULT1, a2 # rhi<- 31-shift (shift is 5b)
11 srl rARG0, rRESULT1 # alo<- alo >> (32-(shift&31))
12 sll rRESULT1, rARG1, a2 # rhi<- ahi << (shift&31)
14 andi a2, 0x20 # shift< shift & 0x20
15 movn rRESULT1, rRESULT0, a2 # rhi<- rlo (if shift&0x20)
16 movn rRESULT0, zero, a2 # rlo<- 0 (if shift&0x20)
DTEMPLATE_SHR_LONG.S8 sra rRESULT1, rARG1, a2 # rhi<- ahi >> (shift&31)
9 srl rRESULT0, rARG0, a2 # rlo<- alo >> (shift&31)
11 not rARG0, a2 # alo<- 31-shift (shift is 5b)
13 sll rARG1, rARG0 # ahi<- ahi << (32-(shift&31))
15 andi a2, 0x20 # shift & 0x20
16 movn rRESULT0, rRESULT1, a2 # rlo<- rhi (if shift&0x20)
17 movn rRESULT1, a3, a2 # rhi<- sign(ahi) (if shift&0x20)
DTEMPLATE_USHR_LONG.S8 srl rRESULT1, rARG1, a2 # rhi<- ahi >> (shift&31)
9 srl rRESULT0, rARG0, a2 # rlo<- alo >> (shift&31)
10 not rARG0, a2 # alo<- 31-n (shift is 5b)
12 sll rARG1, rARG0 # ahi<- ahi << (32-(shift&31))
14 andi a2, 0x20 # shift & 0x20
15 movn rRESULT0, rRESULT1, a2 # rlo<- rhi (if shift&0x20)
16 movn rRESULT1, zero, a2 # rhi<- 0 (if shift&0x20)
/dalvik/vm/mterp/mips/
DOP_SHL_LONG_2ADDR.S15 sll v0, a0, a2 # rlo<- alo << (shift&31)
16 not v1, a2 # rhi<- 31-shift (shift is 5b)
18 srl a0, v1 # alo<- alo >> (32-(shift&31))
19 sll v1, a1, a2 # rhi<- ahi << (shift&31)
21 andi a2, 0x20 # shift< shift & 0x20
22 movn v1, v0, a2 # rhi<- rlo (if shift&0x20)
23 movn v0, zero, a2 # rlo<- 0 (if shift&0x20)
DOP_SHL_LONG.S20 sll v0, a0, a2 # rlo<- alo << (shift&31)
21 not v1, a2 # rhi<- 31-shift (shift is 5b)
23 srl a0, v1 # alo<- alo >> (32-(shift&31))
24 sll v1, a1, a2 # rhi<- ahi << (shift&31)
26 andi a2, 0x20 # shift< shift & 0x20
27 movn v1, v0, a2 # rhi<- rlo (if shift&0x20)
28 movn v0, zero, a2 # rlo<- 0 (if shift&0x20)
DOP_SHR_LONG_2ADDR.S14 sra v1, a1, a2 # rhi<- ahi >> (shift&31)
15 srl v0, a0, a2 # rlo<- alo >> (shift&31)
17 not a0, a2 # alo<- 31-shift (shift is 5b)
19 sll a1, a0 # ahi<- ahi << (32-(shift&31))
21 andi a2, 0x20 # shift & 0x20
22 movn v0, v1, a2 # rlo<- rhi (if shift&0x20)
23 movn v1, a3, a2 # rhi<- sign(ahi) (if shift&0x20)
DOP_SHR_LONG.S19 sra v1, a1, a2 # rhi<- ahi >> (shift&31)
20 srl v0, a0, a2 # rlo<- alo >> (shift&31)
22 not a0, a2 # alo<- 31-shift (shift is 5b)
24 sll a1, a0 # ahi<- ahi << (32-(shift&31))
26 andi a2, 0x20 # shift & 0x20
27 movn v0, v1, a2 # rlo<- rhi (if shift&0x20)
28 movn v1, a3, a2 # rhi<- sign(ahi) (if shift&0x20)
DOP_USHR_LONG_2ADDR.S14 srl v1, a1, a2 # rhi<- ahi >> (shift&31)
15 srl v0, a0, a2 # rlo<- alo >> (shift&31)
16 not a0, a2 # alo<- 31-n (shift is 5b)
18 sll a1, a0 # ahi<- ahi << (32-(shift&31))
20 andi a2, 0x20 # shift & 0x20
21 movn v0, v1, a2 # rlo<- rhi (if shift&0x20)
22 movn v1, zero, a2 # rhi<- 0 (if shift&0x20)
DOP_USHR_LONG.S19 srl v1, a1, a2 # rhi<- ahi >> (shift&31)
20 srl v0, a0, a2 # rlo<- alo >> (shift&31)
21 not a0, a2 # alo<- 31-n (shift is 5b)
23 sll a1, a0 # ahi<- ahi << (32-(shift&31))
25 andi a2, 0x20 # shift & 0x20
26 movn v0, v1, a2 # rlo<- rhi (if shift&0x20)
27 movn v1, zero, a2 # rhi<- 0 (if shift&0x20)
DOP_APUT.S16 .if $shift
17 EASN(a0, a0, a1, $shift) # a0 <- arrayObj + index*width
DOP_AGET.S20 .if $shift
21 EASN(a0, a0, a1, $shift) # a0 <- arrayObj + index*width
/dalvik/vm/alloc/
DHeapBitmap.cpp110 const int shift = CLZ(word); in dvmHeapBitmapWalk() local
111 Object* obj = (Object *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); in dvmHeapBitmapWalk()
113 word &= ~(highBit >> shift); in dvmHeapBitmapWalk()
146 const int shift = CLZ(word); in dvmHeapBitmapScanWalk() local
147 Object *obj = (Object *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); in dvmHeapBitmapScanWalk()
149 word &= ~(highBit >> shift); in dvmHeapBitmapScanWalk()
194 int shift = CLZ(garbage); in dvmHeapBitmapSweepWalk() local
195 garbage &= ~(highBit >> shift); in dvmHeapBitmapSweepWalk()
196 *pb++ = (void *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); in dvmHeapBitmapSweepWalk()
/dalvik/dx/src/com/android/dx/io/
DEncodedValueReader.java139 int shift = 0; in readIndex() local
141 result += (in.readByte() & 0xff) << shift; in readIndex()
142 shift += 8; in readIndex()
/dalvik/vm/compiler/codegen/arm/Thumb2/
DFactory.cpp307 int rSrc2, int shift) in opRegRegShift() argument
309 bool thumbForm = ((shift == 0) && LOWREG(rDestSrc1) && LOWREG(rSrc2)); in opRegRegShift()
322 assert(shift == 0); in opRegRegShift()
328 else if ((shift == 0) && !LOWREG(rDestSrc1) && !LOWREG(rSrc2)) in opRegRegShift()
330 else if ((shift == 0) && LOWREG(rDestSrc1)) in opRegRegShift()
332 else if (shift == 0) in opRegRegShift()
341 assert(shift == 0); in opRegRegShift()
352 assert(shift == 0); in opRegRegShift()
359 assert(shift == 0); in opRegRegShift()
372 assert(shift == 0); in opRegRegShift()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstUtf8.java272 for (int shift = 6; shift >= 0; shift -= 3) { in toHuman()
273 char outChar = (char) (((c >> shift) & 7) + '0'); in toHuman()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstString.java272 for (int shift = 6; shift >= 0; shift -= 3) { in toHuman()
273 char outChar = (char) (((c >> shift) & 7) + '0'); in toHuman()
/dalvik/vm/compiler/codegen/mips/
DCodegenCommon.cpp98 int shift; in getRegMaskCommon() local
113 shift = kFPReg0; in getRegMaskCommon()
116 shift = kFPRegEnd; in getRegMaskCommon()
118 shift = 0; in getRegMaskCommon()
122 shift += regId; in getRegMaskCommon()
123 return (seed << shift); in getRegMaskCommon()
/dalvik/vm/mterp/x86/
DOP_AGET.S19 $load offArrayObject_contents(%eax,%ecx,$shift),%eax
DOP_APUT.S19 leal offArrayObject_contents(%eax,%ecx,$shift),%eax
/dalvik/tests/083-jit-regressions/
Dinfo.txt8 2296099 JIT shift bug
/dalvik/vm/mterp/armv5te/
DOP_AGET.S20 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
DOP_APUT.S20 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
/dalvik/vm/compiler/codegen/arm/
DCodegenCommon.cpp95 int shift; in getRegMaskCommon() local
103 shift = FPREG(reg) ? kFPReg0 : 0; in getRegMaskCommon()
105 shift += regId; in getRegMaskCommon()
106 return (seed << shift); in getRegMaskCommon()
/dalvik/dx/etc/
Ddx.bat78 shift /1
83 shift /1
/dalvik/vm/compiler/codegen/x86/libenc/
Dencoder.h494 ENCODER_DECLARE_EXPORT char * shift(char * stream, Shift_Opcode opc, const RM_Opnd & rm, const Imm_…
495 ENCODER_DECLARE_EXPORT char * shift(char * stream, Shift_Opcode opc, const RM_Opnd & rm, Opnd_Size …
496 ENCODER_DECLARE_EXPORT char * shift(char * stream, Shift_Opcode opc, const RM_Opnd & rm, const R_Op…
497 ENCODER_DECLARE_EXPORT char * shift(char * stream, Shift_Opcode opc, const RM_Opnd & rm, const R_Op…

12