From 7fe12ad169256c9c08cd59b288bcb7e688773a1a Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 4 Apr 2018 16:36:07 -0300 Subject: Add FNEG (vector) instruction --- ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs') diff --git a/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs b/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs index f2e80d2b..fd6228ad 100644 --- a/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs +++ b/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs @@ -221,6 +221,11 @@ namespace ChocolArm64.Instruction EmitScalarUnaryOpF(Context, () => Context.Emit(OpCodes.Neg)); } + public static void Fneg_V(AILEmitterCtx Context) + { + EmitVectorUnaryOpF(Context, () => Context.Emit(OpCodes.Neg)); + } + public static void Fnmadd_S(AILEmitterCtx Context) { AOpCodeSimdReg Op = (AOpCodeSimdReg)Context.CurrOp; -- cgit v1.2.3