diff options
Diffstat (limited to 'lib/libcompiler_rt/__sync_fetch_and_xor_4.c')
-rw-r--r-- | lib/libcompiler_rt/__sync_fetch_and_xor_4.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/__sync_fetch_and_xor_4.c b/lib/libcompiler_rt/__sync_fetch_and_xor_4.c new file mode 100644 index 0000000..d5f732d --- /dev/null +++ b/lib/libcompiler_rt/__sync_fetch_and_xor_4.c @@ -0,0 +1,7 @@ +/* $FreeBSD$ */ +#define NAME __sync_fetch_and_xor_4 +#define TYPE uint32_t +#define CMPSET atomic_cmpset_32 +#define EXPRESSION t ^ value + +#include "__sync_fetch_and_op_n.h" |