gmax = imax; te = i;
for (j = 0; LIKELY(j < slen); ++j)
_mm_store_si128(Hmax + j, _mm_load_si128(H1 + j));
- if (gmax == endsc) break;
+ if (gmax >= endsc) break;
}
S = H1; H1 = H0; H0 = S;
}
* KSW_XSUBO: track the 2nd best score and the ending position on the
* target if the 2nd best is higher than (xtra&0xffff)
*
- * KSW_XSTOP: stop if the maximum score is above (xtra&0xffff). End
- * users usually do not need to use this flag.
+ * KSW_XSTOP: stop if the maximum score is above (xtra&0xffff)
*
* KSW_XSTART: find the start positions
*