-
Notifications
You must be signed in to change notification settings - Fork 18
8278994: riscv: RVC support #34
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 xlinzheng! A progress list of the required criteria for merging this PR into |
Webrevs
|
Looks like the previous discussion about compressible region is not reflected here in this PR. Could you please explain your approach? |
Thanks for the reviews, Felix. The Region things are at here in this diff and here, and currently, there is no usage of them. Besides, I sent messages to Yadong privately to discuss the previous design -- I have updated the links in this comment, for Github is prone to fold the file, causing the links to lose effect. |
I have discussed with Yadong and we may hold the optional |
Thanks for your reviews, Felix. In the morning Yadong discussed with me your review comments, so I have pushed additional patches to ensure nearly all functions I defined have been properly 'use'd. I think that might increase the burden to review this patch because of the new changes, and I feel quite sorry for that. Now excluding This may need another period to review so no rush. Also, due to Wei Kuai's code is added into this patch now, I assume I should add him as a co-author of this patch. /contributor add Wei Kuai [email protected] This changes are tested under |
@zhengxiaolinX Could not parse
|
Hmm. Hope this time it could succeed. /contributor add Wei Kuai [email protected] |
@zhengxiaolinX Could not parse
|
-- Quite feel sorry for the disturbance :-( /contributor add Wei Kuai [email protected] |
@zhengxiaolinX |
dbc763e
to
5df07a1
Compare
Rebased and fixed conflicts with RVB(#37)'s initial load. Tested build and a simple spring-boot application with/without RVC. |
2accc5b
to
84de97e
Compare
6102220
to
2a6ff15
Compare
3496b13
to
3789930
Compare
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.
Still some suggestions about the comments, otherwise looks good.
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.
Approved. Thanks.
@zhengxiaolinX 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 no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@RealFYang, @yadongw) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Thank you for the nice reviews, Felix and Yadong! /integrate |
@zhengxiaolinX |
/sponsor |
Going to push as commit fe82bcc. |
@yadongw @zhengxiaolinX Pushed as commit fe82bcc. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi team,
This patch includes the basic definition of the RVC instruction set and some cleanups. Tested a simple
test/hotspot/jtreg/compiler/
folder on qemu.Using
<JAVA_HOME>/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseRVC -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly -XX:PrintAssemblyOptions=no-aliases,numeric -XX:+PrintStubCode -XX:-TieredCompilation
could show RVC instructions.Thanks,
Xiaolin
Update: a compression rate calculation after this patch, evaluated by a general springboot petclinic program for all instructions generated. The toy source code of this histogram is at here - just used for the calculation.

Progress
Issue
Reviewers
Contributors
<[email protected]>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/riscv-port pull/34/head:pull/34
$ git checkout pull/34
Update a local copy of the PR:
$ git checkout pull/34
$ git pull https://git.openjdk.java.net/riscv-port pull/34/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 34
View PR using the GUI difftool:
$ git pr show -t 34
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/riscv-port/pull/34.diff