|
|||||||||||
|
Technical Support On-Line Manuals Migration and Compatibility |
Migration and CompatibilityCompiler changes between RVCT v3.1 for µVision and RVCT v4.0 for µVision
The following compiler changes have been made: The executables tcc, armcpp and tcpp are no longer delivered. To compile for Thumb, use the To compile for C++, use the NoteThe compiler automatically selects C++ for files with the VAST has been upgraded through two versions (VAST 11 for 4.0 Alpha and 4.0 Alpha2 and later). Apart from the following issue, you do not have to make any changes to your v3.1 builds to use the new VAST. RVCT v3.1 for µVision reassociated saturating ALU operations.
This meant programs like the following could produce different results
with
int g_448464(short *a, short *b, int n)
{
int i; short s = 0;
for (i = 0; i < n; i++) s = L_mac(s, a[i], b[i]);
return s;
}
In RVCT v4.0 for µVision, you might see a performance degradation because of this issue. The
| ||||||||||
|
|||||||||||