From 1aa00990b8cc494965965e32c4aeec5a15257f62 Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Wed, 3 Apr 2019 14:13:41 +0200 Subject: [PATCH] Update InstEmitSimdCvt.cs --- ChocolArm64/Instructions/InstEmitSimdCvt.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ChocolArm64/Instructions/InstEmitSimdCvt.cs b/ChocolArm64/Instructions/InstEmitSimdCvt.cs index cec8a688f9..2e2da6a357 100644 --- a/ChocolArm64/Instructions/InstEmitSimdCvt.cs +++ b/ChocolArm64/Instructions/InstEmitSimdCvt.cs @@ -811,9 +811,9 @@ namespace ChocolArm64.Instructions if (op.Size == 0) { Type[] typesCmpMul = new Type[] { typeof(Vector128), typeof(Vector128) }; - Type[] typesAnd = new Type[] { typeof(Vector128 ), typeof(Vector128 ) }; + Type[] typesAnd = new Type[] { typeof(Vector128), typeof(Vector128) }; Type[] typesRndCvt = new Type[] { typeof(Vector128) }; - Type[] typesCvt = new Type[] { typeof(Vector128 ) }; + Type[] typesCvt = new Type[] { typeof(Vector128) }; Type[] typesSav = new Type[] { typeof(int) }; //string nameCvt; @@ -855,8 +855,8 @@ namespace ChocolArm64.Instructions context.EmitStvectmp(); context.EmitLdvectmp(); - // TODO: Use Sse.ConvertToInt64 once it is fixed, - // remove the following if/else and comment out the code. + // TODO: Use Sse.ConvertToInt64 once it is fixed (in .NET Core 3.0), + // remove the following if/else and uncomment the code. //context.EmitCall(typeof(Sse).GetMethod(nameCvt, typesRndCvt)); @@ -895,9 +895,9 @@ namespace ChocolArm64.Instructions else /* if (op.Size == 1) */ { Type[] typesCmpMul = new Type[] { typeof(Vector128), typeof(Vector128) }; - Type[] typesAnd = new Type[] { typeof(Vector128 ), typeof(Vector128 ) }; + Type[] typesAnd = new Type[] { typeof(Vector128), typeof(Vector128) }; Type[] typesRndCvt = new Type[] { typeof(Vector128) }; - Type[] typesCvt = new Type[] { typeof(Vector128 ) }; + Type[] typesCvt = new Type[] { typeof(Vector128) }; Type[] typesSav = new Type[] { typeof(long) }; string nameCvt; @@ -975,7 +975,7 @@ namespace ChocolArm64.Instructions if (sizeF == 0) { Type[] typesCmpMul = new Type[] { typeof(Vector128), typeof(Vector128) }; - Type[] typesAndXor = new Type[] { typeof(Vector128 ), typeof(Vector128 ) }; + Type[] typesAndXor = new Type[] { typeof(Vector128), typeof(Vector128) }; Type[] typesRndCvt = new Type[] { typeof(Vector128) }; Type[] typesSav = new Type[] { typeof(int) }; @@ -1030,9 +1030,9 @@ namespace ChocolArm64.Instructions } else /* if (sizeF == 1) */ { - Type[] typesCmpMulUpk = new Type[] { typeof(Vector128 ), typeof(Vector128) }; - Type[] typesAndXor = new Type[] { typeof(Vector128 ), typeof(Vector128 ) }; - Type[] typesRndCvt = new Type[] { typeof(Vector128 ) }; + Type[] typesCmpMulUpk = new Type[] { typeof(Vector128), typeof(Vector128) }; + Type[] typesAndXor = new Type[] { typeof(Vector128), typeof(Vector128) }; + Type[] typesRndCvt = new Type[] { typeof(Vector128) }; Type[] typesSv = new Type[] { typeof(long), typeof(long) }; Type[] typesSav = new Type[] { typeof(long) };