Sse optimized all the fp to integer conversion instructions (signed) with Tests (signed & unsigned). (#655)

* Update CpuTestSimdCvt.cs

* Update CpuTestSimd.cs

* Update CpuTestSimdShImm.cs

* Update InstEmitSimdCvt.cs

* Update InstEmitSimdMove.cs

* Update InstEmitSimdCmp.cs

* Update VectorHelper.cs

* Update InstEmitSimdHelper.cs

* Update OpCodeTable.cs

* Update InstEmitSimdCvt.cs

* Update InstEmitSimdHelper.cs

* Update InstEmitSimdMove.cs
This commit is contained in:
LDj3SNuD 2019-04-03 14:21:22 +02:00 committed by gdkchan
parent 464ec7ced8
commit febc2ad6f4
9 changed files with 956 additions and 155 deletions

View file

@ -563,7 +563,7 @@ namespace ChocolArm64.Instructions
if (cmpWithZero)
{
VectorHelper.EmitCall(context, nameof(VectorHelper.VectorDoubleZero));
VectorHelper.EmitCall(context, nameof(VectorHelper.VectorSingleZero));
}
else
{
@ -574,7 +574,7 @@ namespace ChocolArm64.Instructions
context.EmitLdvectmp();
context.EmitCall(typeof(Sse2).GetMethod(nameof(Sse2.CompareOrderedScalar), typesCmp));
VectorHelper.EmitCall(context, nameof(VectorHelper.VectorDoubleZero));
VectorHelper.EmitCall(context, nameof(VectorHelper.VectorSingleZero));
context.EmitCall(typeof(Sse2).GetMethod(nameof(Sse2.CompareEqualOrderedScalar), typesCmp));
@ -839,7 +839,7 @@ namespace ChocolArm64.Instructions
}
else
{
VectorHelper.EmitCall(context, nameof(VectorHelper.VectorDoubleZero));
VectorHelper.EmitCall(context, nameof(VectorHelper.VectorSingleZero));
}
if (isLeOrLt)