aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-03-09 23:41:05 -0300
committergdkchan <gab.dark.100@gmail.com>2018-03-09 23:41:05 -0300
commit30bcb8da33c328be1abd922b0a6a95dc5c4d6c64 (patch)
treeb96bbe5bf7e1373ef632ee0d8b197e20aa5a7407 /ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
parentaa2d2b3149536792bf49a9d5695778efea64c53a (diff)
Add FRINTM (vector) instruction
Diffstat (limited to 'ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs')
-rw-r--r--ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs b/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
index b2d190f1..bf980a58 100644
--- a/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
+++ b/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
@@ -267,6 +267,14 @@ namespace ChocolArm64.Instruction
});
}
+ public static void Frintm_V(AILEmitterCtx Context)
+ {
+ EmitVectorUnaryOpF(Context, () =>
+ {
+ EmitUnaryMathCall(Context, nameof(Math.Floor));
+ });
+ }
+
public static void Frintp_S(AILEmitterCtx Context)
{
EmitScalarUnaryOpF(Context, () =>