/external/v8/src/arm/ |
D | macro-assembler-arm.cc | 871 Register scratch1, in InitializeNewString() argument 873 mov(scratch1, Operand(length, LSL, kSmiTagSize)); in InitializeNewString() 875 str(scratch1, FieldMemOperand(string, String::kLengthOffset)); in InitializeNewString() 876 mov(scratch1, Operand(String::kEmptyHashField)); in InitializeNewString() 878 str(scratch1, FieldMemOperand(string, String::kHashFieldOffset)); in InitializeNewString() 1510 Register scratch1, in AllocateInNewSpace() argument 1518 mov(scratch1, Operand(0x7191)); in AllocateInNewSpace() 1525 ASSERT(!result.is(scratch1)); in AllocateInNewSpace() 1527 ASSERT(!scratch1.is(scratch2)); in AllocateInNewSpace() 1528 ASSERT(!scratch1.is(ip)); in AllocateInNewSpace() [all …]
|
D | code-stubs-arm.cc | 60 Register scratch1, Register scratch2, in EmitCheckForHeapNumber() argument 62 __ ldr(scratch1, FieldMemOperand(operand, HeapObject::kMapOffset)); in EmitCheckForHeapNumber() 64 __ cmp(scratch1, scratch2); in EmitCheckForHeapNumber() 520 Register scratch1, in LoadSmis() argument 524 __ mov(scratch1, Operand(r0, ASR, kSmiTagSize)); in LoadSmis() 525 __ vmov(d7.high(), scratch1); in LoadSmis() 527 __ mov(scratch1, Operand(r1, ASR, kSmiTagSize)); in LoadSmis() 528 __ vmov(d6.high(), scratch1); in LoadSmis() 537 __ mov(scratch1, Operand(r0)); in LoadSmis() 538 ConvertToDoubleStub stub1(r3, r2, scratch1, scratch2); in LoadSmis() [all …]
|
D | macro-assembler-arm.h | 225 Register scratch1, 232 Register scratch1, 241 Register scratch1, 666 Register scratch1, 672 Register scratch1, 686 Register scratch1, 692 Register scratch1, 698 Register scratch1, 703 Register scratch1, 708 Register scratch1, [all …]
|
D | code-stubs-arm.h | 225 Register scratch1, 269 Register scratch1, 287 Register scratch1, 337 Register scratch1, 368 Register scratch1, 378 Register scratch1, 391 Register scratch1, 446 Register scratch1, 605 inline Register scratch1() { return scratch1_; } in scratch1() function 724 Register scratch1, [all …]
|
D | stub-cache-arm.cc | 139 Register scratch1) { in GenerateDictionaryNegativeLookup() argument 142 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup() 143 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup() 151 Register map = scratch1; in GenerateDictionaryNegativeLookup() 182 scratch1); in GenerateDictionaryNegativeLookup() 184 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup() 366 Register scratch1, in GenerateStringCheck() argument 374 __ ldr(scratch1, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateStringCheck() 375 __ ldrb(scratch1, FieldMemOperand(scratch1, Map::kInstanceTypeOffset)); in GenerateStringCheck() 376 __ and_(scratch2, scratch1, Operand(kIsNotStringMask)); in GenerateStringCheck() [all …]
|
D | ic-arm.cc | 125 Register scratch1, in GenerateDictionaryLoad() argument 139 scratch1, in GenerateDictionaryLoad() 148 __ ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); in GenerateDictionaryLoad() 149 __ tst(scratch1, Operand(PropertyDetails::TypeField::kMask << kSmiTagSize)); in GenerateDictionaryLoad() 174 Register scratch1, in GenerateDictionaryStore() argument 188 scratch1, in GenerateDictionaryStore() 200 __ ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); in GenerateDictionaryStore() 201 __ tst(scratch1, Operand(kTypeAndReadOnlyMask)); in GenerateDictionaryStore() 210 __ mov(scratch1, value); in GenerateDictionaryStore() 212 elements, scratch2, scratch1, kLRHasNotBeenSaved, kDontSaveFPRegs); in GenerateDictionaryStore() [all …]
|
D | builtins-arm.cc | 111 Register scratch1, in AllocateEmptyJSArray() argument 117 __ LoadInitialArrayMap(array_function, scratch2, scratch1); in AllocateEmptyJSArray() 137 __ str(scratch1, FieldMemOperand(result, JSObject::kMapOffset)); in AllocateEmptyJSArray() 138 __ LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex); in AllocateEmptyJSArray() 139 __ str(scratch1, FieldMemOperand(result, JSArray::kPropertiesOffset)); in AllocateEmptyJSArray() 145 __ str(scratch1, FieldMemOperand(result, JSArray::kElementsOffset)); in AllocateEmptyJSArray() 153 __ add(scratch1, result, Operand(JSArray::kSize)); in AllocateEmptyJSArray() 154 __ str(scratch1, FieldMemOperand(result, JSArray::kElementsOffset)); in AllocateEmptyJSArray() 157 __ sub(scratch1, scratch1, Operand(kHeapObjectTag)); in AllocateEmptyJSArray() 166 __ str(scratch3, MemOperand(scratch1, kPointerSize, PostIndex)); in AllocateEmptyJSArray() [all …]
|
D | full-codegen-arm.cc | 751 Register scratch1) { in SetVar() argument 754 ASSERT(!scratch0.is(scratch1)); in SetVar() 755 ASSERT(!scratch1.is(src)); in SetVar() 764 scratch1, in SetVar() 1829 Register scratch1 = r2; in EmitInlineSmiBinaryOp() local 1838 __ orr(scratch1, left, Operand(right)); in EmitInlineSmiBinaryOp() 1841 patch_site.EmitJumpIfSmi(scratch1, &smi_case); in EmitInlineSmiBinaryOp() 1856 __ GetLeastBitsFromSmi(scratch1, right, 5); in EmitInlineSmiBinaryOp() 1857 __ mov(right, Operand(left, ASR, scratch1)); in EmitInlineSmiBinaryOp() 1862 __ SmiUntag(scratch1, left); in EmitInlineSmiBinaryOp() [all …]
|
/external/v8/src/mips/ |
D | code-stubs-mips.cc | 61 Register scratch1, Register scratch2, in EmitCheckForHeapNumber() argument 63 __ lw(scratch1, FieldMemOperand(operand, HeapObject::kMapOffset)); in EmitCheckForHeapNumber() 65 __ Branch(not_a_heap_number, ne, scratch1, Operand(scratch2)); in EmitCheckForHeapNumber() 520 Register scratch1, in LoadSmis() argument 524 __ sra(scratch1, a0, kSmiTagSize); in LoadSmis() 525 __ mtc1(scratch1, f14); in LoadSmis() 527 __ sra(scratch1, a1, kSmiTagSize); in LoadSmis() 528 __ mtc1(scratch1, f12); in LoadSmis() 537 __ mov(scratch1, a0); in LoadSmis() 538 ConvertToDoubleStub stub1(a3, a2, scratch1, scratch2); in LoadSmis() [all …]
|
D | ic-mips.cc | 68 Register scratch1, in GenerateStringDictionaryReceiverCheck() argument 82 __ GetObjectType(receiver, scratch0, scratch1); in GenerateStringDictionaryReceiverCheck() 83 __ Branch(miss, lt, scratch1, Operand(FIRST_SPEC_OBJECT_TYPE)); in GenerateStringDictionaryReceiverCheck() 88 GenerateGlobalInstanceTypeCheck(masm, scratch1, miss); in GenerateStringDictionaryReceiverCheck() 91 __ lbu(scratch1, FieldMemOperand(scratch0, Map::kBitFieldOffset)); in GenerateStringDictionaryReceiverCheck() 92 __ And(scratch1, scratch1, Operand((1 << Map::kIsAccessCheckNeeded) | in GenerateStringDictionaryReceiverCheck() 94 __ Branch(miss, ne, scratch1, Operand(zero_reg)); in GenerateStringDictionaryReceiverCheck() 97 __ lw(scratch1, FieldMemOperand(elements, HeapObject::kMapOffset)); in GenerateStringDictionaryReceiverCheck() 99 __ Branch(miss, ne, scratch1, Operand(scratch0)); in GenerateStringDictionaryReceiverCheck() 123 Register scratch1, in GenerateDictionaryLoad() argument [all …]
|
D | stub-cache-mips.cc | 130 Register scratch1) { in GenerateDictionaryNegativeLookup() argument 133 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup() 134 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup() 142 Register map = scratch1; in GenerateDictionaryNegativeLookup() 171 scratch1); in GenerateDictionaryNegativeLookup() 173 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); in GenerateDictionaryNegativeLookup() 353 Register scratch1, in GenerateStringCheck() argument 361 __ lw(scratch1, FieldMemOperand(receiver, HeapObject::kMapOffset)); in GenerateStringCheck() 362 __ lbu(scratch1, FieldMemOperand(scratch1, Map::kInstanceTypeOffset)); in GenerateStringCheck() 363 __ And(scratch2, scratch1, Operand(kIsNotStringMask)); in GenerateStringCheck() [all …]
|
D | macro-assembler-mips.cc | 1399 Register scratch1, in EmitFPUTruncate() argument 1413 cfc1(scratch1, FCSR); in EmitFPUTruncate() 1436 ctc1(scratch1, FCSR); in EmitFPUTruncate() 2893 Register scratch1, in AllocateInNewSpace() argument 2901 li(scratch1, 0x7191); in AllocateInNewSpace() 2908 ASSERT(!result.is(scratch1)); in AllocateInNewSpace() 2910 ASSERT(!scratch1.is(scratch2)); in AllocateInNewSpace() 2911 ASSERT(!scratch1.is(t9)); in AllocateInNewSpace() 2935 Register topaddr = scratch1; in AllocateInNewSpace() 2972 Register scratch1, in AllocateInNewSpace() argument [all …]
|
D | macro-assembler-mips.h | 338 Register scratch1, 345 Register scratch1, 354 Register scratch1, 481 Register scratch1, 487 Register scratch1, 501 Register scratch1, 507 Register scratch1, 513 Register scratch1, 518 Register scratch1, 523 Register scratch1, [all …]
|
D | code-stubs-mips.h | 226 Register scratch1, 270 Register scratch1, 288 Register scratch1, 338 Register scratch1, 368 Register scratch1, 378 Register scratch1, 391 Register scratch1, 457 Register scratch1, 606 inline Register scratch1() { return scratch1_; } in scratch1() function 724 Register scratch1, [all …]
|
D | builtins-mips.cc | 115 Register scratch1, in AllocateEmptyJSArray() argument 121 __ LoadInitialArrayMap(array_function, scratch2, scratch1); in AllocateEmptyJSArray() 140 __ sw(scratch1, FieldMemOperand(result, JSObject::kMapOffset)); in AllocateEmptyJSArray() 141 __ LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex); in AllocateEmptyJSArray() 142 __ sw(scratch1, FieldMemOperand(result, JSArray::kPropertiesOffset)); in AllocateEmptyJSArray() 148 __ sw(scratch1, FieldMemOperand(result, JSArray::kElementsOffset)); in AllocateEmptyJSArray() 156 __ Addu(scratch1, result, Operand(JSArray::kSize)); in AllocateEmptyJSArray() 157 __ sw(scratch1, FieldMemOperand(result, JSArray::kElementsOffset)); in AllocateEmptyJSArray() 160 __ And(scratch1, scratch1, Operand(~kHeapObjectTagMask)); in AllocateEmptyJSArray() 169 __ sw(scratch3, MemOperand(scratch1)); in AllocateEmptyJSArray() [all …]
|
D | full-codegen-mips.cc | 760 Register scratch1) { in SetVar() argument 763 ASSERT(!scratch0.is(scratch1)); in SetVar() 764 ASSERT(!scratch1.is(src)); in SetVar() 772 scratch1, in SetVar() 1844 Register scratch1 = a2; in EmitInlineSmiBinaryOp() local 1854 __ Or(scratch1, left, Operand(right)); in EmitInlineSmiBinaryOp() 1857 patch_site.EmitJumpIfSmi(scratch1, &smi_case); in EmitInlineSmiBinaryOp() 1872 __ GetLeastBitsFromSmi(scratch1, right, 5); in EmitInlineSmiBinaryOp() 1873 __ srav(right, left, scratch1); in EmitInlineSmiBinaryOp() 1878 __ SmiUntag(scratch1, left); in EmitInlineSmiBinaryOp() [all …]
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.h | 114 Register scratch1, 122 Register scratch1, 132 Register scratch1, 370 Register scratch1, 573 Register scratch1, 581 Register scratch1, 587 Register scratch1, 593 Register scratch1, 600 Register scratch1, 604 Register scratch1, [all …]
|
D | macro-assembler-ia32.cc | 421 Register scratch1, in StoreNumberToDoubleElements() argument 473 mov(scratch1, maybe_number); in StoreNumberToDoubleElements() 474 SmiUntag(scratch1); in StoreNumberToDoubleElements() 477 cvtsi2sd(scratch2, scratch1); in StoreNumberToDoubleElements() 481 push(scratch1); in StoreNumberToDoubleElements() 483 pop(scratch1); in StoreNumberToDoubleElements() 1306 Register scratch1, in AllocateHeapNumber() argument 1312 scratch1, in AllocateHeapNumber() 1325 Register scratch1, in AllocateTwoByteString() argument 1334 lea(scratch1, Operand(length, length, times_1, kObjectAlignmentMask)); in AllocateTwoByteString() [all …]
|
D | stub-cache-ia32.cc | 330 Register scratch1, in GenerateLoadStringLength() argument 338 GenerateStringCheck(masm, receiver, scratch1, miss, in GenerateLoadStringLength() 348 __ cmp(scratch1, JS_VALUE_TYPE); in GenerateLoadStringLength() 354 GenerateStringCheck(masm, scratch2, scratch1, miss, miss); in GenerateLoadStringLength() 363 Register scratch1, in GenerateLoadFunctionPrototype() argument 366 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); in GenerateLoadFunctionPrototype() 367 __ mov(eax, scratch1); in GenerateLoadFunctionPrototype() 543 Register scratch1, in Compile() argument 555 CompileCacheable(masm, object, receiver, scratch1, scratch2, scratch3, in Compile() 558 CompileRegular(masm, object, receiver, scratch1, scratch2, scratch3, in Compile() [all …]
|
/external/v8/src/x64/ |
D | stub-cache-x64.cc | 304 Register scratch1, in GenerateLoadStringLength() argument 312 GenerateStringCheck(masm, receiver, scratch1, miss, in GenerateLoadStringLength() 322 __ cmpl(scratch1, Immediate(JS_VALUE_TYPE)); in GenerateLoadStringLength() 328 GenerateStringCheck(masm, scratch2, scratch1, miss, miss); in GenerateLoadStringLength() 527 Register scratch1, in Compile() argument 539 CompileCacheable(masm, object, receiver, scratch1, scratch2, scratch3, in Compile() 542 CompileRegular(masm, object, receiver, scratch1, scratch2, scratch3, in Compile() 551 Register scratch1, in CompileCacheable() argument 582 ReserveSpaceForFastApiCall(masm, scratch1); in CompileCacheable() 591 scratch1, scratch2, scratch3, in CompileCacheable() [all …]
|
D | ic-x64.cc | 172 Register scratch1) { in GenerateDictionaryStore() argument 194 scratch1); in GenerateDictionaryStore() 208 scratch1, in GenerateDictionaryStore() 216 __ lea(scratch1, Operand(elements, in GenerateDictionaryStore() 217 scratch1, in GenerateDictionaryStore() 220 __ movq(Operand(scratch1, 0), value); in GenerateDictionaryStore() 224 __ RecordWrite(elements, scratch1, scratch0, kDontSaveFPRegs); in GenerateDictionaryStore() 1154 Register scratch1, in GenerateMappedArgumentsLookup() argument 1166 __ CmpObjectType(object, FIRST_JS_RECEIVER_TYPE, scratch1); in GenerateMappedArgumentsLookup() 1176 __ movq(scratch1, FieldOperand(object, JSObject::kElementsOffset)); in GenerateMappedArgumentsLookup() [all …]
|
D | macro-assembler-x64.h | 202 Register scratch1, 219 Register scratch1, 743 Register scratch1, 760 Register scratch1, 1055 Register scratch1, 1061 Register scratch1, 1069 Register scratch1, 1073 Register scratch1, 1080 Register scratch1, 1084 Register scratch1,
|
D | macro-assembler-x64.cc | 2110 Register scratch1, in JumpIfNotBothSequentialAsciiStrings() argument 2119 movq(scratch1, FieldOperand(first_object, HeapObject::kMapOffset)); in JumpIfNotBothSequentialAsciiStrings() 2121 movzxbl(scratch1, FieldOperand(scratch1, Map::kInstanceTypeOffset)); in JumpIfNotBothSequentialAsciiStrings() 2130 andl(scratch1, Immediate(kFlatAsciiStringMask)); in JumpIfNotBothSequentialAsciiStrings() 2134 lea(scratch1, Operand(scratch1, scratch2, times_8, 0)); in JumpIfNotBothSequentialAsciiStrings() 2135 cmpl(scratch1, in JumpIfNotBothSequentialAsciiStrings() 2162 Register scratch1, in JumpIfBothInstanceTypesAreNotSequentialAscii() argument 2167 movq(scratch1, first_object_instance_type); in JumpIfBothInstanceTypesAreNotSequentialAscii() 2176 andl(scratch1, Immediate(kFlatAsciiStringMask)); in JumpIfBothInstanceTypesAreNotSequentialAscii() 2180 lea(scratch1, Operand(scratch1, scratch2, times_8, 0)); in JumpIfBothInstanceTypesAreNotSequentialAscii() [all …]
|
D | code-stubs-x64.h | 278 Register scratch1, 328 Register scratch1, 357 Register scratch1, 367 Register scratch1, 398 Register scratch1, 645 inline Register scratch1() { return scratch1_; } in scratch1() function
|
/external/v8/src/ |
D | stub-cache.h | 452 Register scratch1, 459 Register scratch1, 496 Register scratch1, in CheckPrototypes() argument 500 return CheckPrototypes(object, object_reg, holder, holder_reg, scratch1, in CheckPrototypes() 508 Register scratch1, 524 Register scratch1, 535 Register scratch1, 545 Register scratch1, 557 Register scratch1,
|