/external/v8/test/cctest/ |
test-disasm-ia32.cc | 50 #define __ assm. macro 65 __ adc(eax, 12345678); 66 __ add(Operand(eax), Immediate(12345678)); 67 __ or_(eax, 12345678); 68 __ sub(Operand(eax), Immediate(12345678)); 69 __ xor_(eax, 12345678); 70 __ and_(eax, 12345678); 72 __ cmp(eax, foo); 75 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4] 78 __ add(edx, Operand(ebx)) 420 #undef __ macro [all...] |
test-assembler-mips.cc | 64 #define __ assm. macro 73 __ addu(v0, a0, a1); 74 __ jr(ra); 75 __ nop(); 101 __ mov(a1, a0); 102 __ li(v0, 0); 103 __ b(&C); 104 __ nop(); 106 __ bind(&L); 107 __ add(v0, v0, a1) 257 #undef __ macro [all...] |
test-assembler-x64.cc | 79 #define __ assm. macro 92 __ movq(rax, arg2); 93 __ nop(); 94 __ ret(0); 115 __ push(rbp); 116 __ movq(rbp, rsp); 117 __ push(arg2); // Value at (rbp - 8) 118 __ push(arg2); // Value at (rbp - 16) 119 __ push(arg1); // Value at (rbp - 24) 120 __ pop(rax) 292 #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-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...] |
/external/v8/src/ia32/ |
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...] |
codegen-ia32-inl.h | 35 #define __ ACCESS_MASM(masm_) macro 39 void DeferredCode::Jump() { __ jmp(&entry_label_); } 40 void DeferredCode::Branch(Condition cc) { __ j(cc, &entry_label_); } 42 #undef __ macro
|
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...] |
debug-ia32.cc | 70 #define __ ACCESS_MASM(masm) macro 82 __ SaveRegistersToMemory(kJSCallerSaved); 85 __ EnterInternalFrame(); 89 __ PushRegistersFromMemory(pointer_regs); 92 __ RecordComment("// Calling from debug break to runtime - come in - over"); 94 __ Set(eax, Immediate(0)); // no arguments 95 __ mov(ebx, Immediate(ExternalReference::debug_break())); 98 __ CallStub(&ceb); 102 __ PopRegistersToMemory(pointer_regs); 105 __ LeaveInternalFrame() 206 #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...] |
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...] |
/external/v8/src/x64/ |
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...] |
codegen-x64-inl.h | 35 #define __ ACCESS_MASM(masm_) macro 39 void DeferredCode::Jump() { __ jmp(&entry_label_); } 40 void DeferredCode::Branch(Condition cc) { __ j(cc, &entry_label_); } 42 #undef __ macro
|
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...] |
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...] |
fast-codegen-x64.cc | 36 #define __ ACCESS_MASM(masm()) macro 49 __ movq(receiver_reg(), Operand(rbp, index * kPointerSize)); 57 __ Move(destination(), cell); 58 __ movq(destination(), 61 __ Cmp(destination(), Factory::the_hole_value()); 62 __ Check(not_equal, "DontDelete cells can't contain the hole"); 87 __ movq(FieldOperand(receiver_reg(), offset), accumulator0()); 90 __ movq(scratch0(), receiver_reg()); 94 __ movq(scratch0(), 96 __ movq(FieldOperand(scratch0(), offset), accumulator0()) 241 #undef __ macro [all...] |
codegen-x64.cc | 43 #define __ ACCESS_MASM(masm_) macro 52 __ push(RegisterAllocator::ToRegister(i)); 54 __ movq(Operand(rbp, action), RegisterAllocator::ToRegister(i)); 65 __ pop(RegisterAllocator::ToRegister(i)); 68 __ movq(RegisterAllocator::ToRegister(i), Operand(rbp, action)); 271 __ movq(kScratchRegister, pairs, RelocInfo::EMBEDDED_OBJECT); 302 __ int3(); 345 __ cmpq(context.reg(), rsi); 346 __ Assert(equal, "Runtime::NewContext should end up in rsi"); 381 __ movq(SlotOperand(slot, context.reg()), value.reg()) 5994 #undef __ macro 5995 #define __ macro 9427 #undef __ macro 9429 #define __ macro 9521 #undef __ macro [all...] |
/external/v8/src/arm/ |
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...] |
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...] |
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...] |
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...] |
fast-codegen-arm.cc | 36 #define __ ACCESS_MASM(masm()) macro 49 __ ldr(receiver_reg(), MemOperand(sp, index * kPointerSize)); 57 __ mov(destination(), Operand(cell)); 58 __ ldr(destination(), 61 __ mov(ip, Operand(Factory::the_hole_value())); 62 __ cmp(destination(), ip); 63 __ Check(ne, "DontDelete cells can't contain the hole"); 88 __ str(accumulator0(), FieldMemOperand(receiver_reg(), offset)); 91 __ mov(scratch0(), receiver_reg()); 95 __ ldr(scratch0() 232 #undef __ macro [all...] |
/external/v8/src/mips/ |
codegen-mips-inl.h | 35 #define __ ACCESS_MASM(masm_) macro 39 void DeferredCode::Jump() { __ b(&entry_label_); } 51 #undef __ macro
|