From: Peter B. <bi...@ac...> - 2014-11-12 16:45:53
|
Just noticed that integer multiplication is broken in upstream msp430-elf on msp430fr5969, apparently because gcc is hard-coding the list of MCUs and deciding which hardware multiplier to use based on that. None of the FR5 chips are in any of those hard-coded lists. Interestingly, some FR2/FR4 ones are listed. It does work if you explicitly add '-mhwmult=f5series' but the whole point of -mmcu=foo is to set the correct flags for device foo. This is a really lousy design choice. TI folks: we had the toolchain fully decoupled from the device list with msp430mcu four years ago in mspgcc, allowing the set of supported devices to be updated without breaking the toolchain. Why was this solution chosen? Peter |