Skip to content

Commit

Permalink
[MISC] clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
seqan-actions committed Jan 30, 2023
1 parent 2904595 commit 2fb5449
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/seqan3/utility/parallel/detail/spin_delay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@ class spin_delay
#elif defined(__armel__) \
|| defined(__ARMEL__) // arm, but broken? ; repeat of default case as armel also defines __arm__
asm volatile("nop" ::: "memory"); // default operation - does nothing => Might lead to passive spinning.
#elif defined(__arm__) || defined(__aarch64__) // arm big endian / arm64
#elif defined(__arm__) || defined(__aarch64__) // arm big endian / arm64
__asm__ __volatile__("yield" ::: "memory");
#elif defined(__ia64__) // IA64
#elif defined(__ia64__) // IA64
__asm__ __volatile__("hint @pause");
#elif defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) || defined(__ppc64__) // PowerPC
#ifdef __APPLE__
# ifdef __APPLE__
__asm__ volatile("or r27,r27,r27" ::: "memory");
#else
# else
__asm__ __volatile__("or 27,27,27" ::: "memory");
#endif
#else // everything else.
# endif
#else // everything else.
asm volatile("nop" ::: "memory"); // default operation - does nothing => Might lead to passive spinning.
#endif
}
Expand Down

0 comments on commit 2fb5449

Please sign in to comment.