Обсуждаем контроллеры компании Atmel.
Ответить

Модифицированный компилятор avr от Microchip в тестах

Сб апр 30, 2022 00:30:40

Существует т.н. MPLAB XC8/XC16/XC32 C Compiler от компании Microchip, в нем есть старенький avr компилятор версии 5.4.0 с Pro(платными) плюшками.
https://www.microchip.com/en-us/tools-r ... -compilers
Что обещают:
MPLAB XC Compiler Optimizations
The optimizations found on MPLAB XC C Compilers provide code-size reductions and speed enhancements that benefit your design projects. PRO license is available for designs that require maximum code reductions and best performance. The MPLAB XC C Compiler contains a free, 60-day trial of a PRO license for evaluation when activated.

Are you looking for code optimizations? Our free MPLAB XC C Compiler comes with the majority of the optimizations you need to reduce your code by up to 70% and increase efficiency. Specifically, the free compiler contains these optimizations:

* O0 - Ensures that your code is in its pristine state
* O1 - Invokes all optimizations that won't affect debugging
* O2 - Invokes a balanced set of speed and size optimizations

When you purchase one of our PRO licenses, you also get the following optimizations:

* Os - Gives maximum code size reductions
* O3 - Gives the best speed optimizations
* mpa (Procedural Abstraction) - Reduces code size even further



When combined with our free and award-winning MPLAB X Integrated Development Environment (IDE), the fully graphical frontend provides:

* Editing errors and breakpoints that match corresponding lines in the source code
* Single stepping through C and C++ (C++ only available in MPLAB XC32++ compilers) source code to inspect variables and structures at critical points
* Data structures with defined data types, including floating point, display in watch windows


Как видим по тестам ниже, они дают некий результат.

Ссылка на реальные тесты
Ответить