equal
deleted
inserted
replaced
993 orr(rscratch2, rscratch2, src.as_constant()); |
993 orr(rscratch2, rscratch2, src.as_constant()); |
994 str(rscratch2, adr); |
994 str(rscratch2, adr); |
995 } |
995 } |
996 |
996 |
997 // A generic CAS; success or failure is in the EQ flag. |
997 // A generic CAS; success or failure is in the EQ flag. |
|
998 // Clobbers rscratch1 |
998 void cmpxchg(Register addr, Register expected, Register new_val, |
999 void cmpxchg(Register addr, Register expected, Register new_val, |
999 enum operand_size size, |
1000 enum operand_size size, |
1000 bool acquire, bool release, |
1001 bool acquire, bool release, bool weak, |
1001 Register tmp = rscratch1); |
1002 Register result); |
1002 |
1003 |
1003 // Calls |
1004 // Calls |
1004 |
1005 |
1005 address trampoline_call(Address entry, CodeBuffer *cbuf = NULL); |
1006 address trampoline_call(Address entry, CodeBuffer *cbuf = NULL); |
1006 |
1007 |