As of today, sdcc in trunk has support for ISO C23 bit-precise integers when targeting the stm8.

If you are interested in this functionality, please test it and report any issues found. If you are interested, but don't use stm8, please tell me so, maybe I add support to your architecture next week.

For those unfamiliar with bit-precise integer types: These are integer type of precision choosen by the user, e.g. unsigned _BitInt(53) is an unsigned integer type with 53 value bits. In SDCC, this type has three padding bits, so it needs a total of 56 bits in memory. Note: In SDCC, the _BitInt(N) types are most efficient, when N is a multiple of 8.

Philipp



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

Reply via email to