LDC2 win64 calling convention
realhet
real_het at hotmail.com
Wed Nov 28 18:56:14 UTC 2018
Hi,
Is there a documentation about the win64 calling convention used
with LDC2 compiler?
So far I try to use the Microsoft x64 calling convention, but I'm
not sure if that's the one I have to. But it's not too accurate
becaues I think it uses the stack only.
https://en.wikipedia.org/wiki/X86_calling_conventions#Microsoft_x64_calling_convention
I'm asking for Your help in the following things:
1. Is there register parameters? (I think no)
2. What are the volatile regs? RAX, RCX, RDX, XMM6..XMM15?
3. Is the stack pointer aligned to 16?
4. Is there a 32 byte shadow area on the stack?
Thank you!
More information about the Digitalmars-d-learn
mailing list