/external/v8/src/ic/arm64/ |
H A D | ic-arm64.cc | 43 Register result, Register scratch1, 45 DCHECK(!AreAliased(elements, name, scratch1, scratch2)); 46 DCHECK(!AreAliased(result, scratch1, scratch2)); 52 name, scratch1, scratch2); 61 __ Ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 62 __ Tst(scratch1, Smi::FromInt(PropertyDetails::TypeField::kMask)); 83 Register value, Register scratch1, 85 DCHECK(!AreAliased(elements, name, value, scratch1, scratch2)); 91 name, scratch1, scratch2); 104 __ Ldrsw(scratch1, UntagSmiFieldMemOperan 41 GenerateDictionaryLoad(MacroAssembler* masm, Label* miss, Register elements, Register name, Register result, Register scratch1, Register scratch2) argument 81 GenerateDictionaryStore(MacroAssembler* masm, Label* miss, Register elements, Register name, Register value, Register scratch1, Register scratch2) argument 164 GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, Register key, Register elements, Register scratch1, Register scratch2, Register result, Label* slow) argument 326 GenerateKeyedLoadWithSmiKey(MacroAssembler* masm, Register key, Register receiver, Register scratch1, Register scratch2, Register scratch3, Register scratch4, Register scratch5, Label* slow) argument 363 GenerateKeyedLoadWithNameKey(MacroAssembler* masm, Register key, Register receiver, Register scratch1, Register scratch2, Register scratch3, Register scratch4, Register scratch5, Label* slow) argument [all...] |
H A D | handler-compiler-arm64.cc | 44 Handle<Name> name, Register scratch0, Register scratch1) { 45 DCHECK(!AreAliased(receiver, scratch0, scratch1)); 48 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 49 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 57 Register map = scratch1; 76 masm, miss_label, &done, receiver, properties, name, scratch1); 78 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 94 MacroAssembler* masm, Register receiver, Register scratch1, 96 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); 101 __ Mov(x0, scratch1); 42 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 93 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 461 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 542 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
H A D | convolve2_avg_dspr2.c | 35 uint32_t scratch1, scratch2; local 65 "preceu.ph.qbr %[scratch1], %[load1] \n\t" 67 "precrq.ph.w %[p2], %[p1], %[scratch1] \n\t" /* pixel 2 */ 68 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 73 "preceu.ph.qbl %[scratch1], %[load1] \n\t" 75 "precrq.ph.w %[p2], %[p1], %[scratch1] \n\t" /* pixel 2 */ 76 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 84 "lbu %[scratch1], 0(%[dst_ptr]) \n\t" 88 "addqh_r.w %[store1], %[store1], %[scratch1] \n\t" /* pixel 1 */ 94 "lbu %[scratch1], 139 uint32_t scratch1, scratch2; local [all...] |
H A D | convolve2_vert_dspr2.c | 35 uint32_t scratch1; local 65 "preceu.ph.qbr %[scratch1], %[load1] \n\t" 68 "precrq.ph.w %[p2], %[p1], %[scratch1] \n\t" /* pixel 2 */ 69 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 74 "preceu.ph.qbl %[scratch1], %[load1] \n\t" 77 "precrq.ph.w %[p2], %[p1], %[scratch1] \n\t" /* pixel 2 */ 78 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 103 [scratch1] "=&r" (scratch1), 132 uint32_t scratch1; local [all...] |
H A D | convolve8_vert_dspr2.c | 36 uint32_t scratch1, scratch2; local 74 "preceu.ph.qbr %[scratch1], %[load1] \n\t" 76 "precrq.ph.w %[n1], %[p1], %[scratch1] \n\t" /* pixel 2 */ 77 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 88 "preceu.ph.qbl %[scratch1], %[load1] \n\t" 90 "precrq.ph.w %[n1], %[p1], %[scratch1] \n\t" /* pixel 2 */ 91 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 111 "preceu.ph.qbr %[scratch1], %[load1] \n\t" 113 "precrq.ph.w %[n1], %[p1], %[scratch1] \n\t" /* pixel 2 */ 114 "append %[p1], %[scratch1], 1 190 uint32_t scratch1, scratch2; local [all...] |
H A D | convolve8_avg_dspr2.c | 36 uint32_t scratch1, scratch2; local 74 "preceu.ph.qbr %[scratch1], %[load1] \n\t" 76 "precrq.ph.w %[n1], %[p1], %[scratch1] \n\t" /* pixel 2 */ 77 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 88 "preceu.ph.qbl %[scratch1], %[load1] \n\t" 90 "precrq.ph.w %[n1], %[p1], %[scratch1] \n\t" /* pixel 2 */ 91 "append %[p1], %[scratch1], 16 \n\t" /* pixel 1 */ 111 "preceu.ph.qbr %[scratch1], %[load1] \n\t" 113 "precrq.ph.w %[n1], %[p1], %[scratch1] \n\t" /* pixel 2 */ 114 "append %[p1], %[scratch1], 1 197 uint32_t scratch1, scratch2; local [all...] |
/external/v8/src/arm64/ |
H A D | macro-assembler-arm64.cc | 1478 Register scratch1, Register scratch2, 1481 DCHECK(!AreAliased(object, scratch0, scratch1, scratch2, scratch3, scratch4)); 1484 Register current_object = scratch1; 1534 Register scratch1, 1546 Add(scratch1, receiver, kMementoEndOffset); 1551 Eor(scratch2, scratch1, scratch2); 1557 Eor(scratch2, scratch1, receiver); 1567 Cmp(scratch1, scratch2); 1571 Ldr(scratch1, MemOperand(receiver, kMementoMapOffset)); 1572 Cmp(scratch1, Operan 1477 CheckEnumCache(Register object, Register scratch0, Register scratch1, Register scratch2, Register scratch3, Register scratch4, Label* call_runtime) argument 1533 TestJSArrayForAllocationMemento(Register receiver, Register scratch1, Register scratch2, Label* no_memento_found) argument 1791 InitializeNewString(Register string, Register length, Heap::RootListIndex map_index, Register scratch1, Register scratch2) argument 2270 JumpIfEitherIsNotSequentialOneByteStrings( Register first, Register second, Register scratch1, Register scratch2, Label* failure, SmiCheckType smi_check) argument 2298 JumpIfEitherInstanceTypeIsNotSequentialOneByte( Register first, Register second, Register scratch1, Register scratch2, Label* failure) argument 2328 JumpIfBothInstanceTypesAreNotSequentialOneByte( Register first, Register second, Register scratch1, Register scratch2, Label* failure) argument 2357 PrepareForTailCall(const ParameterCount& callee_args_count, Register caller_args_count_reg, Register scratch0, Register scratch1) argument 2946 SetCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) argument 2956 IncrementCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) argument 2968 DecrementCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) argument 3027 Allocate(int object_size, Register result, Register scratch1, Register scratch2, Label* gc_required, AllocationFlags flags) argument 3189 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument 3260 AllocateTwoByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 3287 AllocateOneByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 3309 AllocateTwoByteConsString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 3325 AllocateOneByteConsString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 3337 AllocateTwoByteSlicedString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 3354 AllocateOneByteSlicedString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 3370 AllocateHeapNumber(Register result, Label* gc_required, Register scratch1, Register scratch2, CPURegister value, CPURegister heap_number_map, MutableMode mode) argument 3437 AllocateJSValue(Register result, Register constructor, Register value, Register scratch1, Register scratch2, Label* gc_required) argument 3549 DispatchWeakMap(Register obj, Register scratch1, Register scratch2, Handle<WeakCell> cell, Handle<Code> success, SmiCheckType smi_check_type) argument 3748 StoreNumberToDoubleElements(Register value_reg, Register key_reg, Register elements_reg, Register scratch1, FPRegister fpscratch1, Label* fail, int elements_offset) argument 3833 CheckAccessGlobalProxy(Register holder_reg, Register scratch1, Register scratch2, Label* miss) argument 3942 LoadFromNumberDictionary(Label* miss, Register elements, Register key, Register result, Register scratch0, Register scratch1, Register scratch2, Register scratch3) argument 4064 RememberedSetHelper(Register object, Register address, Register scratch1, SaveFPRegsMode fp_mode, RememberedSetFinalAction and_then) argument 4483 JumpIfBlack(Register object, Register scratch0, Register scratch1, Label* on_black) argument 4492 JumpIfDictionaryInPrototypeChain( Register object, Register scratch0, Register scratch1, Label* found) argument 4685 LoadTransitionedArrayMapConditional( ElementsKind expected_kind, ElementsKind transitioned_kind, Register map_in_out, Register scratch1, Register scratch2, Label* no_map_match) argument [all...] |
H A D | code-stubs-arm64.h | 19 MacroAssembler* masm, Register left, Register right, Register scratch1, 25 Register scratch1, 32 Register scratch1, Register scratch2, Label* chars_not_equal); 240 Register scratch1() { return scratch1_; } function in class:v8::internal::RecordWriteStub::RegisterAllocation 363 Register scratch1,
|
/external/v8/src/ic/arm/ |
H A D | handler-compiler-arm.cc | 135 Handle<Name> name, Register scratch0, Register scratch1) { 139 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 140 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 148 Register map = scratch1; 174 masm, miss_label, &done, receiver, properties, name, scratch1); 176 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 192 MacroAssembler* masm, Register receiver, Register scratch1, 194 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); 195 __ mov(r0, scratch1); 416 Register map_reg = scratch1(); 133 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 191 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 430 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 512 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
H A D | ic-arm.cc | 49 Register result, Register scratch1, 52 // scratch1: Used as temporary and to hold the capacity of the property 59 name, scratch1, scratch2); 68 __ ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 69 __ tst(scratch1, Operand(PropertyDetails::TypeField::kMask << kSmiTagSize)); 91 Register value, Register scratch1, 94 // scratch1: Used as temporary and to hold the capacity of the property 101 name, scratch1, scratch2); 114 __ ldr(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 115 __ tst(scratch1, Operan 47 GenerateDictionaryLoad(MacroAssembler* masm, Label* miss, Register elements, Register name, Register result, Register scratch1, Register scratch2) argument 89 GenerateDictionaryStore(MacroAssembler* masm, Label* miss, Register elements, Register name, Register value, Register scratch1, Register scratch2) argument 157 GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, Register key, Register elements, Register scratch1, Register scratch2, Register result, Label* slow) argument [all...] |
/external/v8/src/ic/mips/ |
H A D | handler-compiler-mips.cc | 129 Handle<Name> name, Register scratch0, Register scratch1) { 133 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 134 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 142 Register map = scratch1; 166 masm, miss_label, &done, receiver, properties, name, scratch1); 168 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 184 MacroAssembler* masm, Register receiver, Register scratch1, 186 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); 188 __ mov(v0, scratch1); 402 Register map_reg = scratch1(); 127 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 183 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 416 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 498 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
/external/v8/src/ic/mips64/ |
H A D | handler-compiler-mips64.cc | 129 Handle<Name> name, Register scratch0, Register scratch1) { 133 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 134 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 142 Register map = scratch1; 166 masm, miss_label, &done, receiver, properties, name, scratch1); 168 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 184 MacroAssembler* masm, Register receiver, Register scratch1, 186 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); 188 __ mov(v0, scratch1); 402 Register map_reg = scratch1(); 127 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 183 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 416 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 498 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
/external/v8/src/ic/ppc/ |
H A D | handler-compiler-ppc.cc | 130 Handle<Name> name, Register scratch0, Register scratch1) { 134 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 135 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 143 Register map = scratch1; 169 masm, miss_label, &done, receiver, properties, name, scratch1); 171 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 187 MacroAssembler* masm, Register receiver, Register scratch1, 189 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); 190 __ mr(r3, scratch1); 411 Register map_reg = scratch1(); 128 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 186 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 425 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 506 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
H A D | ic-ppc.cc | 49 Register result, Register scratch1, 52 // scratch1: Used as temporary and to hold the capacity of the property 59 name, scratch1, scratch2); 68 __ LoadP(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 71 __ and_(scratch2, scratch1, scratch2, SetRC); 94 Register value, Register scratch1, 97 // scratch1: Used as temporary and to hold the capacity of the property 104 name, scratch1, scratch2); 116 __ LoadP(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 119 __ and_(scratch2, scratch1, scratch 47 GenerateDictionaryLoad(MacroAssembler* masm, Label* miss, Register elements, Register name, Register result, Register scratch1, Register scratch2) argument 92 GenerateDictionaryStore(MacroAssembler* masm, Label* miss, Register elements, Register name, Register value, Register scratch1, Register scratch2) argument 163 GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, Register key, Register elements, Register scratch1, Register scratch2, Register result, Label* slow) argument [all...] |
/external/v8/src/s390/ |
H A D | code-stubs-s390.h | 29 Register scratch1, 36 Register scratch1, 43 Register scratch1, 231 inline Register scratch1() { return scratch1_; } function in class:v8::internal::RecordWriteStub::RegisterAllocation 359 static void LoadSmis(MacroAssembler* masm, Register scratch1, 370 Register scratch1, Register scratch2, 378 Register scratch1, Register scratch2, 407 Register scratch1, Register scratch2, 418 Register scratch1, Register scratch2, 460 Register scratch1, Registe [all...] |
/external/v8/src/ic/s390/ |
H A D | handler-compiler-s390.cc | 124 Handle<Name> name, Register scratch0, Register scratch1) { 128 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 129 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 137 Register map = scratch1; 161 masm, miss_label, &done, receiver, properties, name, scratch1); 163 __ DecrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 177 MacroAssembler* masm, Register receiver, Register scratch1, 179 __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); 180 __ LoadRR(r2, scratch1); 386 Register map_reg = scratch1(); 122 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 176 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 399 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 480 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
H A D | ic-s390.cc | 46 Register result, Register scratch1, 49 // scratch1: Used as temporary and to hold the capacity of the property 56 name, scratch1, scratch2); 65 __ LoadP(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 68 __ AndP(scratch2, scratch1); 90 Register value, Register scratch1, 93 // scratch1: Used as temporary and to hold the capacity of the property 100 name, scratch1, scratch2); 112 __ LoadP(scratch1, FieldMemOperand(scratch2, kDetailsOffset)); 115 __ AndP(scratch2, scratch1); 44 GenerateDictionaryLoad(MacroAssembler* masm, Label* miss, Register elements, Register name, Register result, Register scratch1, Register scratch2) argument 88 GenerateDictionaryStore(MacroAssembler* masm, Label* miss, Register elements, Register name, Register value, Register scratch1, Register scratch2) argument 158 GenerateFastArrayLoad(MacroAssembler* masm, Register receiver, Register key, Register elements, Register scratch1, Register scratch2, Register result, Label* slow) argument [all...] |
/external/v8/src/ppc/ |
H A D | macro-assembler-ppc.cc | 1167 Register scratch1, Register scratch2) { 1168 SmiTag(scratch1, length); 1170 StoreP(scratch1, FieldMemOperand(string, String::kLengthOffset), r0); 1171 li(scratch1, Operand(String::kEmptyHashField)); 1173 StoreP(scratch1, FieldMemOperand(string, String::kHashFieldSlot), r0); 1246 Register scratch0, Register scratch1) { 1250 scratch1)); 1252 DCHECK(!AreAliased(caller_args_count_reg, scratch0, scratch1)); 1289 Register tmp_reg = scratch1; 1781 Register scratch1, Registe 1165 InitializeNewString(Register string, Register length, Heap::RootListIndex map_index, Register scratch1, Register scratch2) argument 1244 PrepareForTailCall(const ParameterCount& callee_args_count, Register caller_args_count_reg, Register scratch0, Register scratch1) argument 1780 Allocate(int object_size, Register result, Register scratch1, Register scratch2, Label* gc_required, AllocationFlags flags) argument 2036 FastAllocate(int object_size, Register result, Register scratch1, Register scratch2, AllocationFlags flags) argument 2085 AllocateTwoByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 2108 AllocateOneByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 2131 AllocateTwoByteConsString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 2143 AllocateOneByteConsString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 2155 AllocateTwoByteSlicedString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 2168 AllocateOneByteSlicedString(Register result, Register length, Register scratch1, Register scratch2, Label* gc_required) argument 2192 STATIC_ASSERT(Map::kInstanceTypeOffset < 4096); STATIC_ASSERT(LAST_TYPE < 256); lbz(type_reg, FieldMemOperand(map, Map::kInstanceTypeOffset)); cmpi(type_reg, Operand(type)); } void MacroAssembler::CompareRoot(Register obj, Heap::RootListIndex index) { DCHECK(!obj.is(r0)); LoadRoot(r0, index); cmp(obj, r0); } void MacroAssembler::CheckFastElements(Register map, Register scratch, Label* fail) { STATIC_ASSERT(FAST_SMI_ELEMENTS == 0); STATIC_ASSERT(FAST_HOLEY_SMI_ELEMENTS == 1); STATIC_ASSERT(FAST_ELEMENTS == 2); STATIC_ASSERT(FAST_HOLEY_ELEMENTS == 3); lbz(scratch, FieldMemOperand(map, Map::kBitField2Offset)); STATIC_ASSERT(Map::kMaximumBitField2FastHoleyElementValue < 0x8000); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleyElementValue)); bgt(fail); } void MacroAssembler::CheckFastObjectElements(Register map, Register scratch, Label* fail) { STATIC_ASSERT(FAST_SMI_ELEMENTS == 0); STATIC_ASSERT(FAST_HOLEY_SMI_ELEMENTS == 1); STATIC_ASSERT(FAST_ELEMENTS == 2); STATIC_ASSERT(FAST_HOLEY_ELEMENTS == 3); lbz(scratch, FieldMemOperand(map, Map::kBitField2Offset)); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleySmiElementValue)); ble(fail); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleyElementValue)); bgt(fail); } void MacroAssembler::CheckFastSmiElements(Register map, Register scratch, Label* fail) { STATIC_ASSERT(FAST_SMI_ELEMENTS == 0); STATIC_ASSERT(FAST_HOLEY_SMI_ELEMENTS == 1); lbz(scratch, FieldMemOperand(map, Map::kBitField2Offset)); cmpli(scratch, Operand(Map::kMaximumBitField2FastHoleySmiElementValue)); bgt(fail); } void MacroAssembler::StoreNumberToDoubleElements( Register value_reg, Register key_reg, Register elements_reg, Register scratch1, DoubleRegister double_scratch, Label* fail, int elements_offset) { DCHECK(!AreAliased(value_reg, key_reg, elements_reg, scratch1)); Label smi_value, store; JumpIfSmi(value_reg, &smi_value); CheckMap(value_reg, scratch1, isolate()->factory()->heap_number_map(), fail, DONT_DO_SMI_CHECK); lfd(double_scratch, FieldMemOperand(value_reg, HeapNumber::kValueOffset)); CanonicalizeNaN(double_scratch); b(&store); bind(&smi_value); SmiToDouble(double_scratch, value_reg); bind(&store); SmiToDoubleArrayOffset(scratch1, key_reg); add(scratch1, elements_reg, scratch1); stfd(double_scratch, FieldMemOperand(scratch1, FixedDoubleArray::kHeaderSize - elements_offset)); } void MacroAssembler::AddAndCheckForOverflow(Register dst, Register left, Register right, Register overflow_dst, Register scratch) { DCHECK(!dst.is(overflow_dst)); DCHECK(!dst.is(scratch)); DCHECK(!overflow_dst.is(scratch)); DCHECK(!overflow_dst.is(left)); DCHECK(!overflow_dst.is(right)); bool left_is_right = left.is(right); RCBit xorRC = left_is_right ? SetRC : LeaveRC; if (dst.is(left)) { mr(scratch, left); add(dst, left, right); xor_(overflow_dst, dst, scratch, xorRC); if (!left_is_right) xor_(scratch, dst, right); } else if (dst.is(right)) { mr(scratch, right); add(dst, left, right); xor_(overflow_dst, dst, left, xorRC); if (!left_is_right) xor_(scratch, dst, scratch); } else { add(dst, left, right); xor_(overflow_dst, dst, left, xorRC); if (!left_is_right) xor_(scratch, dst, right); } if (!left_is_right) and_(overflow_dst, scratch, overflow_dst, SetRC); } void MacroAssembler::AddAndCheckForOverflow(Register dst, Register left, intptr_t right, Register overflow_dst, Register scratch) { Register original_left = left; DCHECK(!dst.is(overflow_dst)); DCHECK(!dst.is(scratch)); DCHECK(!overflow_dst.is(scratch)); DCHECK(!overflow_dst.is(left)); if (dst.is(left)) { original_left = overflow_dst; mr(original_left, left); } Add(dst, left, right, scratch); xor_(overflow_dst, dst, original_left); if (right >= 0) argument 2404 DispatchWeakMap(Register obj, Register scratch1, Register scratch2, Handle<WeakCell> cell, Handle<Code> success, SmiCheckType smi_check_type) argument 2514 TestDoubleIsInt32(DoubleRegister double_input, Register scratch1, Register scratch2, DoubleRegister double_scratch) argument 2520 TestDoubleIsMinusZero(DoubleRegister input, Register scratch1, Register scratch2) argument 2691 TruncateNumberToI(Register object, Register result, Register heap_number_map, Register scratch1, Label* not_number) argument 2776 SetCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) argument 2786 IncrementCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) argument 2798 DecrementCounter(StatsCounter* counter, int value, Register scratch1, Register scratch2) argument 3155 JumpIfNonSmisNotBothSequentialOneByteStrings( Register first, Register second, Register scratch1, Register scratch2, Label* failure) argument 3169 JumpIfNotBothSequentialOneByteStrings(Register first, Register second, Register scratch1, Register scratch2, Label* failure) argument 3197 AllocateHeapNumber(Register result, Register scratch1, Register scratch2, Register heap_number_map, Label* gc_required, MutableMode mode) argument 3218 AllocateHeapNumberWithValue( Register result, DoubleRegister value, Register scratch1, Register scratch2, Register heap_number_map, Label* gc_required) argument 3226 AllocateJSValue(Register result, Register constructor, Register value, Register scratch1, Register scratch2, Label* gc_required) argument 3379 JumpIfBothInstanceTypesAreNotSequentialOneByte( Register first, Register second, Register scratch1, Register scratch2, Label* failure) argument 3625 JumpIfBlack(Register object, Register scratch0, Register scratch1, Label* on_black) argument 4756 JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, Register scratch1, Label* found) argument [all...] |
H A D | macro-assembler-ppc.h | 206 void HasColor(Register object, Register scratch0, Register scratch1, 209 void JumpIfBlack(Register object, Register scratch0, Register scratch1, 214 void JumpIfWhite(Register value, Register scratch1, Register scratch2, 603 Register scratch1); 708 void Allocate(int object_size, Register result, Register scratch1, 717 void FastAllocate(int object_size, Register result, Register scratch1, 724 Register scratch1, Register scratch2, 727 Register scratch1, Register scratch2, 730 Register scratch1, Register scratch2, 733 Register scratch1, Registe [all...] |
/external/libvpx/libvpx/vp8/common/x86/ |
H A D | loopfilter_block_sse2_x86_64.asm | 18 movdqa scratch1, %2 ; v2 20 psubusb scratch1, %1 ; v2 - v1 22 por %1, scratch1 ; abs(v2 - v1) 72 movdqa scratch1, %1 73 psubsb scratch1, %4 ; signed_char_clamp(ps1 - qs1) 74 pandn scratch2, scratch1 ; vp8_filter &= hev 78 movdqa scratch1, %3 79 psubsb scratch1, %2 ; qs0 - ps0 80 paddsb scratch2, scratch1 ; vp8_filter += (qs0 - ps0) 81 paddsb scratch2, scratch1 ; vp8_filte [all...] |
/external/v8/src/arm/ |
H A D | macro-assembler-arm.cc | 1356 Register scratch1, 1358 SmiTag(scratch1, length); 1360 str(scratch1, FieldMemOperand(string, String::kLengthOffset)); 1361 mov(scratch1, Operand(String::kEmptyHashField)); 1363 str(scratch1, FieldMemOperand(string, String::kHashFieldOffset)); 1445 Register scratch0, Register scratch1) { 1449 scratch1)); 1451 DCHECK(!AreAliased(caller_args_count_reg, scratch0, scratch1)); 1488 Register tmp_reg = scratch1; 1968 Register scratch1, [all...] |
/external/v8/src/ia32/ |
H A D | macro-assembler-ia32.cc | 480 Register scratch1, 485 Register address = scratch1; 533 mov(scratch1, Immediate(bit_cast<int32_t>(kZapValue))); 859 Register scratch1, 879 mov(scratch1, maybe_number); 880 SmiUntag(scratch1); 881 Cvtsi2sd(scratch2, scratch1); 907 void MacroAssembler::DispatchWeakMap(Register obj, Register scratch1, argument 915 mov(scratch1, FieldOperand(obj, HeapObject::kMapOffset)); 916 CmpWeakValue(scratch1, cel 477 RecordWriteForMap( Register object, Handle<Map> map, Register scratch1, Register scratch2, SaveFPRegsMode save_fp) argument 855 StoreNumberToDoubleElements( Register maybe_number, Register elements, Register key, Register scratch1, XMMRegister scratch2, Label* fail, int elements_offset) argument 1281 CheckAccessGlobalProxy(Register holder_reg, Register scratch1, Register scratch2, Label* miss) argument 1785 AllocateHeapNumber(Register result, Register scratch1, Register scratch2, Label* gc_required, MutableMode mode) argument 1803 AllocateTwoByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 1827 mov(FieldOperand(result, String::kLengthOffset), scratch1); local 1833 AllocateOneByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 1855 mov(FieldOperand(result, String::kLengthOffset), scratch1); local 1861 AllocateOneByteString(Register result, int length, Register scratch1, Register scratch2, Label* gc_required) argument 1867 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, local 1880 AllocateTwoByteConsString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 1894 AllocateOneByteConsString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 1907 AllocateTwoByteSlicedString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 1921 AllocateOneByteSlicedString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 2212 PrepareForTailCall( const ParameterCount& callee_args_count, Register caller_args_count_reg, Register scratch0, Register scratch1, ReturnAddressState ra_state, int number_of_temp_values_after_return_address) argument 3019 JumpIfNotBothSequentialOneByteStrings(Register object1, Register object2, Register scratch1, Register scratch2, Label* failure) argument 3237 JumpIfBlack(Register object, Register scratch0, Register scratch1, Label* on_black, Label::Distance on_black_near) argument 3409 JumpIfDictionaryInPrototypeChain( Register object, Register scratch0, Register scratch1, Label* found) argument [all...] |
/external/v8/src/x87/ |
H A D | macro-assembler-x87.cc | 400 Register scratch1, Register scratch2, 404 Register address = scratch1; 452 mov(scratch1, Immediate(bit_cast<int32_t>(kZapValue))); 796 void MacroAssembler::DispatchWeakMap(Register obj, Register scratch1, argument 804 mov(scratch1, FieldOperand(obj, HeapObject::kMapOffset)); 805 CmpWeakValue(scratch1, cell, scratch2); 1224 Register scratch1, 1229 DCHECK(!holder_reg.is(scratch1)); 1231 DCHECK(!scratch1.is(scratch2)); 1239 mov(scratch1, 399 RecordWriteForMap(Register object, Handle<Map> map, Register scratch1, Register scratch2, SaveFPRegsMode save_fp) argument 1223 CheckAccessGlobalProxy(Register holder_reg, Register scratch1, Register scratch2, Label* miss) argument 1726 AllocateHeapNumber(Register result, Register scratch1, Register scratch2, Label* gc_required, MutableMode mode) argument 1744 AllocateTwoByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 1768 mov(FieldOperand(result, String::kLengthOffset), scratch1); local 1774 AllocateOneByteString(Register result, Register length, Register scratch1, Register scratch2, Register scratch3, Label* gc_required) argument 1796 mov(FieldOperand(result, String::kLengthOffset), scratch1); local 1802 AllocateOneByteString(Register result, int length, Register scratch1, Register scratch2, Label* gc_required) argument 1808 Allocate(SeqOneByteString::SizeFor(length), result, scratch1, scratch2, local 1821 AllocateTwoByteConsString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 1835 AllocateOneByteConsString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 1848 AllocateTwoByteSlicedString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 1862 AllocateOneByteSlicedString(Register result, Register scratch1, Register scratch2, Label* gc_required) argument 2152 PrepareForTailCall( const ParameterCount& callee_args_count, Register caller_args_count_reg, Register scratch0, Register scratch1, ReturnAddressState ra_state, int number_of_temp_values_after_return_address) argument 2866 JumpIfNotBothSequentialOneByteStrings(Register object1, Register object2, Register scratch1, Register scratch2, Label* failure) argument 3084 JumpIfBlack(Register object, Register scratch0, Register scratch1, Label* on_black, Label::Distance on_black_near) argument 3256 JumpIfDictionaryInPrototypeChain( Register object, Register scratch0, Register scratch1, Label* found) argument [all...] |
/external/v8/src/ic/ia32/ |
H A D | handler-compiler-ia32.cc | 83 Handle<Name> name, Register scratch0, Register scratch1) { 115 properties, name, scratch1); 133 MacroAssembler* masm, Register receiver, Register scratch1, 417 Register map_reg = scratch1(); 432 Register object_reg, Register holder_reg, Register scratch1, 438 DCHECK(!scratch1.is(object_reg) && !scratch1.is(holder_reg)); 440 !scratch2.is(scratch1)); 457 __ mov(scratch1, FieldOperand(object_reg, HeapObject::kMapOffset)); 459 __ CmpWeakValue(scratch1, cel 81 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 132 GenerateLoadFunctionPrototype( MacroAssembler* masm, Register receiver, Register scratch1, Register scratch2, Label* miss_label) argument 431 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 513 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |
/external/v8/src/ic/x64/ |
H A D | handler-compiler-x64.cc | 44 Handle<Name> name, Register scratch0, Register scratch1) { 76 properties, name, scratch1); 417 Register map_reg = scratch1(); 433 Register object_reg, Register holder_reg, Register scratch1, 439 DCHECK(!scratch1.is(object_reg) && !scratch1.is(holder_reg)); 441 !scratch2.is(scratch1)); 447 __ Move(scratch1, validity_cell, RelocInfo::CELL); 449 __ SmiCompare(Operand(scratch1, 0), 459 __ movp(scratch1, FieldOperan 42 GenerateDictionaryNegativeLookup( MacroAssembler* masm, Label* miss_label, Register receiver, Handle<Name> name, Register scratch0, Register scratch1) argument 432 CheckPrototypes( Register object_reg, Register holder_reg, Register scratch1, Register scratch2, Handle<Name> name, Label* miss, PrototypeCheckType check, ReturnHolder return_what) argument 517 GenerateDictionaryNegativeLookup(masm(), miss, reg, name, scratch1, local [all...] |