aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-04-04 16:36:07 -0300
committergdkchan <gab.dark.100@gmail.com>2018-04-04 16:36:07 -0300
commit7fe12ad169256c9c08cd59b288bcb7e688773a1a (patch)
tree2084f8ecd81a7dfe4bc51d6561d719061fd72288 /ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
parente0c3d9c8dfe317c3c65267efa5c4e2014d9727a6 (diff)
Add FNEG (vector) instruction
Diffstat (limited to 'ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs')
-rw-r--r--ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs5
1 files changed, 5 insertions, 0 deletions
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;