aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-22 16:26:11 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-22 16:26:11 -0300
commit2cba1d49f6fcf3d22969579eb2d0d7f02b4c9efa (patch)
tree19e17b1a63d3a1be4fb701f19722c97c3c4515f7 /ChocolArm64/Instruction/AInstEmitSimdArithmetic.cs
parent224211367f52cf514f0608d69056e84a3ef37ff5 (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.cs8
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, () =>