Am 30.07.21 um 21:40 schrieb Ben Ferguson:
> I am in favor of adding a cli option to enable the old calling method. 
> 
> This change can break nearly every naked member we have if I understand
> correctly, and without clear notice we may be compiling code for the old
> convention, which will just cause huge headaches. 
> 
If you want to be lazy about your naked functions, you could also just
declare them as __sdccoldcall.

> Which convention used is not important to me, but I wonder what the
> cause for the change is. Is it faster somehow? 
> 

In my experiments, is is both faster and gives smaller code size
(typically - of course you can construct individual example programs
where the old convention is better).

Philipp


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to