brintos

brintos / llvm-project-archived public Read only

0
0
Text · 696 B · 0d55975 Raw
23 lines · plain
1//===-- sync_fetch_and_add_4.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_add_4 function for the ARM10// architecture.11//12//===----------------------------------------------------------------------===//13 14#include "sync-ops.h"15 16// "adds" is 2 bytes shorter than "add".17#define add_4(rD, rN, rM)  add rD, rN, rM18 19SYNC_OP_4(add_4)20 21NO_EXEC_STACK_DIRECTIVE22 23