public final class org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp extends org.graalvm.compiler.lir.amd64.AMD64LIRInstruction
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp
super_class: org.graalvm.compiler.lir.amd64.AMD64LIRInstruction
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp> 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/amd64/AMD64StringIndexOfOp;>;
protected jdk.vm.ci.meta.Value resultValue;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Def(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value charPtr1Value;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value charPtr2Value;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.code.RegisterValue cnt1Value;
descriptor: Ljdk/vm/ci/code/RegisterValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Use(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.code.RegisterValue cnt1ValueT;
descriptor: Ljdk/vm/ci/code/RegisterValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.code.RegisterValue cnt2Value;
descriptor: Ljdk/vm/ci/code/RegisterValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Use(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.code.RegisterValue cnt2ValueT;
descriptor: Ljdk/vm/ci/code/RegisterValue;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value temp1;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value vectorTemp1;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;, org.graalvm.compiler.lir.LIRInstruction$OperandFlag.ILLEGAL:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
private final int intCnt2;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int vmPageSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/amd64/AMD64StringIndexOfOp;
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.amd64.AMD64StringIndexOfOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/amd64/AMD64StringIndexOfOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.lir.gen.LIRGeneratorTool, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value, jdk.vm.ci.code.RegisterValue, jdk.vm.ci.code.RegisterValue, jdk.vm.ci.code.RegisterValue, jdk.vm.ci.code.RegisterValue, int, int);
descriptor: (Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/code/RegisterValue;Ljdk/vm/ci/code/RegisterValue;Ljdk/vm/ci/code/RegisterValue;Ljdk/vm/ci/code/RegisterValue;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 0
getstatic org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
invokespecial org.graalvm.compiler.lir.amd64.AMD64LIRInstruction.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: getstatic org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.$assertionsDisabled:Z
ifne 2
aload 1
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.target:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
checkcast jdk.vm.ci.amd64.AMD64
invokevirtual jdk.vm.ci.amd64.AMD64.getFeatures:()Ljava/util/EnumSet;
getstatic jdk.vm.ci.amd64.AMD64$CPUFeature.SSE4_2:Ljdk/vm/ci/amd64/AMD64$CPUFeature;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp org.graalvm.compiler.lir.gen.LIRGeneratorTool jdk.vm.ci.meta.Value jdk.vm.ci.meta.Value jdk.vm.ci.meta.Value jdk.vm.ci.code.RegisterValue jdk.vm.ci.code.RegisterValue jdk.vm.ci.code.RegisterValue jdk.vm.ci.code.RegisterValue int int
StackMap stack:
aload 0
aload 2
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.resultValue:Ljdk/vm/ci/meta/Value;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.charPtr1Value:Ljdk/vm/ci/meta/Value;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.charPtr2Value:Ljdk/vm/ci/meta/Value;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.cnt1Value:Ljdk/vm/ci/code/RegisterValue;
6: aload 0
aload 5
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.cnt1ValueT:Ljdk/vm/ci/code/RegisterValue;
7: aload 0
aload 6
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.cnt2Value:Ljdk/vm/ci/code/RegisterValue;
8: aload 0
aload 6
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.cnt2ValueT:Ljdk/vm/ci/code/RegisterValue;
9: getstatic org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.$assertionsDisabled:Z
ifne 11
aload 5
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
getstatic jdk.vm.ci.amd64.AMD64.rdx:Ljdk/vm/ci/code/Register;
invokevirtual jdk.vm.ci.code.Register.equals:(Ljava/lang/Object;)Z
ifeq 10
aload 6
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
getstatic jdk.vm.ci.amd64.AMD64.rax:Ljdk/vm/ci/code/Register;
invokevirtual jdk.vm.ci.code.Register.equals:(Ljava/lang/Object;)Z
ifeq 10
aload 7
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
getstatic jdk.vm.ci.amd64.AMD64.rcx:Ljdk/vm/ci/code/Register;
invokevirtual jdk.vm.ci.code.Register.equals:(Ljava/lang/Object;)Z
ifne 11
StackMap locals:
StackMap stack:
10: new java.lang.AssertionError
dup
ldc "fixed register usage required"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 7
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.temp1:Ljdk/vm/ci/meta/Value;
12: aload 0
aload 8
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.vectorTemp1:Ljdk/vm/ci/meta/Value;
13: aload 0
iload 9
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.intCnt2:I
14: aload 0
iload 10
putfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.vmPageSize:I
15: 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 16 0 this Lorg/graalvm/compiler/lir/amd64/AMD64StringIndexOfOp;
0 16 1 tool Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
0 16 2 result Ljdk/vm/ci/meta/Value;
0 16 3 charPtr1 Ljdk/vm/ci/meta/Value;
0 16 4 charPtr2 Ljdk/vm/ci/meta/Value;
0 16 5 cnt1 Ljdk/vm/ci/code/RegisterValue;
0 16 6 cnt2 Ljdk/vm/ci/code/RegisterValue;
0 16 7 temp1 Ljdk/vm/ci/code/RegisterValue;
0 16 8 vectorTemp1 Ljdk/vm/ci/code/RegisterValue;
0 16 9 intCnt2 I
0 16 10 vmPageSize I
MethodParameters:
Name Flags
tool
result
charPtr1
charPtr2
cnt1
cnt2
temp1
vectorTemp1
intCnt2
vmPageSize
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.charPtr1Value:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.charPtr2Value:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 4
start local 4 2: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.cnt1Value:Ljdk/vm/ci/code/RegisterValue;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 5
start local 5 3: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.cnt2Value:Ljdk/vm/ci/code/RegisterValue;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 6
start local 6 4: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.resultValue:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 7
start local 7 5: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.vectorTemp1: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 6: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.temp1:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 9
start local 9 7: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.intCnt2:I
bipush 8
if_icmplt 10
8: aload 2
aload 3
aload 4
aload 5
aload 6
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.intCnt2:I
aload 7
aload 8
aload 9
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.stringIndexofC8:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
9: goto 11
10: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register
StackMap stack:
aload 2
aload 3
aload 4
aload 5
aload 6
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.intCnt2:I
aload 7
aload 8
aload 9
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64StringIndexOfOp.vmPageSize:I
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.stringIndexOf:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;ILjdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;I)V
11: StackMap locals:
StackMap stack:
return
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 12 0 this Lorg/graalvm/compiler/lir/amd64/AMD64StringIndexOfOp;
0 12 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 12 2 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
1 12 3 charPtr1 Ljdk/vm/ci/code/Register;
2 12 4 charPtr2 Ljdk/vm/ci/code/Register;
3 12 5 cnt1 Ljdk/vm/ci/code/Register;
4 12 6 cnt2 Ljdk/vm/ci/code/Register;
5 12 7 result Ljdk/vm/ci/code/Register;
6 12 8 vec Ljdk/vm/ci/code/Register;
7 12 9 tmp Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
crb
masm
}
SourceFile: "AMD64StringIndexOfOp.java"
InnerClasses:
public final CPUFeature = jdk.vm.ci.amd64.AMD64$CPUFeature of jdk.vm.ci.amd64.AMD64
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 final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public abstract Temp = org.graalvm.compiler.lir.LIRInstruction$Temp of org.graalvm.compiler.lir.LIRInstruction
public abstract Use = org.graalvm.compiler.lir.LIRInstruction$Use of org.graalvm.compiler.lir.LIRInstruction
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.Opcode(value = "AMD64_STRING_INDEX_OF")