Home | History | Annotate | Download | only in mips

Lines Matching defs:scratch

422 // scratch register.  Destroys the source register.  No GC occurs during this
498 // We use mantissa as a scratch register here.
923 Register scratch,
925 // Get exponent alone in scratch.
926 __ Ext(scratch,
932 __ Subu(scratch, scratch, Operand(HeapNumber::kExponentBias));
936 // scratch: unbiased exponent.
940 __ Branch(not_int32, lt, scratch, Operand(zero_reg));
948 __ subu(tmp, scratch, at);
970 __ subu(scratch, at, scratch);
972 __ sllv(src1, src2, scratch);
983 Register scratch) {
996 __ PrepareCallCFunction(4, scratch); // Two doubles are 4 arguments.
1254 // Write Smi from rhs to a1 and a0 in double format. t5 is scratch.
1289 // Convert lhs to a double format. t5 is scratch.
1642 Register scratch = scratch1;
1643 __ sra(scratch, object, 1); // Shift away the tag.
1644 __ And(scratch, mask, Operand(scratch));
1648 __ sll(scratch, scratch, kPointerSizeLog2 + 1);
1649 __ Addu(scratch, number_string_cache, scratch);
1653 __ lw(probe, FieldMemOperand(scratch, FixedArray::kHeaderSize));
1659 FieldMemOperand(scratch, FixedArray::kHeaderSize + kPointerSize));
1988 const Register scratch = a1;
1991 __ PrepareCallCFunction(argument_count, fp_argument_count, scratch);
2731 // a3 and a0 as scratch. v0 is preserved and returned.
3132 // a3 and a0 as scratch. v0 is preserved and returned.
3299 // Code below will scratch result if allocation fails. To keep both arguments
3522 Register scratch) {
3524 __ PrepareCallCFunction(2, scratch);
3595 const Register scratch = t5;
3609 __ UntagAndJumpIfSmi(scratch, base, &base_is_smi);
3610 __ lw(scratch, FieldMemOperand(base, JSObject::kMapOffset));
3611 __ Branch(&call_runtime, ne, scratch, Operand(heapnumbermap));
3617 __ mtc1(scratch, single_scratch);
3621 __ UntagAndJumpIfSmi(scratch, exponent, &int_exponent);
3623 __ lw(scratch, FieldMemOperand(exponent, JSObject::kMapOffset));
3624 __ Branch(&call_runtime, ne, scratch, Operand(heapnumbermap));
3629 __ UntagAndJumpIfSmi(scratch, exponent, &int_exponent);
3641 scratch,
3699 __ PrepareCallCFunction(0, 2, scratch);
3710 __ mfc1(scratch, single_scratch);
3716 // Get two copies of exponent in the registers scratch and exponent.
3718 __ mov(scratch, exponent);
3720 // Exponent has previously been stored into scratch as untagged integer.
3721 __ mov(exponent, scratch);
3729 __ Branch(&positive_exponent, ge, scratch, Operand(zero_reg));
3730 __ Subu(scratch, zero_reg, scratch);
3736 __ And(scratch2, scratch, 1);
3742 __ sra(scratch, scratch, 1);
3744 __ Branch(&loop_end, eq, scratch, Operand(zero_reg));
3774 heapnumber, scratch, scratch2, heapnumbermap, &call_runtime);
3778 __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
3784 __ PrepareCallCFunction(0, 2, scratch);
3794 __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
4255 const Register scratch = a2;
4268 __ IsObjectJSObjectType(object, map, scratch, &not_js_object);
4285 __ TryGetFunctionPrototype(function, prototype, scratch, &slow, true);
4289 __ IsObjectJSObjectType(prototype, scratch, scratch, &slow);
4302 __ LoadFromSafepointRegisterSlot(scratch, t0);
4303 __ Subu(inline_site, ra, scratch);
4304 // Get the map location in scratch and patch it.
4305 __ GetRelocatedValue(inline_site, scratch, v1); // v1 used as scratch.
4306 __ sw(map, FieldMemOperand(scratch, JSGlobalPropertyCell::kValueOffset));
4311 __ lw(scratch, FieldMemOperand(map, Map::kPrototypeOffset));
4313 // We don't need map any more. Use it as a scratch register.
4320 __ Branch(&is_instance, eq, scratch, Operand(prototype));
4321 __ Branch(&is_not_instance, eq, scratch, Operand(scratch2));
4322 __ lw(scratch, FieldMemOperand(scratch, HeapObject::kMapOffset));
4323 __ lw(scratch, FieldMemOperand(scratch, Map::kPrototypeOffset));
4335 // Get the boolean result location in scratch and patch it.
4336 __ PatchRelocatedValue(inline_site, scratch, v0);
4353 // Get the boolean result location in scratch and patch it.
4354 __ PatchRelocatedValue(inline_site, scratch, v0);
4368 __ GetObjectType(function, scratch2, scratch);
4369 __ Branch(&slow, ne, scratch, Operand(JS_FUNCTION_TYPE));
4374 scratch,
4387 __ IsObjectJSStringType(object, scratch, &slow);
4662 // t1 = temporary scratch (a.o., for address calculation)
4682 // t1 = scratch
5228 // a0: scratch
5279 a3, // Scratch register.
5280 t0, // Scratch register.
5714 Register scratch,
5727 __ lbu(scratch, MemOperand(src));
5729 __ sb(scratch, MemOperand(dest));
5864 // Register scratch3 is the general scratch register in this function.
5865 Register scratch = scratch3;
5870 __ Subu(scratch, c1, Operand(static_cast<int>('0')));
5873 scratch,
5875 scratch, c2, Operand(static_cast<int>('0')));
5882 __ Branch(&tmp, Ugreater, scratch, Operand(static_cast<int>('9' - '0')));
5886 not_found, Uless_equal, scratch, Operand(static_cast<int>('9' - '0')));
5897 __ sll(scratch, c2, kBitsPerByte);
5898 __ Or(chars, chars, scratch);
5929 // scratch: -
5935 Register candidate = scratch5; // Scratch register contains candidate.
5948 __ sll(scratch, candidate, kPointerSizeLog2);
5949 __ Addu(scratch, scratch, first_symbol_table_element);
5950 __ lw(candidate, MemOperand(scratch));
5954 __ GetObjectType(candidate, scratch, scratch);
5955 __ Branch(&is_string, ne, scratch, Operand(ODDBALL_TYPE));
5960 __ LoadRoot(scratch, Heap::kTheHoleValueRootIndex);
5962 scratch, Operand(candidate));
5969 // type is still in the scratch register from the CompareObjectType
5971 __ JumpIfInstanceTypeIsNotSequentialAscii(scratch, scratch, &next_probe[i]);
5974 __ lw(scratch, FieldMemOperand(candidate, String::kLengthOffset));
5975 __ Branch(&next_probe[i], ne, scratch, Operand(Smi::FromInt(2)));
5979 __ lhu(scratch, FieldMemOperand(candidate, SeqAsciiString::kHeaderSize));
5980 __ Branch(&found_in_symbol_table, eq, chars, Operand(scratch));
5987 // Scratch register contains result when we fall through to here.
6140 // t0 is used as a scratch register and can be overwritten in either case.
7585 regs_.scratch1(), // Scratch.
7591 regs_.scratch1(), // Scratch.
7603 regs_.scratch1(), // Scratch.
7604 regs_.object(), // Scratch.
7605 regs_.address(), // Scratch.