The new calling convention for stm8 has been implemented in the
breaktheworld branch:
https://sourceforge.net/p/sdcc/code/HEAD/tree/branches/breaktheworld/

Anyone wanting to test it or experiment with it is welcome to use the
branch. C code should continue to just work without any changes
(regression tests pass). Though typically, it should be a bit faster and
smaller (after all that is the goal of switching the calling convention).

Assembler code will have to be adapted to the new convention (which is
documented in themanual in the branch). Alternatively, using the keyword
__sdccoldcall in function declarations, individual functions can be
marked as using the old convention.

The plan is for this new calling convention to become the default for
the next SDCC release.

Philipp


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

Reply via email to