hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp
changeset 40049 a23a3ed6c7a6
parent 40041 c6da347e21a8
child 40643 49539fc14e5a
equal deleted inserted replaced
40046:01e973266ee4 40049:a23a3ed6c7a6
   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