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

followup PR on updating LockFreeQueue/LockFreeStack tests; also update doc for modules to indicate not x86 exclusive #25413

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions modules/packages/LockFreeQueue.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@

- It relies on Chapel ``extern`` code blocks and so requires that
the Chapel compiler is built with LLVM enabled.
- Currently only ``CHPL_TARGET_ARCH=x86_64`` is supported as it uses
the x86-64 instruction: CMPXCHG16B_.
- The implementation relies on ``GCC`` style inline assembly, and so
is restricted to a ``CHPL_TARGET_COMPILER`` value of ``gnu``,
``clang``, or ``llvm``.

.. _CMPXCHG16B: https://www.felixcloutier.com/x86/cmpxchg8b:cmpxchg16b
- The implementation relies on using either ``GCC`` style inline assembly
(for x86-64) or a GCC/clang builtin, and so is restricted to a
``CHPL_TARGET_COMPILER`` value of ``gnu``, ``clang``, or ``llvm``.

An implementation of the Michael & Scott [#]_, a lock-free queue. Concurrent safe
memory reclamation is handled by an internal :record:`EpochManager`. Usage of the
Expand Down
10 changes: 3 additions & 7 deletions modules/packages/LockFreeStack.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@

- It relies on Chapel ``extern`` code blocks and so requires that
the Chapel compiler is built with LLVM enabled.
- Currently only ``CHPL_TARGET_ARCH=x86_64`` is supported as it uses
the x86-64 instruction: CMPXCHG16B_.
- The implementation relies on ``GCC`` style inline assembly, and so
is restricted to a ``CHPL_TARGET_COMPILER`` value of ``gnu``,
``clang``, or ``llvm``.

.. _CMPXCHG16B: https://www.felixcloutier.com/x86/cmpxchg8b:cmpxchg16b
- The implementation relies on using either ``GCC`` style inline assembly
(for x86-64) or a GCC/clang builtin, and so is restricted to a
``CHPL_TARGET_COMPILER`` value of ``gnu``, ``clang``, or ``llvm``.

An implementation of the Treiber Stack [#]_, a lock-free stack. Concurrent safe
memory reclamation is handled by an internal :record:`EpochManager`. Usage of the
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion test/library/packages/LockFreeQueue/interleavedTest.future

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion test/library/packages/LockFreeStack/interleavedTest.future

This file was deleted.

Loading