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
Fix the encoding of alu instructions #22
Conversation
@ChunyuLiao Thank you for this. Could you also post the lit results to this commit. Do we have any tests of the assembler included? |
~/corev-llvm-project/build/bin/llvm-lit ~/corev-llvm-project/llvm/test/MC/RISCV/corev/ -- Testing: 147 tests, 128 workers -- Testing Time: 0.24s Also attached, ninja check: Failed Tests (1): Testing Time: 859.36s The assembler tests are in the .s file of pr, let me know if we need other tests |
ChunyuLiao@bf39d8f fix CodeGen/RISCV/corev/alu.ll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks clean to me. Great work. Even though there are a set of 85 lit failures, these are not to do with this patch. Therefore this patch can be approved.
The only thing I might suggest is a richer commit message. This means those looking at this work in the future can get a better understanding of what this change relates to. I might for example have written in addition
|
Spec:https://github.com/openhwgroup/cv32e40p/blob/master/docs/source/instruction_set_extensions.rst