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

(0.21.0) Disable vectorization of induction variable #9958

Conversation

mnalam-p
Copy link
Contributor

AutoSIMD was generating incorrect IL due to the side effect of node
commoning. Upon investigating further it was clear that to come up with
a general solution, it would require time. Moreover, it appears that even
for correct IL, AutoSIMD was failing in functionality tests.
This suggest that there may be bug in the codegen as well. Thus, it was
decided that for such cases, AutoSIMD will be disabled until a generalized
solution is ready.

This kind of optimization is currently available only in z Systems. and
does not affect amd64 / powerpc.

For more details see #eclipse/openj9/9446

Signed-off-by: Mohammad Nazmul Alam mohammad.nazmul.alam@ibm.com

AutoSIMD was generating incorrect IL due to the side effect of node
commoning. Upon investigating further it was clear that to come up with
a general solution, it would require time. Moreover, it appears that even
for correct IL, AutoSIMD was failing in functionality tests.
This suggest that there may be bug in the codegen as well. Thus, it was
decided that for such cases, AutoSIMD will be disabled until a generalized
solution is ready.

This kind of optimization is currently available only in z Systems. and
does not affect amd64 / powerpc.

For more details see #eclipse/openj9/9446

Signed-off-by: Mohammad Nazmul Alam <mohammad.nazmul.alam@ibm.com>
@mnalam-p mnalam-p marked this pull request as ready for review June 19, 2020 20:22
@mnalam-p
Copy link
Contributor Author

@gita-omr @IBMJimmyk @pshipton This PR is a double-delivery of #9947. Let me know if anything needs to be updated.

@mnalam-p mnalam-p changed the title (0.21.0) Disable AutoSIMD when PIV is a child of a commoned node (0.21.0) Disable vectorization of induction variable Jun 19, 2020
@pshipton pshipton self-assigned this Jun 22, 2020
@pshipton pshipton merged commit 7cbda56 into eclipse-openj9:v0.21.0-release Jun 22, 2020
@mnalam-p mnalam-p deleted the disable_auto_simd_for_commoned_piv_usage-v0.21.0-release branch June 22, 2020 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants