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

Illegal Instruction overlap difference between vfwadd_wf and vwadd_wx #1766

Open
FariaaFaheem opened this issue Aug 8, 2024 · 1 comment

Comments

@FariaaFaheem
Copy link

FariaaFaheem commented Aug 8, 2024

Why is vfwadd_wf v24, v24, ft10 illegal but vwadd_wx v24, v24, x2 legal?

image

@aswaterman
Copy link
Collaborator

aswaterman commented Aug 9, 2024

They're both legal.

I'm guessing that you either forgot to set mstatus.FS to nonzero, or you have vtype.vsew set to a value corresponding to an unsupported floating-point format.

EDIT: I now see mstatus.FS is nonzero in your code, so I'm guessing vtype.vsew is the culprit.

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

2 participants