Skip to content
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

powerpc64: Support outline-atomics for 128-bit atomics #90

Merged
merged 1 commit into from
Apr 29, 2023

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Apr 1, 2023

Support native 128-bit atomics using dynamic detection on big-endian powerpc64 that supports CPUs older than pwr8 by default.

Run-time detection is currently supported on Linux and FreeBSD. I also have an implementation for AIX, but skip it for now as I don't yet have an environment where I can run tests. EDIT: opened #102

This is currently disabled by default mainly for compatibility with older versions of operating systems (can be enabled by --cfg portable_atomic_outline_atomics).

@taiki-e taiki-e added the O-powerpc Target: PowerPC processors label Apr 1, 2023
@taiki-e taiki-e force-pushed the powerpc64-detect branch 5 times, most recently from 68a98e7 to 295c1e1 Compare April 5, 2023 13:52
@taiki-e taiki-e changed the title powerpc64: Support outline-atomics powerpc64: Support outline-atomics for 128-bit atomics Apr 5, 2023
@taiki-e taiki-e force-pushed the powerpc64-detect branch 4 times, most recently from 4dbb6d1 to 25821db Compare April 21, 2023 18:26
@taiki-e taiki-e marked this pull request as ready for review April 21, 2023 18:37
@taiki-e taiki-e force-pushed the powerpc64-detect branch 10 times, most recently from 803857e to 30e2b84 Compare April 29, 2023 14:40
This is currently disabled by default mainly for compatibility with
older versions of operating systems
(can be enabled by `--cfg portable_atomic_outline_atomics`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-powerpc Target: PowerPC processors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant