Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Isn hand-optimized code more efficient?

code hand-optimized
0
Posted

Isn hand-optimized code more efficient?

0

There is no technical reason why compiled code on the eTPU cannot be as tight as hand-optimized code. The ISO C standard for embedded systems overcomes previous C language limitations related to embedded. There are three things that the eTPU_C compiler can do very well that hand optimization finds difficult. • Computers are very good at accounting. • Programmers tricks, once added to the knowledge base in the eTPU_C compiler, remains available for everyone’s applications forever. The compiler is capable of combining these tricks into combinations that we have not anticipated. • Most of the detail of the instruction set and eTPU architecture is embedded in the compiler. Application developers can rely on this and focus on application details. In the eTPU_C compiler, we have placed in the code generator rules that allow for sub-command re-ordering. What we found was there are only a few cases where this can happen without un-wanted side effects. We can implement complex rules only as we

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123