-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Pass several privilege tests and fix RV32I comment #65
Conversation
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.
Update README.md in top-level directory.
I would anticipate the commit being divided into two:
|
Fix the comment for different types of RV32I instructions format like I, R and J-type and so on.
The current result of privilege tests: Check ebreak ... OK
Check ecall ... FAIL
Check misalign1-jalr-01 ... OK
Check misalign2-jalr-01 ... OK
Check misalign-beq-01 ... OK
Check misalign-bge-01 ... OK
Check misalign-bgeu-01 ... OK
Check misalign-blt-01 ... OK
Check misalign-bltu-01 ... OK
Check misalign-bne-01 ... OK
Check misalign-jal-01 ... OK
Check misalign-lh-01 ... OK
Check misalign-lhu-01 ... OK
Check misalign-lw-01 ... OK
Check misalign-sh-01 ... OK
Check misalign-sw-01 ... OK |
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.
Analyze the reason why ecall fails and describe in the git commit message.
Pass serveral privilege instruction and exceptions tests like ebreak, misaligned load word and misaligned store word. Moreover, the privilege instruction ecall doesn't pass the test because it only dispatches the syscall number to corresponding handler. Therefore, it needs to implement the exception handler with control and status registers (CSRs).
The privilege instruction |
Thank @Risheng1128 for contributing! |
Pass several privilege tests and fix RV32I comment
This commit does the following things:
misaligned load word and misaligned store word.
I, R and J-type and so on.
Because the compiler option
rv32gc
will makeebreak
be compiledas
c.ebreak
format, change it torv32g
.