/external/v8/src/x64/ |
regexp-macro-assembler-x64.cc | 106 #define __ ACCESS_MASM(masm_) macro 122 __ jmp(&entry_label_); // We'll write the entry code when we know more. 123 __ bind(&start_label_); // And then continue from here. 148 __ addq(rdi, Immediate(by * char_size())); 157 __ addq(register_location(reg), Immediate(by)); 166 __ addq(rbx, code_object_pointer()); 167 __ jmp(rbx); 172 __ bind(label); 177 __ cmpl(current_character(), Immediate(c)); 183 __ cmpl(current_character(), Immediate(limit)) 1299 #undef __ macro [all...] |
virtual-frame-x64.cc | 37 #define __ ACCESS_MASM(masm()) macro 70 __ Check(not_smi, 72 __ CmpObjectType(rdi, JS_FUNCTION_TYPE, rax); 73 __ Check(equal, 80 __ movq(rbp, rsp); 99 __ RecordJSReturn(); 107 __ movq(rsp, rbp); 133 __ Push(undefined); 136 __ movq(kScratchRegister, undefined, RelocInfo::EMBEDDED_OBJECT); 138 __ push(kScratchRegister) 1140 #undef __ macro [all...] |
builtins-x64.cc | 35 #define __ ACCESS_MASM(masm) macro 57 __ pop(kScratchRegister); // Save return address. 58 __ push(rdi); 59 __ push(kScratchRegister); // Restore return address. 66 __ addq(rax, Immediate(num_extra_args + 1)); 67 __ JumpToRuntime(ExternalReference(id), 1); 72 __ push(rbp); 73 __ movq(rbp, rsp); 76 __ Push(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); 79 __ push(rdi) [all...] |
ic-x64.cc | 43 #define __ ACCESS_MASM(masm) macro 74 __ movq(r0, FieldOperand(r1, JSObject::kMapOffset)); 76 __ testl(FieldOperand(r0, Map::kInstanceAttributesOffset), 80 __ j(not_zero, miss_label); 83 __ movzxbq(r0, FieldOperand(r0, Map::kInstanceTypeOffset)); 84 __ cmpb(r0, Immediate(JS_GLOBAL_PROXY_TYPE)); 85 __ j(equal, miss_label); 88 __ cmpb(r0, Immediate(JS_GLOBAL_OBJECT_TYPE)); 89 __ j(equal, miss_label); 90 __ cmpb(r0, Immediate(JS_BUILTINS_OBJECT_TYPE)) 1389 #undef __ macro [all...] |
full-codegen-x64.cc | 39 #define __ ACCESS_MASM(masm_) macro 60 __ push(rbp); // Caller's frame pointer. 61 __ movq(rbp, rsp); 62 __ push(rsi); // Callee's context. 63 __ push(rdi); // Callee's JS Function. 68 __ PushRoot(Heap::kUndefinedValueRootIndex); 70 __ LoadRoot(rdx, Heap::kUndefinedValueRootIndex); 72 __ push(rdx); 83 __ push(rdi); 84 __ CallRuntime(Runtime::kNewContext, 1) 1988 #undef __ macro [all...] |
stub-cache-x64.cc | 42 #define __ ACCESS_MASM(masm) macro 57 __ movq(kScratchRegister, key_offset); 62 __ cmpl(name, Operand(kScratchRegister, offset, times_4, 0)); 63 __ j(not_equal, &miss); 66 __ movq(kScratchRegister, 69 __ movl(offset, FieldOperand(kScratchRegister, Code::kFlagsOffset)); 70 __ and_(offset, Immediate(~Code::kFlagsNotUsedInLookup)); 71 __ cmpl(offset, Immediate(flags)); 72 __ j(not_equal, &miss); 75 __ addq(kScratchRegister, Immediate(Code::kHeaderSize - kHeapObjectTag)) 653 #undef __ macro 655 #define __ macro 1860 #undef __ macro [all...] |
/external/v8/test/cctest/ |
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, Operand(eax)); // clear eax 97 __ jmp(&C); 99 __ bind(&L); 100 __ add(eax, Operand(edx)); 101 __ sub(Operand(edx), Immediate(1)) 395 #undef __ macro [all...] |
test-macro-assembler-x64.cc | 90 #define __ masm-> macro 119 __ movl(rax, Immediate(id)); 120 __ Move(rcx, Smi::FromInt(0)); 121 __ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(0))); 122 __ cmpq(rcx, rdx); 123 __ j(not_equal, exit); 137 MacroAssembler* masm = &assembler; // Create a pointer for the __ macro. 154 __ xor_(rax, rax); // Success. 155 __ bind(&exit); 156 __ ret(0) 2104 #undef __ macro [all...] |
test-heap.cc | 71 #define __ assm. macro 75 __ nop(); // supported on all architectures
|
/external/v8/src/arm/ |
ic-arm.cc | 43 #define __ ACCESS_MASM(masm) macro 68 __ ldr(t0, FieldMemOperand(t1, JSObject::kMapOffset)); 70 __ ldr(r3, FieldMemOperand(t0, Map::kInstanceAttributesOffset)); 71 __ tst(r3, Operand(1 << (Map::kHasNamedInterceptor + (3 * 8)))); 73 __ b(ne, miss); 76 __ ldrb(r3, FieldMemOperand(t0, Map::kInstanceTypeOffset)); 77 __ cmp(r3, Operand(JS_GLOBAL_PROXY_TYPE)); 78 __ b(eq, miss); 82 __ cmp(r3, Operand(JS_GLOBAL_OBJECT_TYPE)); 83 __ b(eq, miss) 835 #undef __ macro [all...] |
regexp-macro-assembler-arm.cc | 103 #define __ ACCESS_MASM(masm_) macro 118 __ jmp(&entry_label_); // We'll write the entry code later. 120 __ bind(&start_label_); // And then continue from here. 145 __ add(current_input_offset(), 155 __ ldr(r0, register_location(reg)); 156 __ add(r0, r0, Operand(by)); 157 __ str(r0, register_location(reg)); 166 __ add(pc, r0, Operand(r5)); 171 __ bind(label); 176 __ cmp(current_character(), Operand(c)) 1262 #undef __ macro [all...] |
builtins-arm.cc | 38 #define __ ACCESS_MASM(masm) macro 59 __ push(r1); 66 __ add(r0, r0, Operand(num_extra_args + 1)); 67 __ JumpToRuntime(ExternalReference(id)); 75 __ ldr(result, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX))); 76 __ ldr(result, 79 __ ldr(result, 104 __ ldr(scratch1, FieldMemOperand(array_function, 110 __ AllocateInNewSpace(size / kPointerSize, 122 __ str(scratch1, FieldMemOperand(result, JSObject::kMapOffset)) 1309 #undef __ macro [all...] |
full-codegen-arm.cc | 39 #define __ ACCESS_MASM(masm_) macro 63 __ stm(db_w, sp, r1.bit() | cp.bit() | fp.bit() | lr.bit()); 67 __ LoadRoot(ip, Heap::kUndefinedValueRootIndex); 70 __ add(fp, sp, Operand(2 * kPointerSize)); 74 __ push(ip); 84 __ push(r1); 85 __ CallRuntime(Runtime::kNewContext, 1); 89 __ str(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); 98 __ ldr(r0, MemOperand(fp, parameter_offset)); 100 __ mov(r1, Operand(Context::SlotOffset(slot->index()))) 1860 #undef __ macro [all...] |
stub-cache-arm.cc | 37 #define __ ACCESS_MASM(masm) macro 51 __ push(offset); 54 __ mov(ip, Operand(key_offset)); 55 __ ldr(ip, MemOperand(ip, offset, LSL, 1)); 56 __ cmp(name, Operand(ip)); 57 __ b(ne, &miss); 60 __ mov(ip, Operand(value_offset)); 61 __ ldr(offset, MemOperand(ip, offset, LSL, 1)); 64 __ ldr(offset, FieldMemOperand(offset, Code::kFlagsOffset)); 65 __ and_(offset, offset, Operand(~Code::kFlagsNotUsedInLookup)) 604 #undef __ macro 605 #define __ macro 1808 #undef __ macro [all...] |
/external/v8/src/ |
fast-codegen.cc | 431 #define __ ACCESS_MASM(masm()) macro 748 #undef __ macro
|
codegen.cc | 46 #define __ ACCESS_MASM(masm_) macro 52 __ RecordComment(msg); 57 if (msg_[0] == '[') __ RecordComment("]"); 62 #undef __ macro
|
full-codegen.cc | 441 #define __ ACCESS_MASM(masm()) macro 637 __ bind(&eval_right); 640 __ bind(&done); 649 __ bind(nested_statement.break_target()); 674 __ bind(&then_part); 676 __ jmp(&done); 678 __ bind(&else_part); 681 __ bind(&done); 694 __ Drop(stack_depth); 697 __ jmp(loop->continue_target()) 1075 #undef __ macro [all...] |
/external/v8/src/ia32/ |
regexp-macro-assembler-ia32.cc | 97 #define __ ACCESS_MASM(masm_) macro 112 __ jmp(&entry_label_); // We'll write the entry code later. 113 __ bind(&start_label_); // And then continue from here. 138 __ add(Operand(edi), Immediate(by * char_size())); 147 __ add(register_location(reg), Immediate(by)); 156 __ add(Operand(ebx), Immediate(masm_->CodeObject())); 157 __ jmp(Operand(ebx)); 162 __ bind(label); 167 __ cmp(current_character(), c); 173 __ cmp(current_character(), limit) 1212 #undef __ macro [all...] |
builtins-ia32.cc | 36 #define __ ACCESS_MASM(masm) macro 59 __ pop(scratch); // Save return address. 60 __ push(edi); 61 __ push(scratch); // Restore return address. 68 __ add(Operand(eax), Immediate(num_extra_args + 1)); 69 __ JumpToRuntime(ExternalReference(id)); 81 __ test(edi, Immediate(kSmiTagMask)); 82 __ j(zero, &non_function_call); 84 __ CmpObjectType(edi, JS_FUNCTION_TYPE, ecx); 85 __ j(not_equal, &non_function_call) 1256 #undef __ macro [all...] |
ic-ia32.cc | 43 #define __ ACCESS_MASM(masm) macro 75 __ mov(r0, FieldOperand(receiver, JSObject::kMapOffset)); 77 __ test(FieldOperand(r0, Map::kInstanceAttributesOffset), 81 __ j(not_zero, miss_label, not_taken); 84 __ movzx_b(r0, FieldOperand(r0, Map::kInstanceTypeOffset)); 85 __ cmp(r0, JS_GLOBAL_PROXY_TYPE); 86 __ j(equal, miss_label, not_taken); 89 __ cmp(r0, JS_GLOBAL_OBJECT_TYPE); 90 __ j(equal, miss_label, not_taken); 91 __ cmp(r0, JS_BUILTINS_OBJECT_TYPE) 1454 #undef __ macro [all...] |
fast-codegen-ia32.cc | 431 #define __ ACCESS_MASM(masm()) macro 482 __ mov(receiver_reg(), Operand(ebp, index * kPointerSize)); 490 __ mov(destination(), Immediate(cell)); 491 __ mov(destination(), 494 __ cmp(destination(), Factory::the_hole_value()); 495 __ Check(not_equal, "DontDelete cells can't contain the hole"); 520 __ mov(FieldOperand(receiver_reg(), offset), accumulator0()); 523 __ mov(scratch0(), receiver_reg()); 527 __ mov(scratch0(), 529 __ mov(FieldOperand(scratch0(), offset), accumulator0()) 951 #undef __ macro [all...] |
full-codegen-ia32.cc | 39 #define __ ACCESS_MASM(masm_) macro 60 __ push(ebp); // Caller's frame pointer. 61 __ mov(ebp, esp); 62 __ push(esi); // Callee's context. 63 __ push(edi); // Callee's JS Function. 68 __ push(Immediate(Factory::undefined_value())); 70 __ mov(eax, Immediate(Factory::undefined_value())); 72 __ push(eax); 83 __ push(edi); 84 __ CallRuntime(Runtime::kNewContext, 1) 2002 #undef __ macro [all...] |
stub-cache-ia32.cc | 37 #define __ ACCESS_MASM(masm) macro 53 __ mov(extra, Operand::StaticArray(offset, times_2, value_offset)); 56 __ cmp(name, Operand::StaticArray(offset, times_2, key_offset)); 57 __ j(not_equal, &miss, not_taken); 60 __ mov(offset, FieldOperand(extra, Code::kFlagsOffset)); 61 __ and_(offset, ~Code::kFlagsNotUsedInLookup); 62 __ cmp(offset, flags); 63 __ j(not_equal, &miss); 66 __ add(Operand(extra), Immediate(Code::kHeaderSize - kHeapObjectTag)); 67 __ jmp(Operand(extra)) 954 #undef __ macro 955 #define __ macro 2209 #undef __ macro [all...] |
/external/v8/src/mips/ |
full-codegen-mips.cc | 39 #define __ ACCESS_MASM(masm_) macro 266 #undef __ macro
|
codegen-mips.cc | 45 #define __ ACCESS_MASM(masm_) macro 413 #undef __ macro 414 #define __ ACCESS_MASM(masm) macro 421 __ break_(0x765); 427 __ break_(0x790); 433 __ break_(0x808); 440 __ break_(0x815); 450 __ break_(0x826); 455 __ break_(0x831); 461 __ li(v0, Operand(0x1234)) 508 #undef __ macro [all...] |