File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1390,14 +1390,10 @@ private unsafe static (int utfadjust, int scalaradjust) calculateErrorPathadjust
1390
1390
int localasciirun = 16 ;
1391
1391
if ( processedLength + localasciirun + 64 <= inputLength )
1392
1392
{
1393
- for ( ; processedLength + localasciirun + 64 <= inputLength ; localasciirun += 64 )
1393
+ for ( ; processedLength + localasciirun + 16 <= inputLength ; localasciirun += 16 )
1394
1394
{
1395
- Vector128 < byte > block1 = AdvSimd . LoadVector128 ( pInputBuffer + processedLength + localasciirun ) ;
1396
- Vector128 < byte > block2 = AdvSimd . LoadVector128 ( pInputBuffer + processedLength + localasciirun + 16 ) ;
1397
- Vector128 < byte > block3 = AdvSimd . LoadVector128 ( pInputBuffer + processedLength + localasciirun + 32 ) ;
1398
- Vector128 < byte > block4 = AdvSimd . LoadVector128 ( pInputBuffer + processedLength + localasciirun + 48 ) ;
1399
- Vector128 < byte > or = AdvSimd . Or ( AdvSimd . Or ( block1 , block2 ) , AdvSimd . Or ( block3 , block4 ) ) ;
1400
- if ( AdvSimd . Arm64 . MaxAcross ( or ) . ToScalar ( ) > 127 )
1395
+ Vector128 < byte > block = AdvSimd . LoadVector128 ( pInputBuffer + processedLength + localasciirun ) ;
1396
+ if ( AdvSimd . Arm64 . MaxAcross ( Vector128 . AsUInt32 ( AdvSimd . And ( block , v80 ) ) ) . ToScalar ( ) != 0 )
1401
1397
{
1402
1398
break ;
1403
1399
}
You can’t perform that action at this time.
0 commit comments