Skip to content

Commit

Permalink
Mark SHA3.implCompress0 intrinsic GraalOnly on JDK21.
Browse files Browse the repository at this point in the history
  • Loading branch information
mur47x111 committed Dec 9, 2024
1 parent 2e0e746 commit e011568
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
import jdk.graal.compiler.replacements.nodes.arithmetic.UnsignedMulHighNode;
import jdk.graal.compiler.serviceprovider.JavaVersionUtil;
import jdk.graal.compiler.serviceprovider.SpeculationReasonGroup;
import jdk.vm.ci.amd64.AMD64;
import jdk.vm.ci.code.Architecture;
import jdk.vm.ci.code.BytecodePosition;
import jdk.vm.ci.code.CodeUtil;
Expand Down Expand Up @@ -2615,6 +2616,11 @@ public boolean apply(GraphBuilderContext b, ResolvedJavaMethod targetMethod, Rec
return true;
}
}

@Override
public boolean isGraalOnly() {
return JavaVersionUtil.JAVA_SPEC == 21 && arch instanceof AMD64;
}
});
}

Expand Down

0 comments on commit e011568

Please sign in to comment.