hotspot/src/cpu/aarch64/vm/templateInterpreterGenerator_aarch64.cpp
changeset 36565 8e38f7594806
parent 35606 d873b64009cc
child 37269 5c2c4e5bb067
child 37156 69105bc2e794
equal deleted inserted replaced
36564:9442bb67de26 36565:8e38f7594806
  1982   __ push(rscratch1);
  1982   __ push(rscratch1);
  1983   __ push(rscratch2);
  1983   __ push(rscratch2);
  1984   __ push(rscratch3);
  1984   __ push(rscratch3);
  1985   Label L;
  1985   Label L;
  1986   __ mov(rscratch2, (address) &BytecodeCounter::_counter_value);
  1986   __ mov(rscratch2, (address) &BytecodeCounter::_counter_value);
       
  1987   __ prfm(Address(rscratch2), PSTL1STRM);
  1987   __ bind(L);
  1988   __ bind(L);
  1988   __ ldxr(rscratch1, rscratch2);
  1989   __ ldxr(rscratch1, rscratch2);
  1989   __ add(rscratch1, rscratch1, 1);
  1990   __ add(rscratch1, rscratch1, 1);
  1990   __ stxr(rscratch3, rscratch1, rscratch2);
  1991   __ stxr(rscratch3, rscratch1, rscratch2);
  1991   __ cbnzw(rscratch3, L);
  1992   __ cbnzw(rscratch3, L);