Skip to content

s390x: Add support for atomic operations (part 1)#2988

Merged
cfallin merged 1 commit into
bytecodealliance:mainfrom
uweigand:s390x-atomic-part1
Jun 15, 2021
Merged

s390x: Add support for atomic operations (part 1)#2988
cfallin merged 1 commit into
bytecodealliance:mainfrom
uweigand:s390x-atomic-part1

Conversation

@uweigand
Copy link
Copy Markdown
Member

This adds full back-end support for the Fence, AtomicLoad
and AtomicStore operations, and partial support for the
AtomicCas and AtomicRmw operations.

The missing pieces include sub-word operations, operations
on little-endian memory requiring byte-swapping, and some
of the subtypes of AtomicRmw -- everything that cannot be
implemented without a compare-and-swap loop. This will be
done in a follow-up patch.

This patch already suffices to make the test suite green
again after a recent change that now requires atomic
operations when accessing the heap.

This adds full back-end support for the Fence, AtomicLoad
and AtomicStore operations, and partial support for the
AtomicCas and AtomicRmw operations.

The missing pieces include sub-word operations, operations
on little-endian memory requiring byte-swapping, and some
of the subtypes of AtomicRmw -- everything that cannot be
implemented without a compare-and-swap loop.  This will be
done in a follow-up patch.

This patch already suffices to make the test suite green
again after a recent change that now requires atomic
operations when accessing the heap.
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Jun 15, 2021
@uweigand
Copy link
Copy Markdown
Member Author

FYI @cfallin - as discussed in our call yesterday.

Copy link
Copy Markdown
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cfallin cfallin merged commit 53006ef into bytecodealliance:main Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants