ARM: implement __sync_fetch_and_* operations
[blocksruntime.git] / lib / builtins / arm / sync_fetch_and_umax_8.S
blob7716cfe8290d844f466826da05299ff04de449c8
1 /*===-- sync_fetch_and_umax_8.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_umax_8 function for the ARM
11  * architecture.
12  *
13  *===----------------------------------------------------------------------===*/
15 #include "sync-ops.h"
17 #define umax_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI)         MINMAX_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI, hi)
19 SYNC_OP_8(umax_8)