Hello. Is this the right place to submit feature requests for the new msp430-gcc compiler? If so, here it goes:
When shifting left or right by one, the new compiler relies on functions like __mspabi_srll_1 in libgcc.a instead of the native RRA / RLA instructions. This is slow, and unnecessarily increases the binary size by about 200 bytes in -O2 mode.
Please consider emitting RRA / RLA instructions for shifts by 1.
gcc version 4.9.1 20140707 (prerelease (msp430-14r1-364)) (GNUPro 14r1) (Based on: GCC 4.8 GDB 7.7 Binutils 2.24 Newlib 2.1) (GCC)