digitalmars.D.learn - x64 ABI
- Marcel (3/3) Oct 14 2019 It appears that the ABI specification only describes the register
- Stefan Koch (3/6) Oct 14 2019 It's the same as c++.
- Marcel (2/8) Oct 14 2019 Excellent, thank you!
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?
Oct 14 2019
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
Oct 14 2019
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:Excellent, thank you!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
Oct 14 2019