diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-03-09 23:41:05 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-03-09 23:41:05 -0300 |
| commit | 30bcb8da33c328be1abd922b0a6a95dc5c4d6c64 (patch) | |
| tree | b96bbe5bf7e1373ef632ee0d8b197e20aa5a7407 /ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs | |
| parent | aa2d2b3149536792bf49a9d5695778efea64c53a (diff) | |
Add FRINTM (vector) instruction
Diffstat (limited to 'ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs')
| -rw-r--r-- | ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs | 8 |
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, () => |
