We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ab8067 commit 3c8e050Copy full SHA for 3c8e050
test/threadstest.c
@@ -350,6 +350,13 @@ static void writer_fn(int id, int *iterations)
350
break;
351
} else
352
#endif
353
+ #ifdef __powerpc64__
354
+ extern unsigned int OPENSSL_ppccap_P;
355
+ if (contention != 0 && OPENSSL_ppccap_P == 0xbe) {
356
+ if ((ossl_time2seconds(t2) - ossl_time2seconds(t1)) >= 4000)
357
+ break;
358
+ } else
359
+ #endif
360
if ((ossl_time2seconds(t2) - ossl_time2seconds(t1)) >= 4)
361
362
}
0 commit comments