Add REV64 (vector) instruction

This commit is contained in:
gdkchan 2018-03-02 20:03:28 -03:00
parent f39a864050
commit 829b1b1cc0
2 changed files with 12 additions and 0 deletions

View file

@ -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);
}
}
}