Skip to content

Commit b893999

Browse files
committed
Fix copy/paste comments
1 parent 7308adf commit b893999

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/netcore/TensorPrimitives.netcore.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ static T VectorizedSmall(ref T xRef, nuint remainder)
856856
{
857857
return VectorizedSmall2(ref xRef, remainder);
858858
}
859-
if (sizeof(T) == 4)
859+
else if (sizeof(T) == 4)
860860
{
861861
return VectorizedSmall4(ref xRef, remainder);
862862
}
@@ -875,7 +875,7 @@ static T VectorizedSmall1(ref T xRef, nuint remainder)
875875

876876
switch (remainder)
877877
{
878-
// Two Vector128's worth of data, with at least one element overlapping.
878+
// Two Vector256's worth of data, with at least one element overlapping.
879879
case 63:
880880
case 62:
881881
case 61:
@@ -1046,7 +1046,7 @@ static T VectorizedSmall2(ref T xRef, nuint remainder)
10461046

10471047
switch (remainder)
10481048
{
1049-
// Two Vector128's worth of data, with at least one element overlapping.
1049+
// Two Vector256's worth of data, with at least one element overlapping.
10501050
case 31:
10511051
case 30:
10521052
case 29:
@@ -2023,7 +2023,7 @@ static T VectorizedSmall1(ref T xRef, ref T yRef, nuint remainder)
20232023

20242024
switch (remainder)
20252025
{
2026-
// Two Vector128's worth of data, with at least one element overlapping.
2026+
// Two Vector256's worth of data, with at least one element overlapping.
20272027
case 63:
20282028
case 62:
20292029
case 61:
@@ -2200,7 +2200,7 @@ static T VectorizedSmall2(ref T xRef, ref T yRef, nuint remainder)
22002200

22012201
switch (remainder)
22022202
{
2203-
// Two Vector128's worth of data, with at least one element overlapping.
2203+
// Two Vector256's worth of data, with at least one element overlapping.
22042204
case 31:
22052205
case 30:
22062206
case 29:
@@ -3791,7 +3791,7 @@ static void VectorizedSmall1(ref TInput xRef, ref TOutput dRef, nuint remainder)
37913791

37923792
switch (remainder)
37933793
{
3794-
// Two Vector128's worth of data, with at least one element overlapping.
3794+
// Two Vector256's worth of data, with at least one element overlapping.
37953795
case 63:
37963796
case 62:
37973797
case 61:
@@ -3959,7 +3959,7 @@ static void VectorizedSmall2(ref TInput xRef, ref TOutput dRef, nuint remainder)
39593959

39603960
switch (remainder)
39613961
{
3962-
// Two Vector128's worth of data, with at least one element overlapping.
3962+
// Two Vector256's worth of data, with at least one element overlapping.
39633963
case 31:
39643964
case 30:
39653965
case 29:
@@ -5103,7 +5103,7 @@ static void VectorizedSmall1(ref T xRef, ref T dRef, nuint remainder, TStatefulU
51035103

51045104
switch (remainder)
51055105
{
5106-
// Two Vector128's worth of data, with at least one element overlapping.
5106+
// Two Vector256's worth of data, with at least one element overlapping.
51075107
case 63:
51085108
case 62:
51095109
case 61:
@@ -5271,7 +5271,7 @@ static void VectorizedSmall2(ref T xRef, ref T dRef, nuint remainder, TStatefulU
52715271

52725272
switch (remainder)
52735273
{
5274-
// Two Vector128's worth of data, with at least one element overlapping.
5274+
// Two Vector256's worth of data, with at least one element overlapping.
52755275
case 31:
52765276
case 30:
52775277
case 29:
@@ -6641,7 +6641,7 @@ static void VectorizedSmall1(ref T xRef, ref T yRef, ref T dRef, nuint remainder
66416641

66426642
switch (remainder)
66436643
{
6644-
// Two Vector128's worth of data, with at least one element overlapping.
6644+
// Two Vector256's worth of data, with at least one element overlapping.
66456645
case 63:
66466646
case 62:
66476647
case 61:
@@ -6829,7 +6829,7 @@ static void VectorizedSmall2(ref T xRef, ref T yRef, ref T dRef, nuint remainder
68296829

68306830
switch (remainder)
68316831
{
6832-
// Two Vector128's worth of data, with at least one element overlapping.
6832+
// Two Vector256's worth of data, with at least one element overlapping.
68336833
case 31:
68346834
case 30:
68356835
case 29:
@@ -7987,7 +7987,7 @@ static void VectorizedSmall1(ref T xRef, T y, ref T dRef, nuint remainder)
79877987

79887988
switch (remainder)
79897989
{
7990-
// Two Vector128's worth of data, with at least one element overlapping.
7990+
// Two Vector256's worth of data, with at least one element overlapping.
79917991
case 63:
79927992
case 62:
79937993
case 61:
@@ -8179,7 +8179,7 @@ static void VectorizedSmall2(ref T xRef, T y, ref T dRef, nuint remainder)
81798179

81808180
switch (remainder)
81818181
{
8182-
// Two Vector128's worth of data, with at least one element overlapping.
8182+
// Two Vector256's worth of data, with at least one element overlapping.
81838183
case 31:
81848184
case 30:
81858185
case 29:
@@ -9434,7 +9434,7 @@ static void VectorizedSmall1(ref T xRef, ref T yRef, ref T zRef, ref T dRef, nui
94349434

94359435
switch (remainder)
94369436
{
9437-
// Two Vector128's worth of data, with at least one element overlapping.
9437+
// Two Vector256's worth of data, with at least one element overlapping.
94389438
case 63:
94399439
case 62:
94409440
case 61:
@@ -9642,7 +9642,7 @@ static void VectorizedSmall2(ref T xRef, ref T yRef, ref T zRef, ref T dRef, nui
96429642

96439643
switch (remainder)
96449644
{
9645-
// Two Vector128's worth of data, with at least one element overlapping.
9645+
// Two Vector256's worth of data, with at least one element overlapping.
96469646
case 31:
96479647
case 30:
96489648
case 29:
@@ -10897,7 +10897,7 @@ static void VectorizedSmall1(ref T xRef, ref T yRef, T z, ref T dRef, nuint rema
1089710897

1089810898
switch (remainder)
1089910899
{
10900-
// Two Vector128's worth of data, with at least one element overlapping.
10900+
// Two Vector256's worth of data, with at least one element overlapping.
1090110901
case 63:
1090210902
case 62:
1090310903
case 61:
@@ -11109,7 +11109,7 @@ static void VectorizedSmall2(ref T xRef, ref T yRef, T z, ref T dRef, nuint rema
1110911109

1111011110
switch (remainder)
1111111111
{
11112-
// Two Vector128's worth of data, with at least one element overlapping.
11112+
// Two Vector256's worth of data, with at least one element overlapping.
1111311113
case 31:
1111411114
case 30:
1111511115
case 29:
@@ -12376,7 +12376,7 @@ static void VectorizedSmall1(ref T xRef, T y, ref T zRef, ref T dRef, nuint rema
1237612376

1237712377
switch (remainder)
1237812378
{
12379-
// Two Vector128's worth of data, with at least one element overlapping.
12379+
// Two Vector256's worth of data, with at least one element overlapping.
1238012380
case 63:
1238112381
case 62:
1238212382
case 61:
@@ -12588,7 +12588,7 @@ static void VectorizedSmall2(ref T xRef, T y, ref T zRef, ref T dRef, nuint rema
1258812588

1258912589
switch (remainder)
1259012590
{
12591-
// Two Vector128's worth of data, with at least one element overlapping.
12591+
// Two Vector256's worth of data, with at least one element overlapping.
1259212592
case 31:
1259312593
case 30:
1259412594
case 29:

0 commit comments

Comments
 (0)