Does GraalVM support SIMD / AutoVectorization at all or as well as jdk9+?












1















JDK 9 had some major performance improvements for SIMD / AutoVectorization that resulted in 2x to 4x improvements in many cases. Does Graal VM have the "same" improvements as jdk9 did for SIMD / Autovectorization support? (In fact, does it support SIMD / Autovectorization even at jdk8 level?)



Put another way, does the fact that Graal VM will eventually support jdk11 (according to this post: https://github.com/oracle/graal/issues/651) mean that it will automatically support SIMD / Autovectorization (and do so at least as well as jdk 11?)










share|improve this question


















  • 2





    Opinion: That link you've shared was a much better place to ask this question.

    – Naman
    Jan 2 at 18:30
















1















JDK 9 had some major performance improvements for SIMD / AutoVectorization that resulted in 2x to 4x improvements in many cases. Does Graal VM have the "same" improvements as jdk9 did for SIMD / Autovectorization support? (In fact, does it support SIMD / Autovectorization even at jdk8 level?)



Put another way, does the fact that Graal VM will eventually support jdk11 (according to this post: https://github.com/oracle/graal/issues/651) mean that it will automatically support SIMD / Autovectorization (and do so at least as well as jdk 11?)










share|improve this question


















  • 2





    Opinion: That link you've shared was a much better place to ask this question.

    – Naman
    Jan 2 at 18:30














1












1








1


1






JDK 9 had some major performance improvements for SIMD / AutoVectorization that resulted in 2x to 4x improvements in many cases. Does Graal VM have the "same" improvements as jdk9 did for SIMD / Autovectorization support? (In fact, does it support SIMD / Autovectorization even at jdk8 level?)



Put another way, does the fact that Graal VM will eventually support jdk11 (according to this post: https://github.com/oracle/graal/issues/651) mean that it will automatically support SIMD / Autovectorization (and do so at least as well as jdk 11?)










share|improve this question














JDK 9 had some major performance improvements for SIMD / AutoVectorization that resulted in 2x to 4x improvements in many cases. Does Graal VM have the "same" improvements as jdk9 did for SIMD / Autovectorization support? (In fact, does it support SIMD / Autovectorization even at jdk8 level?)



Put another way, does the fact that Graal VM will eventually support jdk11 (according to this post: https://github.com/oracle/graal/issues/651) mean that it will automatically support SIMD / Autovectorization (and do so at least as well as jdk 11?)







simd java-9 graalvm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 2 at 18:26









Jonathan SylvesterJonathan Sylvester

423410




423410








  • 2





    Opinion: That link you've shared was a much better place to ask this question.

    – Naman
    Jan 2 at 18:30














  • 2





    Opinion: That link you've shared was a much better place to ask this question.

    – Naman
    Jan 2 at 18:30








2




2





Opinion: That link you've shared was a much better place to ask this question.

– Naman
Jan 2 at 18:30





Opinion: That link you've shared was a much better place to ask this question.

– Naman
Jan 2 at 18:30












1 Answer
1






active

oldest

votes


















0














GraalVM EE does some auto-vectorization, it is rather different from C2's auto-vectorization so it may be that some cases that are covered by one are not covered by the other and vice versa.



C2 is HotSpot's JIT compiler that is replaced by the Graal compiler in GraalVM. As a result, a GraalVM based on JDK9+ would not change anything to GraalVM's auto-vectorization capabilities since the changes you mention for JDK9 were done on C2.






share|improve this answer
























  • Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

    – Jonathan Sylvester
    Jan 7 at 18:55












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54011329%2fdoes-graalvm-support-simd-autovectorization-at-all-or-as-well-as-jdk9%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














GraalVM EE does some auto-vectorization, it is rather different from C2's auto-vectorization so it may be that some cases that are covered by one are not covered by the other and vice versa.



C2 is HotSpot's JIT compiler that is replaced by the Graal compiler in GraalVM. As a result, a GraalVM based on JDK9+ would not change anything to GraalVM's auto-vectorization capabilities since the changes you mention for JDK9 were done on C2.






share|improve this answer
























  • Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

    – Jonathan Sylvester
    Jan 7 at 18:55
















0














GraalVM EE does some auto-vectorization, it is rather different from C2's auto-vectorization so it may be that some cases that are covered by one are not covered by the other and vice versa.



C2 is HotSpot's JIT compiler that is replaced by the Graal compiler in GraalVM. As a result, a GraalVM based on JDK9+ would not change anything to GraalVM's auto-vectorization capabilities since the changes you mention for JDK9 were done on C2.






share|improve this answer
























  • Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

    – Jonathan Sylvester
    Jan 7 at 18:55














0












0








0







GraalVM EE does some auto-vectorization, it is rather different from C2's auto-vectorization so it may be that some cases that are covered by one are not covered by the other and vice versa.



C2 is HotSpot's JIT compiler that is replaced by the Graal compiler in GraalVM. As a result, a GraalVM based on JDK9+ would not change anything to GraalVM's auto-vectorization capabilities since the changes you mention for JDK9 were done on C2.






share|improve this answer













GraalVM EE does some auto-vectorization, it is rather different from C2's auto-vectorization so it may be that some cases that are covered by one are not covered by the other and vice versa.



C2 is HotSpot's JIT compiler that is replaced by the Graal compiler in GraalVM. As a result, a GraalVM based on JDK9+ would not change anything to GraalVM's auto-vectorization capabilities since the changes you mention for JDK9 were done on C2.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 7 at 14:58









Gilles D.Gilles D.

710312




710312













  • Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

    – Jonathan Sylvester
    Jan 7 at 18:55



















  • Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

    – Jonathan Sylvester
    Jan 7 at 18:55

















Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

– Jonathan Sylvester
Jan 7 at 18:55





Excellent -- thank you. Do you know if there's a lay-person summary of Graal's autovectorization support (especially as it compares to JDK 9's C2 support?) In particular, is there a roadmap to make it "better" (I read somewhere -- can't recall where -- that Graal may have a better time at providing good SIMD support compared to C2 due to inherent advantages of the Graal architecture.) @Gilles D.

– Jonathan Sylvester
Jan 7 at 18:55




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54011329%2fdoes-graalvm-support-simd-autovectorization-at-all-or-as-well-as-jdk9%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

How to fix TextFormField cause rebuild widget in Flutter