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:
parent
2e143365eb
commit
6aaf9ccb53
3 changed files with 97 additions and 109 deletions
|
@ -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, () =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue