Add host CPU memory barriers for DMB/DSB and ordered load/store (#3015)
* Add host CPU memory barriers for DMB/DSB and ordered load/store * PPTC version bump * Revert to old barrier order
This commit is contained in:
parent
7e967d796c
commit
f0824fde9f
6 changed files with 21 additions and 5 deletions
|
@ -358,6 +358,12 @@ namespace ARMeilleure.CodeGen.X86
|
|||
WriteInstruction(dest, source, type, X86Instruction.Lea);
|
||||
}
|
||||
|
||||
public void LockOr(Operand dest, Operand source, OperandType type)
|
||||
{
|
||||
WriteByte(LockPrefix);
|
||||
WriteInstruction(dest, source, type, X86Instruction.Or);
|
||||
}
|
||||
|
||||
public void Mov(Operand dest, Operand source, OperandType type)
|
||||
{
|
||||
WriteInstruction(dest, source, type, X86Instruction.Mov);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue