summaryrefslogtreecommitdiffstats
path: root/regressions/ck_pr/benchmark/ck_pr_fas_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'regressions/ck_pr/benchmark/ck_pr_fas_64.c')
-rw-r--r--regressions/ck_pr/benchmark/ck_pr_fas_64.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/regressions/ck_pr/benchmark/ck_pr_fas_64.c b/regressions/ck_pr/benchmark/ck_pr_fas_64.c
new file mode 100644
index 0000000..facd759
--- /dev/null
+++ b/regressions/ck_pr/benchmark/ck_pr_fas_64.c
@@ -0,0 +1,17 @@
+#include <ck_pr.h>
+
+#ifdef CK_F_PR_FAS_64
+#define ATOMIC ck_pr_fas_64(object, 1)
+#define ATOMIC_STRING "ck_pr_fas_64"
+#include "benchmark.h"
+#else
+#warning Did not find FAS_64 implementation.
+#include <stdlib.h>
+
+int
+main(void)
+{
+
+ return 0;
+}
+#endif