You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
618 B
13 lines
618 B
6 months ago
|
diff -ruN openmp-14.0.0.src.orig/runtime/src/kmp_lock.cpp openmp-14.0.0.src/runtime/src/kmp_lock.cpp
|
||
|
--- a/openmp-14.0.0.src.orig/runtime/src/kmp_lock.cpp 2022-03-14 10:44:55.000000000 +0100
|
||
|
+++ b/openmp-14.0.0.src/runtime/src/kmp_lock.cpp 2022-04-22 10:58:26.736078432 +0200
|
||
|
@@ -2663,7 +2663,7 @@
|
||
|
}
|
||
|
|
||
|
// Truncated binary exponential backoff function
|
||
|
-void __kmp_spin_backoff(kmp_backoff_t *boff) {
|
||
|
+void __attribute__((optimize("O1"))) __kmp_spin_backoff(kmp_backoff_t *boff) {
|
||
|
// We could flatten this loop, but making it a nested loop gives better result
|
||
|
kmp_uint32 i;
|
||
|
for (i = boff->step; i > 0; i--) {
|