mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-08 15:38:19 +01:00
A64: Implement STXRB, STXRH, STXR, STLXRB, STLXRH, STLXR, LDXRB, LDXRH, LDXR, LDAXRB, LDAXRH, LDAXR
This commit is contained in:
parent
f6a2104ab3
commit
b7a2c1a7df
11 changed files with 233 additions and 10 deletions
|
|
@ -89,6 +89,11 @@ bool Inst::IsExclusiveMemoryWrite() const {
|
|||
case Opcode::A32ExclusiveWriteMemory16:
|
||||
case Opcode::A32ExclusiveWriteMemory32:
|
||||
case Opcode::A32ExclusiveWriteMemory64:
|
||||
case Opcode::A64ExclusiveWriteMemory8:
|
||||
case Opcode::A64ExclusiveWriteMemory16:
|
||||
case Opcode::A64ExclusiveWriteMemory32:
|
||||
case Opcode::A64ExclusiveWriteMemory64:
|
||||
case Opcode::A64ExclusiveWriteMemory128:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
|
@ -249,6 +254,8 @@ bool Inst::CausesCPUException() const {
|
|||
bool Inst::AltersExclusiveState() const {
|
||||
return op == Opcode::A32ClearExclusive ||
|
||||
op == Opcode::A32SetExclusive ||
|
||||
op == Opcode::A64ClearExclusive ||
|
||||
op == Opcode::A64SetExclusive ||
|
||||
IsExclusiveMemoryWrite();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue