8382039: Add support do_arch_array_entry() template#30704
8382039: Add support do_arch_array_entry() template#30704adinn wants to merge 5 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back adinn! A progress list of the required criteria for merging this PR into |
|
@adinn 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 28 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 I have added the machinery for arch-specific stub entry arrays and used it to model the vector iota indices entries on aarch64 and x86_64. The patch involves some duplication of code in the arch directories. I thought about making this code generic but decided that was inappropriate since it is only used on these two architectures. If you disagree it can be moved up. |
|
@ashu-mehra Could you also please review this? |
Webrevs
|
|
Oops, apologies I pushed a new fix to the wrong branch (reverted to previous fix). |
|
@adinn Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
@offamitkumar @RealFYang @TheRealMDoerr This change ought to be unproblematic on s390, riscv and ppc as they do not use the new stub definition capability. However, once the cross-compile builds complete it would be very helpful if you could check the changes and ensure that the build can run |
|
Unfortunately some vector tests failed (produced wrong results) on Aarch64 normal (not AOT) execution: |
|
@vnkozlov I believe @ashu-mehra spotted the problem. The vector rearrange code can be fed basic type (Sorry, but I don't have easy access to an SVE machine to run these tests). |
java -version still works on linux ppc64le and AIX. |
|
Hi, |
|
looks good now. |
|
I start new testing. |
This PR implements support for declaring arch-specific stubs which store their entries and present them to clients as an array. It uses this machinery to model the entries of the AArch64- and X86-specific vector_iota_entries stubs as arrays and changes all uses of these entries so the are accessed using an array index calculated from an associated basic type.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30704/head:pull/30704$ git checkout pull/30704Update a local copy of the PR:
$ git checkout pull/30704$ git pull https://git.openjdk.org/jdk.git pull/30704/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 30704View PR using the GUI difftool:
$ git pr show -t 30704Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30704.diff
Using Webrev
Link to Webrev Comment