Lines Matching refs:scratch1

1199                                          Register scratch1, Register scratch2) {
1200 SmiTag(scratch1, length);
1202 StoreP(scratch1, FieldMemOperand(string, String::kLengthOffset), r0);
1203 li(scratch1, Operand(String::kEmptyHashField));
1205 StoreP(scratch1, FieldMemOperand(string, String::kHashFieldSlot), r0);
1278 Register scratch0, Register scratch1) {
1282 scratch1));
1284 DCHECK(!AreAliased(caller_args_count_reg, scratch0, scratch1));
1321 Register tmp_reg = scratch1;
1649 Register scratch1, Register scratch2,
1657 li(scratch1, Operand(0x7191));
1664 DCHECK(!AreAliased(result, scratch1, scratch2, ip));
1683 Register top_address = scratch1;
1905 Register scratch1, Register scratch2,
1908 DCHECK(!AreAliased(result, scratch1, scratch2, ip));
1920 Register top_address = scratch1;
1954 Register scratch1, Register scratch2,
1960 slwi(scratch1, length, Operand(1)); // Length in bytes, not chars.
1961 addi(scratch1, scratch1,
1964 and_(scratch1, scratch1, r0);
1967 Allocate(scratch1, result, scratch2, scratch3, gc_required,
1971 InitializeNewString(result, length, Heap::kStringMapRootIndex, scratch1,
1977 Register scratch1, Register scratch2,
1984 addi(scratch1, length,
1987 and_(scratch1, scratch1, r0);
1990 Allocate(scratch1, result, scratch2, scratch3, gc_required,
1995 scratch1, scratch2);
2000 Register scratch1,
2003 Allocate(ConsString::kSize, result, scratch1, scratch2, gc_required,
2006 InitializeNewString(result, length, Heap::kConsStringMapRootIndex, scratch1,
2012 Register scratch1,
2015 Allocate(ConsString::kSize, result, scratch1, scratch2, gc_required,
2019 scratch1, scratch2);
2025 Register scratch1,
2028 Allocate(SlicedString::kSize, result, scratch1, scratch2, gc_required,
2031 InitializeNewString(result, length, Heap::kSlicedStringMapRootIndex, scratch1,
2038 Register scratch1,
2041 Allocate(SlicedString::kSize, result, scratch1, scratch2, gc_required,
2045 scratch1, scratch2);
2099 Register scratch1, DoubleRegister double_scratch, Label* fail,
2101 DCHECK(!AreAliased(value_reg, key_reg, elements_reg, scratch1));
2108 CheckMap(value_reg, scratch1, isolate()->factory()->heap_number_map(), fail,
2120 SmiToDoubleArrayOffset(scratch1, key_reg);
2121 add(scratch1, elements_reg, scratch1);
2122 stfd(double_scratch, FieldMemOperand(scratch1, FixedDoubleArray::kHeaderSize -
2258 void MacroAssembler::DispatchWeakMap(Register obj, Register scratch1,
2266 LoadP(scratch1, FieldMemOperand(obj, HeapObject::kMapOffset));
2267 CmpWeakValue(scratch1, cell, scratch2);
2357 Register scratch1, Register scratch2,
2359 TryDoubleToInt32Exact(scratch1, double_input, scratch2, double_scratch);
2363 Register scratch1,
2366 MovDoubleToInt64(scratch1, input);
2367 rotldi(scratch1, scratch1, 1);
2368 cmpi(scratch1, Operand(1));
2370 MovDoubleToInt64(scratch1, scratch2, input);
2375 cmp(scratch1, scratch2);
2535 Register scratch1, Label* not_number) {
2540 JumpIfNotHeapNumber(object, heap_number_map, scratch1, not_number);
2621 Register scratch1, Register scratch2) {
2623 mov(scratch1, Operand(value));
2625 stw(scratch1, MemOperand(scratch2));
2631 Register scratch1, Register scratch2) {
2635 lwz(scratch1, MemOperand(scratch2));
2636 addi(scratch1, scratch1, Operand(value));
2637 stw(scratch1, MemOperand(scratch2));
2643 Register scratch1, Register scratch2) {
2647 lwz(scratch1, MemOperand(scratch2));
2648 subi(scratch1, scratch1, Operand(value));
2649 stw(scratch1, MemOperand(scratch2));
3003 Register first, Register second, Register scratch1, Register scratch2,
3007 LoadP(scratch1, FieldMemOperand(first, HeapObject::kMapOffset));
3009 lbz(scratch1, FieldMemOperand(scratch1, Map::kInstanceTypeOffset));
3012 JumpIfBothInstanceTypesAreNotSequentialOneByte(scratch1, scratch2, scratch1,
3018 Register scratch1,
3022 and_(scratch1, first, second);
3023 JumpIfSmi(scratch1, failure);
3024 JumpIfNonSmisNotBothSequentialOneByteStrings(first, second, scratch1,
3044 void MacroAssembler::AllocateHeapNumber(Register result, Register scratch1,
3051 Allocate(HeapNumber::kSize, result, scratch1, scratch2, gc_required,
3066 Register result, DoubleRegister value, Register scratch1, Register scratch2,
3068 AllocateHeapNumber(result, scratch1, scratch2, heap_number_map, gc_required);
3074 Register value, Register scratch1,
3077 DCHECK(!result.is(scratch1));
3082 Allocate(JSValue::kSize, result, scratch1, scratch2, gc_required,
3086 LoadGlobalFunctionInitialMap(constructor, scratch1, scratch2);
3087 StoreP(scratch1, FieldMemOperand(result, HeapObject::kMapOffset), r0);
3088 LoadRoot(scratch1, Heap::kEmptyFixedArrayRootIndex);
3089 StoreP(scratch1, FieldMemOperand(result, JSObject::kPropertiesOffset), r0);
3090 StoreP(scratch1, FieldMemOperand(result, JSObject::kElementsOffset), r0);
3119 Register first, Register second, Register scratch1, Register scratch2,
3125 andi(scratch1, first, Operand(kFlatOneByteStringMask));
3127 cmpi(scratch1, Operand(kFlatOneByteStringTag));
3365 Register scratch1, Label* on_black) {
3366 HasColor(object, scratch0, scratch1, on_black, 1, 1); // kBlackBitPattern.
4498 Register scratch1,
4500 DCHECK(!scratch1.is(scratch0));
4517 lbz(scratch1, FieldMemOperand(current, Map::kInstanceTypeOffset));
4518 cmpi(scratch1, Operand(JS_OBJECT_TYPE));
4521 lbz(scratch1, FieldMemOperand(current, Map::kBitField2Offset));
4522 DecodeField<Map::ElementsKindBits>(scratch1);
4523 cmpi(scratch1, Operand(DICTIONARY_ELEMENTS));