[all-commits] [llvm/llvm-project] 621d7a: [OpenMP] libomp: add atomic functions for new Open...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Wed Oct 13 11:02:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 621d7a75b16dd2e00fe4acc6c1e2c33d91114d96
      https://github.com/llvm/llvm-project/commit/621d7a75b16dd2e00fe4acc6c1e2c33d91114d96
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M openmp/runtime/src/dllexports
    M openmp/runtime/src/kmp_atomic.cpp
    M openmp/runtime/src/kmp_atomic.h
    A openmp/runtime/test/atomic/kmp_atomic_cas.c
    A openmp/runtime/test/atomic/kmp_atomic_cas_cpt.c
    A openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c

  Log Message:
  -----------
  [OpenMP] libomp: add atomic functions for new OpenMP 5.1 atomics.

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.

Differential Revision: https://reviews.llvm.org/D110109




More information about the All-commits mailing list