New routines should be used for atomics like "<int>OP=<float>" when <int> is unsigned. Using functions __kmpc_atomic_fixed<bits>_<op>_fp) produces incorrect results.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D24756
Mixed type atomic routines for unsigned integers. ClosedPublic Authored by omalyshe on Sep 20 2016, 2:48 AM.
Details Summary New routines should be used for atomics like "<int>OP=<float>" when <int> is unsigned. Using functions __kmpc_atomic_fixed<bits>_<op>_fp) produces incorrect results.
Diff Detail
Event Timelineomalyshe updated this object. This revision is now accepted and ready to land.Sep 27 2016, 8:17 AM Closed by commit rL282509: Mixed type atomic routines for unsigned integers. (authored by jlpeyton). · Explain WhySep 27 2016, 10:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 71908 runtime/src/kmp_atomic.h
runtime/src/kmp_atomic.c
|