Fix load/store exclusive/atomic pairwise instructions (#337)
This commit is contained in:
parent
e26d5f3f59
commit
d2aeeacf08
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ namespace ChocolArm64.Instruction
|
|||
{
|
||||
Context.EmitLdarg(ATranslatedSub.MemoryArgIdx);
|
||||
Context.EmitLdtmp();
|
||||
Context.EmitLdc_I(8 << Op.Size);
|
||||
Context.EmitLdc_I8(1 << Op.Size);
|
||||
|
||||
Context.Emit(OpCodes.Add);
|
||||
|
||||
|
@ -145,7 +145,7 @@ namespace ChocolArm64.Instruction
|
|||
{
|
||||
Context.EmitLdarg(ATranslatedSub.MemoryArgIdx);
|
||||
Context.EmitLdint(Op.Rn);
|
||||
Context.EmitLdc_I(8 << Op.Size);
|
||||
Context.EmitLdc_I8(1 << Op.Size);
|
||||
|
||||
Context.Emit(OpCodes.Add);
|
||||
|
||||
|
|
Loading…
Reference in a new issue