-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[RISCV] Support __riscv_v_fixed_vlen for vbool types. #76551
Changes from all commits
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 |
---|---|---|
|
@@ -2415,7 +2415,10 @@ only be a power of 2 between 64 and 65536. | |
For types where LMUL!=1, ``__riscv_v_fixed_vlen`` needs to be scaled by the LMUL | ||
of the type before passing to the attribute. | ||
|
||
``vbool*_t`` types are not supported at this time. | ||
For ``vbool*_t`` types, ``__riscv_v_fixed_vlen`` needs to be divided by the | ||
number from the type name. For example, ``vbool8_t`` needs to use | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Can this be done by compiler? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It could, but the intention was that the value passed to the attribute should be the size of the type. That's the way LMUL is handled. LMUL 2 needs to pass 2*__riscv_v_fixed_vlen. |
||
``__riscv_v_fixed_vlen`` / 8. If the resulting value is not a multiple of 8, | ||
the type is not supported for that value of ``__riscv_v_fixed_vlen``. | ||
}]; | ||
} | ||
|
||
|
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.
This line breaks the documentation build (missing ending
``
).