-
Notifications
You must be signed in to change notification settings - Fork 6.3k
8368897: RISC-V: Cleanup RV_EXT_FEATURE_FLAGS & RV_NON_EXT_FEATURE_FLAGS #27562
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 label 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 list. If you would like to change these labels, use the /label pull request command. |
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, You need merge and rebase :-) But the order of the detection of these extesions (the order in RiscvHwprobe::add_features_from_query_result()
) still matters, right? Say we must detect ext_v
before ext_Zvbb
.
Thanks for reminding :) I think my forked master needs to be adjusted in some way, as seems I previously accidently pushed some commit to master instead of branch, I'll figure out it later.
Yes, you're right.
|
|
I'm also considering if we should remove the column ext_xx in RV_EXT_FEATURE_FLAGS, and the similar column in RV_NON_EXT_FEATURE_FLAGS in this pr, as it should be able to be generated from the pretty string. How do you think about it? The different opinions could be:
|
I file https://bugs.openjdk.org/browse/JDK-8368950 to track the out of order declarations in RV_FEATURE_FLAGS. |
The current
We append a
Seems not necessary to have a pretty string for non-extension flags. Is it used anywhere? |
OK, I'll keep the pretty string as lower cases.
Yes, it's printed out by
|
@RealFYang Take your time, no hurry. :) |
Hi,
Can you help to review the patch?
This patch cleans up RV_EXT_FEATURE_FLAGS & RV_NON_EXT_FEATURE_FLAGS, as discussed #27152 (comment):
We also discussed (#27171 (comment)) the assert introduced in #24094, previously we think this will restrict the flags order in RV_EXT_FEATURE_FLAGS, but I found out that this assert (
is not necessary, so we should be able to order flags in RV_EXT_FEATURE_FLAGS in any way we'd like to) does not work as expected, will fix this in another pr.Thanks!
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27562/head:pull/27562
$ git checkout pull/27562
Update a local copy of the PR:
$ git checkout pull/27562
$ git pull https://git.openjdk.org/jdk.git pull/27562/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27562
View PR using the GUI difftool:
$ git pr show -t 27562
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27562.diff
Using Webrev
Link to Webrev Comment