Hacker News new | ask | show | jobs
by xpaulbettsx 5193 days ago
I was about to call BS on that last sentence but it looks like I was the one full of it. I thought that the amd64 calling convention was standardized, bummer.

On Windows, amd64 is much better than x86 in this regard because of the bevy of x86 calling conventions that are still around. Only one amd64 calling convention.

1 comments

To be fair, the System V document is AMD's convention and it was Microsoft that decided to design an incompatible (and worse) ABI.
Sucks. I wonder if AMD wrote that later, after Microsoft had made up their own and were dependent on it. Dave Cutler was involved in amd64 really early in the process of Clawhammer (mainly because he hates Intel with a passion!)