Unverified Commit ba35af52 authored by Tim Hutt's avatar Tim Hutt Committed by GitHub
Browse files

Check misalignment of AMOs before address translation (#471)

This is optional according to the spec - you can check afterwards. However

1. it seems extremely unlikely that any real designs will do that for atomics, which (ignoring Zam which the model doesn't support yet), always have to be aligned, and
2. the LR and SC instructions already check before address translation, so this wasn't even consistent.

Ideally in future this would be configurable.
parent 7ff6d94e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment