/external/v8/test/cctest/ |
D | test-disasm-x64.cc | 72 __ movq(rbx, Operand(rsp, rcx, times_2, 0)); // [rsp+rcx*4] in TEST() 76 __ addq(rdx, Operand(rbx, 0)); in TEST() 77 __ addq(rdx, Operand(rbx, 16)); in TEST() 78 __ addq(rdx, Operand(rbx, 1999)); in TEST() 79 __ addq(rdx, Operand(rsp, 0)); in TEST() 80 __ addq(rdx, Operand(rsp, 16)); in TEST() 81 __ addq(rdx, Operand(rsp, 1999)); in TEST() 83 __ addq(rdi, Operand(rbp, rcx, times_4, 0)); in TEST() 84 __ addq(rdi, Operand(rbp, rcx, times_4, 12)); in TEST() 85 __ addq(Operand(rbp, rcx, times_4, 12), Immediate(12)); in TEST() [all …]
|
D | test-disasm-ia32.cc | 75 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4] in TEST() 79 __ add(edx, Operand(12, RelocInfo::NONE)); in TEST() 80 __ add(edx, Operand(ebx, 0)); in TEST() 81 __ add(edx, Operand(ebx, 16)); in TEST() 82 __ add(edx, Operand(ebx, 1999)); in TEST() 83 __ add(edx, Operand(esp, 0)); in TEST() 84 __ add(edx, Operand(esp, 16)); in TEST() 85 __ add(edx, Operand(esp, 1999)); in TEST() 87 __ add(edi, Operand(ebp, ecx, times_4, 0)); in TEST() 88 __ add(edi, Operand(ebp, ecx, times_4, 12)); in TEST() [all …]
|
D | test-disasm-arm.cc | 107 COMPARE(and_(r0, r1, Operand(r2)), in TEST() 109 COMPARE(and_(r1, r2, Operand(r3), LeaveCC), in TEST() 111 COMPARE(and_(r2, r3, Operand(r4), SetCC), in TEST() 113 COMPARE(and_(r3, r4, Operand(r5), LeaveCC, eq), in TEST() 116 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)), in TEST() 118 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC), in TEST() 120 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne), in TEST() 122 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs), in TEST() 125 COMPARE(sub(r5, r6, Operand(r10, LSL, 31), LeaveCC, hs), in TEST() 127 COMPARE(sub(r5, r6, Operand(r10, LSL, 30), SetCC, cc), in TEST() [all …]
|
D | test-assembler-arm.cc | 64 __ add(r0, r0, Operand(r1)); 65 __ mov(pc, Operand(lr)); 91 __ mov(r1, Operand(r0)); 92 __ mov(r0, Operand(0, RelocInfo::NONE)); 96 __ add(r0, r0, Operand(r1)); 97 __ sub(r1, r1, Operand(1)); 100 __ teq(r1, Operand(0, RelocInfo::NONE)); 102 __ mov(pc, Operand(lr)); 128 __ mov(r1, Operand(r0)); 129 __ mov(r0, Operand(1)); [all …]
|
D | test-assembler-x64.cc | 46 using v8::internal::Operand; 224 __ movq(rax, Operand(rbp, -3 * kStackElementSize)); in TEST() 323 CHECK(Operand(rax, offset).AddressUsesRegister(rax)); in TEST() 324 CHECK(!Operand(rax, offset).AddressUsesRegister(r8)); in TEST() 325 CHECK(!Operand(rax, offset).AddressUsesRegister(rcx)); in TEST() 327 CHECK(Operand(rax, rax, times_1, offset).AddressUsesRegister(rax)); in TEST() 328 CHECK(!Operand(rax, rax, times_1, offset).AddressUsesRegister(r8)); in TEST() 329 CHECK(!Operand(rax, rax, times_1, offset).AddressUsesRegister(rcx)); in TEST() 331 CHECK(Operand(rax, rcx, times_1, offset).AddressUsesRegister(rax)); in TEST() 332 CHECK(Operand(rax, rcx, times_1, offset).AddressUsesRegister(rcx)); in TEST() [all …]
|
/external/v8/src/ia32/ |
D | assembler-ia32.h | 312 class Operand BASE_EMBEDDED { 315 INLINE(explicit Operand(XMMRegister xmm_reg)); 318 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode)); 322 explicit Operand(Register base, int32_t disp, 326 explicit Operand(Register base, 333 explicit Operand(Register index, 338 static Operand StaticVariable(const ExternalReference& ext) { in StaticVariable() 339 return Operand(reinterpret_cast<int32_t>(ext.address()), in StaticVariable() 343 static Operand StaticArray(Register index, in StaticArray() 346 return Operand(index, scale, reinterpret_cast<int32_t>(arr.address()), in StaticArray() [all …]
|
D | regexp-macro-assembler-ia32.cc | 180 __ cmp(Operand(ebp, kStartIndex), Immediate(0)); in CheckAtStart() 183 __ lea(eax, Operand(esi, edi, times_1, 0)); in CheckAtStart() 184 __ cmp(eax, Operand(ebp, kInputStart)); in CheckAtStart() 192 __ cmp(Operand(ebp, kStartIndex), Immediate(0)); in CheckNotAtStart() 195 __ lea(eax, Operand(esi, edi, times_1, 0)); in CheckNotAtStart() 196 __ cmp(eax, Operand(ebp, kInputStart)); in CheckNotAtStart() 237 __ cmpb(Operand(esi, edi, times_1, byte_offset), in CheckCharacters() 243 Operand(esi, edi, times_1, byte_offset)); in CheckCharacters() 248 __ lea(ebx, Operand(esi, edi, times_1, 0)); in CheckCharacters() 257 __ cmp(Operand(ebx, byte_offset + i), Immediate(combined_chars)); in CheckCharacters() [all …]
|
D | codegen-ia32.cc | 85 __ fld_d(Operand(esp, 4 * kPointerSize)); in CreateTranscendentalFunction() 86 __ mov(ebx, Operand(esp, 4 * kPointerSize)); in CreateTranscendentalFunction() 87 __ mov(edx, Operand(esp, 5 * kPointerSize)); in CreateTranscendentalFunction() 120 __ movdbl(xmm0, Operand(esp, 1 * kPointerSize)); in CreateSqrtFunction() 122 __ movdbl(Operand(esp, 1 * kPointerSize), xmm0); in CreateSqrtFunction() 124 __ fld_d(Operand(esp, 1 * kPointerSize)); in CreateSqrtFunction() 171 __ cmp(Operand(esp, kSizeOffset + stack_offset), in CreateMemCopyFunction() 186 __ mov(dst, Operand(esp, stack_offset + kDestinationOffset)); in CreateMemCopyFunction() 187 __ mov(src, Operand(esp, stack_offset + kSourceOffset)); in CreateMemCopyFunction() 188 __ mov(count, Operand(esp, stack_offset + kSizeOffset)); in CreateMemCopyFunction() [all …]
|
D | assembler-ia32.cc | 229 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() function in v8::internal::Operand 249 Operand::Operand(Register base, in Operand() function in v8::internal::Operand 274 Operand::Operand(Register index, in Operand() function in v8::internal::Operand 286 bool Operand::is_reg(Register reg) const { in is_reg() 292 bool Operand::is_reg_only() const { in is_reg_only() 297 Register Operand::reg() const { in reg() 542 void Assembler::push(const Operand& src) { in push() 556 void Assembler::pop(const Operand& dst) { in pop() 577 void Assembler::mov_b(Register dst, const Operand& src) { in mov_b() 585 void Assembler::mov_b(const Operand& dst, int8_t imm8) { in mov_b() [all …]
|
D | builtins-ia32.cc | 107 __ cmp(Operand::StaticVariable(debug_step_in_fp), Immediate(0)); in Generate_JSConstructStubHelper() 162 __ mov(Operand(ebx, JSObject::kMapOffset), eax); in Generate_JSConstructStubHelper() 165 __ mov(Operand(ebx, JSObject::kPropertiesOffset), ecx); in Generate_JSConstructStubHelper() 166 __ mov(Operand(ebx, JSObject::kElementsOffset), ecx); in Generate_JSConstructStubHelper() 171 __ lea(ecx, Operand(ebx, JSObject::kHeaderSize)); in Generate_JSConstructStubHelper() 177 Operand(ebx, esi, times_pointer_size, JSObject::kHeaderSize)); in Generate_JSConstructStubHelper() 235 __ mov(Operand(edi, FixedArray::kMapOffset), eax); // setup the map in Generate_JSConstructStubHelper() 237 __ mov(Operand(edi, FixedArray::kLengthOffset), edx); // and length in Generate_JSConstructStubHelper() 245 __ lea(eax, Operand(edi, FixedArray::kHeaderSize)); in Generate_JSConstructStubHelper() 248 __ mov(Operand(eax, 0), edx); in Generate_JSConstructStubHelper() [all …]
|
/external/v8/src/mips/ |
D | regexp-macro-assembler-mips.cc | 133 __ li(v0, Operand(FAILURE)); in RegExpMacroAssemblerMIPS() 161 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition() 171 __ Addu(a0, a0, Operand(by)); in AdvanceRegister() 192 BranchOrBacktrack(on_equal, eq, current_character(), Operand(c)); in CheckCharacter() 197 BranchOrBacktrack(on_greater, gt, current_character(), Operand(limit)); in CheckCharacterGT() 205 BranchOrBacktrack(¬_at_start, eq, a0, Operand(zero_reg)); in CheckAtStart() 209 __ Addu(a0, end_of_input_address(), Operand(current_input_offset())); in CheckAtStart() 210 BranchOrBacktrack(on_at_start, eq, a0, Operand(a1)); in CheckAtStart() 218 BranchOrBacktrack(on_not_at_start, eq, a0, Operand(zero_reg)); in CheckNotAtStart() 221 __ Addu(a0, end_of_input_address(), Operand(current_input_offset())); in CheckNotAtStart() [all …]
|
D | code-stubs-mips.cc | 65 __ Branch(not_a_heap_number, ne, scratch1, Operand(scratch2)); in EmitCheckForHeapNumber() 130 __ Addu(a3, a3, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate() 162 __ li(a2, Operand(Smi::FromInt(length))); in Generate() 168 __ li(a1, Operand(Smi::FromInt(0))); in Generate() 211 __ li(a2, Operand(Smi::FromInt(length))); in Generate() 222 __ Assert(eq, message, a3, Operand(zero_reg)); in Generate() 291 __ Addu(a2, v0, Operand(JSArray::kSize)); in GenerateFastCloneShallowArrayCommon() 312 __ Addu(a3, a3, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in Generate() 317 __ Branch(&slow_case, eq, a3, Operand(t1)); in Generate() 325 __ Branch(&check_fast_elements, ne, v0, Operand(t1)); in Generate() [all …]
|
D | builtins-mips.cc | 156 __ Addu(scratch1, result, Operand(JSArray::kSize)); in AllocateEmptyJSArray() 160 __ And(scratch1, scratch1, Operand(~kHeapObjectTagMask)); in AllocateEmptyJSArray() 171 __ li(scratch3, Operand(Smi::FromInt(initial_capacity))); in AllocateEmptyJSArray() 186 __ Addu(scratch2, scratch1, Operand(initial_capacity * kPointerSize)); in AllocateEmptyJSArray() 192 __ Branch(&loop, lt, scratch1, Operand(scratch2)); in AllocateEmptyJSArray() 221 ne, "array size is unexpectedly 0", array_size, Operand(zero_reg)); in AllocateJSArray() 255 __ Addu(elements_array_storage, result, Operand(JSArray::kSize)); in AllocateJSArray() 262 Operand(~kHeapObjectTagMask)); in AllocateJSArray() 303 __ Branch(&loop, lt, elements_array_storage, Operand(elements_array_end)); in AllocateJSArray() 329 __ Branch(&argc_one_or_more, ne, a0, Operand(zero_reg)); in ArrayNativeCode() [all …]
|
D | macro-assembler-mips.cc | 63 Register src1, const Operand& src2) { in LoadRoot() 78 Register src1, const Operand& src2) { in StoreRoot() 89 li(result, Operand(cell)); in LoadHeapObject() 92 li(result, Operand(object)); in LoadHeapObject() 104 Subu(sp, sp, Operand(num_unsaved * kPointerSize)); in PushSafepointRegisters() 114 Addu(sp, sp, Operand(num_unsaved * kPointerSize)); in PopSafepointRegisters() 121 Subu(sp, sp, Operand(FPURegister::kNumAllocatableRegisters * kDoubleSize)); in PushSafepointRegistersAndDoubles() 134 Addu(sp, sp, Operand(FPURegister::kNumAllocatableRegisters * kDoubleSize)); in PopSafepointRegistersAndDoubles() 181 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate()))); in InNewSpace() 183 Operand(ExternalReference::new_space_start(isolate()))); in InNewSpace() [all …]
|
D | codegen-mips.cc | 117 __ Branch(&only_change_map, eq, at, Operand(t0)); in GenerateSmiOnlyToDouble() 145 __ Addu(a3, t2, Operand(kHeapObjectTag)); in GenerateSmiOnlyToDouble() 158 __ Addu(a3, t0, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateSmiOnlyToDouble() 159 __ Addu(t3, t2, Operand(FixedDoubleArray::kHeaderSize)); in GenerateSmiOnlyToDouble() 162 __ li(t0, Operand(kHoleNanLower32)); in GenerateSmiOnlyToDouble() 163 __ li(t1, Operand(kHoleNanUpper32)); in GenerateSmiOnlyToDouble() 224 __ Or(t5, t5, Operand(1)); in GenerateSmiOnlyToDouble() 226 __ Assert(eq, "object found in smi-only array", at, Operand(t5)); in GenerateSmiOnlyToDouble() 233 __ Branch(&loop, lt, t3, Operand(t2)); in GenerateSmiOnlyToDouble() 257 __ Branch(&only_change_map, eq, at, Operand(t0)); in GenerateDoubleToObject() [all …]
|
D | ic-mips.cc | 56 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_OBJECT_TYPE)); in GenerateGlobalInstanceTypeCheck() 57 __ Branch(global_object, eq, type, Operand(JS_BUILTINS_OBJECT_TYPE)); in GenerateGlobalInstanceTypeCheck() 58 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_PROXY_TYPE)); in GenerateGlobalInstanceTypeCheck() 83 __ Branch(miss, lt, scratch1, Operand(FIRST_SPEC_OBJECT_TYPE)); in GenerateStringDictionaryReceiverCheck() 92 __ And(scratch1, scratch1, Operand((1 << Map::kIsAccessCheckNeeded) | in GenerateStringDictionaryReceiverCheck() 94 __ Branch(miss, ne, scratch1, Operand(zero_reg)); in GenerateStringDictionaryReceiverCheck() 99 __ Branch(miss, ne, scratch1, Operand(scratch0)); in GenerateStringDictionaryReceiverCheck() 149 Operand(PropertyDetails::TypeField::kMask << kSmiTagSize)); in GenerateDictionaryLoad() 150 __ Branch(miss, ne, at, Operand(zero_reg)); in GenerateDictionaryLoad() 203 __ And(at, scratch1, Operand(kTypeAndReadOnlyMask)); in GenerateDictionaryStore() [all …]
|
D | lithium-codegen-mips.cc | 146 __ Branch(&ok, eq, t1, Operand(zero_reg)); in GeneratePrologue() 155 __ Addu(fp, sp, Operand(2 * kPointerSize)); // Adj. FP to point to saved FP. in GeneratePrologue() 161 __ li(a0, Operand(slots)); in GeneratePrologue() 162 __ li(a2, Operand(kSlotsZapValue)); in GeneratePrologue() 167 __ Branch(&loop, ne, a0, Operand(zero_reg)); in GeneratePrologue() 169 __ Subu(sp, sp, Operand(slots * kPointerSize)); in GeneratePrologue() 299 __ li(scratch, Operand(static_cast<int32_t>(literal->Number()))); in EmitLoadRegister() 305 __ li(scratch, Operand(literal)); in EmitLoadRegister() 337 __ li(at, Operand(static_cast<int32_t>(literal->Number()))); in EmitLoadDoubleRegister() 383 Operand LCodeGen::ToOperand(LOperand* op) { in ToOperand() [all …]
|
/external/v8/src/x64/ |
D | assembler-x64.h | 383 class Operand BASE_EMBEDDED { 386 Operand(Register base, int32_t disp); 389 Operand(Register base, 395 Operand(Register index, 402 Operand(const Operand& base, int32_t offset); 671 void push(const Operand& src); 674 void pop(const Operand& dst); 680 void movb(Register dst, const Operand& src); 682 void movb(const Operand& dst, Register src); 686 void movw(const Operand& dst, Register src); [all …]
|
D | regexp-macro-assembler-x64.cc | 196 __ cmpl(Operand(rbp, kStartIndex), Immediate(0)); in CheckAtStart() 199 __ lea(rax, Operand(rsi, rdi, times_1, 0)); in CheckAtStart() 200 __ cmpq(rax, Operand(rbp, kInputStart)); in CheckAtStart() 208 __ cmpl(Operand(rbp, kStartIndex), Immediate(0)); in CheckNotAtStart() 211 __ lea(rax, Operand(rsi, rdi, times_1, 0)); in CheckNotAtStart() 212 __ cmpq(rax, Operand(rbp, kInputStart)); in CheckNotAtStart() 253 __ cmpb(Operand(rsi, rdi, times_1, byte_offset), in CheckCharacters() 259 Operand(rsi, rdi, times_1, byte_offset)); in CheckCharacters() 264 __ lea(rbx, Operand(rsi, rdi, times_1, 0)); in CheckCharacters() 278 __ cmpq(rax, Operand(rbx, byte_offset + i)); in CheckCharacters() [all …]
|
/external/v8/src/arm/ |
D | regexp-macro-assembler-arm.cc | 156 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition() 166 __ add(r0, r0, Operand(by)); in AdvanceRegister() 176 __ add(pc, r0, Operand(code_pointer())); in Backtrack() 186 __ cmp(current_character(), Operand(c)); in CheckCharacter() 192 __ cmp(current_character(), Operand(limit)); in CheckCharacterGT() 201 __ cmp(r0, Operand(0, RelocInfo::NONE)); in CheckAtStart() 206 __ add(r0, end_of_input_address(), Operand(current_input_offset())); in CheckAtStart() 216 __ cmp(r0, Operand(0, RelocInfo::NONE)); in CheckNotAtStart() 220 __ add(r0, end_of_input_address(), Operand(current_input_offset())); in CheckNotAtStart() 227 __ cmp(current_character(), Operand(limit)); in CheckCharacterLT() [all …]
|
D | macro-assembler-arm.cc | 79 mov(pc, Operand(target), LeaveCC, cond); in Jump() 87 mov(ip, Operand(target, rmode)); in Jump() 90 mov(pc, Operand(target, rmode), LeaveCC, cond); in Jump() 128 mov(lr, Operand(pc), LeaveCC, cond); in Call() 129 mov(pc, Operand(target), LeaveCC, cond); in Call() 140 if (!Operand(immediate, rmode).is_single_instruction(mov_instr)) { in CallSize() 165 mov(ip, Operand(reinterpret_cast<int32_t>(target), rmode)); in Call() 171 mov(lr, Operand(pc), LeaveCC, cond); in Call() 173 mov(pc, Operand(reinterpret_cast<int32_t>(target), rmode), LeaveCC, cond); in Call() 210 mov(pc, Operand(lr), LeaveCC, cond); in Ret() [all …]
|
D | code-stubs-arm.cc | 128 __ add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate() 160 __ mov(r2, Operand(Smi::FromInt(length))); in Generate() 166 __ mov(r1, Operand(Smi::FromInt(0))); in Generate() 210 __ mov(r2, Operand(Smi::FromInt(length))); in Generate() 221 __ cmp(r3, Operand::Zero()); in Generate() 244 __ add(sp, sp, Operand(2 * kPointerSize)); in Generate() 293 __ add(r2, r0, Operand(JSArray::kSize)); in GenerateFastCloneShallowArrayCommon() 314 __ add(r3, r3, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in Generate() 329 __ add(sp, sp, Operand(3 * kPointerSize)); in Generate() 338 __ add(sp, sp, Operand(3 * kPointerSize)); in Generate() [all …]
|
D | builtins-arm.cc | 70 __ add(r0, r0, Operand(num_extra_args + 1)); in Generate_Adaptor() 141 __ mov(scratch3, Operand(0, RelocInfo::NONE)); in AllocateEmptyJSArray() 153 __ add(scratch1, result, Operand(JSArray::kSize)); in AllocateEmptyJSArray() 157 __ sub(scratch1, scratch1, Operand(kHeapObjectTag)); in AllocateEmptyJSArray() 167 __ mov(scratch3, Operand(Smi::FromInt(initial_capacity))); in AllocateEmptyJSArray() 181 __ add(scratch2, scratch1, Operand(initial_capacity * kPointerSize)); in AllocateEmptyJSArray() 222 Operand((JSArray::kSize + FixedArray::kHeaderSize) / kPointerSize)); in AllocateJSArray() 225 Operand(array_size, ASR, kSmiTagSize)); in AllocateJSArray() 250 __ add(elements_array_storage, result, Operand(JSArray::kSize)); in AllocateJSArray() 258 Operand(kHeapObjectTag)); in AllocateJSArray() [all …]
|
D | codegen-arm.cc | 124 __ mov(lr, Operand(FixedDoubleArray::kHeaderSize)); in GenerateSmiOnlyToDouble() 125 __ add(lr, lr, Operand(r5, LSL, 2)); in GenerateSmiOnlyToDouble() 144 __ add(r3, r6, Operand(kHeapObjectTag)); in GenerateSmiOnlyToDouble() 156 __ add(r3, r4, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateSmiOnlyToDouble() 157 __ add(r7, r6, Operand(FixedDoubleArray::kHeaderSize)); in GenerateSmiOnlyToDouble() 158 __ add(r6, r7, Operand(r5, LSL, 2)); in GenerateSmiOnlyToDouble() 159 __ mov(r4, Operand(kHoleNanLower32)); in GenerateSmiOnlyToDouble() 160 __ mov(r5, Operand(kHoleNanUpper32)); in GenerateSmiOnlyToDouble() 199 __ add(r7, r7, Operand(8)); in GenerateSmiOnlyToDouble() 218 __ orr(r9, r9, Operand(1)); in GenerateSmiOnlyToDouble() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
D | PhiInsn.java | 44 private final ArrayList<Operand> operands = new ArrayList<Operand>(); 91 for (Operand o : operands) { in updateSourcesToDefinitions() 130 operands.add(new Operand(registerSpec, predBlock.getIndex(), in addPhiOperand() 143 ArrayList<Operand> operandsToRemove = new ArrayList<Operand>(); in removePhiRegister() 144 for (Operand o : operands) { in removePhiRegister() 218 Operand o = operands.get(i); in getSources() 235 for (Operand o : operands) { in isRegASource() 254 for (Operand o : operands) { in areAllOperandsEqual() 266 for (Operand o : operands) { in mapSourceRegisters() 299 for (Operand o : operands) { in predBlocksForReg() [all …]
|