-
Notifications
You must be signed in to change notification settings - Fork 15.5k
[RISCV] LMUL lists for indexed and strided loads #169756
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,14 @@ defvar SchedMxListFW = !listremove(SchedMxList, ["M8", "MF8"]); | |
| defvar SchedMxListF = !listremove(SchedMxList, ["MF8"]); | ||
| // Used for widening floating-point Reduction as it doesn't contain MF8. | ||
| defvar SchedMxListFWRed = SchedMxListF; | ||
| // Used for indexed and strided loads of 8 bit lanes, same as full MX list | ||
| defvar SchedMxListDS8 = SchedMxList; | ||
|
||
| // Used for indexed and strided loads of 16 bit lanes | ||
| defvar SchedMxListDS16 = SchedMxListF; | ||
| // Used for indexed and strided loads of 32 bit lanes | ||
| defvar SchedMxListDS32 = !listremove(SchedMxListDS16, ["MF4"]); | ||
| // Used for indexed and strided loads of 64 bit lanes | ||
| defvar SchedMxListDS64 = !listremove(SchedMxListDS32, ["MF2"]); | ||
|
|
||
| class SchedSEWSet<string mx, bit isF = 0, bit isWidening = 0> { | ||
| assert !or(!not(isF), !ne(mx, "MF8")), "LMUL shouldn't be MF8 for floating-point"; | ||
|
|
||
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.
Do we need to keep this TODO?
Uh oh!
There was an error while loading. Please reload this page.
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 can revert that. If we try to implement this we would need to create a macro that takes EEW and returns a MxList, and this change doesn't quite get there. @mshockwave any objections on keeping the TODO?
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 think this comment might be outdated already: the fact that it excludes MF8 means that it already accounts for EEW, as explained by the comment itself.