Lines Matching defs:tmp_reg

1990 int MacroAssembler::biased_locking_enter(Register obj_reg, Register swap_reg, Register tmp_reg,
1996 // tmp_reg is a temporary register
2004 assert_different_registers(obj_reg, swap_reg, tmp_reg, tmp2);
2005 guarantee(swap_reg!=tmp_reg, "invariant");
2006 assert(tmp_reg != noreg, "must supply tmp_reg");
2036 andr(tmp_reg, swap_reg, (uintx)markOopDesc::biased_lock_mask_in_place);
2037 cmp(tmp_reg, markOopDesc::biased_lock_pattern);
2043 load_klass(tmp_reg, obj_reg);
2044 ldr(tmp_reg, Address(tmp_reg, Klass::prototype_header_offset()));
2045 orr(tmp_reg, tmp_reg, Rthread);
2046 eor(tmp_reg, tmp_reg, swap_reg);
2049 ands(tmp_reg, tmp_reg, ~((uintx) markOopDesc::age_mask_in_place));
2051 bics(tmp_reg, tmp_reg, ((int) markOopDesc::age_mask_in_place));
2074 tst(tmp_reg, (uintx)markOopDesc::biased_lock_mask_in_place);
2086 tst(tmp_reg, (uintx)markOopDesc::epoch_mask_in_place);
2089 // tmp_reg has the age, epoch and pattern bits cleared
2116 orr(tmp_reg, swap_reg, Rthread); // new mark
2118 biased_locking_enter_with_cas(obj_reg, swap_reg, tmp_reg, tmp2, slow_case,
2137 // tmp_reg low (not owner) bits are (age: 0 | pattern&epoch: prototype^swap_reg)
2139 eor(tmp_reg, tmp_reg, swap_reg); // OK except for owner bits (age preserved !)
2144 andr(tmp_reg, tmp_reg, tmp2);
2146 mov(tmp_reg, AsmOperand(tmp_reg, lsl, 23));
2147 mov(tmp_reg, AsmOperand(tmp_reg, lsr, 23));
2150 orr(tmp_reg, tmp_reg, Rthread); // new mark
2152 biased_locking_enter_with_cas(obj_reg, swap_reg, tmp_reg, tmp2, slow_case,
2172 // tmp_reg low (not owner) bits are (age: 0 | pattern&epoch: prototype^swap_reg)
2174 eor(tmp_reg, tmp_reg, swap_reg); // OK except for owner bits (age preserved !)
2179 andr(tmp_reg, tmp_reg, tmp2);
2181 mov(tmp_reg, AsmOperand(tmp_reg, lsl, 23));
2182 mov(tmp_reg, AsmOperand(tmp_reg, lsr, 23));
2185 biased_locking_enter_with_cas(obj_reg, swap_reg, tmp_reg, tmp2, cas_label,
2198 void MacroAssembler::biased_locking_exit(Register obj_reg, Register tmp_reg, Label& done) {
2207 ldr(tmp_reg, Address(obj_reg, oopDesc::mark_offset_in_bytes()));
2209 andr(tmp_reg, tmp_reg, (uintx)markOopDesc::biased_lock_mask_in_place);
2210 cmp(tmp_reg, markOopDesc::biased_lock_pattern);