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

trap is not raised on some unhandled misaligned memory accesses #74

Open
bieganski opened this issue Aug 14, 2024 · 0 comments
Open

trap is not raised on some unhandled misaligned memory accesses #74

bieganski opened this issue Aug 14, 2024 · 0 comments

Comments

@bieganski
Copy link
Owner

for example:

auipc x2, 1  # 0x80001000, naturally aligned
lw x1, 1(x2) # load 4 bytes from 0x80001001

will not raise and will return wrong result.

when issue is fixed remember about uncommenting relevant test in test_external_riscv.py.

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