[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] calling conventions



>
>Not so bad, if you use STL (c++) and bind functions, you have a
>class 'add' (or
>something like) which defines an operator () to make the addition.
>So my
>example would be good for this case ;P. Those classes are used to
>have compound
>functions to pass as a template argument on other classes.
>

OK but in this case your assembly code don't look like this :

add r1, r2, r1

You have more than one line of code so it was not same than in your example
and the gain of your proposal wasvery  small.


--
Thomas Lavergne                       "Le vrai rÍveur est celui qui rÍve
                                       de l'impossible."  (Elsa Triolet)
thomas.lavergne@laposte.net                                      
d-12@laposte.net    ICQ:#137121910     http://assoc.wanadoo.fr/thallium/


*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/