Skip to content
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

Vector mask load instruction malfunction #32

Open
KKKHHHLLL opened this issue Mar 15, 2023 · 0 comments
Open

Vector mask load instruction malfunction #32

KKKHHHLLL opened this issue Mar 15, 2023 · 0 comments

Comments

@KKKHHHLLL
Copy link

The vector mask load instruction does not work correctly. For VLEN=256 and SEW=8, LMUL=8 set previously, mask of 32 bytes should be loaded into mask register, but only 4 bytes are loaded actually. That's because micro_vl is constructed as follows in the Vlm_v's constructor.
int32_t micro_vl = (std::min(this->vl, micro_vlmax) + 7) / 8;
Though this->vl is 256, micro_vlmax is calculated to be 32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant