Lines Matching defs:Rscratch
79 void C1_MacroAssembler::lock_object(Register Rmark, Register Roop, Register Rbox, Register Rscratch, Label& slow_case) {
80 assert_different_registers(Rmark, Roop, Rbox, Rscratch);
97 biased_locking_enter(Roop, Rmark, Rscratch, done, &slow_case);
100 // Save Rbox in Rscratch to be used for the cas operation
101 mov(Rbox, Rscratch);
109 // compare object markOop with Rmark and if equal exchange Rscratch with object markOop
111 casx_under_lock(mark_addr.base(), Rmark, Rscratch, (address)StubRoutines::Sparc::atomic_memory_operation_lock_addr());
114 cmp(Rmark, Rscratch);
116 delayed()->sub(Rscratch, SP, Rscratch); //pull next instruction into delay slot
118 // sub(Rscratch, SP, Rscratch);
120 andcc(Rscratch, 0xfffff003, Rscratch);
122 delayed()->st_ptr(Rscratch, Rbox, BasicLock::displaced_header_offset_in_bytes());