On 2/17/07, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote:
Hello, What does the "fastcall" directive mean/do ?
It tends to make the calls of certain functions faster (on i386 only), as instead of passing on the stack, the first three variables are passed in registers. Excerpt from GCC online manual: ------------------------------------------- regparm (number) On the Intel 386, the regparm attribute causes the compiler to pass arguments number one to number if they are of integral type in registers EAX, EDX, and ECX instead of on the stack. Functions that take a variable number of arguments will continue to be passed all of their arguments on the stack. Thanks, Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ