public class org.graalvm.compiler.lir.aarch64.AArch64Move$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.AArch64Move$CompareAndSwapOp
super_class: org.graalvm.compiler.lir.aarch64.AArch64LIRInstruction
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.aarch64.AArch64Move$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/AArch64Move$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/AArch64Move;
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.AArch64Move$CompareAndSwapOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/aarch64/AArch64Move$CompareAndSwapOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.aarch64.AArch64Move$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.AArch64Move$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.AArch64Move$CompareAndSwapOp.resultValue:Ljdk/vm/ci/meta/AllocatableValue;
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.aarch64.AArch64Move$CompareAndSwapOp.expectedValue:Ljdk/vm/ci/meta/Value;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.aarch64.AArch64Move$CompareAndSwapOp.newValue:Ljdk/vm/ci/meta/AllocatableValue;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.aarch64.AArch64Move$CompareAndSwapOp.addressValue:Ljdk/vm/ci/meta/AllocatableValue;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.aarch64.AArch64Move$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/AArch64Move$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=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64Move$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.AArch64Move$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.AArch64Move$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.AArch64Move$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.AArch64Move$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 0
getfield org.graalvm.compiler.lir.aarch64.AArch64Move$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 7: new org.graalvm.compiler.asm.Label
dup
invokespecial org.graalvm.compiler.asm.Label.<init>:()V
astore 9
start local 9 8: new org.graalvm.compiler.asm.Label
dup
invokespecial org.graalvm.compiler.asm.Label.<init>:()V
astore 10
start local 10 9: aload 2
aload 9
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.bind:(Lorg/graalvm/compiler/asm/Label;)V
10: 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
11: aload 2
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64Move$CompareAndSwapOp.resultValue:Ljdk/vm/ci/meta/AllocatableValue;
aload 0
getfield org.graalvm.compiler.lir.aarch64.AArch64Move$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
12: 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
13: 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
14: 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
15: aload 2
aload 10
invokevirtual org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.bind:(Lorg/graalvm/compiler/asm/Label;)V
16: return
end local 10 end local 9 end local 8 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 17 0 this Lorg/graalvm/compiler/lir/aarch64/AArch64Move$CompareAndSwapOp;
0 17 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 17 2 masm Lorg/graalvm/compiler/asm/aarch64/AArch64MacroAssembler;
1 17 3 kind Ljdk/vm/ci/aarch64/AArch64Kind;
3 17 4 size I
4 17 5 address Ljdk/vm/ci/code/Register;
5 17 6 result Ljdk/vm/ci/code/Register;
6 17 7 newVal Ljdk/vm/ci/code/Register;
7 17 8 scratch Ljdk/vm/ci/code/Register;
8 17 9 retry Lorg/graalvm/compiler/asm/Label;
9 17 10 fail Lorg/graalvm/compiler/asm/Label;
MethodParameters:
Name Flags
crb
masm
}
SourceFile: "AArch64Move.java"
NestHost: org.graalvm.compiler.lir.aarch64.AArch64Move
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.AArch64Move$CompareAndSwapOp of org.graalvm.compiler.lir.aarch64.AArch64Move
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.Opcode(value = "CAS")