diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-08 13:52:59 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-08 13:52:59 +0100 |
commit | 789186fd63fb3fb63af1d8875cbe43609321b9d8 (patch) | |
tree | af800264aeb46dc839b4d209833420f9de4f632b /qtmips_machine/machinedefs.h | |
parent | 6b639c50c93e4a682b15dcdf20f3d46a47d68a64 (diff) | |
download | qtmips-789186fd63fb3fb63af1d8875cbe43609321b9d8.tar.gz qtmips-789186fd63fb3fb63af1d8875cbe43609321b9d8.tar.bz2 qtmips-789186fd63fb3fb63af1d8875cbe43609321b9d8.zip |
Implement LL and SC as simple load and store word. SC returns 1 unconditionally.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machinedefs.h')
-rw-r--r-- | qtmips_machine/machinedefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/machinedefs.h b/qtmips_machine/machinedefs.h index 2bf0556..5e8acd6 100644 --- a/qtmips_machine/machinedefs.h +++ b/qtmips_machine/machinedefs.h @@ -47,6 +47,8 @@ enum AccessControl { AC_WORD, AC_BYTE_UNSIGNED, AC_HALFWORD_UNSIGNED, + AC_LOAD_LINKED, + AC_STORE_CONDITIONAL, AC_CACHE_OP, }; |