Skip to content

Commit

Permalink
Update abismal.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavidsmith authored Jun 8, 2024
1 parent 2c91873 commit a75ed43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/abismal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,10 @@ check_hits(const uint32_t offset, const PackedRead::const_iterator read_st,
vector<uint32_t>::const_iterator start_idx, result_type &res) {
for (; start_idx != end_idx && !res.sure_ambig; ++start_idx) {
// GS: adds the next candidate to L1d cache while current is compared
#ifdef __SSE__
_mm_prefetch(&(*(genome_st + ((*(start_idx + 10) - offset) >> 4))),
_MM_HINT_T0);
#endif
const uint32_t the_pos = *start_idx - offset;
/* GS: the_pos & 15u tells if the position is a multiple of 16, in
* which case it is aligned with the genome. Otherwise we need to
Expand Down

0 comments on commit a75ed43

Please sign in to comment.