Skip to content

Conversation

@devreal
Copy link
Contributor

@devreal devreal commented May 28, 2025

Some architectures will align 128bit integer on 8B but require 16B alignment for 128bit CAS instructions and otherwise fall back to a lock-based atomicity model. By forcing 16bit alignment we can ensure that the variables are properly aligned and the fall-back is not triggered.

Thanks to Ulrich Weigand for the analysis and proposed fix in #10988 (comment).

Fixes #10988.

Some architectures will align 128bit integer on 8B but require 16B alignment
for 128bit CAS instructions and otherwise fall back to a lock-based
atomicity model. By forcing 16bit alignment we can ensure that the variables
are properly aligned and the fall-back is not triggered.

Thanks to Ulrich Weigand for the analysis and proposed fix in open-mpi#10988 (comment).

Signed-off-by: Joseph Schuchart <[email protected]>
@bosilca bosilca merged commit 77728ef into open-mpi:main May 28, 2025
15 checks passed
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.

opal_lifo test fails on s390x

2 participants