Skip to content

Commit 45a1086

Browse files
committed
fixed typo in ASCII validation function
1 parent a58d919 commit 45a1086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ascii.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public static unsafe bool SIMDIsAscii(this ReadOnlySpan<char> s)
118118
Vector128<ushort> b = Sse41.Max(b127, total);
119119
Vector128<ushort> b16 = Sse41.CompareEqual(b, b127);
120120
int movemask = Sse2.MoveMask(b16.AsByte());
121-
if (movemask != 0xfffff)
121+
if (movemask != 0xffff)
122122
{
123123
return false;
124124
}

0 commit comments

Comments
 (0)