Lines Matching refs:matches
992 int matches[4] = {0}; in ZSTD_row_getSSEMask() local
998 matches[i] = _mm_movemask_epi8(equalMask); in ZSTD_row_getSSEMask()
1000 if (nbChunks == 1) return ZSTD_rotateRight_U16((U16)matches[0], head); in ZSTD_row_getSSEMask()
1001 if (nbChunks == 2) return ZSTD_rotateRight_U32((U32)matches[1] << 16 | (U32)matches[0], head); in ZSTD_row_getSSEMask()
1003 …return ZSTD_rotateRight_U64((U64)matches[3] << 48 | (U64)matches[2] << 32 | (U64)matches[1] << 16 … in ZSTD_row_getSSEMask()
1021 const U64 matches = vget_lane_u64(vreinterpret_u64_u8(res), 0); in ZSTD_row_getNEONMask() local
1022 return ZSTD_rotateRight_U64(matches, headGrouped) & 0x8888888888888888ull; in ZSTD_row_getNEONMask()
1034 const U64 matches = vget_lane_u64(vreinterpret_u64_u8(res), 0) ; in ZSTD_row_getNEONMask() local
1035 return ZSTD_rotateRight_U64(matches, headGrouped) & 0x5555555555555555ull; in ZSTD_row_getNEONMask()
1049 const U64 matches = vget_lane_u64(vreinterpret_u64_u8(t4), 0); in ZSTD_row_getNEONMask() local
1050 return ZSTD_rotateRight_U64(matches, headGrouped); in ZSTD_row_getNEONMask()
1088 ZSTD_VecMask matches = 0; in ZSTD_row_getMatchMask() local
1097 matches <<= chunkSize; in ZSTD_row_getMatchMask()
1098 matches |= (chunk * extractMagic) >> shiftAmount; in ZSTD_row_getMatchMask()
1108 matches <<= chunkSize; in ZSTD_row_getMatchMask()
1109 matches |= ((chunk >> 7) * extractMagic) >> shiftAmount; in ZSTD_row_getMatchMask()
1113 matches = ~matches; in ZSTD_row_getMatchMask()
1115 return ZSTD_rotateRight_U16((U16)matches, headGrouped); in ZSTD_row_getMatchMask()
1117 return ZSTD_rotateRight_U32((U32)matches, headGrouped); in ZSTD_row_getMatchMask()
1119 return ZSTD_rotateRight_U64((U64)matches, headGrouped); in ZSTD_row_getMatchMask()
1227 ZSTD_VecMask matches = ZSTD_row_getMatchMask(tagRow, (BYTE)tag, headGrouped, rowEntries); in ZSTD_RowFindBestMatch() local
1230 for (; (matches > 0) && (nbAttempts > 0); matches &= (matches - 1)) { in ZSTD_RowFindBestMatch()
1231 … U32 const matchPos = ((headGrouped + ZSTD_VecMask_next(matches)) / groupWidth) & rowMask; in ZSTD_RowFindBestMatch()
1299 … ZSTD_VecMask matches = ZSTD_row_getMatchMask(dmsTagRow, (BYTE)dmsTag, headGrouped, rowEntries); in ZSTD_RowFindBestMatch() local
1301 for (; (matches > 0) && (nbAttempts > 0); matches &= (matches - 1)) { in ZSTD_RowFindBestMatch()
1302 … U32 const matchPos = ((headGrouped + ZSTD_VecMask_next(matches)) / groupWidth) & rowMask; in ZSTD_RowFindBestMatch()