Re: TI compiler
Bob von Knobloch <[email protected]> Fri, 24 Mar 2017 20:53:13 +0100
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <[email protected]> |
On 24/03/17 19:00, Przemek Klosowski wrote: > Bob, did you check whether changing the declared type avoids calling > the runtime, and avoids excessive register saving/restoring? Yes Przemek, David Schultz kindly informed me that a right shift, as it is not natively supported, can cause this. Changing to a int16_t cured this, suppressing the unwanted push/pull pairs. However, the binary is still far bigger and slower than the 'old' mspgcc compiler, so I'm sticking with that for now. Cheers, Bob -- The Sun is out, the sky is blue, it's time to drive the MR2. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot