/external/v8/src/x87/ |
D | frames-x87.h | 40 static const int kCallerFPOffset = -6 * kPointerSize; 42 static const int kFunctionArgOffset = +3 * kPointerSize; 43 static const int kReceiverArgOffset = +4 * kPointerSize; 44 static const int kArgcOffset = +5 * kPointerSize; 45 static const int kArgvOffset = +6 * kPointerSize; 51 static const int kFrameSize = 2 * kPointerSize; 53 static const int kCodeOffset = -2 * kPointerSize; 54 static const int kSPOffset = -1 * kPointerSize; 56 static const int kCallerFPOffset = 0 * kPointerSize; 57 static const int kCallerPCOffset = +1 * kPointerSize; [all …]
|
D | regexp-macro-assembler-x87.h | 96 static const int kReturn_eip = kFramePointer + kPointerSize; 97 static const int kFrameAlign = kReturn_eip + kPointerSize; 100 static const int kStartIndex = kInputString + kPointerSize; 101 static const int kInputStart = kStartIndex + kPointerSize; 102 static const int kInputEnd = kInputStart + kPointerSize; 103 static const int kRegisterOutput = kInputEnd + kPointerSize; 107 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; 108 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; 109 static const int kDirectCall = kStackHighEnd + kPointerSize; 110 static const int kIsolate = kDirectCall + kPointerSize; [all …]
|
D | deoptimizer-x87.cc | 190 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { in FillInputFrame() 218 input_frame_size - parameter_count * kPointerSize - in HasAlignmentPadding() 220 kPointerSize; in HasAlignmentPadding() 248 __ sub(esp, Immediate(kPointerSize)); in Generate() 270 kNumberOfRegisters * kPointerSize + kDoubleRegsSize; in Generate() 277 __ mov(ecx, Operand(esp, kSavedRegistersAreaSize + 1 * kPointerSize)); in Generate() 278 __ lea(edx, Operand(esp, kSavedRegistersAreaSize + 2 * kPointerSize)); in Generate() 287 __ mov(Operand(esp, 0 * kPointerSize), eax); // Function. in Generate() 288 __ mov(Operand(esp, 1 * kPointerSize), Immediate(type())); // Bailout type. in Generate() 289 __ mov(Operand(esp, 2 * kPointerSize), ebx); // Bailout id. in Generate() [all …]
|
D | code-stubs-x87.cc | 139 __ mov(Operand(esp, 0 * kPointerSize), in Generate() 186 if (input_reg.is(esp)) double_offset += 3 * kPointerSize; in Generate() 382 static const int kDisplacement = 1 * kPointerSize; in GenerateReadElement() 450 __ mov(Operand(esp, 1 * kPointerSize), ecx); in GenerateNewSloppySlow() 453 __ mov(Operand(esp, 2 * kPointerSize), edx); in GenerateNewSloppySlow() 467 __ mov(ebx, Operand(esp, 1 * kPointerSize)); in GenerateNewSloppyFast() 488 __ mov(Operand(esp, 2 * kPointerSize), edx); in GenerateNewSloppyFast() 507 FixedArray::kHeaderSize + 2 * kPointerSize; in GenerateNewSloppyFast() 532 __ mov(ebx, Operand(esp, 0 * kPointerSize)); in GenerateNewSloppyFast() 562 __ mov(edx, Operand(esp, 4 * kPointerSize)); in GenerateNewSloppyFast() [all …]
|
/external/v8/src/ia32/ |
D | frames-ia32.h | 40 static const int kCallerFPOffset = -6 * kPointerSize; 42 static const int kFunctionArgOffset = +3 * kPointerSize; 43 static const int kReceiverArgOffset = +4 * kPointerSize; 44 static const int kArgcOffset = +5 * kPointerSize; 45 static const int kArgvOffset = +6 * kPointerSize; 51 static const int kFrameSize = 2 * kPointerSize; 53 static const int kCodeOffset = -2 * kPointerSize; 54 static const int kSPOffset = -1 * kPointerSize; 56 static const int kCallerFPOffset = 0 * kPointerSize; 57 static const int kCallerPCOffset = +1 * kPointerSize; [all …]
|
D | regexp-macro-assembler-ia32.h | 96 static const int kReturn_eip = kFramePointer + kPointerSize; 97 static const int kFrameAlign = kReturn_eip + kPointerSize; 100 static const int kStartIndex = kInputString + kPointerSize; 101 static const int kInputStart = kStartIndex + kPointerSize; 102 static const int kInputEnd = kInputStart + kPointerSize; 103 static const int kRegisterOutput = kInputEnd + kPointerSize; 107 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; 108 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; 109 static const int kDirectCall = kStackHighEnd + kPointerSize; 110 static const int kIsolate = kDirectCall + kPointerSize; [all …]
|
D | deoptimizer-ia32.cc | 190 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { in FillInputFrame() 218 input_frame_size - parameter_count * kPointerSize - in HasAlignmentPadding() 220 kPointerSize; in HasAlignmentPadding() 247 const int kSavedRegistersAreaSize = kNumberOfRegisters * kPointerSize + in Generate() 255 __ mov(ecx, Operand(esp, kSavedRegistersAreaSize + 1 * kPointerSize)); in Generate() 256 __ lea(edx, Operand(esp, kSavedRegistersAreaSize + 2 * kPointerSize)); in Generate() 264 __ mov(Operand(esp, 0 * kPointerSize), eax); // Function. in Generate() 265 __ mov(Operand(esp, 1 * kPointerSize), Immediate(type())); // Bailout type. in Generate() 266 __ mov(Operand(esp, 2 * kPointerSize), ebx); // Bailout id. in Generate() 267 __ mov(Operand(esp, 3 * kPointerSize), ecx); // Code address or 0. in Generate() [all …]
|
/external/v8/src/mips64/ |
D | regexp-macro-assembler-mips64.h | 110 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize; 111 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; 115 static const int kIsolate = kStackFrameHeader + kPointerSize; 119 static const int kDirectCall = kFramePointer - kPointerSize; 120 static const int kStackHighEnd = kDirectCall - kPointerSize; 121 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize; 122 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize; 123 static const int kInputEnd = kRegisterOutput - kPointerSize; 124 static const int kInputStart = kInputEnd - kPointerSize; 125 static const int kStartIndex = kInputStart - kPointerSize; [all …]
|
D | frames-mips64.h | 133 -(StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize); 139 static const int kFrameSize = 2 * kPointerSize; 141 static const int kCodeOffset = -2 * kPointerSize; 142 static const int kSPOffset = -1 * kPointerSize; 145 static const int kCallerFPOffset = +0 * kPointerSize; 147 static const int kCallerPCOffset = +1 * kPointerSize; 150 static const int kCallerSPOffset = +2 * kPointerSize; 153 static const int kCallerSPDisplacement = +2 * kPointerSize; 163 static const int kLastParameterOffset = +2 * kPointerSize; 167 static const int kParam0Offset = -2 * kPointerSize; [all …]
|
D | builtins-mips64.cc | 51 __ Dsubu(s1, s1, kPointerSize); in Generate_Adaptor() 221 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode() 414 __ Daddu(a3, a3, Operand(AllocationMemento::kSize / kPointerSize)); in Generate_JSConstructStubHelper() 430 __ Daddu(t1, t1, Operand(3*kPointerSize)); in Generate_JSConstructStubHelper() 431 DCHECK_EQ(0 * kPointerSize, JSObject::kMapOffset); in Generate_JSConstructStubHelper() 432 DCHECK_EQ(1 * kPointerSize, JSObject::kPropertiesOffset); in Generate_JSConstructStubHelper() 433 DCHECK_EQ(2 * kPointerSize, JSObject::kElementsOffset); in Generate_JSConstructStubHelper() 442 DCHECK_EQ(3 * kPointerSize, JSObject::kHeaderSize); in Generate_JSConstructStubHelper() 478 __ Dsubu(a0, a3, Operand(AllocationMemento::kSize / kPointerSize)); in Generate_JSConstructStubHelper() 486 DCHECK_EQ(0 * kPointerSize, AllocationMemento::kMapOffset); in Generate_JSConstructStubHelper() [all …]
|
D | deoptimizer-mips64.cc | 92 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { in FillInputFrame() 105 output_frame->SetRegister(s1.code(), (params - 1) * kPointerSize); in SetPlatformCompiledStubRegisters() 152 __ Dsubu(sp, sp, kNumberOfRegisters * kPointerSize); in Generate() 155 __ sd(ToRegister(i), MemOperand(sp, kPointerSize * i)); in Generate() 160 (kNumberOfRegisters * kPointerSize) + kDoubleRegsSize; in Generate() 170 __ Daddu(a4, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize))); in Generate() 205 int offset = (i * kPointerSize) + FrameDescription::registers_offset(); in Generate() 207 __ ld(a2, MemOperand(sp, i * kPointerSize)); in Generate() 220 int src_offset = i * kDoubleSize + kNumberOfRegisters * kPointerSize; in Generate() 226 __ Daddu(sp, sp, Operand(kSavedRegistersAreaSize + (1 * kPointerSize))); in Generate() [all …]
|
/external/v8/src/arm/ |
D | frames-arm.h | 81 -(StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize); 88 3 * kPointerSize : 2 * kPointerSize; 91 -3 * kPointerSize : 0; 92 static const int kCodeOffset = -2 * kPointerSize; 93 static const int kSPOffset = -1 * kPointerSize; 96 static const int kCallerFPOffset = 0 * kPointerSize; 98 static const int kCallerPCOffset = 1 * kPointerSize; 102 static const int kCallerSPDisplacement = 2 * kPointerSize; 110 static const int kLastParameterOffset = +2 * kPointerSize; 114 static const int kParam0Offset = -2 * kPointerSize; [all …]
|
D | regexp-macro-assembler-arm.h | 103 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize; 104 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; 106 static const int kRegisterOutput = kSecondaryReturnAddress + kPointerSize; 107 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; 108 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; 109 static const int kDirectCall = kStackHighEnd + kPointerSize; 110 static const int kIsolate = kDirectCall + kPointerSize; 114 static const int kInputEnd = kFramePointer - kPointerSize; 115 static const int kInputStart = kInputEnd - kPointerSize; 116 static const int kStartIndex = kInputStart - kPointerSize; [all …]
|
D | builtins-arm.cc | 213 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode() 400 __ add(r3, r3, Operand(AllocationMemento::kSize / kPointerSize)); in Generate_JSConstructStubHelper() 413 DCHECK_EQ(0 * kPointerSize, JSObject::kMapOffset); in Generate_JSConstructStubHelper() 414 __ str(r2, MemOperand(r5, kPointerSize, PostIndex)); in Generate_JSConstructStubHelper() 415 DCHECK_EQ(1 * kPointerSize, JSObject::kPropertiesOffset); in Generate_JSConstructStubHelper() 416 __ str(r6, MemOperand(r5, kPointerSize, PostIndex)); in Generate_JSConstructStubHelper() 417 DCHECK_EQ(2 * kPointerSize, JSObject::kElementsOffset); in Generate_JSConstructStubHelper() 418 __ str(r6, MemOperand(r5, kPointerSize, PostIndex)); in Generate_JSConstructStubHelper() 426 DCHECK_EQ(3 * kPointerSize, JSObject::kHeaderSize); in Generate_JSConstructStubHelper() 458 __ sub(ip, r3, Operand(AllocationMemento::kSize / kPointerSize)); in Generate_JSConstructStubHelper() [all …]
|
/external/v8/src/mips/ |
D | frames-mips.h | 133 -(StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize); 139 static const int kFrameSize = 2 * kPointerSize; 141 static const int kCodeOffset = -2 * kPointerSize; 142 static const int kSPOffset = -1 * kPointerSize; 145 static const int kCallerFPOffset = +0 * kPointerSize; 147 static const int kCallerPCOffset = +1 * kPointerSize; 150 static const int kCallerSPOffset = +2 * kPointerSize; 153 static const int kCallerSPDisplacement = +2 * kPointerSize; 163 static const int kLastParameterOffset = +2 * kPointerSize; 167 static const int kParam0Offset = -2 * kPointerSize; [all …]
|
D | regexp-macro-assembler-mips.h | 104 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize; 105 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; 107 static const int kStackFrameHeader = kReturnAddress + kPointerSize; 110 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; 111 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; 112 static const int kDirectCall = kStackHighEnd + kPointerSize; 113 static const int kIsolate = kDirectCall + kPointerSize; 117 static const int kInputEnd = kFramePointer - kPointerSize; 118 static const int kInputStart = kInputEnd - kPointerSize; 119 static const int kStartIndex = kInputStart - kPointerSize; [all …]
|
D | builtins-mips.cc | 52 __ Subu(s1, s1, kPointerSize); in Generate_Adaptor() 222 STATIC_ASSERT(JSValue::kSize == 4 * kPointerSize); in Generate_StringConstructCode() 411 __ Addu(a3, a3, Operand(AllocationMemento::kSize / kPointerSize)); in Generate_JSConstructStubHelper() 427 __ Addu(t5, t5, Operand(3*kPointerSize)); in Generate_JSConstructStubHelper() 428 DCHECK_EQ(0 * kPointerSize, JSObject::kMapOffset); in Generate_JSConstructStubHelper() 429 DCHECK_EQ(1 * kPointerSize, JSObject::kPropertiesOffset); in Generate_JSConstructStubHelper() 430 DCHECK_EQ(2 * kPointerSize, JSObject::kElementsOffset); in Generate_JSConstructStubHelper() 439 DCHECK_EQ(3 * kPointerSize, JSObject::kHeaderSize); in Generate_JSConstructStubHelper() 471 __ Subu(a0, a3, Operand(AllocationMemento::kSize / kPointerSize)); in Generate_JSConstructStubHelper() 479 DCHECK_EQ(0 * kPointerSize, AllocationMemento::kMapOffset); in Generate_JSConstructStubHelper() [all …]
|
/external/v8/src/x64/ |
D | frames-x64.h | 34 -3 * kPointerSize + -7 * kRegisterSize - kXMMRegistersBlockSize; 37 static const int kCallerFPOffset = -3 * kPointerSize + -5 * kRegisterSize; 39 static const int kArgvOffset = 6 * kPointerSize; 45 static const int kFrameSize = 2 * kPointerSize; 47 static const int kCodeOffset = -2 * kPointerSize; 48 static const int kSPOffset = -1 * kPointerSize; 50 static const int kCallerFPOffset = +0 * kPointerSize; 69 static const int kParam0Offset = -2 * kPointerSize; 70 static const int kReceiverOffset = -1 * kPointerSize; 80 StandardFrameConstants::kFixedFrameSize + kPointerSize; [all …]
|
/external/v8/src/arm64/ |
D | frames-arm64.h | 34 -(StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize); 40 static const int kFrameSize = 2 * kPointerSize; 42 static const int kCallerSPDisplacement = 2 * kPointerSize; 43 static const int kCallerPCOffset = 1 * kPointerSize; 44 static const int kCallerFPOffset = 0 * kPointerSize; // <- fp 45 static const int kSPOffset = -1 * kPointerSize; 46 static const int kCodeOffset = -2 * kPointerSize; 60 static const int kLastParameterOffset = 2 * kPointerSize; 72 StandardFrameConstants::kFixedFrameSize + kPointerSize; 80 static const int kLengthOffset = -4 * kPointerSize; [all …]
|
D | regexp-macro-assembler-arm64.h | 109 static const int kReturnAddress = kCalleeSavedRegisters + 11 * kPointerSize; 110 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; 112 static const int kIsolate = kSecondaryReturnAddress + kPointerSize; 116 static const int kDirectCall = kCalleeSavedRegisters - kPointerSize; 117 static const int kStackBase = kDirectCall - kPointerSize; 118 static const int kOutputSize = kStackBase - kPointerSize; 119 static const int kInput = kOutputSize - kPointerSize; 122 static const int kSuccessCounter = kInput - kPointerSize;
|
/external/v8/test/cctest/ |
D | test-macro-assembler-x87.cc | 64 __ sub(esp, Immediate(1 * kPointerSize)); in TEST() 69 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); in TEST() 71 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 72 __ mov(ebx, Operand(esp, 0 * kPointerSize)); in TEST() 76 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 83 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); in TEST() 85 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 86 __ mov(ebx, Operand(esp, 0 * kPointerSize)); in TEST() 90 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 97 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); in TEST() [all …]
|
D | test-macro-assembler-ia32.cc | 64 __ sub(esp, Immediate(1 * kPointerSize)); in TEST() 69 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); in TEST() 71 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 72 __ mov(ebx, Operand(esp, 0 * kPointerSize)); in TEST() 76 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 83 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); in TEST() 85 __ Store(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 86 __ mov(ebx, Operand(esp, 0 * kPointerSize)); in TEST() 90 __ Load(ebx, Operand(esp, 0 * kPointerSize), Representation::Integer8()); in TEST() 97 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); in TEST() [all …]
|
D | test-macro-assembler-arm.cc | 149 __ sub(sp, sp, Operand(1 * kPointerSize)); in TEST() 155 __ str(r1, MemOperand(sp, 0 * kPointerSize)); in TEST() 157 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 158 __ ldr(r3, MemOperand(sp, 0 * kPointerSize)); in TEST() 163 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::UInteger8()); in TEST() 170 __ str(r1, MemOperand(sp, 0 * kPointerSize)); in TEST() 172 __ Store(r2, MemOperand(sp, 0 * kPointerSize), Representation::Integer8()); in TEST() 173 __ ldr(r3, MemOperand(sp, 0 * kPointerSize)); in TEST() 178 __ Load(r3, MemOperand(sp, 0 * kPointerSize), Representation::Integer8()); in TEST() 185 __ str(r1, MemOperand(sp, 0 * kPointerSize)); in TEST() [all …]
|
/external/v8/src/ |
D | field-index-inl.h | 15 DCHECK((offset % kPointerSize) == 0); in ForInObjectOffset() 16 int index = offset / kPointerSize; in ForInObjectOffset() 24 return FieldIndex::ForPropertyIndex(map, offset / kPointerSize); in ForInObjectOffset() 43 property_index + first_inobject_offset / kPointerSize, in ForPropertyIndex() 60 field_index += FixedArray::kHeaderSize / kPointerSize; in ForLoadByFieldIndex() 63 field_index += JSObject::kHeaderSize / kPointerSize; in ForLoadByFieldIndex() 84 result -= JSObject::kHeaderSize / kPointerSize; in GetLoadByFieldIndex() 86 result -= FixedArray::kHeaderSize / kPointerSize; in GetLoadByFieldIndex()
|
D | objects.h | 1425 static const int kHeaderSize = kMapOffset + kPointerSize; 2183 static const int kMaxInstanceSize = 255 * kPointerSize; 2191 static const int kElementsOffset = kPropertiesOffset + kPointerSize; 2192 static const int kHeaderSize = kElementsOffset + kPointerSize; 2390 static const int kHeaderSize = kLengthOffset + kPointerSize; 2449 static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } in SizeFor() 2464 static const int kMaxSize = 128 * MB * kPointerSize; 2466 static const int kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize; 2755 (small.count_of(CODE_PTR) * kPointerSize) + in SizeFor() 2756 (small.count_of(HEAP_PTR) * kPointerSize) + in SizeFor() [all …]
|