Skip to content

stub out atomic functions for AArch64#22728

Merged
thewilsonator merged 1 commit intodlang:masterfrom
WalterBright:atomicAArch64
Mar 13, 2026
Merged

stub out atomic functions for AArch64#22728
thewilsonator merged 1 commit intodlang:masterfrom
WalterBright:atomicAArch64

Conversation

@WalterBright
Copy link
Member

This is to just get things to compile. Help from someone who knows AArch64 atomics would be most appreciated!

@WalterBright WalterBright added the Arch:Aarch64 Issues specific to Arm 64 label Mar 13, 2026
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#22728"

bool atomicCompareExchangeStrongNoResult(MemoryOrder succ = MemoryOrder.seq, MemoryOrder fail = MemoryOrder.seq, T)(T* dest, const T compare, T value) pure nothrow @nogc @trusted
if (CanCAS!T)
{
return true;
Copy link
Contributor

Choose a reason for hiding this comment

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

See atomicCompareExchangeStrong without the follow up comment about result.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@WalterBright WalterBright force-pushed the atomicAArch64 branch 2 times, most recently from 9132c34 to d003995 Compare March 13, 2026 06:29
@thewilsonator thewilsonator merged commit 6cfa1d1 into dlang:master Mar 13, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch:Aarch64 Issues specific to Arm 64

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants