@@ -57,14 +57,14 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, Rea
57
57
var indexSource = 0 ;
58
58
59
59
// Check if hardware acceleration and Vector<T> support are available,
60
- // and if the length of the x is greater than the Vector<T>.Count .
60
+ // and if the length of the x is greater than the length of Vector<T>.
61
61
if ( TOperator . IsVectorizable &&
62
62
Vector . IsHardwareAccelerated &&
63
63
Vector < T1 > . IsSupported &&
64
64
Vector < T2 > . IsSupported &&
65
65
Vector < T3 > . IsSupported &&
66
66
Vector < TResult > . IsSupported &&
67
- x . Length >= Vector < T1 > . Count )
67
+ x . Length > Vector < T1 > . Count )
68
68
{
69
69
// Cast the spans to vectors for hardware acceleration.
70
70
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
@@ -178,14 +178,14 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, T2
178
178
var indexSource = 0 ;
179
179
180
180
// Check if hardware acceleration and Vector<T> support are available,
181
- // and if the length of the x is greater than the Vector<T>.Count .
181
+ // and if the length of the x is greater than the length of Vector<T>.
182
182
if ( TOperator . IsVectorizable &&
183
183
Vector . IsHardwareAccelerated &&
184
184
Vector < T1 > . IsSupported &&
185
185
Vector < T2 > . IsSupported &&
186
186
Vector < T3 > . IsSupported &&
187
187
Vector < TResult > . IsSupported &&
188
- x . Length >= Vector < T1 > . Count )
188
+ x . Length > Vector < T1 > . Count )
189
189
{
190
190
// Cast the spans to vectors for hardware acceleration.
191
191
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
@@ -299,7 +299,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, (T2
299
299
var indexSource = 0 ;
300
300
301
301
// Check if hardware acceleration and Vector<T> support are available,
302
- // and if the length of the x is greater than the Vector<T>.Count .
302
+ // and if the length of the x is greater than the length of Vector<T>.
303
303
if ( TOperator . IsVectorizable &&
304
304
Vector . IsHardwareAccelerated &&
305
305
Vector < T1 > . IsSupported &&
@@ -308,7 +308,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, (T2
308
308
Vector < TResult > . IsSupported &&
309
309
Vector < T1 > . Count > 2 &&
310
310
Vector < T1 > . Count % 2 is 0 &&
311
- x . Length >= Vector < T1 > . Count )
311
+ x . Length > Vector < T1 > . Count )
312
312
{
313
313
// Cast the spans to vectors for hardware acceleration.
314
314
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
@@ -474,14 +474,14 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, Rea
474
474
var indexSource = 0 ;
475
475
476
476
// Check if hardware acceleration and Vector<T> support are available,
477
- // and if the length of the x is greater than the Vector<T>.Count .
477
+ // and if the length of the x is greater than the length of Vector<T>.
478
478
if ( TOperator . IsVectorizable &&
479
479
Vector . IsHardwareAccelerated &&
480
480
Vector < T1 > . IsSupported &&
481
481
Vector < T2 > . IsSupported &&
482
482
Vector < T3 > . IsSupported &&
483
483
Vector < TResult > . IsSupported &&
484
- x . Length >= Vector < T1 > . Count )
484
+ x . Length > Vector < T1 > . Count )
485
485
{
486
486
// Cast the spans to vectors for hardware acceleration.
487
487
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
@@ -595,7 +595,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, Rea
595
595
var indexSource = 0 ;
596
596
597
597
// Check if hardware acceleration and Vector<T> support are available,
598
- // and if the length of the x is greater than the Vector<T>.Count .
598
+ // and if the length of the x is greater than the length of Vector<T>.
599
599
if ( TOperator . IsVectorizable &&
600
600
Vector . IsHardwareAccelerated &&
601
601
Vector < T1 > . IsSupported &&
@@ -604,7 +604,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, Rea
604
604
Vector < TResult > . IsSupported &&
605
605
Vector < T1 > . Count > 2 &&
606
606
Vector < T1 > . Count % 2 is 0 &&
607
- x . Length >= Vector < T1 > . Count )
607
+ x . Length > Vector < T1 > . Count )
608
608
{
609
609
// Cast the spans to vectors for hardware acceleration.
610
610
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
@@ -776,14 +776,14 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, T2
776
776
var indexSource = 0 ;
777
777
778
778
// Check if hardware acceleration and Vector<T> support are available,
779
- // and if the length of the x is greater than the Vector<T>.Count .
779
+ // and if the length of the x is greater than the length of Vector<T>.
780
780
if ( TOperator . IsVectorizable &&
781
781
Vector . IsHardwareAccelerated &&
782
782
Vector < T1 > . IsSupported &&
783
783
Vector < T2 > . IsSupported &&
784
784
Vector < T3 > . IsSupported &&
785
785
Vector < TResult > . IsSupported &&
786
- x . Length >= Vector < T1 > . Count )
786
+ x . Length > Vector < T1 > . Count )
787
787
{
788
788
// Cast the spans to vectors for hardware acceleration.
789
789
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
@@ -890,7 +890,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, (T2
890
890
var indexSource = 0 ;
891
891
892
892
// Check if hardware acceleration and Vector<T> support are available,
893
- // and if the length of the x is greater than the Vector<T>.Count .
893
+ // and if the length of the x is greater than the length of Vector<T>.
894
894
if ( TOperator . IsVectorizable &&
895
895
Vector . IsHardwareAccelerated &&
896
896
Vector < T1 > . IsSupported &&
@@ -899,7 +899,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, (T2
899
899
Vector < TResult > . IsSupported &&
900
900
Vector < T1 > . Count > 2 &&
901
901
Vector < T1 > . Count % 2 is 0 &&
902
- x . Length >= Vector < T1 > . Count )
902
+ x . Length > Vector < T1 > . Count )
903
903
{
904
904
// Cast the spans to vectors for hardware acceleration.
905
905
var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
0 commit comments