LeoRiether/FPGRARS

Misaligned stores: bug or feature?

Opened this issue · 2 comments

FPGRARS can currently do loads/stores in misaligned positions, while RARS can only do loads, throwing an exception on stores.

Are misaligned stores a bug or feature in FPGRARS? Should we maintain bug-parity with RARS or leave the behavior as is?

I think it would be better to maintain bug-parity for education purposes. Maybe allowing students to make this mistake would confuse them and I don't think that is something really useful.

But I think there could be an option for the user to choose if they want to allow disaligned addresses or not.