Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - SDCC 3.7.0 released

Reply to topic
Author Message
  • Joined: 07 Aug 2007
  • Posts: 220
  • Location: Yach, Germany
Reply with quote
SDCC 3.7.0 released
Post Posted: Thu Mar 01, 2018 5:25 pm
Dear SDCC users,

A few days ago SDCC 3.7.0 has been released.
As always it has been put online in our SourceForge File section.
https://sourceforge.net/projects/sdcc/files/

Since we are having some troubles with some machines in our compile farm, for 3.7.0 no binaries are released. The release consists of source and documentation tarballs only. Also, Maarten, who has been the release manager for a few years, was too busy to manage the 3.7.0 release. We hope to be back to normal for a 3.8.0 release later this year.

There have been a lot of improvements, both features and bug fixes since
SDCC 3.6.0. The full ChangeLog is at
https://sourceforge.net/p/sdcc/code/HEAD/tree/tags/sdcc-3.7.0/sdcc/ChangeLog

The following is a list of particularly noticeable new features.

* Changed putchar() prototype from void putchar(char) to int putchar(int) to improve standard-compliance and allow error reporting.
* Various speed improvements in stm8 backend - Dhrystone score more than doubled, resulting in SDCC achieving the highest Dhrystone and Coremark scores among STM8 C implementations.
* Various speed improvements for multiplications resulting in SDCC achieving the highest Coremark scores among STM8 C implementations.
* Declarations in for loops (ISO C99).
* 64-bit integers (long long) for the mcs51 and ds390 backends (now long long is fully supported in SDCC except for the pic14 and pic16 backends).
* Full _Bool support for mcs51 and ds390 backend (now _Bool is fully supported in SDCC regardless of backend).
* Additional wide character library functions: mbstowcs() and wcstombs(), btowc() and wctob(), wcscmp(), wcslen().
* Changed PRNG for rand() from LCG to xorshift to improve speed and quality.
* Support for Small-C calling convention on the callee side (i.e. function definitions with Small-C calling convention).
* The obsolete macro SDCC (which used to contain the version number encoded as an integer) has finally been removed (except for mcs51, where it will survive a little bit longer for SiLabs IDE compability).
* New devices supported by simulator (TLCS-90, and the 517, F380, XC88X, DS320 mcs51-variants along with dual-dptr and MDU support).
* Timer, UART (incl. interrupt) and I/O support in STM8 simulator.
* Simulator support for banked memory and bit banding.
* Various simulator improvements: Conditional breakpoints, breakpoints by function name from SDCC debug output, OMF input, VCD output, simulator interface for simulated program and new operators in expressions.
* Deprecated --nojtbound and the corresponding pragma.
* Faster register allocator reduces compilation time by about 25% (does not apply to mcs51, ds390 which use a different register allocator).
* Execution count guessing and use of execution count guesses in stm8 register allocation improve optimization for code speed.
* Changed getchar() prototype from char getchar(void) to int getchar(void) to improve standard-compliance and allow error reporting.
* Type qualifiers in array parameters (ISO C99).
* static in array parameters (ISO C99).
* Improved support for DWARFv2 debug info in ELF output (stm8, hc08, s08).
* Various improvements in z80/z180/gbz80/tlcs90/r2k/r3ka code generation, in particular for mixed 16-/32-bit code.
* __z88dk_fastcall function pointer support for --reserve-regs-iy.
* tlcs90 is now a fully supported backend, no longer work in progress.
* --data-seg to specify the segment for non-initialized data in the z80, z180, gbz80, tlcs90, r2k and r3ka backends.
* New methods to obtain tree-decompositions of control-flow graphs improve compilation time / code-quality trade-off (when SDCC is built with support for the treedec library).
* Additional general utility functions: qsort(), strtol(), strtoul().

Philipp Klaus Krause
SDCC 3.7.0 Release Manager
  View user's profile Send private message Visit poster's website
  • Joined: 09 Jan 2012
  • Posts: 67
  • Location: Germany
Reply with quote
Post Posted: Thu Mar 01, 2018 6:55 pm
Currently Sourceforge is offline again. There is nothing new.
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3763
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Fri Mar 02, 2018 12:35 pm
Thank you! I'll be checking the changelog later :)
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 502
  • Location: Barcelona
Reply with quote
Post Posted: Fri Mar 02, 2018 8:32 pm
Thankyou so much for update it !!!
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!