/art/runtime/interpreter/mterp/mips/ |
D | op_shl_long_2addr.S | 15 andi v1, a2, 0x20 # shift< shift & 0x20 16 sll v0, a0, a2 # rlo<- alo << (shift&31) 18 not v1, a2 # rhi<- 31-shift (shift is 5b) 20 srl a0, v1 # alo<- alo >> (32-(shift&31)) 21 sll v1, a1, a2 # rhi<- ahi << (shift&31)
|
D | op_shl_long.S | 19 andi v1, a2, 0x20 # shift< shift & 0x20 20 sll v0, a0, a2 # rlo<- alo << (shift&31) 22 not v1, a2 # rhi<- 31-shift (shift is 5b) 24 srl a0, v1 # alo<- alo >> (32-(shift&31)) 25 sll v1, a1, a2 # rhi<- ahi << (shift&31)
|
D | op_shr_long_2addr.S | 14 andi v0, a2, 0x20 # shift & 0x20 15 sra v1, a1, a2 # rhi<- ahi >> (shift&31) 17 srl v0, a0, a2 # rlo<- alo >> (shift&31) 18 not a0, a2 # alo<- 31-shift (shift is 5b) 20 sll a1, a0 # ahi<- ahi << (32-(shift&31))
|
D | op_shr_long.S | 18 andi v0, a2, 0x20 # shift & 0x20 19 sra v1, a1, a2 # rhi<- ahi >> (shift&31) 21 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))
|
D | op_ushr_long_2addr.S | 15 andi v0, a2, 0x20 # shift & 0x20 16 srl v1, a1, a2 # rhi<- ahi >> (shift&31) 18 srl v0, a0, a2 # rlo<- alo >> (shift&31) 19 not a0, a2 # alo<- 31-n (shift is 5b) 21 sll a1, a0 # ahi<- ahi << (32-(shift&31))
|
D | op_ushr_long.S | 19 andi v0, a2, 0x20 # shift & 0x20 20 srl v1, a1, a2 # rhi<- ahi >> (shift&31) 22 srl v0, a0, a2 # rlo<- alo >> (shift&31) 23 not a0, a2 # alo<- 31-n (shift is 5b) 25 sll a1, a0 # ahi<- ahi << (32-(shift&31))
|
/art/runtime/gc/accounting/ |
D | bitmap-inl.h | 89 const size_t shift = CTZ(left_edge); in VisitSetBits() local 90 visitor(ptr_base + shift); in VisitSetBits() 91 left_edge ^= static_cast<uintptr_t>(1) << shift; in VisitSetBits() 101 const size_t shift = CTZ(w); in VisitSetBits() local 102 visitor(ptr_base + shift); in VisitSetBits() 103 w ^= static_cast<uintptr_t>(1) << shift; in VisitSetBits() 125 const size_t shift = CTZ(right_edge); in VisitSetBits() local 126 visitor(ptr_base + shift); in VisitSetBits() 127 right_edge ^= (static_cast<uintptr_t>(1)) << shift; in VisitSetBits()
|
D | space_bitmap-inl.h | 111 const size_t shift = CTZ(left_edge); in VisitMarkedRange() local 112 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in VisitMarkedRange() 114 left_edge ^= (static_cast<uintptr_t>(1)) << shift; in VisitMarkedRange() 124 const size_t shift = CTZ(w); in VisitMarkedRange() local 125 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in VisitMarkedRange() 127 w ^= (static_cast<uintptr_t>(1)) << shift; in VisitMarkedRange() 150 const size_t shift = CTZ(right_edge); in VisitMarkedRange() local 151 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in VisitMarkedRange() 153 right_edge ^= (static_cast<uintptr_t>(1)) << shift; in VisitMarkedRange() 170 const size_t shift = CTZ(w); in Walk() local [all …]
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | DexRandomAccessFile.java | 99 int shift = 0; in readUleb128() local 106 value |= ((rawByte & 0x7f) << shift); in readUleb128() 107 shift += 7; in readUleb128() 179 int shift = 0; in readSleb128() local 187 value |= ((rawByte & 0x7f) << shift); in readSleb128() 188 shift += 7; in readSleb128() 213 int upperOnes = ~((1 << shift) - 1); in readSleb128()
|
/art/runtime/ |
D | memory_region.h | 141 const uint32_t shift = bit_offset & (kBitsPerByte - 1); in LoadBits() local 143 const uint32_t load_bit_count = shift + length; in LoadBits() 144 uint32_t value = address[0] >> shift; in LoadBits() 146 value |= static_cast<uint32_t>(address[1]) << (8 - shift); in LoadBits() 148 value |= static_cast<uint32_t>(address[2]) << (16 - shift); in LoadBits() 150 value |= static_cast<uint32_t>(address[3]) << (24 - shift); in LoadBits() 152 value |= static_cast<uint32_t>(address[4]) << (32 - shift); in LoadBits()
|
/art/runtime/interpreter/mterp/mips64/ |
D | op_aput.S | 18 .if $shift 19 # [d]lsa does not support shift count of 0. 20 dlsa a0, a1, a0, $shift # a0 <- arrayObj + index*width
|
D | op_aget.S | 18 .if $shift 19 # [d]lsa does not support shift count of 0. 20 dlsa a0, a1, a0, $shift # a0 <- arrayObj + index*width
|
D | op_const_4.S | 5 sra a0, a0, 12 # shift B into its final position
|
/art/compiler/optimizing/ |
D | code_generator_utils.cc | 25 int64_t* magic, int* shift) { in CalculateMagicAndShiftForDivRem() argument 95 *shift = is_long ? p - 64 : p - 32; in CalculateMagicAndShiftForDivRem()
|
D | nodes_shared.h | 173 HInstruction* index, HInstruction* offset, HInstruction* shift, uint32_t dex_pc) in HIntermediateAddressIndex() argument 177 SetRawInputAt(2, shift); in HIntermediateAddressIndex() 221 int shift = 0, 225 shift_amount_(shift & (instr->GetType() == Primitive::kPrimInt
|
D | code_generator_utils.h | 30 void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, int64_t* magic, int* shift);
|
/art/test/431-optimizing-arith-shifts/ |
D | info.txt | 1 Tests for shift operations.
|
/art/test/436-shift-constant/ |
D | info.txt | 1 Regression tests for shift instructions and constants larger than 8bits.
|
/art/runtime/interpreter/mterp/arm64/ |
D | op_aput.S | 21 add x0, x0, w1, lsl #$shift // w0<- arrayObj + index*width
|
D | op_aget.S | 21 add x0, x0, w1, uxtw #$shift // w0<- arrayObj + index*width
|
/art/runtime/interpreter/mterp/x86/ |
D | op_aget.S | 17 $load $data_offset(%eax,%ecx,$shift), %eax
|
D | op_aput.S | 17 leal $data_offset(%eax,%ecx,$shift), %eax
|
/art/runtime/interpreter/mterp/x86_64/ |
D | op_aput.S | 22 $store $reg, $data_offset(%rax,%rcx,$shift)
|
D | op_aget.S | 21 $load $data_offset(%rax,%rcx,$shift), %eax
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 1953 public static int $noinline$intUnnecessaryShiftMasking(int value, int shift) { in $noinline$intUnnecessaryShiftMasking() argument 1955 return value << (shift & 31); in $noinline$intUnnecessaryShiftMasking() 1972 public static long $noinline$longUnnecessaryShiftMasking(long value, int shift) { in $noinline$longUnnecessaryShiftMasking() argument 1974 return value >> (shift & 63); in $noinline$longUnnecessaryShiftMasking() 1991 public static int $noinline$intUnnecessaryWiderShiftMasking(int value, int shift) { in $noinline$intUnnecessaryWiderShiftMasking() argument 1993 return value >>> (shift & 0xff); in $noinline$intUnnecessaryWiderShiftMasking() 2012 public static long $noinline$longSmallerShiftMasking(long value, int shift) { in $noinline$longSmallerShiftMasking() argument 2014 return value << (shift & 3); in $noinline$longSmallerShiftMasking() 2035 public static int $noinline$otherUseOfUnnecessaryShiftMasking(int value, int shift) { in $noinline$otherUseOfUnnecessaryShiftMasking() argument 2037 int temp = shift & 31; in $noinline$otherUseOfUnnecessaryShiftMasking()
|