3 ms·
They do not use the same convention. AMD did define a calling convention as part of their SysV ABI spec, and pretty much everybody adopted that ABI... except fo
by int_19h 8y ago
They do not use the same convention. AMD did define a calling convention as part of their SysV ABI spec, and pretty much everybody adopted that ABI... except for Windows.
As to why, the best we have is informed speculation:
https://stackoverflow.com/questions/4429398/why-does-windows64-use-a-different-calling-convention-from-all-other-oses-on-x86 https://stackoverflow.com/questions/4429398/why-does-windows...