Package: seqan2 / 2.4.0+dfsg-11~bpo9+1

ia64_yield Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
From: Michael R. Crusoe <michael.crusoe@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