Add REV64 (vector) instruction
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user