/art/test/ |
D | run-test | 234 def shift(): function 239 shift() 247 shift() 250 shift() 259 shift() 266 shift() 271 shift() 275 shift() 278 shift() 281 shift() [all …]
|
/art/runtime/interpreter/mterp/riscv64/ |
D | array.S | 1 %def op_aget(load="unimp", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_obje… 5 % op_aget(load="unimp", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", wide="0", is_ob… 8 % op_aget(load="unimp", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", wide="0", is_objec… 11 % op_aget(load="unimp", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", wide="0", is_objec… 14 % op_aget(load="unimp", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", wide="0", is_obj… 17 % op_aget(load="unimp", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", wide="0", is_obje… 20 % op_aget(load="unimp", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_objec… 22 %def op_aput(store="unimp", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_obj… 26 % op_aput(store="unimp", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", wide="0", is_o… 29 % op_aput(store="unimp", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", wide="0", is_obje… [all …]
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | array.S | 1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_object… 15 add x0, x0, w1, uxtw #$shift // w0<- arrayObj + index*width 40 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0") 43 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0") 46 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0") 49 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1") 52 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0") 55 % op_aget(load="ldr", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object=… 57 %def op_aput(store="str", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_objec… 72 add x0, x0, w1, uxtw #$shift // w0<- arrayObj + index*width [all …]
|
/art/runtime/interpreter/mterp/x86_64ng/ |
D | array.S | 1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_objec… 23 $load $data_offset(%rdi,%rsi,$shift), %eax 33 $load $data_offset(%rdi,%rsi,$shift), %eax 39 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0") 42 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0") 45 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0") 48 % op_aget(load="movl", shift="4", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1") 51 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0") 54 % op_aget(load="movq", shift="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object… 56 %def op_aput(rINST_reg="rINST", store="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"… [all …]
|
/art/test/436-shift-constant/ |
D | Android.bp | 3 // Build rules for ART run-test `436-shift-constant`. 16 name: "art-run-test-436-shift-constant", 21 ":art-run-test-436-shift-constant-expected-stdout", 22 ":art-run-test-436-shift-constant-expected-stderr", 28 name: "art-run-test-436-shift-constant-expected-stdout", 29 out: ["art-run-test-436-shift-constant-expected-stdout.txt"], 36 name: "art-run-test-436-shift-constant-expected-stderr", 37 out: ["art-run-test-436-shift-constant-expected-stderr.txt"],
|
D | info.txt | 1 Regression tests for shift instructions and constants larger than 8bits.
|
/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 | 151 const size_t shift = CTZ(left_edge); in VisitMarkedRange() local 152 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in VisitMarkedRange() 157 left_edge ^= (static_cast<uintptr_t>(1)) << shift; in VisitMarkedRange() 168 const size_t shift = CTZ(w); in VisitMarkedRange() local 169 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in VisitMarkedRange() 174 w ^= (static_cast<uintptr_t>(1)) << shift; in VisitMarkedRange() 198 const size_t shift = CTZ(right_edge); in VisitMarkedRange() local 199 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in VisitMarkedRange() 204 right_edge ^= (static_cast<uintptr_t>(1)) << shift; in VisitMarkedRange() 222 const size_t shift = CTZ(w); in Walk() local [all …]
|
D | space_bitmap.cc | 233 const size_t shift = CTZ(garbage); in SweepWalk() local 234 garbage ^= (static_cast<uintptr_t>(1)) << shift; in SweepWalk() 235 *cur_pointer++ = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment); in SweepWalk()
|
/art/runtime/interpreter/mterp/armng/ |
D | array.S | 1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_object… 16 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width 45 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", wide="0", is_obj… 48 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", wide="0", is_objec… 51 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", wide="0", is_object… 54 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", wide="0", is_objec… 57 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", wide="0", is_obje… 60 % op_aget(load="ldrd", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object… 62 %def op_aput(store="str", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_objec… 86 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width [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/gc/collector/ |
D | mark_compact-inl.h | 138 size_t shift = CTZ(word); in VisitLiveStrides() local 139 idx_in_word += shift; in VisitLiveStrides() 140 word >>= shift; in VisitLiveStrides() 142 if (shift > 0) { in VisitLiveStrides() 155 shift = CTZ(~word); in VisitLiveStrides() 156 DCHECK_NE(shift, 0u); in VisitLiveStrides() 157 word >>= shift; in VisitLiveStrides() 158 idx_in_word += shift; in VisitLiveStrides() 159 stride_size += shift; in VisitLiveStrides() 205 uint32_t shift = CTZ(word); in FindNthLiveWordOffset() local [all …]
|
/art/libartbase/base/ |
D | bit_memory_region.h | 85 size_t shift = (bit_start_ + bit_offset) % kBitsPerByte; in LoadBit() local 86 return ((data_[index] >> shift) & 1) != 0; in LoadBit() 92 size_t shift = (bit_start_ + bit_offset) % kBitsPerByte; in StoreBit() local 93 data_[index] &= ~(1 << shift); // Clear bit. in StoreBit() 94 data_[index] |= (value ? 1 : 0) << shift; // Set bit. in StoreBit() 117 size_t shift = (bit_start_ + bit_offset) % width; in LoadBits() local 118 Result value = data[index] >> shift; in LoadBits() 121 Result extra = data[index + (shift + (bit_length - 1)) / width]; in LoadBits() 128 return (value | (extra << ((width - shift) & (width - 1)))) & ~clear; in LoadBits() 145 size_t shift = (bit_start_ + bit_offset) % kBitsPerByte; in StoreBits() local [all …]
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 1851 public static int $noinline$intUnnecessaryShiftMasking(int value, int shift) { in $noinline$intUnnecessaryShiftMasking() argument 1852 return value << (shift & 31); in $noinline$intUnnecessaryShiftMasking() 1869 public static long $noinline$longUnnecessaryShiftMasking(long value, int shift) { in $noinline$longUnnecessaryShiftMasking() argument 1870 return value >> (shift & 63); in $noinline$longUnnecessaryShiftMasking() 1887 public static int $noinline$intUnnecessaryWiderShiftMasking(int value, int shift) { in $noinline$intUnnecessaryWiderShiftMasking() argument 1888 return value >>> (shift & 0xff); in $noinline$intUnnecessaryWiderShiftMasking() 1907 public static long $noinline$longSmallerShiftMasking(long value, int shift) { in $noinline$longSmallerShiftMasking() argument 1908 return value << (shift & 3); in $noinline$longSmallerShiftMasking() 1929 public static int $noinline$otherUseOfUnnecessaryShiftMasking(int value, int shift) { in $noinline$otherUseOfUnnecessaryShiftMasking() argument 1930 int temp = shift & 31; in $noinline$otherUseOfUnnecessaryShiftMasking() [all …]
|
/art/tools/ |
D | dex2oat_wrapper | 44 shift 50 shift 55 shift 60 shift 64 shift
|
/art/test/685-shifts/ |
D | info.txt | 1 Tests for the compiler when shift instructions have 0 or 1 as constant shifts.
|
/art/compiler/optimizing/ |
D | nodes_shared.h | 151 HInstruction* index, HInstruction* offset, HInstruction* shift, uint32_t dex_pc) in HIntermediateAddressIndex() argument 158 SetRawInputAt(2, shift); in HIntermediateAddressIndex() 203 int shift = 0, 207 shift_amount_(shift & (instr->GetType() == DataType::Type::kInt32
|
D | code_generator_utils.h | 32 void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, int64_t* magic, int* shift);
|
D | code_generator_utils.cc | 26 int64_t* magic, int* shift) { in CalculateMagicAndShiftForDivRem() argument 96 *shift = is_long ? p - 64 : p - 32; in CalculateMagicAndShiftForDivRem()
|
D | instruction_simplifier_shared.cc | 329 HIntConstant* shift = graph->GetIntConstant(component_shift); in TryExtractVecArrayAccessAddress() local 331 new (allocator) HIntermediateAddressIndex(index, offset, shift, kNoDexPc); in TryExtractVecArrayAccessAddress()
|
/art/test/836-32768classes/ |
D | info.txt | 2 shift behavior in the type lookup table code.
|
/art/test/083-compiler-regressions/ |
D | info.txt | 8 2296099 JIT shift bug
|
/art/test/593-checker-shift-and-simplifier/smali/ |
D | SmaliTests.smali | 30 ## CHECK-DAG: DataProcWithShifterOp [<<Not>>,<<Get>>] kind:And+LSL shift:2 41 ## CHECK-DAG: DataProcWithShifterOp [<<Not>>,<<Get>>] kind:And+LSL shift:2
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 215 uint32_t shift = wide ? 3u : 2u; in PatchPcRelativeReference() local 231 insn = (out_disp & 0x0fffffffu) >> shift; in PatchPcRelativeReference() 270 shift = 0u; // No shift for ADD. in PatchPcRelativeReference() 303 uint32_t imm12 = (disp & 0xfffu) >> shift; in PatchPcRelativeReference()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.cc | 311 size_t shift = 0; in ArmJniCallingConvention() local 355 shift += 4; in ArmJniCallingConvention() 379 padding_ = shift; in ArmJniCallingConvention()
|