Page MenuHomePhabricator

AArch64: use `CAS` instead of `LDX`/`STX` for more ops if available
Needs ReviewPublic

Authored by t.p.northover on Sep 20 2021, 6:27 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This covers 128-bit loads, and atomicrmw operations without a single native instruction. Using CAS saves a bit of code size and has a better chance of succeeding with high contention on some systems.

Diff Detail