Add REV64 (vector) instruction
This commit is contained in:
parent
f39a864050
commit
829b1b1cc0
2 changed files with 12 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
using ChocolArm64.Translation;
|
||||
using System;
|
||||
using System.Reflection.Emit;
|
||||
|
||||
using static ChocolArm64.Instruction.AInstEmitSimdHelper;
|
||||
|
@ -65,5 +66,15 @@ namespace ChocolArm64.Instruction
|
|||
{
|
||||
EmitVectorImmBinaryOp(Context, () => Context.Emit(OpCodes.Or));
|
||||
}
|
||||
|
||||
public static void Rev64_V(AILEmitterCtx Context)
|
||||
{
|
||||
Action Emit = () =>
|
||||
{
|
||||
ASoftFallback.EmitCall(Context, nameof(ASoftFallback.ReverseBits64));
|
||||
};
|
||||
|
||||
EmitVectorUnaryOpZx(Context, Emit);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue