Lines Matching refs:Rscratch

3511                                           Register Rbox, Register Rscratch,
3520 inc_counter((address) counters->total_entry_count_addr(), Rmark, Rscratch);
3524 mov(3, Rscratch);
3525 st_ptr(Rscratch, Rbox, BasicLock::displaced_header_offset_in_bytes());
3536 biased_locking_enter(Roop, Rmark, Rscratch, done, NULL, counters);
3539 // Save Rbox in Rscratch to be used for the cas operation
3540 mov(Rbox, Rscratch);
3548 // compare object markOop with Rmark and if equal exchange Rscratch with object markOop
3550 casx_under_lock(mark_addr.base(), Rmark, Rscratch,
3555 cmp(Rmark, Rscratch);
3557 sub(Rscratch, STACK_BIAS, Rscratch);
3560 delayed()->sub(Rscratch, SP, Rscratch); //pull next instruction into delay slot
3563 // sub(Rscratch, SP, Rscratch);
3565 andcc(Rscratch, 0xfffff003, Rscratch);
3566 st_ptr(Rscratch, Rbox, BasicLock::displaced_header_offset_in_bytes());
3579 biased_locking_enter(Roop, Rmark, Rscratch, done, NULL, counters);
3594 mov(Rbox, Rscratch);
3597 casn(mark_addr.base(), Rmark, Rscratch);
3598 cmp(Rmark, Rscratch);
3600 delayed()->sub(Rscratch, SP, Rscratch);
3605 sub(Rscratch, STACK_BIAS, Rscratch);
3608 andcc(Rscratch, 0xfffff003, Rscratch);
3610 delayed()-> st_ptr(Rscratch, Rbox, BasicLock::displaced_header_offset_in_bytes());
3617 ld_ptr(Rmark, ObjectMonitor::owner_offset_in_bytes() - 2, Rscratch);
3618 andcc(Rscratch, Rscratch, G0);
3627 mov(G2_thread, Rscratch);
3628 casn(Rmark, G0, Rscratch);
3629 cmp(Rscratch, G0);
3643 biased_locking_enter(Roop, Rmark, Rscratch, done, NULL, counters);
3658 mov(0, Rscratch);
3661 casn(mark_addr.base(), Rmark, Rscratch);
3663 cmp(Rscratch, Rmark);
3667 cond_inc(Assembler::equal, (address) counters->fast_path_entry_count_addr(), Rmark, Rscratch);
3689 sub(Rscratch, STACK_BIAS, Rscratch);
3691 sub(Rscratch, SP, Rscratch);
3693 andcc(Rscratch, 0xfffff003, Rscratch);
3695 // Accounting needs the Rscratch register
3696 st_ptr(Rscratch, Rbox, BasicLock::displaced_header_offset_in_bytes());
3697 cond_inc(Assembler::equal, (address) counters->fast_path_entry_count_addr(), Rmark, Rscratch);
3701 delayed()->st_ptr(Rscratch, Rbox, BasicLock::displaced_header_offset_in_bytes());
3710 ld_ptr(Rmark, ObjectMonitor::owner_offset_in_bytes() - 2, Rscratch);
3711 andcc(Rscratch, Rscratch, G0);
3720 mov(G2_thread, Rscratch);
3721 casn(Rmark, G0, Rscratch);
3722 cmp(Rscratch, G0);
3734 Register Rbox, Register Rscratch,
3747 biased_locking_exit(mark_addr, Rscratch, done);
3773 biased_locking_exit(mark_addr, Rscratch, done);
3777 ld_ptr(Rbox, BasicLock::displaced_header_offset_in_bytes(), Rscratch);
3778 andcc(Rscratch, Rscratch, G0);
3794 ld_ptr(Rmark, ObjectMonitor::owner_offset_in_bytes() - 2, Rscratch);
3796 xor3(Rscratch, G2_thread, Rscratch);
3797 orcc(Rbox, Rscratch, Rbox);
3800 ld_ptr(Rmark, ObjectMonitor::EntryList_offset_in_bytes() - 2, Rscratch);
3802 orcc(Rbox, Rscratch, G0);
3813 ld_ptr(Rmark, ObjectMonitor::succ_offset_in_bytes() - 2, Rscratch);
3814 andcc(Rscratch, Rscratch, G0);
3818 mov(G2_thread, Rscratch);
3819 casn(Rmark, G0, Rscratch);
3821 br_notnull(Rscratch, false, Assembler::pt, done);
3861 casn(mark_addr.base(), Rbox, Rscratch);
3862 cmp(Rbox, Rscratch);
4264 Register Rscratch) {
4273 Register Roffset = Rscratch;
4277 set((-offset)+STACK_BIAS, Rscratch);
4278 st(G0, Rtsp, Rscratch);
4288 set((-i*offset)+STACK_BIAS, Rscratch);
4289 st(G0, Rtsp, Rscratch);