1 /*===-- sync_fetch_and_sub_8.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_sub_8 function for the ARM
13 *===----------------------------------------------------------------------===*/
17 #if __ARM_ARCH_PROFILE != 'M'
18 #define sub_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI) \
19 subs rD_LO, rN_LO, rM_LO ; \
20 sbc rD_HI, rN_HI, rM_HI