Repository navigation
Fix missing Zfbfmin transfer instructions - #446
Merged
Andrew Waterman (aswaterman) merged 1 commit intoNov 29, 2026
Merged
Conversation
Member
|
Nathan Chandrasekar (@vera-rubin) can you fix the required DCO check and ping me afterwards? |
Signed-off-by: vera-rubin <322284620+vera-rubin@users.noreply.github.com>
Nathan Chandrasekar (vera-rubin)
force-pushed
the
fix/zfbfmin-transfers
branch
from
November 27, 2026 13:46
a7c1114 to
d4b324b
Compare
Contributor
Author
|
Andrew Waterman (@aswaterman) the commit is signed off now, and I rebased it on master to resolve the conflict with #444: the two existing |
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.
Selecting F and Zfbfmin for RV32 or RV64 generates the two BF16 conversions but omits FLH, FSH, FMV.X.H and FMV.H.X from JSON and C output. The ratified Zfbfmin specification includes all six instructions and depends on F, not on Zfhmin.
make encoding.out.h EXTENSIONS='rv_i rv32_i rv_zicsr rv_f rv_zfbfmin'extensions/rv_zfbfminnow imports the four shared transfer instructions fromrv_zfhmin, so they are generated without selecting Zfhmin.The new
test_zfbfmin_instructionschecks the match and mask of all six instructions for RV32 and RV64 without Zfhmin. It fails before this change and passes after it, along with the rest oftests/test.py(18 tests). Default artifact generation still passes andencoding.out.his unchanged.