Home | History | Annotate | Download | only in x87

Lines Matching full:scratch

82                                Register scratch,
87 mov(scratch, Immediate(index));
88 mov(Operand::StaticArray(scratch, times_pointer_size, roots_array_start),
94 Register scratch,
98 mov(scratch, Immediate(index));
99 cmp(with, Operand::StaticArray(scratch,
126 Register scratch,
131 if (scratch.is(object)) {
132 and_(scratch, Immediate(~Page::kPageAlignmentMask));
134 mov(scratch, Immediate(~Page::kPageAlignmentMask));
135 and_(scratch, object);
143 test_b(Operand(scratch, MemoryChunk::kFlagsOffset),
151 Register addr, Register scratch, SaveFPRegsMode save_fp,
156 JumpIfNotInNewSpace(object, scratch, &ok, Label::kNear);
163 mov(scratch, Operand::StaticVariable(store_buffer));
165 mov(Operand(scratch, 0), addr);
167 add(scratch, Immediate(kPointerSize));
169 mov(Operand::StaticVariable(store_buffer), scratch);
172 test(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit));
464 value, // Used as scratch.
471 value, // Used as scratch.
590 Register scratch,
607 mov(scratch, maybe_number);
608 SmiUntag(scratch);
609 push(scratch);
611 pop(scratch);
1099 void MacroAssembler::GetNumberHash(Register r0, Register scratch) {
1104 mov(scratch, Immediate(Heap::kHashSeedRootIndex));
1105 mov(scratch,
1106 Operand::StaticArray(scratch, times_pointer_size, roots_array_start));
1107 SmiUntag(scratch);
1108 xor_(r0, scratch);
1115 mov(scratch, r0);
1117 shl(scratch, 15);
1118 add(r0, scratch);
1120 mov(scratch, r0);
1121 shr(scratch, 12);
1122 xor_(r0, scratch);
1126 mov(scratch, r0);
1127 shr(scratch, 4);
1128 xor_(r0, scratch);
1132 mov(scratch, r0);
1133 shr(scratch, 16);
1134 xor_(r0, scratch);
1153 // Scratch registers:
1215 Register scratch,
1222 // No use of scratch if allocation top is provided.
1223 DCHECK(scratch.is(no_reg));
1232 // Move address of new object to result. Use scratch register if available.
1233 if (scratch.is(no_reg)) {
1236 mov(scratch, Immediate(allocation_top));
1237 mov(result, Operand(scratch, 0));
1243 Register scratch,
1253 // Update new top. Use scratch if available.
1254 if (scratch.is(no_reg)) {
1257 mov(Operand(scratch, 0), result_end);
1265 Register scratch,
1277 if (scratch.is_valid()) {
1278 mov(scratch, Immediate(0x7291));
1287 LoadAllocationTopHelper(result, scratch, flags);
1320 UpdateAllocationTopHelper(top_reg, scratch, flags);
1343 Register scratch,
1352 if (scratch.is_valid()) {
1353 mov(scratch, Immediate(0x7291));
1363 LoadAllocationTopHelper(result, scratch, flags);
1410 UpdateAllocationTopHelper(result_end, scratch, flags);
1417 Register scratch,
1426 if (scratch.is_valid()) {
1427 mov(scratch, Immediate(0x7291));
1437 LoadAllocationTopHelper(result, scratch, flags);
1475 UpdateAllocationTopHelper(result_end, scratch, flags);
1646 Register value, Register scratch,
1649 DCHECK(!result.is(scratch));
1653 Allocate(JSValue::kSize, result, scratch, no_reg, gc_required, TAG_OBJECT);
1656 LoadGlobalFunctionInitialMap(constructor, scratch);
1657 mov(FieldOperand(result, HeapObject::kMapOffset), scratch);
1658 LoadRoot(scratch, Heap::kEmptyFixedArrayRootIndex);
1659 mov(FieldOperand(result, JSObject::kPropertiesOffset), scratch);
1660 mov(FieldOperand(result, JSObject::kElementsOffset), scratch);
1667 // long or aligned copies. The contents of scratch and length are destroyed.
1677 Register scratch) {
1688 mov(scratch, Operand(source, length, times_1, -4));
1689 mov(Operand(destination, length, times_1, -4), scratch);
1698 mov(scratch, ecx);
1701 and_(scratch, Immediate(0x3));
1702 add(destination, scratch);
1706 mov(scratch, Operand(source, 8));
1707 mov(Operand(destination, 8), scratch);
1709 mov(scratch, Operand(source, 4));
1710 mov(Operand(destination, 4), scratch);
1712 mov(scratch, Operand(source, 0));
1713 mov(Operand(destination, 0), scratch);
1722 mov_b(scratch, Operand(source, 0));
1723 mov_b(Operand(destination, 0), scratch);
1775 Register scratch,
1780 mov(scratch, op1);
1781 or_(scratch, op2);
1802 Register scratch, Label* miss) {
1815 CmpObjectType(result, MAP_TYPE, scratch);
2170 Register scratch,
2176 mov(scratch, NativeContextOperand());
2178 ContextOperand(scratch, Context::ArrayMapIndex(expected_kind)));
2183 ContextOperand(scratch, Context::ArrayMapIndex(transitioned_kind)));
2276 Register scratch) {
2277 mov(scratch, cell);
2278 cmp(value, FieldOperand(scratch, WeakCell::kValueOffset));
2300 void MacroAssembler::Ret(int bytes_dropped, Register scratch) {
2304 pop(scratch);
2306 push(scratch);
2561 Register instance_type, Register scratch, Label* failure) {
2562 if (!scratch.is(instance_type)) {
2563 mov(scratch, instance_type);
2565 and_(scratch,
2567 cmp(scratch, kStringTag | kSeqStringTag | kOneByteStringTag);
2653 void MacroAssembler::PrepareCallCFunction(int num_arguments, Register scratch) {
2658 mov(scratch, esp);
2662 mov(Operand(esp, num_arguments * kPointerSize), scratch);
2746 Register scratch,
2752 if (scratch.is(object)) {
2753 and_(scratch, Immediate(~Page::kPageAlignmentMask));
2755 mov(scratch, Immediate(~Page::kPageAlignmentMask));
2756 and_(scratch, object);
2759 test_b(Operand(scratch, MemoryChunk::kFlagsOffset),
2762 test(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask));
2951 // scratch contained elements pointer.