diff options
Diffstat (limited to 'biology/vsearch/files')
| -rw-r--r-- | biology/vsearch/files/patch-src_searchcore.cc | 22 | ||||
| -rw-r--r-- | biology/vsearch/files/patch-src_sintax.cc | 12 |
2 files changed, 17 insertions, 17 deletions
diff --git a/biology/vsearch/files/patch-src_searchcore.cc b/biology/vsearch/files/patch-src_searchcore.cc index 84870932c9fd..85894cf869e5 100644 --- a/biology/vsearch/files/patch-src_searchcore.cc +++ b/biology/vsearch/files/patch-src_searchcore.cc @@ -1,18 +1,18 @@ ---- src/searchcore.cc.orig 2024-09-26 10:48:55 UTC +--- src/searchcore.cc.orig 2025-10-05 12:35:57 UTC +++ src/searchcore.cc -@@ -239,9 +239,14 @@ auto search_topscores(struct searchinfo_s * si) -> voi - if (bitmap) +@@ -285,9 +285,14 @@ auto search_topscores(struct searchinfo_s * searchinfo + if (bitmap != nullptr) { #ifdef __x86_64__ -+ // Not sure how to enable ssse3 without enabling other -+ // non-portable features. -+ // This code is only used rarely, so disable ssse3 for now. -+ // It won't affect performance much on the whole. -+ // https://github.com/torognes/vsearch/pull/497 - if (ssse3_present) ++ // Not sure how to enable ssse3 without enabling other ++ // non-portable features. ++ // This code is only used rarely, so disable ssse3 for now. ++ // It won't affect performance much on the whole. ++ // https://github.com/torognes/vsearch/pull/497 + if (ssse3_present != 0) { -- increment_counters_from_bitmap_ssse3(si->kmers, -+ increment_counters_from_bitmap_sse2(si->kmers, +- increment_counters_from_bitmap_ssse3(searchinfo->kmers, ++ increment_counters_from_bitmap_sse2(searchinfo->kmers, bitmap, indexed_count); } else diff --git a/biology/vsearch/files/patch-src_sintax.cc b/biology/vsearch/files/patch-src_sintax.cc index c6cd9ec46abb..b5af8da42d6e 100644 --- a/biology/vsearch/files/patch-src_sintax.cc +++ b/biology/vsearch/files/patch-src_sintax.cc @@ -1,7 +1,7 @@ ---- src/sintax.cc.orig 2024-09-26 10:48:55 UTC +--- src/sintax.cc.orig 2025-10-05 12:34:38 UTC +++ src/sintax.cc -@@ -289,9 +289,14 @@ auto sintax_search_topscores(struct searchinfo_s * si) - if (bitmap) +@@ -295,9 +295,14 @@ auto sintax_search_topscores(struct searchinfo_s * sea + if (bitmap != nullptr) { #ifdef __x86_64__ + // Not sure how to enable ssse3 without enabling other @@ -9,10 +9,10 @@ + // This code is only used rarely, so disable ssse3 for now. + // It won't affect performance much on the whole. + // https://github.com/torognes/vsearch/pull/497 - if (ssse3_present) + if (ssse3_present != 0) { -- increment_counters_from_bitmap_ssse3(si->kmers, -+ increment_counters_from_bitmap_sse2(si->kmers, +- increment_counters_from_bitmap_ssse3(searchinfo->kmers, ++ increment_counters_from_bitmap_sse2(searchinfo->kmers, bitmap, indexed_count); } else |
