-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8352504: RISC-V: implement and enable CMoveI/L #24490
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back mli! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@Hamlin-Li The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
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.
Hi, @Hamlin-Li , Thanks for looking at this part. I once created JBS https://bugs.openjdk.org/browse/JDK-8346786 about ConditionalMoveLimit
on RISC-V. I have two questions after a cursory look.
/solves JDK-8346786 |
@Hamlin-Li |
I'm curious about this one. It's surprising to me that we see bigger code generated with Zicond. Do you know why that is the case? |
because zicond code is bigger, e.g.
|
@Hamlin-Li this pull request can not be integrated into git checkout cmoveil-v1
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
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.
Thanks for the updates. Several minor comments remain :-)
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. Thanks!
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.
Updated change LGTM. Thanks.
Thank you @feilongjiang @RealFYang ! |
/integrate |
@Hamlin-Li This pull request has not yet been marked as ready for integration. |
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. | |||
* Copyright (c) 2022, 2025,Oracle and/or its affiliates. All rights reserved. |
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.
The jcheck is complaining about a copyright format issue here. There should be a space after 2025,
.
Hi,
Can you help to review this patch?
On riscv, CMoveI/L already were implemented, but there are some gap:
Phi -> CMove -> min_max
.Also there are some issue with current Zicond:
This patch on riscv is to:
Thanks!
Performance
MinMax
test data
Comparison
test data
Progress
Error
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24490/head:pull/24490
$ git checkout pull/24490
Update a local copy of the PR:
$ git checkout pull/24490
$ git pull https://git.openjdk.org/jdk.git pull/24490/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24490
View PR using the GUI difftool:
$ git pr show -t 24490
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24490.diff
Using Webrev
Link to Webrev Comment