Skip to content

<atomic>: make compare_exchange_weak really weak on ARM64 #775

Description

From #694 (comment):

LL/SC machines are the motivation for compare_exchange_weak existing in the C++ standard. Other compilers like GCC and clang know the difference and emit non-looping code for CAS_weak.

Apparently it cannot be done without compiler support by having more ARM intrinsics exposed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARM64Related to the ARM64 architectureblockedSomething is preventing work on thisperformanceMust go faster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions