@@ -57,14 +57,14 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, Rea
5757 var indexSource = 0 ;
5858
5959 // 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>.
6161 if ( TOperator . IsVectorizable &&
6262 Vector . IsHardwareAccelerated &&
6363 Vector < T1 > . IsSupported &&
6464 Vector < T2 > . IsSupported &&
6565 Vector < T3 > . IsSupported &&
6666 Vector < TResult > . IsSupported &&
67- x . Length >= Vector < T1 > . Count )
67+ x . Length > Vector < T1 > . Count )
6868 {
6969 // Cast the spans to vectors for hardware acceleration.
7070 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
178178 var indexSource = 0 ;
179179
180180 // 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>.
182182 if ( TOperator . IsVectorizable &&
183183 Vector . IsHardwareAccelerated &&
184184 Vector < T1 > . IsSupported &&
185185 Vector < T2 > . IsSupported &&
186186 Vector < T3 > . IsSupported &&
187187 Vector < TResult > . IsSupported &&
188- x . Length >= Vector < T1 > . Count )
188+ x . Length > Vector < T1 > . Count )
189189 {
190190 // Cast the spans to vectors for hardware acceleration.
191191 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
299299 var indexSource = 0 ;
300300
301301 // 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>.
303303 if ( TOperator . IsVectorizable &&
304304 Vector . IsHardwareAccelerated &&
305305 Vector < T1 > . IsSupported &&
@@ -308,7 +308,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, (T2
308308 Vector < TResult > . IsSupported &&
309309 Vector < T1 > . Count > 2 &&
310310 Vector < T1 > . Count % 2 is 0 &&
311- x . Length >= Vector < T1 > . Count )
311+ x . Length > Vector < T1 > . Count )
312312 {
313313 // Cast the spans to vectors for hardware acceleration.
314314 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
474474 var indexSource = 0 ;
475475
476476 // 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>.
478478 if ( TOperator . IsVectorizable &&
479479 Vector . IsHardwareAccelerated &&
480480 Vector < T1 > . IsSupported &&
481481 Vector < T2 > . IsSupported &&
482482 Vector < T3 > . IsSupported &&
483483 Vector < TResult > . IsSupported &&
484- x . Length >= Vector < T1 > . Count )
484+ x . Length > Vector < T1 > . Count )
485485 {
486486 // Cast the spans to vectors for hardware acceleration.
487487 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
595595 var indexSource = 0 ;
596596
597597 // 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>.
599599 if ( TOperator . IsVectorizable &&
600600 Vector . IsHardwareAccelerated &&
601601 Vector < T1 > . IsSupported &&
@@ -604,7 +604,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, Rea
604604 Vector < TResult > . IsSupported &&
605605 Vector < T1 > . Count > 2 &&
606606 Vector < T1 > . Count % 2 is 0 &&
607- x . Length >= Vector < T1 > . Count )
607+ x . Length > Vector < T1 > . Count )
608608 {
609609 // Cast the spans to vectors for hardware acceleration.
610610 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
776776 var indexSource = 0 ;
777777
778778 // 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>.
780780 if ( TOperator . IsVectorizable &&
781781 Vector . IsHardwareAccelerated &&
782782 Vector < T1 > . IsSupported &&
783783 Vector < T2 > . IsSupported &&
784784 Vector < T3 > . IsSupported &&
785785 Vector < TResult > . IsSupported &&
786- x . Length >= Vector < T1 > . Count )
786+ x . Length > Vector < T1 > . Count )
787787 {
788788 // Cast the spans to vectors for hardware acceleration.
789789 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
890890 var indexSource = 0 ;
891891
892892 // 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>.
894894 if ( TOperator . IsVectorizable &&
895895 Vector . IsHardwareAccelerated &&
896896 Vector < T1 > . IsSupported &&
@@ -899,7 +899,7 @@ public static void Apply<T1, T2, T3, TResult, TOperator>(ReadOnlySpan<T1> x, (T2
899899 Vector < TResult > . IsSupported &&
900900 Vector < T1 > . Count > 2 &&
901901 Vector < T1 > . Count % 2 is 0 &&
902- x . Length >= Vector < T1 > . Count )
902+ x . Length > Vector < T1 > . Count )
903903 {
904904 // Cast the spans to vectors for hardware acceleration.
905905 var xVectors = MemoryMarshal . Cast < T1 , Vector < T1 > > ( x ) ;
0 commit comments