Skip to content

v5.0.x: Powerpc atomics: Force usage of powerpc assembly. #8710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 29, 2021

Conversation

awlauria
Copy link
Contributor

No description provided.

The builtins used by default on Power have been
shown to perform poorly. For the time being, force
all compilers to use the inline assembly until
atomic builtins catch-up.

This changes the defaults for all compilers sans xl, including:
gcc, clang, and pgi to use the assembly.

Previously, all of the above were using C11 or
the gcc builtins.

Bonus:
Add a configure flag to force Power machines to use
the builtins/C11, depending on what is available. This
will make future testing easier.

Signed-off-by: Austen Lauria <[email protected]>
(cherry picked from commit e3f3c5b)
Signed-off-by: Austen Lauria <[email protected]>
(cherry picked from commit f85e421)
Similar to class/opal_lifo/fifo, but more granular to get a better
idea of what is going on. Code was borrowed from those tests to make
this one.

Signed-off-by: Austen Lauria <[email protected]>
(cherry picked from commit 136213d)
@jjhursey jjhursey added this to the v5.0.0 milestone Mar 26, 2021
@gpaulsen gpaulsen merged commit a80705a into open-mpi:v5.0.x Mar 29, 2021
@awlauria awlauria deleted the ppc_atomics_v5.0.x branch July 19, 2021 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants