-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update links and current statuses (batch 2022-02-20) #18
Update links and current statuses (batch 2022-02-20) #18
Conversation
Surely it's only the latter? |
|
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.
e.g. `-march=rv64g`. A target `-march` which includes floating point | ||
instructions implies a hardfloat calling convention, but can be overridden | ||
using the `-mabi` flag (see the next section). |
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.
Although isn't true for GNU toolchain (-march
implied -mabi
), but that's out of scope for this patch, and not introduced by your change, so I think that could fixed later.
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.
I created an issue (#20) for this.
So we can ignore that here.
README.mkd
Outdated
|
||
The ISA subset naming conventions are described in Chapter 22 of the RISC-V | ||
ISA, e.g. "rv32imafd". The abbreviation "g" can be used to represent either | ||
`IMAFD` (when targeting RISC-V ISA specification version 2.2 or before) or |
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.
nit: "or before" -> "or earlier"?
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.
That would work. I'm not a native speaker so this kind of feedback is always helpful.
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.
I reflected your comment in the document (before → earlier). Thanks!
Expansion of "g" now depends on the target ISA version: - "IMAFD" : version 2.2 or earlier - "IMAFD_Zicsr_Zifencei" : version 20190608 or later
This commit removes an entry from "Issues for consideration" of the "-march" section describing fine-grained architectures. * On RISC-V ISA specification version 20190608 or later, instructions including (but not limited to) `rdcycle` is splitted to separate extension `Zicsr`. * `Zmmul` extension (`M` extension with division) is frozen and being voted for ratification.
This is because G is changed to include `Zicsr` and `Zifencei` extensions.
GNU toolchain and LLVM both support RISC-V extension version numbers. This commit reflects this fact.
420134c
to
5ca5b4b
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.
LGTM.
@kito-cheng any objections? If not, I will merge this within the next 2 days.
@cmuellner OK to me, thanks :) |
This is preparation for my upcoming proposals. Before proposals, we can clean this document to reflect latest statuses of GNU/LLVM toolchains and other external documents.