Am 06.01.2018 um 08:28 schrieb Georg Icking-Konert: > hi all, > > I am currently building a peripheral and tutorial library for SDCC and > STM8 (https://github.com/gicking/STM8_templates). Today I ported the > Dhrystone test, based on a source available on > http://www.colecovision.eu/stm8/MB1036B%20Dhrystone.shtml > > Good news: porting took virtually no time. Strange news: I get 2.5x > better results than colecovision (101us/run vs. 248us/run). Is this due > to a recent SDCC update, or is this a bug I need to investigate? > > - SDCC build: 3.6.5 #9860 (me) vs. > > - project: > https://github.com/gicking/STM8_templates/tree/master/Projects/General_Examples/Dhrystone > (requires library to run, just clone repo) > > - result: > https://github.com/gicking/STM8_templates/blob/master/Projects/General_Examples/Dhrystone/result.txt > > > Thanks in advance! > Georg
Those scores are normal for current SDCC. SDCC STM8 integer performance has improved a lot since the 3.6.0 release. SDCC now achieves higher Dhrystone scores than any other compiler for the STM8. Philipp ------------------------------------------------------------------------------ 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