@@ -207,8 +207,12 @@ public static (Vector512<byte> Result, Vector512<byte> Prev0, Vector512<byte> Pr
207
207
return ( result , match0 , match1 ) ;
208
208
}
209
209
210
- // Read two Vector512<ushort> and concatenate their lower bytes together into a single Vector512<byte>.
211
- // On X86, characters above 32767 are turned into 0, but we account for that by not using Teddy if any of the string values contain a 0.
210
+ /// <summary>
211
+ /// Read two <see cref="Vector128<UInt16>" /> and concatenate their lower bytes together into a single <see cref="Vector128<Byte>" />.
212
+ /// </summary>
213
+ /// <remarks>
214
+ /// On X86, characters above 32767 are turned into 0, but we account for that by not using Teddy if any of the string values contain a 0.
215
+ /// </remarks>
212
216
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
213
217
[ CompExactlyDependsOn ( typeof ( Sse2 ) ) ]
214
218
[ CompExactlyDependsOn ( typeof ( AdvSimd . Arm64 ) ) ]
@@ -233,8 +237,12 @@ public static Vector128<byte> LoadAndPack16AsciiChars(ref char source)
233
237
}
234
238
}
235
239
236
- // Read two Vector512<ushort> and concatenate their lower bytes together into a single Vector512<byte>.
237
- // Characters above 32767 are turned into 0, but we account for that by not using Teddy if any of the string values contain a 0.
240
+ /// <summary>
241
+ /// Read two <see cref="Vector256<UInt16>" /> and concatenate their lower bytes together into a single <see cref="Vector256<Byte>" />.
242
+ /// </summary>
243
+ /// <remarks>
244
+ /// On X86, characters above 32767 are turned into 0, but we account for that by not using Teddy if any of the string values contain a 0.
245
+ /// </remarks>
238
246
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
239
247
[ CompExactlyDependsOn ( typeof ( Avx2 ) ) ]
240
248
public static Vector256 < byte > LoadAndPack32AsciiChars ( ref char source )
@@ -247,8 +255,12 @@ public static Vector256<byte> LoadAndPack32AsciiChars(ref char source)
247
255
return PackedSpanHelpers . FixUpPackedVector256Result ( packed ) ;
248
256
}
249
257
250
- // Read two Vector512<ushort> and concatenate their lower bytes together into a single Vector512<byte>.
251
- // Characters above 32767 are turned into 0, but we account for that by not using Teddy if any of the string values contain a 0.
258
+ /// <summary>
259
+ /// Read two <see cref="Vector512<UInt16>" /> and concatenate their lower bytes together into a single <see cref="Vector512<Byte>" />.
260
+ /// </summary>
261
+ /// <remarks>
262
+ /// On X86, characters above 32767 are turned into 0, but we account for that by not using Teddy if any of the string values contain a 0.
263
+ /// </remarks>
252
264
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
253
265
[ CompExactlyDependsOn ( typeof ( Avx512BW ) ) ]
254
266
public static Vector512 < byte > LoadAndPack64AsciiChars ( ref char source )
0 commit comments