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

[GR-31153] Loop vectorization in GraalVM CE JIT compilations #5468

Open
gergo- opened this issue Nov 18, 2022 · 2 comments
Open

[GR-31153] Loop vectorization in GraalVM CE JIT compilations #5468

gergo- opened this issue Nov 18, 2022 · 2 comments

Comments

@gergo-
Copy link
Member

gergo- commented Nov 18, 2022

TL;DR

Make automatic loop vectorization available for just-in-time (JIT) compilations in GraalVM Community Edition.

Goals

Add compiler phases and supporting infrastructure to enable automatic loop vectorization in GraalVM CE JIT compilations. Users will be able to write natural Java loops and obtain efficient SIMD code for supported loop shapes. This will include many loops that are not vectorized by HotSpot's C2 compiler.
See the blog post on Enhanced Automated Vectorization for some examples of automatic vectorization in GraalVM.

Non-Goal

  • Enable loop vectorization in ahead-of-time (AOT) compilations.
@gergo- gergo- added the feature label Nov 18, 2022
@fniephaus fniephaus moved this to In Progress in GraalVM Community Roadmap Nov 18, 2022
@fniephaus fniephaus added this to the Future milestone Nov 18, 2022
@spavlusieva spavlusieva changed the title Loop vectorization in GraalVM CE JIT compilations [GR-31153] Loop vectorization in GraalVM CE JIT compilations May 3, 2024
@JohnTortugo
Copy link
Contributor

@gergo- - what are the plans for this issue?

@gergo-
Copy link
Member Author

gergo- commented Feb 3, 2025

There is no concrete timeline at the moment. #10285 will certainly have to come first, since there is a lot of common infrastructure between autovectorization and Vector API lowering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

3 participants