summarylogtreecommitdiffstats
path: root/ldadd_swp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldadd_swp.c')
-rw-r--r--ldadd_swp.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ldadd_swp.c b/ldadd_swp.c
deleted file mode 100644
index d664837d0d8d..000000000000
--- a/ldadd_swp.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdint.h>
-
-__attribute__((target("no-outline-atomics")))
-int32_t __aarch64_ldadd4_acq_rel(int32_t value, int32_t *ptr)
-{
- return __atomic_fetch_add(ptr, value, __ATOMIC_ACQ_REL);
-}
-
-__attribute__((target("no-outline-atomics")))
-int32_t __aarch64_swp4_acq_rel(int32_t value, int32_t *ptr)
-{
- return __atomic_exchange_n(ptr, value, __ATOMIC_ACQ_REL);
-}