Update InstEmitSimdArithmetic.cs
This commit is contained in:
parent
57054e310f
commit
27e4e46da8
1 changed files with 22 additions and 22 deletions
|
@ -304,7 +304,7 @@ namespace ChocolArm64.Instructions
|
||||||
|
|
||||||
EmitVectorZero32_128(context, op.Rd);
|
EmitVectorZero32_128(context, op.Rd);
|
||||||
}
|
}
|
||||||
else /* if (Op.Size == 1) */
|
else /* if (op.Size == 1) */
|
||||||
{
|
{
|
||||||
Type[] typesMulAdd = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
Type[] typesMulAdd = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ namespace ChocolArm64.Instructions
|
||||||
|
|
||||||
EmitVectorZero32_128(context, op.Rd);
|
EmitVectorZero32_128(context, op.Rd);
|
||||||
}
|
}
|
||||||
else /* if (Op.Size == 1) */
|
else /* if (op.Size == 1) */
|
||||||
{
|
{
|
||||||
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
||||||
|
|
||||||
|
@ -715,7 +715,7 @@ namespace ChocolArm64.Instructions
|
||||||
|
|
||||||
EmitVectorZero32_128(context, op.Rd);
|
EmitVectorZero32_128(context, op.Rd);
|
||||||
}
|
}
|
||||||
else /* if (SizeF == 1) */
|
else /* if (sizeF == 1) */
|
||||||
{
|
{
|
||||||
Type[] typesSsv = new Type[] { typeof(double) };
|
Type[] typesSsv = new Type[] { typeof(double) };
|
||||||
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
||||||
|
@ -772,7 +772,7 @@ namespace ChocolArm64.Instructions
|
||||||
EmitVectorZeroUpper(context, op.Rd);
|
EmitVectorZeroUpper(context, op.Rd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else /* if (SizeF == 1) */
|
else /* if (sizeF == 1) */
|
||||||
{
|
{
|
||||||
Type[] typesSav = new Type[] { typeof(double) };
|
Type[] typesSav = new Type[] { typeof(double) };
|
||||||
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
||||||
|
@ -1016,7 +1016,7 @@ namespace ChocolArm64.Instructions
|
||||||
|
|
||||||
EmitVectorZero32_128(context, op.Rd);
|
EmitVectorZero32_128(context, op.Rd);
|
||||||
}
|
}
|
||||||
else /* if (SizeF == 1) */
|
else /* if (sizeF == 1) */
|
||||||
{
|
{
|
||||||
Type[] typesSsv = new Type[] { typeof(double) };
|
Type[] typesSsv = new Type[] { typeof(double) };
|
||||||
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
||||||
|
@ -1043,7 +1043,7 @@ namespace ChocolArm64.Instructions
|
||||||
{
|
{
|
||||||
EmitScalarBinaryOpF(context, () =>
|
EmitScalarBinaryOpF(context, () =>
|
||||||
{
|
{
|
||||||
EmitSoftFloatCall(context, nameof(SoftFloat32.FprSqrtStepFused));
|
EmitSoftFloatCall(context, nameof(SoftFloat32.FPRSqrtStepFused));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1081,7 +1081,7 @@ namespace ChocolArm64.Instructions
|
||||||
EmitVectorZeroUpper(context, op.Rd);
|
EmitVectorZeroUpper(context, op.Rd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else /* if (SizeF == 1) */
|
else /* if (sizeF == 1) */
|
||||||
{
|
{
|
||||||
Type[] typesSav = new Type[] { typeof(double) };
|
Type[] typesSav = new Type[] { typeof(double) };
|
||||||
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
Type[] typesMulSub = new Type[] { typeof(Vector128<double>), typeof(Vector128<double>) };
|
||||||
|
@ -1106,7 +1106,7 @@ namespace ChocolArm64.Instructions
|
||||||
{
|
{
|
||||||
EmitVectorBinaryOpF(context, () =>
|
EmitVectorBinaryOpF(context, () =>
|
||||||
{
|
{
|
||||||
EmitSoftFloatCall(context, nameof(SoftFloat32.FprSqrtStepFused));
|
EmitSoftFloatCall(context, nameof(SoftFloat32.FPRSqrtStepFused));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue