Skip to content
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

ECALL and EBREAK increments minstret #16

Open
bnossum opened this issue Oct 21, 2020 · 1 comment
Open

ECALL and EBREAK increments minstret #16

bnossum opened this issue Oct 21, 2020 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@bnossum
Copy link
Owner

bnossum commented Oct 21, 2020

From Volume II: RISC-V Privileged Architectures V1.12-draft:
"As ECALL and EBREAK cause synchronous exceptions, they are not considered to retire, and should not increment the minstret CSR."
Midgetv do not special-case these instructions.

@bnossum bnossum self-assigned this Oct 21, 2020
@bnossum bnossum added the invalid This doesn't seem right label Oct 21, 2020
@bnossum
Copy link
Owner Author

bnossum commented Oct 21, 2020

This will probably not be fixed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant