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

bseti.S use bset rather than bseti #588

Open
Squareless-XD opened this issue Oct 30, 2024 · 1 comment
Open

bseti.S use bset rather than bseti #588

Squareless-XD opened this issue Oct 30, 2024 · 1 comment

Comments

@Squareless-XD
Copy link

In ./isa/rv64uzbs/bseti.S, bset is used in instructions rather than bseti, which triggers "Illegal Instruction" in my cross-compiler when compiling. Is this a typo in the code, or is it only caused by a certain compiler?

@aswaterman
Copy link
Collaborator

bset with an immediate argument is a pseudoinstruction for bseti. The test is correct as-is. The most likely explanation is that you don't have the Zbs extension enabled.

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