Implement FCVTNS (Scalar GP) (#2953)
* Implement FCVTNS (Scalar GP) * Update Ptc Version
This commit is contained in:
parent
b27183b806
commit
60f7cba30a
5 changed files with 19 additions and 1 deletions
|
@ -314,6 +314,18 @@ namespace ARMeilleure.Instructions
|
|||
}
|
||||
}
|
||||
|
||||
public static void Fcvtns_Gp(ArmEmitterContext context)
|
||||
{
|
||||
if (Optimizations.UseSse41)
|
||||
{
|
||||
EmitSse41Fcvts_Gp(context, FPRoundingMode.ToNearest, isFixed: false);
|
||||
}
|
||||
else
|
||||
{
|
||||
EmitFcvt_s_Gp(context, (op1) => EmitRoundMathCall(context, MidpointRounding.ToEven, op1));
|
||||
}
|
||||
}
|
||||
|
||||
public static void Fcvtns_S(ArmEmitterContext context)
|
||||
{
|
||||
if (Optimizations.UseSse41)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue