]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - lib/libcompiler_rt/__sync_fetch_and_sub_4.c
MFC r363988:
[FreeBSD/stable/9.git] / lib / libcompiler_rt / __sync_fetch_and_sub_4.c
1 /* $FreeBSD$ */
2 #define NAME            __sync_fetch_and_sub_4
3 #define TYPE            uint32_t
4 #define FETCHADD(x, y)  atomic_fetchadd_32(x, -(y))
5
6 #include "__sync_fetch_and_op_n.h"