This is an archive of the discontinued LLVM Phabricator instance.

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

Repository
rL LLVM

Event Timeline

omalyshe updated this revision to Diff 71908.Sep 20 2016, 2:48 AM
omalyshe retitled this revision from to Mixed type atomic routines for unsigned integers..
omalyshe updated this object.
omalyshe set the repository for this revision to rL LLVM.
omalyshe added a subscriber: openmp-commits.
tlwilmar accepted this revision.Sep 27 2016, 8:17 AM
tlwilmar edited edge metadata.

LGTM

This revision is now accepted and ready to land.Sep 27 2016, 8:17 AM
jlpeyton accepted this revision.Sep 27 2016, 10:12 AM
jlpeyton edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.