[med-svn] [Git][med-team/seqan2][master] Fix thread wait assembly for IA64.

Michael R. Crusoe gitlab at salsa.debian.org
Wed Jan 2 12:29:12 GMT 2019


Michael R. Crusoe pushed to branch master at Debian Med / seqan2


Commits:
aebeb222 by Michael R. Crusoe at 2019-01-02T12:28:56Z
Fix thread wait assembly for IA64.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/ia64_yield
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+seqan2 (2.4.0+dfsg-10) UNRELEASED; urgency=medium
+
+  * debian/patches/ia64_yield: Fix thread wait assembly for IA64.
+    Closes: #890185
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Wed, 02 Jan 2019 03:47:37 -0800
+
 seqan2 (2.4.0+dfsg-9) unstable; urgency=medium
 
   [ Michael R. Crusoe ]


=====================================
debian/patches/ia64_yield
=====================================
@@ -0,0 +1,13 @@
+From: Michael R. Crusoe <michael.crusoe at gmail.com>
+Subject: Fix thread wait for IA64
+--- seqan2.orig/include/seqan/parallel/parallel_lock.h
++++ seqan2/include/seqan/parallel/parallel_lock.h
+@@ -233,6 +233,8 @@
+     __asm__ __volatile__ ("or 27,27,27" ::: "memory");
+ #elif defined(__SSE2__)  // AMD and Intel
+     _mm_pause();
++#elif defined(__ia64__)  // IA64
++    __asm__ __volatile__ ("hint @pause");
+ #else  // everything else.
+     asm volatile ("nop" ::: "memory");  // default operation - does nothing => Might lead to passive spinning.
+ #endif


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@ install_fiona_illumina
 ctdVersion.patch
 fix_manpage_formatting.patch
 no-unaligned-access.patch
+ia64_yield



View it on GitLab: https://salsa.debian.org/med-team/seqan2/commit/aebeb22264f6219e76473967cc5caa131aac65e6

-- 
View it on GitLab: https://salsa.debian.org/med-team/seqan2/commit/aebeb22264f6219e76473967cc5caa131aac65e6
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/20190102/c930abaf/attachment.html>


More information about the debian-med-commit mailing list