Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sc): mcontrol6 addr trigger still match and fire for failed sc.
If the sc instruction's addr is misaligned, it will check the addr trigger within the function check_load_reservation(), and raise misalign fault or access fault if addr trigger does not match. However, for a properly aligned but failed sc instruction, spike does not execute the store function at all and does not check the addr trigger. This patch checks the addr trigger right at the start of the sc instruction even if the sc instruction fails.
- Loading branch information