[med-svn] [Git][med-team/bowtie2][master] 2 commits: simde patch: adjust to introduction of AVX2 support.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Nov 5 16:19:14 GMT 2022



Étienne Mollier pushed to branch master at Debian Med / bowtie2


Commits:
0bc4f21f by Étienne Mollier at 2022-11-05T17:17:48+01:00
simde patch: adjust to introduction of AVX2 support.

- - - - -
31ccf03a by Étienne Mollier at 2022-11-05T17:18:49+01:00
update changelog.

- - - - -


2 changed files:

- debian/changelog
- debian/patches/simde


Changes:

=====================================
debian/changelog
=====================================
@@ -1,13 +1,18 @@
 bowtie2 (2.5.0-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * No salsa-ci for i386
   * Use proper download file name
   * New upstream version
   * Standards-Version: 4.6.1 (routine-update)
   * Use secure URI in Homepage field.
   * Set upstream metadata fields: Bug-Database.
+  * Update patches
+
+  [ Étienne Mollier ]
+  * simde patch: adjust to introduction of AVX2 support.
 
- -- Andreas Tille <tille at debian.org>  Fri, 04 Nov 2022 19:56:13 +0100
+ -- Étienne Mollier <emollier at debian.org>  Sat, 05 Nov 2022 17:18:33 +0100
 
 bowtie2 (2.4.5-1) unstable; urgency=medium
 


=====================================
debian/patches/simde
=====================================
@@ -1,10 +1,24 @@
 Author: Michael R. Crusoe <michael.crusoe at gmail.com>
 Description: Enable SIMDE everywhere
 
---- a/sse_wrap.h
-+++ b/sse_wrap.h
-@@ -112,44 +112,12 @@ typedef __m256i SSERegI;
+--- bowtie2.orig/sse_wrap.h
++++ bowtie2/sse_wrap.h
+@@ -27,8 +27,9 @@
+ #ifndef SSE_WRAP_H_
+ #define SSE_WRAP_H_
  
++#define SIMDE_ENABLE_NATIVE_ALIASES
+ #ifdef SSE_AVX2
+-#include <immintrin.h>
++#include <simde/x86/avx2.h>
+ #define NBYTES_PER_REG 32
+ #define BYTES_LOG2_PER_REG 5
+ #define SSE_MASK_ALL ((int) 0xffffffff)
+@@ -109,49 +110,13 @@
+ 		outval = outval & 0x00ff; \
+ }
+ 
+-
  #else /* no SSE_AVX2 */
  
 -#if defined(__aarch64__) || defined(__s390x__) || defined(__powerpc__)
@@ -13,6 +27,7 @@ Description: Enable SIMDE everywhere
 -#include <emmintrin.h>
 -#endif
 -
++#include <simde/x86/sse2.h>
  #define NBYTES_PER_REG 16
  #define BYTES_LOG2_PER_REG 4
  #define SSE_MASK_ALL 0xffff
@@ -45,8 +60,17 @@ Description: Enable SIMDE everywhere
 -#define sse_subs_epu8(x, y) simde_mm_subs_epu8(x, y)
 -#define sse_xor_siall(x, y) simde_mm_xor_si128(x, y)
 -#define sse_set1_epi16(x) simde_mm_set1_epi16(x)
-+#define SIMDE_ENABLE_NATIVE_ALIASES
-+#include <simde/x86/sse2.h>
- 
- #else
+-
+-#else
  typedef __m128i SSERegI;
+ #define sse_adds_epi16(x, y) _mm_adds_epi16(x, y)
+ #define sse_adds_epu8(x, y) _mm_adds_epu8(x, y)
+@@ -180,8 +145,6 @@
+ #define sse_xor_siall(x, y) _mm_xor_si128(x, y)
+ #define sse_set1_epi16(x) _mm_set1_epi16(x)
+ 
+-#endif
+-
+ /* compute the max val of a vector */
+ #define sse_max_score_i16(inval, outval) { \
+ 		SSERegI vlmax = inval; \



View it on GitLab: https://salsa.debian.org/med-team/bowtie2/-/compare/f90758ae2ac89e8a02573fac45062a524a5ea5c0...31ccf03af11e0edc1a265ca3f902df3ab99515ae

-- 
View it on GitLab: https://salsa.debian.org/med-team/bowtie2/-/compare/f90758ae2ac89e8a02573fac45062a524a5ea5c0...31ccf03af11e0edc1a265ca3f902df3ab99515ae
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221105/a9753467/attachment-0001.htm>


More information about the debian-med-commit mailing list