Home | History | Annotate | Download | only in arm

Lines Matching refs:scratch

501 // scratch register.  Destroys the source register.  No GC occurs during this
570 // We use mantissa as a scratch register here. Use a fudge factor to
603 Register scratch = GetRegisterThatIsNotOneOf(input_reg, result_reg);
605 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch);
607 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch_low);
610 __ Push(scratch_high, scratch_low, scratch);
622 __ sub(scratch, result_reg, Operand(1));
623 __ cmp(scratch, Operand(0x7ffffffe));
636 __ Ubfx(scratch, scratch_high,
638 // Load scratch with exponent - 1. This is faster than loading
641 __ sub(scratch, scratch, Operand(HeapNumber::kExponentBias + 1));
646 __ cmp(scratch, Operand(83));
652 // Scratch contains exponent - 1.
653 // Load scratch with 52 - exponent (load with 51 - (exponent - 1)).
654 __ rsb(scratch, scratch, Operand(51), SetCC);
658 __ mov(scratch_low, Operand(scratch_low, LSR, scratch));
659 // Scratch contains: 52 - exponent.
661 // So we use: 32 - scratch = 32 - 52 + exponent = exponent - 20.
662 __ rsb(scratch, scratch, Operand(32));
668 __ orr(result_reg, scratch_low, Operand(result_reg, LSL, scratch));
677 // On entry, scratch contains: 52 - exponent.
678 __ rsb(scratch, scratch, Operand::Zero());
679 __ mov(result_reg, Operand(scratch_low, LSL, scratch));
693 __ Pop(scratch_high, scratch_low, scratch);
1031 Register scratch,
1039 __ CheckMap(input, scratch, Heap::kHeapNumberMapRootIndex, fail,
1215 const Register scratch = r1;
1218 __ SaveFPRegs(sp, scratch);
1224 __ PrepareCallCFunction(argument_count, fp_argument_count, scratch);
1230 __ RestoreFPRegs(sp, scratch);
1246 const Register scratch = r9;
1260 __ UntagAndJumpIfSmi(scratch, base, &base_is_smi);
1261 __ ldr(scratch, FieldMemOperand(base, JSObject::kMapOffset));
1262 __ cmp(scratch, heapnumbermap);
1269 __ vmov(single_scratch, scratch);
1273 __ UntagAndJumpIfSmi(scratch, exponent, &int_exponent);
1275 __ ldr(scratch, FieldMemOperand(exponent, JSObject::kMapOffset));
1276 __ cmp(scratch, heapnumbermap);
1282 __ UntagAndJumpIfSmi(scratch, exponent, &int_exponent);
1305 __ vmov(double_scratch, 0.5, scratch);
1311 scratch);
1322 __ vmov(double_scratch, -0.5, scratch);
1328 __ vmov(double_scratch, -V8_INFINITY, scratch);
1335 __ vmov(double_result, 1.0, scratch);
1344 __ PrepareCallCFunction(0, 2, scratch);
1356 __ vmov(scratch, single_scratch);
1362 // Get two copies of exponent in the registers scratch and exponent.
1364 __ mov(scratch, exponent);
1366 // Exponent has previously been stored into scratch as untagged integer.
1367 __ mov(exponent, scratch);
1373 __ cmp(scratch, Operand::Zero());
1375 __ sub(scratch, scratch2, scratch, LeaveCC, mi);
1379 __ mov(scratch, Operand(scratch, ASR, 1), SetCC);
1386 __ vmov(double_scratch, 1.0, scratch);
1408 heapnumber, scratch, scratch2, heapnumbermap, &call_runtime);
1412 __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
1418 __ PrepareCallCFunction(0, 2, scratch);
1428 __ IncrementCounter(counters->math_pow(), 1, scratch, scratch2);
1797 const Register scratch = r2;
1810 __ IsObjectJSObjectType(object, map, scratch, &not_js_object);
1827 __ TryGetFunctionPrototype(function, prototype, scratch, &slow, true);
1831 __ IsObjectJSObjectType(prototype, scratch, scratch, &slow);
1854 __ ldr(scratch, FieldMemOperand(map, Map::kPrototypeOffset));
1856 // We don't need map any more. Use it as a scratch register.
1863 __ cmp(scratch, Operand(prototype));
1865 __ cmp(scratch, scratch2);
1867 __ ldr(scratch, FieldMemOperand(scratch, HeapObject::kMapOffset));
1868 __ ldr(scratch, FieldMemOperand(scratch, Map::kPrototypeOffset));
1879 // Get the boolean result location in scratch and patch it.
1880 __ GetRelocatedValueLocation(inline_site, scratch);
1881 __ str(r0, MemOperand(scratch));
1897 // Get the boolean result location in scratch and patch it.
1898 __ GetRelocatedValueLocation(inline_site, scratch);
1899 __ str(r0, MemOperand(scratch));
1912 __ CompareObjectType(function, scratch2, scratch, JS_FUNCTION_TYPE);
1916 __ cmp(scratch, Operand(isolate()->factory()->null_value()));
1929 __ IsObjectJSStringType(object, scratch, &slow);
2210 // r0 = temporary scratch (a.o., for address calculation)
2233 // r5 = scratch
3348 Register scratch,
3370 __ ldrb(scratch, MemOperand(src, 1, PostIndex), lt);
3371 __ strb(scratch, MemOperand(dest, 1, PostIndex));
4565 regs_.scratch1(), // Scratch.
4571 regs_.scratch1(), // Scratch.
4583 regs_.scratch1(), // Scratch.
4584 regs_.object(), // Scratch.
4585 regs_.address(), // Scratch.
5094 Register scratch = call_data;
5096 __ LoadRoot(scratch, Heap::kUndefinedValueRootIndex);
5099 __ push(scratch);
5101 __ push(scratch);
5103 __ mov(scratch,
5105 __ push(scratch);
5110 __ mov(scratch, sp);
5119 ASSERT(!api_function_address.is(r0) && !scratch.is(r0));
5124 __ str(scratch, MemOperand(r0, 0 * kPointerSize));
5126 __ add(ip, scratch, Operand((FCA::kArgsLength - 1 + argc) * kPointerSize));