Skip to content

Commit

Permalink
[GR-60374] Mark SHA3.implCompress0 intrinsic GraalOnly on JDK21.
Browse files Browse the repository at this point in the history
PullRequest: graal/19550
  • Loading branch information
mur47x111 committed Dec 11, 2024
2 parents 2e386db + e011568 commit aa392a0
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 aa392a0

Please sign in to comment.