brintos

brintos / llvm-project-archived public Read only

0
0
Text · 765 B · 4f18dcf Raw
26 lines · plain
1//===-- sync_fetch_and_or_8.S - -------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements the __sync_fetch_and_or_8 function for the ARM10// architecture.11//12//===----------------------------------------------------------------------===//13 14#include "sync-ops.h"15 16#if __ARM_ARCH_PROFILE != 'M'17#define or_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI) \18    orr rD_LO, rN_LO, rM_LO ; \19    orr rD_HI, rN_HI, rM_HI20 21SYNC_OP_8(or_8)22#endif23 24NO_EXEC_STACK_DIRECTIVE25 26