mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-28 17:37:11 +02:00
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
73d10233ef
commit
4c09939876
6 changed files with 21 additions and 5 deletions
|
@ -325,6 +325,11 @@ namespace ARMeilleure.Translation
|
|||
Add(Instruction.LoadFromContext);
|
||||
}
|
||||
|
||||
public void MemoryBarrier()
|
||||
{
|
||||
Add(Instruction.MemoryBarrier);
|
||||
}
|
||||
|
||||
public Operand Multiply(Operand op1, Operand op2)
|
||||
{
|
||||
return Add(Instruction.Multiply, Local(op1.Type), op1, op2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue