/external/v8/src/arm/ |
full-codegen-arm.cc | 48 #define __ ACCESS_MASM(masm_) macro 74 __ bind(&patch_site_); 75 __ cmp(reg, Operand(reg)); 79 __ b(eq, target); // Always taken before patched. 87 __ bind(&patch_site_); 88 __ cmp(reg, Operand(reg)); 89 __ b(ne, target); // Never taken before patched. 97 __ cmp_raw_immediate(reg, delta_to_patch_site % kOff12Mask); 102 __ nop(); // Signals no inlined code. 148 __ stop("stop-at") 4407 #undef __ macro 4409 #define __ macro 4435 #undef __ macro [all...] |
stub-cache-arm.cc | 39 #define __ ACCESS_MASM(masm) macro 74 __ add(offset_scratch, offset, Operand(offset, LSL, 1)); 77 __ mov(base_addr, Operand(key_offset)); 78 __ add(base_addr, base_addr, Operand(offset_scratch, LSL, kPointerSizeLog2)); 81 __ ldr(ip, MemOperand(base_addr, 0)); 82 __ cmp(name, ip); 83 __ b(ne, &miss); 86 __ ldr(ip, MemOperand(base_addr, map_off_addr - key_off_addr)); 87 __ ldr(scratch2, FieldMemOperand(receiver, HeapObject::kMapOffset)); 88 __ cmp(ip, scratch2) 1032 #undef __ macro 1033 #define __ macro 3302 #undef __ macro 3303 #define __ macro 4462 #undef __ macro [all...] |
lithium-codegen-arm.cc | 62 #define __ masm()-> macro 133 __ stop("stop_at"); 148 __ cmp(r5, Operand(0)); 149 __ b(eq, &ok); 151 __ LoadRoot(r2, Heap::kUndefinedValueRootIndex); 152 __ str(r2, MemOperand(sp, receiver_offset)); 153 __ bind(&ok); 156 __ stm(db_w, sp, r1.bit() | cp.bit() | fp.bit() | lr.bit()); 157 __ add(fp, sp, Operand(2 * kPointerSize)); // Adjust FP to point to saved FP. 163 __ mov(r0, Operand(slots)) 5136 #undef __ macro [all...] |
lithium-gap-resolver-arm.cc | 158 #define __ ACCESS_MASM(cgen_->masm()) macro 170 __ mov(kSavedValueRegister, cgen_->ToRegister(source)); 172 __ ldr(kSavedValueRegister, cgen_->ToMemOperand(source)); 174 __ vmov(kScratchDoubleReg, cgen_->ToDoubleRegister(source)); 176 __ vldr(kScratchDoubleReg, cgen_->ToMemOperand(source)); 191 __ mov(cgen_->ToRegister(saved_destination_), kSavedValueRegister); 193 __ str(kSavedValueRegister, cgen_->ToMemOperand(saved_destination_)); 195 __ vmov(cgen_->ToDoubleRegister(saved_destination_), kScratchDoubleReg); 197 __ vstr(kScratchDoubleReg, cgen_->ToMemOperand(saved_destination_)); 217 __ mov(cgen_->ToRegister(destination), source_register) 309 #undef __ macro [all...] |
deoptimizer-arm.cc | 770 #define __ masm()-> macro 803 __ vstm(db_w, sp, first, last); 808 __ stm(db_w, sp, restored_regs | sp.bit() | lr.bit() | pc.bit()); 814 __ ldr(r2, MemOperand(sp, kSavedRegistersAreaSize)); 820 __ mov(r3, Operand(0)); 822 __ add(r4, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize))); 824 __ mov(r3, lr); 826 __ add(r4, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize))); 828 __ mov(r3, lr); 830 __ add(r4, sp, Operand(kSavedRegistersAreaSize + (2 * kPointerSize))) 985 #undef __ macro [all...] |
debug-arm.cc | 129 #define __ ACCESS_MASM(masm) macro 150 __ tst(reg, Operand(0xc0000000)); 151 __ Assert(eq, "Unable to encode value as smi"); 153 __ mov(reg, Operand(reg, LSL, kSmiTagSize)); 156 __ stm(db_w, sp, object_regs | non_object_regs); 160 __ RecordComment("// Calling from debug break to runtime - come in - over"); 162 __ mov(r0, Operand(0, RelocInfo::NONE)); // no arguments 163 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate()))); 166 __ CallStub(&ceb); 170 __ ldm(ia_w, sp, object_regs | non_object_regs) 335 #undef __ macro [all...] |
/external/v8/src/mips/ |
full-codegen-mips.cc | 56 #define __ ACCESS_MASM(masm_) macro 84 __ bind(&patch_site_); 85 __ andi(at, reg, 0); 87 __ Branch(target, eq, at, Operand(zero_reg)); 95 __ bind(&patch_site_); 96 __ andi(at, reg, 0); 98 __ Branch(target, ne, at, Operand(zero_reg)); 105 __ andi(zero_reg, reg, delta_to_patch_site % kImm16Mask); 110 __ nop(); // Signals no inlined code. 156 __ stop("stop-at") 4444 #undef __ macro 4446 #define __ macro 4472 #undef __ macro [all...] |
lithium-gap-resolver-mips.cc | 159 #define __ ACCESS_MASM(cgen_->masm()) macro 171 __ mov(kLithiumScratchReg, cgen_->ToRegister(source)); 173 __ lw(kLithiumScratchReg, cgen_->ToMemOperand(source)); 175 __ mov_d(kLithiumScratchDouble, cgen_->ToDoubleRegister(source)); 177 __ ldc1(kLithiumScratchDouble, cgen_->ToMemOperand(source)); 192 __ mov(cgen_->ToRegister(saved_destination_), kLithiumScratchReg); 194 __ sw(kLithiumScratchReg, cgen_->ToMemOperand(saved_destination_)); 196 __ mov_d(cgen_->ToDoubleRegister(saved_destination_), 199 __ sdc1(kLithiumScratchDouble, 220 __ mov(cgen_->ToRegister(destination), source_register) 314 #undef __ macro [all...] |
lithium-codegen-mips.cc | 62 #define __ masm()-> macro 131 __ stop("stop_at"); 146 __ Branch(&ok, eq, t1, Operand(zero_reg)); 149 __ LoadRoot(a2, Heap::kUndefinedValueRootIndex); 150 __ sw(a2, MemOperand(sp, receiver_offset)); 151 __ bind(&ok); 154 __ Push(ra, fp, cp, a1); 155 __ Addu(fp, sp, Operand(2 * kPointerSize)); // Adj. FP to point to saved FP. 161 __ li(a0, Operand(slots)); 162 __ li(a2, Operand(kSlotsZapValue)) 5069 #undef __ macro [all...] |
deoptimizer-mips.cc | 756 #define __ masm()-> macro 778 __ Subu(sp, sp, Operand(kDoubleRegsSize)); 782 __ sdc1(fpu_reg, MemOperand(sp, offset)); 787 __ Subu(sp, sp, kNumberOfRegisters * kPointerSize); 790 __ sw(ToRegister(i), MemOperand(sp, kPointerSize * i)); 798 __ lw(a2, MemOperand(sp, kSavedRegistersAreaSize)); 804 __ mov(a3, zero_reg); 806 __ Addu(t0, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize))); 808 __ mov(a3, ra); 810 __ Addu(t0, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize))) 998 #undef __ macro [all...] |
debug-mips.cc | 120 #define __ ACCESS_MASM(masm) macro 142 __ And(at, reg, 0xc0000000); 143 __ Assert( 146 __ sll(reg, reg, kSmiTagSize); 149 __ MultiPush(object_regs | non_object_regs); 153 __ RecordComment("// Calling from debug break to runtime - come in - over"); 155 __ PrepareCEntryArgs(0); // No arguments. 156 __ PrepareCEntryFunction(ExternalReference::debug_break(masm->isolate())); 159 __ CallStub(&ceb); 163 __ MultiPop(object_regs | non_object_regs) 328 #undef __ macro [all...] |
/external/v8/src/x64/ |
stub-cache-x64.cc | 39 #define __ ACCESS_MASM(masm) macro 64 __ lea(offset, Operand(offset, offset, times_2, 0)); 66 __ LoadAddress(kScratchRegister, key_offset); 72 __ cmpl(name, Operand(kScratchRegister, offset, scale_factor, 0)); 73 __ j(not_equal, &miss); 77 __ movq(kScratchRegister, 79 __ cmpq(kScratchRegister, FieldOperand(receiver, HeapObject::kMapOffset)); 80 __ j(not_equal, &miss); 83 __ LoadAddress(kScratchRegister, value_offset); 84 __ movq(kScratchRegister 843 #undef __ macro 844 #define __ macro 3075 #undef __ macro 3076 #define __ macro 3801 #undef __ macro [all...] |
full-codegen-x64.cc | 44 #define __ ACCESS_MASM(masm_) macro 62 __ testb(reg, Immediate(kSmiTagMask)); 69 __ testb(reg, Immediate(kSmiTagMask)); 77 __ testl(rax, Immediate(delta_to_patch_site)); 82 __ nop(); // Signals no inlined code. 91 __ bind(&patch_site_); 92 __ j(cc, target, near_jump); 140 __ movq(rax, Handle<JSGlobalPropertyCell>(cell), 142 __ SmiAddConstant(FieldOperand(rax, JSGlobalPropertyCell::kValueOffset), 146 __ j(zero, compile_stub, RelocInfo::CODE_TARGET) 4310 #undef __ macro 4312 #define __ macro 4338 #undef __ macro [all...] |
debug-x64.cc | 95 #define __ ACCESS_MASM(masm) macro 117 __ push(reg); 121 __ movq(kScratchRegister, reg); 122 __ Integer32ToSmi(reg, reg); 123 __ push(reg); 124 __ sar(kScratchRegister, Immediate(32)); 125 __ Integer32ToSmi(kScratchRegister, kScratchRegister); 126 __ push(kScratchRegister); 131 __ RecordComment("// Calling from debug break to runtime - come in - over"); 133 __ Set(rax, 0); // No arguments (argc == 0) 335 #undef __ macro [all...] |
lithium-codegen-x64.cc | 67 #define __ masm()-> macro 134 __ int3(); 144 __ testq(rcx, rcx); 145 __ j(zero, &ok, Label::kNear); 148 __ LoadRoot(kScratchRegister, Heap::kUndefinedValueRootIndex); 149 __ movq(Operand(rsp, receiver_offset), kScratchRegister); 150 __ bind(&ok); 153 __ push(rbp); // Caller's frame pointer. 154 __ movq(rbp, rsp); 155 __ push(rsi); // Callee's context 4759 #undef __ macro [all...] |
lithium-gap-resolver-x64.cc | 162 #define __ ACCESS_MASM(cgen_->masm()) macro 175 __ movq(dst, src); 179 __ movq(dst, src); 186 __ movq(dst, src); 190 __ movq(kScratchRegister, src); 191 __ movq(dst, kScratchRegister); 199 __ movl(dst, Immediate(cgen_->ToInteger32(constant_source))); 201 __ LoadObject(dst, cgen_->ToHandle(constant_source)); 209 __ movq(dst, Immediate(cgen_->ToInteger32(constant_source))); 211 __ LoadObject(kScratchRegister, cgen_->ToHandle(constant_source)) 318 #undef __ macro [all...] |
/external/v8/test/cctest/ |
test-hashing.cc | 49 #define __ masm-> macro 57 __ push(ebx); 58 __ push(ecx); 59 __ mov(eax, Immediate(0)); 60 __ mov(ebx, Immediate(string.at(0))); 63 __ mov(ebx, Immediate(string.at(i))); 67 __ pop(ecx); 68 __ pop(ebx); 69 __ Ret(); 71 __ push(kRootRegister) 260 #undef __ macro [all...] |
test-assembler-ia32.cc | 57 #define __ assm. macro 66 __ mov(eax, Operand(esp, 4)); 67 __ add(eax, Operand(esp, 8)); 68 __ ret(0); 95 __ mov(edx, Operand(esp, 4)); 96 __ xor_(eax, eax); // clear eax 97 __ jmp(&C); 99 __ bind(&L); 100 __ add(eax, edx); 101 __ sub(edx, Immediate(1)) 479 #undef __ macro [all...] |
test-assembler-x64.cc | 88 #define __ assm. macro 112 __ movq(rax, arg2); 113 __ nop(); 114 __ ret(0); 136 __ push(rbp); 137 __ movq(rbp, rsp); 138 __ push(arg2); // Value at (rbp - 8) 139 __ push(arg2); // Value at (rbp - 16) 140 __ push(arg1); // Value at (rbp - 24) 141 __ pop(rax) 443 #undef __ macro [all...] |
test-assembler-mips.cc | 60 #define __ assm. macro 70 __ addu(v0, a0, a1); 71 __ jr(ra); 72 __ nop(); 95 __ mov(a1, a0); 96 __ li(v0, 0); 97 __ b(&C); 98 __ nop(); 100 __ bind(&L); 101 __ addu(v0, v0, a1) 1283 #undef __ macro [all...] |
test-assembler-arm.cc | 56 #define __ assm. macro 64 __ add(r0, r0, Operand(r1)); 65 __ mov(pc, Operand(lr)); 91 __ mov(r1, Operand(r0)); 92 __ mov(r0, Operand(0, RelocInfo::NONE)); 93 __ b(&C); 95 __ bind(&L); 96 __ add(r0, r0, Operand(r1)); 97 __ sub(r1, r1, Operand(1)); 99 __ bind(&C) 1027 #undef __ macro [all...] |
/external/v8/src/ia32/ |
full-codegen-ia32.cc | 45 #define __ ACCESS_MASM(masm_) macro 63 __ test(reg, Immediate(kSmiTagMask)); 70 __ test(reg, Immediate(kSmiTagMask)); 78 __ test(eax, Immediate(delta_to_patch_site)); 83 __ nop(); // Signals no inlined code. 92 __ bind(&patch_site_); 93 __ j(cc, target, distance); 136 __ int3(); 146 __ test(ecx, ecx); 147 __ j(zero, &ok, Label::kNear) 4393 #undef __ macro 4395 #define __ macro 4421 #undef __ macro [all...] |
lithium-codegen-ia32.cc | 67 #define __ masm()-> macro 137 __ int3(); 147 __ test(ecx, Operand(ecx)); 148 __ j(zero, &ok, Label::kNear); 151 __ mov(Operand(esp, receiver_offset), 153 __ bind(&ok); 156 __ push(ebp); // Caller's frame pointer. 157 __ mov(ebp, esp); 158 __ push(esi); // Callee's context. 159 __ push(edi); // Callee's JS function 4982 #undef __ macro [all...] |
debug-ia32.cc | 95 #define __ ACCESS_MASM(masm) macro 116 __ push(reg); 120 __ test(reg, Immediate(0xc0000000)); 121 __ Assert(zero, "Unable to encode value as smi"); 123 __ SmiTag(reg); 124 __ push(reg); 129 __ RecordComment("// Calling from debug break to runtime - come in - over"); 131 __ Set(eax, Immediate(0)); // No arguments. 132 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate()))); 135 __ CallStub(&ceb) 329 #undef __ macro [all...] |
lithium-gap-resolver-ia32.cc | 228 #define __ ACCESS_MASM(cgen_->masm()) macro 232 __ pop(Register::FromAllocationIndex(spilled_register_)); 241 __ pop(Register::FromAllocationIndex(spilled_register_)); 262 __ push(scratch); 270 __ push(scratch); 288 __ mov(dst, src); 295 __ mov(dst, src); 301 __ mov(tmp, src); 302 __ mov(dst, tmp); 310 __ Set(dst, cgen_->ToInteger32Immediate(constant_source)) 486 #undef __ macro [all...] |