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

Wrong encoding for C extension on golang #203

Open
MouseSplinter opened this issue Oct 19, 2023 · 0 comments
Open

Wrong encoding for C extension on golang #203

MouseSplinter opened this issue Oct 19, 2023 · 0 comments

Comments

@MouseSplinter
Copy link

Hi, all,
I find that current encoding for C extension on golang is wrong. And the struct inst doesn't adapt 16 bit compressed instruction well.Is there any plan to solve this problem? If not, I want to extend the struct inst with some field named like rvc_funct3rvc_funct4rvc_funct2 and rvc_funct6 , which I can encode compressed instruction to. Or, maybe I should reuse the funct7 and funct3 to encode the funct3funct4funct2 and funct6 of compressed instruction. Which method would you like to take to meet the golang codegen?

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