By using this site, you agree to our Privacy Policy and our Terms of Use. Close

@alephnull

Sounds good. I knew that the compiler will inine stuff for you. I agree that hand coded assembly by knowledgeable assembly programmers is often times better than the assembly a compiler will generate. It also sounds like you were assuming PowerPC and I X86 when we were talking about arg passing, and I think that is how we got off topic.

For the record in my original post I never brought up how args are passed. I simply was stating that during a synchronous function call the caller HAS to wait to the callee returns. You said for the most part that was wrong and stated that the reason why were because args aren't pushed on to the stack even though I never mentioned it.