SDCC 3.7.0 was released a few days ago, and I have updated my comparison
of C compilers targeting the STM8:

http://www.colecovision.eu/stm8/compilers.shtml

It is just a comparison of compilers themselves - other aspects, such as
IDE integration are not considered.

The old comparison from 2016 ago can now be found at
http://www.colecovision.eu/stm8/compilers-2016.shtml.
Back in 2016, SDCC tended to generate relatively slow, big code. Now,
SDCC generates the fastest code (at least for Dhrystone and Coremark)
and code size also improved, with SDCC now achieving code sizes
comparable to Cosmic (i.e. better than IAR, worse than Raisonance). In
Summary, SDCC now wins in all categories, except for code size, where
Raisonance is better (but Raisonance comes last for everything except
code size, so it is only an alternative for those that care about code
size only).

Philipp

P.S.: Still, there remins a lot to be done. Standard compliance and code
speed could be improved further. Debug info and IDE integration are not
perfect yet. Code size and floating-point performance need to improve
(those should be obvious from teh comparison). Bugs need to be fixed.
The lack of a large/huge memory model is also a big issue (SDCC 3.7.0
essentially can use only up to 32 KB of Flash for code and const data)
that is already being worked on. SDCC 3.8.0, planned for later this
year, will come with a large memory model (code can use the full Flash,
const data would still be restricted to up to 32 KB of Flash).

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to