[Openmp-commits] [PATCH] D110109: [OpenMP] libomp: add atomic functions for new OpenMP 5.1 atomics.
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Sep 20 14:51:34 PDT 2021
AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: hbae, jlpeyton, tlwilmar, Nawrin.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
AndreyChurbanov requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Added functions those implement "atomic compare".
Though clang does not use library interfaces to implement OpenMP atomics,
the functions added for consistency.
Also added missed functions for 80-bit floating min/max atomics.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110109
Files:
openmp/runtime/src/dllexports
openmp/runtime/src/kmp_atomic.cpp
openmp/runtime/src/kmp_atomic.h
openmp/runtime/test/atomic/kmp_atomic_cas.c
openmp/runtime/test/atomic/kmp_atomic_cas_cpt.c
openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110109.373717.patch
Type: text/x-patch
Size: 32965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210920/e78d15b6/attachment-0001.bin>
More information about the Openmp-commits
mailing list