mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-24 08:33:14 +01:00
Added X86-64 versioning
This commit is contained in:
@@ -8,6 +8,15 @@ int foo()
|
||||
mov EAX, fourty2;
|
||||
ret;
|
||||
}
|
||||
else version (X86_64)
|
||||
{
|
||||
asm
|
||||
{
|
||||
naked;
|
||||
movq RAX,fourty2;
|
||||
ret;
|
||||
}
|
||||
}
|
||||
else static assert(0, "todo");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user