Lots of improvements since 3.6.9 #9960
Almost twice faster compilation.
New performance leaders: init_loop, set_sprite_x
Issues: galois_lfsr (+5bytes), set_screen_mode(+30 bytes)
mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8
3.7.2 #10526 (MINGW64)
command line: 'sdcc -mstm8 --opt-code-size -c --max-allocs-per-node
10000000'
columns: compile time,test name,data size,code size
0:00:00.570000 cvu_vinb 0 10
0:00:00.140000 galois_lfsr 1 17
0:00:06.123000 get_tile 2 80
0:03:16.689000 huffman_iterative 0 142
0:01:29.088000 huffman_recursive 0 171
0:00:00.100000 init_loop 19 20
0:00:31.280000 insertion_sort 90 112
0:00:03.292000 memcpy_compression 0 57
0:00:00.090000 memtovmemcpy 0 50
0:09:07.826000 play_music 0 329
0:00:19.783000 sdcc-divulong 0 101
0:04:17.873000 sdcc-mullong 0 287
0:00:04.066000 set_screen_mode 0 77
0:00:02.699000 set_sprite_x 0 50
0:08:14.627000 z88dk-mktime 0 309
REF: https://github.com/roybaer/sdcc-wiki/wiki/Stm8-code-size
------------------------------------------------------------------------------
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