You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type of issue: bug report
Impact: unknown
Development Phase: proposal
Other information:
Hi, I noticed a difference between Rocket and spike implementations, when executing the lhu x8,-7(x21) instruction, spike will execute normally while Rocket will report an error about not being aligned, is this a stricter measure taken by Rocket in handling alignment errors?
I hope to get your reply, please correct me if my thinking is wrong, thanks!
The text was updated successfully, but these errors were encountered:
Regardless of EEI, loads and stores whose effective addresses are naturally aligned shall not raise an
address-misaligned exception. Loads and stores whose effective address is not naturally aligned to the
referenced datatype (i.e., the effective address is not divisible by the size of the access in bytes) have
behavior dependent on the EEI.
So unaligned access can fault, and it does in Rocket Chip. See
Type of issue: bug report
Impact: unknown
Development Phase: proposal
Other information:
Hi, I noticed a difference between Rocket and spike implementations, when executing the lhu x8,-7(x21) instruction, spike will execute normally while Rocket will report an error about not being aligned, is this a stricter measure taken by Rocket in handling alignment errors?
I hope to get your reply, please correct me if my thinking is wrong, thanks!
The text was updated successfully, but these errors were encountered: