Add Frintz_S/V opcode and unit test, correction of some unit tests (#523)

* Add Frintz_S/V opcode and unit test, correction of some unit tests

* --test

* fix code style issue

* delete tab
This commit is contained in:
MS-DOS1999 authored and gdkchan committed 2018-12-17 22:29:47 -02:00
1 parent 2e143365eb
commit 6aaf9ccb53
3 files changed
+97 -109

No files matched your search

@@ -1380,6 +1380,22 @@ namespace ChocolArm64.Instructions
});
}
public static void Frintz_S(ILEmitterCtx context)
{
EmitScalarUnaryOpF(context, () =>
{
EmitUnaryMathCall(context, nameof(Math.Truncate));
});
}
public static void Frintz_V(ILEmitterCtx context)
{
EmitVectorUnaryOpF(context, () =>
{
EmitUnaryMathCall(context, nameof(Math.Truncate));
});
}
public static void Frsqrte_S(ILEmitterCtx context)
{
EmitScalarUnaryOpF(context, () =>