Are misaligned loads/stores supported? #37
-
According to RISC-V spec, the behavior in misaligned loads/stores (e.g. reading 4 bytes from address 0x1) depends on the implementation. How do we handle them? |
Beta Was this translation helpful? Give feedback.
Answered by
amichai-bd
May 13, 2021
Replies: 1 comment 8 replies
-
For simplification - in our LOTR project we want all memory access to be 4Byte aligned. Meening - access to address 0x1 is illegal. All Load/Store will be 0x0, 0x4, 0x8 etc.. |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
DL8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For simplification - in our LOTR project we want all memory access to be 4Byte aligned.
Meening - access to address 0x1 is illegal.
All Load/Store will be 0x0, 0x4, 0x8 etc..