Hi Uz, I read your Wiki article on 'Parameter passing and calling conventions'. There you write about 'fastcall': "If the called function is a C function, its first instruction will be a call to one of the push functions to push the passed value onto the stack. This means that for C functions fastcall doesn't make the code really faster." Three questions: 1. Does the above hold true when the optimizer is activated? 2. Does it make sense to presume that the overall codesize of a program is reduced with fastcall as the call to the push functions is omitted from the call sites (presuming that functions are called from more than one site)? 3. If fastcall isn't beneficial for C functions then why are the C library functions written in C prototyped with fastcall? Thanks in advance, Oliver ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Apr 27 22:24:15 2010
This archive was generated by hypermail 2.1.8 : 2010-04-27 22:24:17 CEST