Home
last modified time | relevance | path

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

123

/art/runtime/interpreter/mterp/mips/
Dop_shl_long_2addr.S15 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)
Dop_shl_long.S19 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)
Dop_shr_long_2addr.S14 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))
Dop_shr_long.S18 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))
Dop_ushr_long_2addr.S15 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))
Dop_ushr_long.S19 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/
Dbitmap-inl.h89 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()
Dspace_bitmap-inl.h111 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/
DDexRandomAccessFile.java99 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/
Dmemory_region.h141 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/
Dop_aput.S18 .if $shift
19 # [d]lsa does not support shift count of 0.
20 dlsa a0, a1, a0, $shift # a0 <- arrayObj + index*width
Dop_aget.S18 .if $shift
19 # [d]lsa does not support shift count of 0.
20 dlsa a0, a1, a0, $shift # a0 <- arrayObj + index*width
Dop_const_4.S5 sra a0, a0, 12 # shift B into its final position
/art/compiler/optimizing/
Dcode_generator_utils.cc25 int64_t* magic, int* shift) { in CalculateMagicAndShiftForDivRem() argument
95 *shift = is_long ? p - 64 : p - 32; in CalculateMagicAndShiftForDivRem()
Dnodes_shared.h173 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
Dcode_generator_utils.h30 void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, int64_t* magic, int* shift);
/art/test/431-optimizing-arith-shifts/
Dinfo.txt1 Tests for shift operations.
/art/test/436-shift-constant/
Dinfo.txt1 Regression tests for shift instructions and constants larger than 8bits.
/art/runtime/interpreter/mterp/arm64/
Dop_aput.S21 add x0, x0, w1, lsl #$shift // w0<- arrayObj + index*width
Dop_aget.S21 add x0, x0, w1, uxtw #$shift // w0<- arrayObj + index*width
/art/runtime/interpreter/mterp/x86/
Dop_aget.S17 $load $data_offset(%eax,%ecx,$shift), %eax
Dop_aput.S17 leal $data_offset(%eax,%ecx,$shift), %eax
/art/runtime/interpreter/mterp/x86_64/
Dop_aput.S22 $store $reg, $data_offset(%rax,%rcx,$shift)
Dop_aget.S21 $load $data_offset(%rax,%rcx,$shift), %eax
/art/test/458-checker-instruct-simplification/src/
DMain.java1953 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()

123