Use atomic compare exchange in stdcx/stwcx (still under the global lock)

This commit is contained in:
Dr. Chat
2016-01-13 01:45:31 -06:00
parent 51dde62f09
commit f0802d75fa
4 changed files with 22 additions and 6 deletions

View File

@@ -423,8 +423,8 @@ typedef struct PPCContext_s {
uint8_t* physical_membase;
// Keep the struct padded out to 64b total.
uint8_t _padding[8];
// Value of last reserved load
uint64_t reserved_val;
static std::string GetRegisterName(PPCRegister reg);
std::string GetStringFromValue(PPCRegister reg) const;