1 /*===-- sync_fetch_and_add_4.S - ------------------------------------------===//
3 * The LLVM Compiler Infrastructure
5 * This file is dual licensed under the MIT and the University of Illinois Open
6 * Source Licenses. See LICENSE.TXT for details.
8 *===----------------------------------------------------------------------===//
10 * This file implements the __sync_fetch_and_add_4 function for the ARM
13 *===----------------------------------------------------------------------===*/
17 /* "adds" is 2 bytes shorter than "add". */
18 #define add_4(rD, rN, rM) add rD, rN, rM
22 NO_EXEC_STACK_DIRECTIVE