Skip to content
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
1 change: 1 addition & 0 deletions druntime/src/core/internal/atomic.d
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ version (AArch64)
{
/* These functions are all stubbed out. They await someone who knows what
they are doing with AArch64 atomics.
TODO AArch64
*/
enum IsAtomicLockFree(T) = T.sizeof <= size_t.sizeof * 2;

Expand Down
4 changes: 2 additions & 2 deletions druntime/src/core/thread/osthread.d
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,7 @@ in (fn)
mov [sp], sp;
*/
}
assert(0, "implement AArch64 inline assembler for callWithStackShell()");
assert(0, "implement AArch64 inline assembler for callWithStackShell()"); // TODO AArch64
}
else
{
Expand Down Expand Up @@ -1600,7 +1600,7 @@ private extern(D) void* getStackTop() nothrow @nogc
else version (D_InlineAsm_X86_64)
asm pure nothrow @nogc { naked; mov RAX, RSP; ret; }
else version (AArch64)
asm pure nothrow @nogc { naked; mov x0, SP; ret; }
asm pure nothrow @nogc { naked; mov x0, SP; ret; } // TODO AArch64
else version (GNU)
return __builtin_frame_address(0);
else
Expand Down
Loading