diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-22 16:26:11 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-22 16:26:11 -0300 |
| commit | 2cba1d49f6fcf3d22969579eb2d0d7f02b4c9efa (patch) | |
| tree | 19e17b1a63d3a1be4fb701f19722c97c3c4515f7 /ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs | |
| parent | 224211367f52cf514f0608d69056e84a3ef37ff5 (diff) | |
Add FRINTP instruction, fix opcode ctor call method creation with multithreading
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 21ec11a7..6665f219 100644 --- a/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs +++ b/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs @@ -257,6 +257,14 @@ namespace ChocolArm64.Instruction }); } + public static void Frintp_S(AILEmitterCtx Context) + { + EmitScalarUnaryOpF(Context, () => + { + EmitUnaryMathCall(Context, nameof(Math.Ceiling)); + }); + } + public static void Fsqrt_S(AILEmitterCtx Context) { EmitScalarUnaryOpF(Context, () => |
