-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Add RISC-V support information to readme #132699
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
Add RISC-V support information to readme #132699
Conversation
ae42e52
to
3f16a99
Compare
@llvm/pr-subscribers-llvm-binary-utilities @llvm/pr-subscribers-tools-llvm-exegesis Author: None (AnastasiyaChernikova) ChangesFull diff: https://github.com/llvm/llvm-project/pull/132699.diff 1 Files Affected:
diff --git a/llvm/tools/llvm-exegesis/README.md b/llvm/tools/llvm-exegesis/README.md
index deb0f230f032f..b58a9bcaa2cf2 100644
--- a/llvm/tools/llvm-exegesis/README.md
+++ b/llvm/tools/llvm-exegesis/README.md
@@ -32,6 +32,8 @@ architectures:
e.g. pseudo instructions and most register classes are not supported.
* MIPS
* PowerPC (PowerPC64LE only)
+* RISCV
+ * Supported extensions: compressed, atomic, multiply-divide, initual vector instructions.
Note that not all benchmarking functionality is guaranteed to work on all platforms.
|
Typo initual/initial ) |
3f16a99
to
4d0a2e8
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.
I'm assuming this is riscv64
only?
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.
Please also use a proper title (i.e. "[Exegesis]...") and add a description.
llvm/tools/llvm-exegesis/README.md
Outdated
@@ -32,6 +32,8 @@ architectures: | |||
e.g. pseudo instructions and most register classes are not supported. | |||
* MIPS | |||
* PowerPC (PowerPC64LE only) | |||
* RISCV | |||
* Supported extensions: compressed, atomic, multiply-divide, initial vector instructions. |
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.
could you use the formal extension names (e.g. C, A, M, ...)
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.
Scalar FP and bitmanip work don't they? I've tested them on HiFive Premier P550
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.
Addressed
llvm/tools/llvm-exegesis/README.md
Outdated
@@ -32,6 +32,8 @@ architectures: | |||
e.g. pseudo instructions and most register classes are not supported. | |||
* MIPS | |||
* PowerPC (PowerPC64LE only) | |||
* RISCV |
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.
Use the official spelling RISC-V
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.
Addressed
4d0a2e8
to
af5ec2d
Compare
As I understand, also for |
Can you add a line saying both |
llvm/tools/llvm-exegesis/README.md
Outdated
@@ -32,6 +32,8 @@ architectures: | |||
e.g. pseudo instructions and most register classes are not supported. | |||
* MIPS | |||
* PowerPC (PowerPC64LE only) | |||
* RISC-V | |||
* Supported extensions: M, A, F, C, B, initial V. |
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.
D?
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.
Reading this part again, I don't think we explicitly exclude any extensions, right? It's usually technical shortfalls that limit the kind of instructions we can measure / generate (e.g. we still can't measure memory instructions in RVV). So perhaps we can rephrase this part of the description.
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 changed the wording, please take a look
af5ec2d
to
aa376e1
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.
Nits, otherwise LGTM.
Please wait for Craig/Min to approve as well before merging though.
(AArch64 only, snippet generation is sparse), MIPS, and PowerPC (PowerPC64LE | ||
only) on Linux for benchmarking. Not all benchmarking functionality is | ||
(AArch64 only, snippet generation is sparse), MIPS, PowerPC (PowerPC64LE | ||
only) and RISC-V (RV64I/E and RV32I/E) on Linux for benchmarking. Not all benchmarking functionality is |
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.
Can you wrap this line and maybe reflow the text around it t 80 chars?
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.
Addressed
llvm/tools/llvm-exegesis/README.md
Outdated
@@ -32,6 +32,8 @@ architectures: | |||
e.g. pseudo instructions and most register classes are not supported. | |||
* MIPS | |||
* PowerPC (PowerPC64LE only) | |||
* RISC-V | |||
* RV64I/E, RV32I/E and extensions supported by LLVM's RISC-V backend with some limitations. |
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.
Same here.
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.
Addressed
aa376e1
to
fd5e3d4
Compare
@mshockwave @topperc Please take a look and see if there are any comments? |
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
No description provided.