public class org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp extends org.graalvm.compiler.lir.aarch64.AArch64LIRInstruction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp
super_class: org.graalvm.compiler.lir.aarch64.AArch64LIRInstruction
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp> TYPE;
descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/lir/aarch64/AArch64AtomicMove$CompareAndSwapOp;>;
protected jdk.vm.ci.meta.AllocatableValue resultValue;
descriptor: Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Def()
protected jdk.vm.ci.meta.Value expectedValue;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive()
protected jdk.vm.ci.meta.AllocatableValue newValue;
descriptor: Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive()
protected jdk.vm.ci.meta.AllocatableValue addressValue;
descriptor: Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive()
protected jdk.vm.ci.meta.AllocatableValue scratchValue;
descriptor: Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp()
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/lir/aarch64/AArch64AtomicMove;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/aarch64/AArch64AtomicMove$CompareAndSwapOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.AllocatableValue, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.AllocatableValue, jdk.vm.ci.meta.AllocatableValue, jdk.vm.ci.meta.AllocatableValue);
descriptor: (Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getstatic org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
invokespecial org.graalvm.compiler.lir.aarch64.AArch64LIRInstruction.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.resultValue:Ljdk/vm/ci/meta/AllocatableValue;
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.expectedValue:Ljdk/vm/ci/meta/Value;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.newValue:Ljdk/vm/ci/meta/AllocatableValue;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.addressValue:Ljdk/vm/ci/meta/AllocatableValue;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.scratchValue:Ljdk/vm/ci/meta/AllocatableValue;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/aarch64/AArch64AtomicMove$CompareAndSwapOp;
0 7 1 result Ljdk/vm/ci/meta/AllocatableValue;
0 7 2 expectedValue Ljdk/vm/ci/meta/Value;
0 7 3 newValue Ljdk/vm/ci/meta/AllocatableValue;
0 7 4 addressValue Ljdk/vm/ci/meta/AllocatableValue;
0 7 5 scratch Ljdk/vm/ci/meta/AllocatableValue;
MethodParameters:
Name Flags
result
expectedValue
newValue
addressValue
scratch
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/aarch64/AArch64MacroAssembler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.expectedValue:Ljdk/vm/ci/meta/Value;
invokevirtual jdk.vm.ci.meta.Value.getPlatformKind:()Ljdk/vm/ci/meta/PlatformKind;
checkcast jdk.vm.ci.aarch64.AArch64Kind
astore 3
start local 3 1: getstatic org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.$assertionsDisabled:Z
ifne 2
aload 3
invokevirtual jdk.vm.ci.aarch64.AArch64Kind.isInteger:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: jdk.vm.ci.aarch64.AArch64Kind
StackMap stack:
aload 3
invokevirtual jdk.vm.ci.aarch64.AArch64Kind.getSizeInBytes:()I
bipush 8
imul
istore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.addressValue:Ljdk/vm/ci/meta/AllocatableValue;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 5
start local 5 4: aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.resultValue:Ljdk/vm/ci/meta/AllocatableValue;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 6
start local 6 5: aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.newValue:Ljdk/vm/ci/meta/AllocatableValue;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 7
start local 7 6: aload 2
getfield org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.target:Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
invokestatic org.graalvm.compiler.lir.aarch64.AArch64LIRFlagsVersioned.useLSE:(Ljdk/vm/ci/code/Architecture;)Z
ifeq 12
7: aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.expectedValue:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 8
start local 8 8: aload 2
iload 4
aload 6
aload 8
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.mov:(ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
9: aload 2
iload 4
aload 6
aload 7
aload 5
iconst_1
iconst_1
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.cas:(ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;ZZ)V
10: aload 2
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.resultValue:Ljdk/vm/ci/meta/AllocatableValue;
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.expectedValue:Ljdk/vm/ci/meta/Value;
invokestatic org.graalvm.compiler.lir.aarch64.AArch64Compare.gpCompare:(Lorg/graalvm/compiler/asm/aarch64/AArch64MacroAssembler;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
end local 8 11: goto 22
12: StackMap locals: org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler jdk.vm.ci.aarch64.AArch64Kind int jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.scratchValue:Ljdk/vm/ci/meta/AllocatableValue;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 8
start local 8 13: new org.graalvm.compiler.asm.Label
dup
invokespecial org.graalvm.compiler.asm.Label.<init>:()V
astore 9
start local 9 14: new org.graalvm.compiler.asm.Label
dup
invokespecial org.graalvm.compiler.asm.Label.<init>:()V
astore 10
start local 10 15: aload 2
aload 9
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.bind:(Lorg/graalvm/compiler/asm/Label;)V
16: aload 2
iload 4
aload 6
aload 5
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.ldaxr:(ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
17: aload 2
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.resultValue:Ljdk/vm/ci/meta/AllocatableValue;
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp.expectedValue:Ljdk/vm/ci/meta/Value;
invokestatic org.graalvm.compiler.lir.aarch64.AArch64Compare.gpCompare:(Lorg/graalvm/compiler/asm/aarch64/AArch64MacroAssembler;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
18: aload 2
getstatic org.graalvm.compiler.asm.aarch64.AArch64Assembler$ConditionFlag.NE:Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$ConditionFlag;
aload 10
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.branchConditionally:(Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$ConditionFlag;Lorg/graalvm/compiler/asm/Label;)V
19: aload 2
iload 4
aload 8
aload 7
aload 5
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.stlxr:(ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
20: aload 2
bipush 32
aload 8
aload 9
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.cbnz:(ILjdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/Label;)V
21: aload 2
aload 10
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.bind:(Lorg/graalvm/compiler/asm/Label;)V
end local 10 end local 9 end local 8 22: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/graalvm/compiler/lir/aarch64/AArch64AtomicMove$CompareAndSwapOp;
0 23 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 23 2 masm Lorg/graalvm/compiler/asm/aarch64/AArch64MacroAssembler;
1 23 3 kind Ljdk/vm/ci/aarch64/AArch64Kind;
3 23 4 size I
4 23 5 address Ljdk/vm/ci/code/Register;
5 23 6 result Ljdk/vm/ci/code/Register;
6 23 7 newVal Ljdk/vm/ci/code/Register;
8 11 8 expected Ljdk/vm/ci/code/Register;
13 22 8 scratch Ljdk/vm/ci/code/Register;
14 22 9 retry Lorg/graalvm/compiler/asm/Label;
15 22 10 fail Lorg/graalvm/compiler/asm/Label;
MethodParameters:
Name Flags
crb
masm
}
SourceFile: "AArch64AtomicMove.java"
NestHost: org.graalvm.compiler.lir.aarch64.AArch64AtomicMove
InnerClasses:
public final ConditionFlag = org.graalvm.compiler.asm.aarch64.AArch64Assembler$ConditionFlag of org.graalvm.compiler.asm.aarch64.AArch64Assembler
public abstract Alive = org.graalvm.compiler.lir.LIRInstruction$Alive of org.graalvm.compiler.lir.LIRInstruction
public abstract Def = org.graalvm.compiler.lir.LIRInstruction$Def of org.graalvm.compiler.lir.LIRInstruction
public abstract Temp = org.graalvm.compiler.lir.LIRInstruction$Temp of org.graalvm.compiler.lir.LIRInstruction
public CompareAndSwapOp = org.graalvm.compiler.lir.aarch64.AArch64AtomicMove$CompareAndSwapOp of org.graalvm.compiler.lir.aarch64.AArch64AtomicMove
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.Opcode(value = "CAS")