Skip to content

Commit

Permalink
fixed the wrong operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengyao Zhao committed Apr 12, 2023
1 parent 88e5664 commit 543ee07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ssw.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ static alignment_end* sw_sse2_byte (const int8_t* ref,
_mm_store_si128(pvHStore + j, vH);
vH = _mm_subs_epu8(vH, vGapO);
vF = _mm_subs_epu8(vF, vGapE);
if (UNLIKELY(! _mm_movemask_epi8(_mm_cmpgt_epi8(vF, vH)))) goto end;
vTemp = _mm_subs_epu8(vF, vH);
vTemp = _mm_cmpeq_epi8 (vTemp, vZero);
if (UNLIKELY(_mm_movemask_epi8(vTemp) == 0xffff)) goto end;
}
}

Expand Down

0 comments on commit 543ee07

Please sign in to comment.