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

@@ -78,6 +78,9 @@ class PPCHIRBuilder : public hir::HIRBuilder {
Value* LoadVR(uint32_t reg);
void StoreVR(uint32_t reg, Value* value);
void StoreReserved(Value* val);
Value* LoadReserved();
private:
void AnnotateLabel(uint32_t address, Label* label);