regressions/ck_pr/benchmark/ck_pr_cas_64_2.c
raw| 1 | #include <ck_pr.h> |
| 2 | |
| 3 | #ifdef CK_F_PR_CAS_64_2 |
| 4 | #define ATOMIC { uint64_t z[2] = {1, 2}; ck_pr_cas_64_2(object, z, z); } |
| 5 | #define ATOMIC_STRING "ck_pr_cas_64_2" |
| 6 | #include "benchmark.h" |
| 7 | #else |
| 8 | #include <stdio.h> |
| 9 | #include <stdlib.h> |
| 10 | |
| 11 | int |
| 12 | main(void) |
| 13 | { |
| 14 | fprintf(stderr, "Unsupported.\n"); |
| 15 | return 0; |
| 16 | } |
| 17 | #endif |