Update InstEmitSimdHelper.cs
This commit is contained in:
parent
7d0dfc5dc2
commit
aed3554329
1 changed files with 0 additions and 20 deletions
|
@ -322,26 +322,6 @@ namespace ChocolArm64.Instructions
|
|||
context.EmitCall(mthdInfo);
|
||||
}
|
||||
|
||||
public static void EmitUnarySoftFloatCall(ILEmitterCtx context, string name)
|
||||
{
|
||||
IOpCodeSimd64 op = (IOpCodeSimd64)context.CurrOp;
|
||||
|
||||
int sizeF = op.Size & 1;
|
||||
|
||||
MethodInfo mthdInfo;
|
||||
|
||||
if (sizeF == 0)
|
||||
{
|
||||
mthdInfo = typeof(SoftFloat).GetMethod(name, new Type[] { typeof(float) });
|
||||
}
|
||||
else /* if (sizeF == 1) */
|
||||
{
|
||||
mthdInfo = typeof(SoftFloat).GetMethod(name, new Type[] { typeof(double) });
|
||||
}
|
||||
|
||||
context.EmitCall(mthdInfo);
|
||||
}
|
||||
|
||||
public static void EmitSoftFloatCall(ILEmitterCtx context, string name)
|
||||
{
|
||||
IOpCodeSimd64 op = (IOpCodeSimd64)context.CurrOp;
|
||||
|
|
Loading…
Add table
Reference in a new issue