< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.aarch64/src/org/graalvm/compiler/core/aarch64/AArch64LIRGenerator.java
Print this page
rev 50299 : [mq]: 8202670
rev 50300 : [mq]: aarch64-patch
*** 150,160 ****
public Value emitAtomicReadAndAdd(Value address, ValueKind<?> kind, Value delta) {
Variable result = newVariable(kind);
Variable scratch1 = newVariable(kind);
Variable scratch2 = newVariable(kind);
! append(new AtomicReadAndAddOp((AArch64Kind) kind.getPlatformKind(), asAllocatable(result), asAllocatable(address), delta, asAllocatable(scratch1), asAllocatable(scratch2)));
return result;
}
@Override
public void emitMembar(int barriers) {
--- 150,160 ----
public Value emitAtomicReadAndAdd(Value address, ValueKind<?> kind, Value delta) {
Variable result = newVariable(kind);
Variable scratch1 = newVariable(kind);
Variable scratch2 = newVariable(kind);
! append(new AtomicReadAndAddOp((AArch64Kind) kind.getPlatformKind(), asAllocatable(result), asAllocatable(address), asAllocatable(delta), asAllocatable(scratch1), asAllocatable(scratch2)));
return result;
}
@Override
public void emitMembar(int barriers) {
< prev index next >