> > How about "stack" and "register", or are there better labels? If it's > confusing now, it will probably be confusing in the future, especially for > everyone who doesn't know it's the platform ABI. > That sounds like the essential distinction to me.
While I was researching the topic, I came across this site: http://www.agner.org/optimize/ It has some tables that seem to be useful summaries of various compilers and architectures, e.g.: http://www.agner.org/optimize/calling_conventions.pdf Just forget that it's supposed to be about C++, and resist the temptation to optimise anything. -- Email and shopping with the feelgood factor! 55% of income to good causes. http://www.ippimail.com