Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement various intrinsics in the JIT #17778

Open
BradleyWood opened this issue Jul 12, 2023 · 2 comments
Open

Implement various intrinsics in the JIT #17778

BradleyWood opened this issue Jul 12, 2023 · 2 comments

Comments

@BradleyWood
Copy link
Member

BradleyWood commented Jul 12, 2023

As new JDK versions are released, new methods are introduced that should be recognized by the compiler and implemented with an intrinsic implementation. This issue will track work on methods that should have an intrinsic implementation, especially those marked with @IntrinsicCandidate. Please let me know if you find any that do not have an intrinsic implementation so I can update this issue.


Class Name x z p aarch64 Related Issue
java/math/BigInteger implSquareToLen #16711
jdk/internal/util/ArraysSupport vectorizedMismatch #16662
java/lang/Integer compress
java/lang/Integer expand
java/lang/Long compress
java/lang/Long expand
... ...
@0xdaryl
Copy link
Contributor

0xdaryl commented Jul 12, 2023

@jmesyou is tasked with reviewing and implementing JIT support for marked intrinsic candidate methods. I think he should handle this.

@Spencer-Comin
Copy link
Contributor

Spencer-Comin commented Nov 2, 2023

java/lang/Integer and java/lang/Long both have compress and expand methods marked as intrinsic since JDK19, on x86 they can map directly to pext and pdep instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants