]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/builtins/arm/sync_fetch_and_sub_4.S
Update compiler-rt to trunk r224034. This brings a number of new
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / builtins / arm / sync_fetch_and_sub_4.S
1 /*===-- sync_fetch_and_sub_4.S - ------------------------------------------===//
2  *
3  *                     The LLVM Compiler Infrastructure
4  *
5  * This file is dual licensed under the MIT and the University of Illinois Open
6  * Source Licenses. See LICENSE.TXT for details.
7  *
8  *===----------------------------------------------------------------------===//
9  *
10  * This file implements the __sync_fetch_and_sub_4 function for the ARM
11  * architecture.
12  *
13  *===----------------------------------------------------------------------===*/
14
15 #include "sync-ops.h"
16
17 /* "subs" is 2 bytes shorter than "sub". */
18 #define sub_4(rD, rN, rM)  sub rD, rN, rM
19
20 SYNC_OP_4(sub_4)
21