mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-07 14:08:11 +08:00
r523: fixed a performance bug in ksw2_ll
Wont' affect accuracy.
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ int ksw_ll_i16(void *q_, int tlen, const uint8_t *target, int _gapo, int _gape,
|
|||||||
f = _mm_max_epi16(f, h);
|
f = _mm_max_epi16(f, h);
|
||||||
h = _mm_load_si128(H0 + j);
|
h = _mm_load_si128(H0 + j);
|
||||||
}
|
}
|
||||||
for (k = 0; LIKELY(k < 16); ++k) {
|
for (k = 0; LIKELY(k < 8); ++k) {
|
||||||
f = _mm_slli_si128(f, 2);
|
f = _mm_slli_si128(f, 2);
|
||||||
for (j = 0; LIKELY(j < slen); ++j) {
|
for (j = 0; LIKELY(j < slen); ++j) {
|
||||||
h = _mm_load_si128(H1 + j);
|
h = _mm_load_si128(H1 + j);
|
||||||
|
|||||||
Reference in New Issue
Block a user