C14 Optimization

Optimization is an important functionality of compilers that enables fast code to be generated without modifying the effect of the program. It frees programmers of the burden of performing micro-optimization on their programs. Instead, they are able to concentrate on writing informative, easy-to-read C code, which the compiler then automatically translates into the best possible assembler code. Unfortunately, optimization is a very complex topic that requires not only a great deal of programming skill in C and Assembler, but also a profound knowledge of mathematics and formal logics. For this reason, the following sections give only a brief overview of the optimization features of the GCC.

Continue reading here: Constant Simplification

Was this article helpful?

0 0