summaryrefslogtreecommitdiffstats
path: root/regressions/ck_pr/benchmark/ck_pr_cas_64_2.c
blob: e959b39b2c5f3b750884a81d1f9e7df357470775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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