ext-p : update table to v0.20 - #413
Merged
Andrew Waterman (aswaterman) merged 1 commit intoMar 24, 2026
Merged
Conversation
Quoted from spec
"This version (020) differs from the previous one (019) with the addition of:
* SHL instructions (shift left or right, logical) that are unsigned
versions of the SHA instructions (shift left or right, arithmetic); and
* for RV64 only, ‘P’-suffi x versions of PNCLIP instructions that are
similar to RV32 PNCLIP instructions without shifting or rounding.
The complete set of instructions added for RV32 are:
PSSHL.HS SSHL PSSHL.DHS PSSHL.DWS
PSSHLR.HS SSHLR PSSHLR.DHS PSSHLR.DWS
And for RV64:
PSSHL.HS PSSHL.WS SHL PNCLIPP.B PNCLIPP.H PNCLIPP.W
PSSHLR.HS PSSHLR.WS SHLR PNCLIPUP.B PNCLIPUP.H PNCLIPUP.W"
reference:
https://www.jhauser.us/RISCV/ext-P/RVP-instrEncodings-020.pdf
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #413 +/- ##
=======================================
Coverage 97.08% 97.09%
=======================================
Files 14 14
Lines 926 929 +3
=======================================
+ Hits 899 902 +3
Misses 27 27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Andrew Waterman (aswaterman)
approved these changes
Mar 24, 2026
Andrew Waterman (aswaterman)
left a comment
Member
There was a problem hiding this comment.
LGTM, thanks for the quick turnaround!
Luca Colagrande (colluca)
pushed a commit
to pulp-platform/riscv-opcodes
that referenced
this pull request
Apr 30, 2026
Quoted from spec
"This version (020) differs from the previous one (019) with the addition of:
* SHL instructions (shift left or right, logical) that are unsigned
versions of the SHA instructions (shift left or right, arithmetic); and
* for RV64 only, ‘P’-suffi x versions of PNCLIP instructions that are
similar to RV32 PNCLIP instructions without shifting or rounding.
The complete set of instructions added for RV32 are:
PSSHL.HS SSHL PSSHL.DHS PSSHL.DWS
PSSHLR.HS SSHLR PSSHLR.DHS PSSHLR.DWS
And for RV64:
PSSHL.HS PSSHL.WS SHL PNCLIPP.B PNCLIPP.H PNCLIPP.W
PSSHLR.HS PSSHLR.WS SHLR PNCLIPUP.B PNCLIPUP.H PNCLIPUP.W"
reference:
https://www.jhauser.us/RISCV/ext-P/RVP-instrEncodings-020.pdf
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quoted from spec
"This version (020) differs from the previous one (019) with the addition of:
The complete set of instructions added for RV32 are:
PSSHL.HS SSHL PSSHL.DHS PSSHL.DWS
PSSHLR.HS SSHLR PSSHLR.DHS PSSHLR.DWS
And for RV64:
PSSHL.HS PSSHL.WS SHL PNCLIPP.B PNCLIPP.H PNCLIPP.W
PSSHLR.HS PSSHLR.WS SHLR PNCLIPUP.B PNCLIPUP.H PNCLIPUP.W"
reference:
https://www.jhauser.us/RISCV/ext-P/RVP-instrEncodings-020.pdf