ARM: implement __sync_fetch_and_* operations
[blocksruntime.git] / lib / builtins / arm / sync_fetch_and_min_4.S
blob015626b63da593635d182d6dec6d48eb4a9b0d2d
1 /*===-- sync_fetch_and_min_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_min_4 function for the ARM
11  * architecture.
12  *
13  *===----------------------------------------------------------------------===*/
15 #include "sync-ops.h"
17 #define min_4(rD, rN, rM) MINMAX_4(rD, rN, rM, lt)
19 SYNC_OP_4(min_4)