-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8287517: C2: assert(vlen_in_bytes == 64) failed: 2 #8961
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
Conversation
|
👋 Welcome back sviswanathan! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
Shall we make a jtreg test for this fix? |
That would be helpful. @sviswa7 I've attached a simpler reproducer to the JBS bug extracted from the full fuzzer test. |
|
@chhagedorn Thanks a lot. I will look into creating a jtreg based on the simpler reproducer. |
vnkozlov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Waiting new test.
|
@vnkozlov @chhagedorn @DamonFool I have added the regression test. Please take a look. |
| * @bug 8287517 | ||
| * @summary Test bug fix for JDK-8287517 related to fuzzer test failure in x86_64 | ||
| * @requires vm.compiler2.enabled | ||
| * @requires (os.simpleArch == "x64" & vm.cpu.features ~= ".*avx2.*") | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, we can remove this require so that other platforms can also get tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DamonFool I removed requires from the test as you suggested. Thanks.
DamonFool
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the update.
|
@sviswa7 This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 55 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
vnkozlov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I submitted testing.
|
Thanks a lot @vnkozlov @DamonFool. |
|
Testing results are good. You can push. |
chhagedorn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, looks good! Thanks for adding a test.
|
|
||
| package compiler.vectorization; | ||
|
|
||
| public class cr8287517 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the test to something that describes the problem you are writing this test for instead of just using the bug number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chhagedorn Thanks, changed test name to TestSmallVectorPopIndex.java.
|
Thanks a lot @vnkozlov. |
|
/integrate |
|
Going to push as commit a0219da.
Your commit was automatically rebased without conflicts. |
Fixed the assertion in load_iota_indices when the length passed is less than 4.
Also fixed the missing break in x86.ad match_rule_supported_vector() for PopulateIndex case.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8961/head:pull/8961$ git checkout pull/8961Update a local copy of the PR:
$ git checkout pull/8961$ git pull https://git.openjdk.java.net/jdk pull/8961/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8961View PR using the GUI difftool:
$ git pr show -t 8961Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8961.diff