Repository navigation
[Codegen][CPU] Add RISC-V V bf16 vfwmaccbf16 inner_tiled MMA. - #25120
Merged
egebeysel merged 2 commits intoNov 13, 2026
Merged
Conversation
TMahlatini
requested review from
AGindinson,
Manewing,
devtbi,
egebeysel,
hanhanW,
jschuhmacher,
phemashekar and
schuermans-roofline
as code owners
October 23, 2026 20:17
Contributor
Author
|
@egebeysel could you please take a look? thanks! |
TMahlatini
force-pushed
the
users/tmahlatini/inner-tiled-rvv-bf16
branch
from
November 5, 2026 21:49
3397260 to
fe91401
Compare
Contributor
Author
|
Rebased to fix the failing runs |
Contributor
|
I'll take a look tomorrow, sorry for the delay. |
egebeysel
approved these changes
Nov 12, 2026
egebeysel
left a comment
Contributor
There was a problem hiding this comment.
Thanks, LGTM % a few comments! Sorry for the delay.
Lower MMA_RISCV_V_VFWMACCBF16_*_F32_BF16 to llvm.riscv.vfwmaccbf16 (+zvfbfwma). N is vlen/8. Towards iree-org#24311 Signed-off-by: Terence <[email protected]> Co-authored-by: Cursor <[email protected]>
Signed-off-by: Terence <[email protected]>
TMahlatini
force-pushed
the
users/tmahlatini/inner-tiled-rvv-bf16
branch
from
November 13, 2026 16:45
fe91401 to
d3f9863
Compare
Contributor
Author
|
applied nits, should be ready to merge after ci run @egebeysel |
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.
Lower MMA_RISCV_V_VFWMACCBF16_*_F32_BF16 to llvm.riscv.vfwmaccbf16 (+zvfbfwma). N is vlen/8. Reuses
lowerRiscvVFmaccLike. The spacemit X60 board I have does not advertise zvfbwma, so didn't collect performance numbers. The other dtypes are being tracked here: #24932Correctness: a 64x64 ones matmul matched exactly under QEMU 8.1.2 (vlen=256, x-zvfbfwma). Lit covers VLEN 128/256/512 and the narrow-N tile.
Towards #24311
Assisted-by: Cursor