-
Notifications
You must be signed in to change notification settings - Fork 87
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
Support LMUL truncation and LMUL extension functions #54
Comments
What do you think @joy2myself @HanKuanChen? |
LGTM |
Hi @zakk0610 , What I want may looks like
In my opinion, two split functions can be implemented based on |
@joy2myself
|
I guess it should |
Like this?
I'm not sure does it work since |
Those two utility functions would not modified vl so you need to reset vl if need. like this would be better.
|
Thanks! If it works, it looks good to me. |
I create a PR #57 |
There are some requirements from users they want to keep current SEW but change LMUL (in #28 and #37)
Maybe intrinsic functions could support LMUL truncation and LMUL extension regardless of vl. (It mean those functions would not change vl register)
ps. I think this is not a
Reinterpret
operation because theirs VLEN are different.naming could be
vlmul_[ext|trunc]_v_<src_type_with_lmul>_<dst_type_with_lmul>
interfaces would looks like
any thought?
The text was updated successfully, but these errors were encountered: