[med-svn] [Git][med-team/last-align][simde] patch from upstream simde

Michael R. Crusoe gitlab at salsa.debian.org
Wed Dec 18 08:15:18 GMT 2019



Michael R. Crusoe pushed to branch simde at Debian Med / last-align


Commits:
36ded0b8 by Michael R. Crusoe at 2019-12-18T08:11:31Z
patch from upstream simde

- - - - -


2 changed files:

- debian/include/simde/simde-common.h
- debian/patches/simde


Changes:

=====================================
debian/include/simde/simde-common.h
=====================================
@@ -62,10 +62,10 @@
 #  define SIMDE_CAST_ALIGN(alignment, T, v) \
     HEDLEY_DIAGNOSTIC_PUSH \
     _Pragma("clang diagnostic ignored \"-Wcast-align\"") \
-    HEDLEY_STATIC_CAST(T, v) \
+    ((T) (v)) \
     HEDLEY_DIAGNOSTIC_POP
 #else
-#  define SIMDE_CAST_ALIGN(alignment, T, v) HEDLEY_STATIC_CAST(T, v)
+#  define SIMDE_CAST_ALIGN(alignment, T, v) ((T) (v))
 #endif
 
 #if HEDLEY_GCC_HAS_ATTRIBUTE(vector_size,4,6,0)


=====================================
debian/patches/simde
=====================================
@@ -5,7 +5,7 @@
  #define MCF_SIMD_HH
  
 -#include <immintrin.h>
-+#include "debian/include/simde/x86/avx2.h"
++#include "../debian/include/simde/x86/avx2.h"
  
  namespace mcf {
  
@@ -144,3 +144,45 @@
  }
  
  #endif
+--- last-align.orig/src/GappedXdropAligner.cc
++++ last-align/src/GappedXdropAligner.cc
+@@ -167,18 +167,13 @@
+     if (isAffine) {
+       for (int i = 0; i < numCells; i += simdLen) {
+ 	SimdInt s = simdSet(
+-#ifdef __SSE4_1__
+-//#ifdef __AVX2__
+-#ifdef WANT_AVX2
+ 			    s1[7][s2[-7]],
+ 			    s1[6][s2[-6]],
+ 			    s1[5][s2[-5]],
+ 			    s1[4][s2[-4]],
+-#endif
+ 			    s1[3][s2[-3]],
+ 			    s1[2][s2[-2]],
+ 			    s1[1][s2[-1]],
+-#endif
+ 			    s1[0][s2[-0]]);
+ 	SimdInt x = simdLoad(x2+i);
+ 	SimdInt y = simdSub(simdLoad(y1+i), mDelGrowCost);
+--- last-align.orig/src/GappedXdropAlignerPssm.cc
++++ last-align/src/GappedXdropAlignerPssm.cc
+@@ -101,18 +101,13 @@
+     if (isAffine) {
+       for (int i = 0; i < numCells; i += simdLen) {
+ 	SimdInt s = simdSet(
+-#ifdef __SSE4_1__
+-//#ifdef __AVX2__
+-#ifdef WANT_AVX2
+ 			    s2[-7][s1[7]],
+ 			    s2[-6][s1[6]],
+ 			    s2[-5][s1[5]],
+ 			    s2[-4][s1[4]],
+-#endif
+ 			    s2[-3][s1[3]],
+ 			    s2[-2][s1[2]],
+ 			    s2[-1][s1[1]],
+-#endif
+ 			    s2[-0][s1[0]]);
+ 	SimdInt x = simdLoad(x2+i);
+ 	SimdInt y = simdSub(simdLoad(y1+i), mDelGrowCost);



View it on GitLab: https://salsa.debian.org/med-team/last-align/commit/36ded0b84897a3aecf71494d38e9a2ef5067a7d9

-- 
View it on GitLab: https://salsa.debian.org/med-team/last-align/commit/36ded0b84897a3aecf71494d38e9a2ef5067a7d9
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/20191218/7ceb2f3b/attachment-0001.html>


More information about the debian-med-commit mailing list