]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/lib/builtins/arm/sync_fetch_and_nand_8.S
New upstream version 1.19.0+dfsg3
[rustc.git] / src / compiler-rt / lib / builtins / arm / sync_fetch_and_nand_8.S
CommitLineData
1a4d82fc
JJ
1/*===-- sync_fetch_and_nand_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_nand_8 function for the ARM
11 * architecture.
12 *
13 *===----------------------------------------------------------------------===*/
14
15#include "sync-ops.h"
16
92a42be0 17#if __ARM_ARCH_PROFILE != 'M'
1a4d82fc
JJ
18#define nand_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI) \
19 bic rD_LO, rN_LO, rM_LO ; \
20 bic rD_HI, rN_HI, rM_HI
21
22SYNC_OP_8(nand_8)
92a42be0 23#endif
1a4d82fc 24
3157f602
XL
25NO_EXEC_STACK_DIRECTIVE
26