Since these are primarily useful for deeply embedded targets where code size is very important, they are each in a separate file making use of infrastructure in sync-ops.h. This allows a linker to include just the functions that are actually used. rdar://problem/14736665 llvm-svn: 202812
21 lines
620 B
ArmAsm
21 lines
620 B
ArmAsm
/*===-- sync_fetch_and_nand_4.S - -----------------------------------------===//
|
|
*
|
|
* The LLVM Compiler Infrastructure
|
|
*
|
|
* This file is dual licensed under the MIT and the University of Illinois Open
|
|
* Source Licenses. See LICENSE.TXT for details.
|
|
*
|
|
*===----------------------------------------------------------------------===//
|
|
*
|
|
* This file implements the __sync_fetch_and_nand_4 function for the ARM
|
|
* architecture.
|
|
*
|
|
*===----------------------------------------------------------------------===*/
|
|
|
|
#include "sync-ops.h"
|
|
|
|
#define nand_4(rD, rN, rM) bic rD, rN, rM
|
|
|
|
SYNC_OP_4(nand_4)
|
|
|