Skip to content

v4.1.x: Powerpc atomics: Force usage of powerpc assembly.#8708

Merged
rajachan merged 1 commit intoopen-mpi:v4.1.xfrom
awlauria:ppc_atomics_v4.1.x
Mar 29, 2021
Merged

v4.1.x: Powerpc atomics: Force usage of powerpc assembly.#8708
rajachan merged 1 commit intoopen-mpi:v4.1.xfrom
awlauria:ppc_atomics_v4.1.x

Conversation

@awlauria
Copy link
Contributor

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 awlauria@us.ibm.com
(cherry picked from commit e3f3c5b)

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 <awlauria@us.ibm.com>
(cherry picked from commit e3f3c5b)
@jjhursey jjhursey added this to the v4.1.1 milestone Mar 26, 2021
@rajachan rajachan merged commit e092034 into open-mpi:v4.1.x Mar 29, 2021
@awlauria awlauria deleted the ppc_atomics_v4.1.x branch March 29, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants