Thread overview | |||||
---|---|---|---|---|---|
|
October 14, 2019 x64 ABI | ||||
---|---|---|---|---|
| ||||
It appears that the ABI specification only describes the register convention for x86. Where can I find which registers get preserved across function calls for 64-bit targets? |
October 14, 2019 Re: x64 ABI | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marcel | On Monday, 14 October 2019 at 16:02:28 UTC, Marcel wrote: > It appears that the ABI specification only describes the register convention for x86. Where can I find which registers get preserved across function calls for 64-bit targets? It's the same as c++. https://en.wikipedia.org/wiki/X86_calling_conventions#x86-64_calling_conventions |
October 14, 2019 Re: x64 ABI | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stefan Koch | On Monday, 14 October 2019 at 16:05:34 UTC, Stefan Koch wrote:
> On Monday, 14 October 2019 at 16:02:28 UTC, Marcel wrote:
>> It appears that the ABI specification only describes the register convention for x86. Where can I find which registers get preserved across function calls for 64-bit targets?
>
> It's the same as c++.
>
> https://en.wikipedia.org/wiki/X86_calling_conventions#x86-64_calling_conventions
Excellent, thank you!
|
Copyright © 1999-2021 by the D Language Foundation