Adding upstream version 0.6.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c49a9029dc
commit
7f70a05c55
465 changed files with 60158 additions and 0 deletions
17
regressions/ck_pr/benchmark/ck_pr_cas_64_2.c
Normal file
17
regressions/ck_pr/benchmark/ck_pr_cas_64_2.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include <ck_pr.h>
|
||||
|
||||
#ifdef CK_F_PR_CAS_64_2
|
||||
#define ATOMIC { uint64_t z[2] = {1, 2}; ck_pr_cas_64_2(object, z, z); }
|
||||
#define ATOMIC_STRING "ck_pr_cas_64_2"
|
||||
#include "benchmark.h"
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
fprintf(stderr, "Unsupported.\n");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue