diff options
Diffstat (limited to 'lib/libcompiler_rt/__sync_fetch_and_add_8.c')
-rw-r--r-- | lib/libcompiler_rt/__sync_fetch_and_add_8.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/__sync_fetch_and_add_8.c b/lib/libcompiler_rt/__sync_fetch_and_add_8.c new file mode 100644 index 0000000..6157c15 --- /dev/null +++ b/lib/libcompiler_rt/__sync_fetch_and_add_8.c @@ -0,0 +1,6 @@ +/* $FreeBSD$ */ +#define NAME __sync_fetch_and_add_8 +#define TYPE uint64_t +#define FETCHADD(x, y) atomic_fetchadd_64(x, y) + +#include "__sync_fetch_and_op_n.h" |