diff options
| author | Thomas Bauereiss | 2018-10-09 21:47:31 +0100 |
|---|---|---|
| committer | Thomas Bauereiss | 2018-10-31 15:25:26 +0000 |
| commit | 4db4b9619318970a0228954f64a61123c4961910 (patch) | |
| tree | 494751edb8517bc8b495feaa6bb02c60ca5ddf42 /src/ast.sed | |
| parent | ea12f4e02f8e48e1142401c811afe92a02b5d568 (diff) | |
Monad refactoring in Lem shallow embedding
- Merge tag reading/writing outcomes into memory value reading/writing outcomes
- Add effective address to Write_mem; this duplicates information in the
Write_ea outcome that should come before, but it makes the effective address
more conveniently available in events and traces, and it allows the following
simplification in the state monad:
- Remove write_ea field from state record; the effective address is now
expected as a parameter to the write_memS function
- Remove last_exclusive_operation_was_load field from state record; this was
used to keep track of exclusive loads, but this was a a relatively coarse
approximation anyway, so it might make more sense to track this in
(architecture-specific) Sail code. Overall, the state record now simply
contains the fields regstate, memstate, tagstate.
Diffstat (limited to 'src/ast.sed')
0 files changed, 0 insertions, 0 deletions
