brintos

brintos / llvm-project-archived public Read only

0
0
Text · 768 B · 7436eb1 Raw
26 lines · plain
1//===-- sync_fetch_and_xor_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_xor_8 function for the ARM10// architecture.11//12//===----------------------------------------------------------------------===//13 14#include "sync-ops.h"15 16#if __ARM_ARCH_PROFILE != 'M'17#define xor_8(rD_LO, rD_HI, rN_LO, rN_HI, rM_LO, rM_HI) \18    eor rD_LO, rN_LO, rM_LO ; \19    eor rD_HI, rN_HI, rM_HI20 21SYNC_OP_8(xor_8)22#endif23 24NO_EXEC_STACK_DIRECTIVE25 26