From d4f9f2cbc3b8d42df32f068ae2a6f9999bab7b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Tue, 3 Oct 2023 20:30:32 +0200 Subject: [PATCH 1/3] Fix duplicate file name generated by GenerateHWIntrinsicTests_General.cs When building the runtime tests we get a lot of warnings like this: ``` CSC : warning CS2002: Source file '/__w/1/s/artifacts/tests/coreclr/obj/AnyOS.x64.Checked/Managed/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_ro/Vector256_1_ro/gen/op_LeftShift.Byte.cs' specified multiple times [/__w/1/s/src/tests/JIT/HardwareIntrinsics/General/Vector256_1/Vector256_1_ro.csproj] [/__w/1/s/src/tests/build.proj] ``` It turns out that we were generating the same file name for multiple test cases (specifically when using VectorImmBinaryOperatorTest.template), added some validation to the test generator so we throw an error in this case. --- .../GenerateHWIntrinsicTests_General.cs | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs b/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs index 6b9e59e4e7ec3c..f3ea15a55ad3a0 100644 --- a/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs +++ b/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs @@ -3155,16 +3155,21 @@ void ProcessInputs(string groupName, (string templateFileName, Dictionary(); + + foreach (var input in inputs) { - foreach (var input in inputs) + string fileName = ProcessInput(groupName, input); + if (!testList.Add(fileName)) { - ProcessInput(testListFile, groupName, input); + throw new InvalidOperationException($"Duplicate test file name: {fileName}"); } } + + File.WriteAllLines(testListFileName, testList); } -void ProcessInput(StreamWriter testListFile, string groupName, (string templateFileName, Dictionary templateData) input) +string ProcessInput(string groupName, (string templateFileName, Dictionary templateData) input) { var testName = ""; @@ -3193,6 +3198,10 @@ void ProcessInput(StreamWriter testListFile, string groupName, (string templateF { testName = $"{input.templateData["Method"]}.{input.templateData["Op1BaseType"]}"; } + else if ((input.templateFileName == "VectorImmBinaryOperatorTest.template")) + { + testName = $"{input.templateData["Method"]}.{input.templateData["RetBaseType"]}.Imm{input.templateData["Imm"]}"; + } else { testName = $"{input.templateData["Method"]}.{input.templateData["RetBaseType"]}"; @@ -3209,6 +3218,6 @@ void ProcessInput(StreamWriter testListFile, string groupName, (string templateF } template = template.Replace("namespace JIT.HardwareIntrinsics.General", $"namespace JIT.HardwareIntrinsics.General._{groupName}"); - testListFile.WriteLine(fileName); File.WriteAllText(fileName, template); + return fileName; } From 4f9481d79b06203fb20f7877617c05b015592d5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Wed, 4 Oct 2023 00:08:41 +0200 Subject: [PATCH 2/3] Fix test build due to missing closing parenthesis --- .../GenerateHWIntrinsicTests_General.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs b/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs index f3ea15a55ad3a0..c6a8fd9148c52d 100644 --- a/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs +++ b/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs @@ -599,7 +599,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) << 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -1345,7 +1345,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) << 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -2087,7 +2087,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) << 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -2829,7 +2829,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) << 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] << 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] << 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_LeftShift", ["Opcode"] = "<<", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), From 4863d2776666cebfaf146ff4665146eee1fd241e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Wed, 4 Oct 2023 09:48:19 +0200 Subject: [PATCH 3/3] Fix test build due to missing closing parenthesis --- .../GenerateHWIntrinsicTests_General.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs b/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs index c6a8fd9148c52d..9fa0ffd13c6585 100644 --- a/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs +++ b/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs @@ -642,7 +642,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -696,7 +696,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >>> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector64", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector64", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector64", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -1388,7 +1388,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -1442,7 +1442,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >>> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector128", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -2130,7 +2130,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -2184,7 +2184,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >>> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector256", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -2872,7 +2872,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_RightShift", ["Opcode"] = ">>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), @@ -2926,7 +2926,7 @@ ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Byte", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Byte", ["Imm"] = "8", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Double", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != (BitConverter.DoubleToInt64Bits(left[0]) >>> 1)", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != (BitConverter.DoubleToInt64Bits(left[i]) >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Double", ["Imm"] = "64", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits(left[0])", ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits(left[i])"}), - ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1"}), + ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != (short)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (short)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int16", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int16", ["Imm"] = "16", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int32", ["Imm"] = "1", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != (int)(left[0] >>> 1)", ["ValidateRemainingResults"] = "result[i] != (int)(left[i] >>> 1)"}), ("VectorImmBinaryOperatorTest.template", new Dictionary { ["Isa"] = "Vector512", ["Method"] = "op_UnsignedRightShift", ["Opcode"] = ">>>", ["RetVectorType"] = "Vector512", ["RetBaseType"] = "Int32", ["Op1VectorType"] = "Vector512", ["Op1BaseType"] = "Int32", ["Imm"] = "32", ["LargestVectorSize"] = "64", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()", ["ValidateFirstResult"] = "result[0] != left[0]", ["ValidateRemainingResults"] = "result[i] != left[i]"}),