thumb32: Implement STREX variants

Implements the exclusive store instructions. Now all that remains for
ARMv7 load/stores to be done is the exclusive loads.
This commit is contained in:
Lioncash 2021-04-01 19:18:52 -04:00 committed by merry
parent d8066b091b
commit 6241ff6be2
4 changed files with 75 additions and 4 deletions

View file

@ -166,6 +166,12 @@ std::vector<u16> GenRandomThumbInst(u32 pc, bool is_last_inst, A32::ITState it_s
"thumb16_BKPT",
"thumb16_IT",
"thumb16_SETEND",
// Exclusive load/stores
"thumb32_STREX",
"thumb32_STREXB",
"thumb32_STREXD",
"thumb32_STREXH",
};
for (const auto& [fn, bitstring] : list) {