Sign in



Don't have an account?

Signing up is free and easy
Home -> Our Services -> Programming Tools BU -> White Papers

C Compiler Optimizations: How effective is your Compiler?

One of the challenging tasks during embedded software development is to attain efficient target code. Embedded application developers must act carefully to tune up the code by considering the requirements of the target processor. Generally application developers prefer C language for high level programming. One of the obvious reasons is that the C language set is comparatively smaller than other high level programming languages. As a result, there will always be an availability of effective C compiler for embedded application development.

As we know that a C compiler is a tool that transforms a C source code to assembly code for the target processor. During the transformation an optimizing compiler optionally performs various optimizations to produce optimized target code. Basically, an optimizing compiler should have the capability to improve the efficiency of the code and minimize the human effort.

 

Read more...
 

Source-level debugger for an optimizing compiler

This white paper provides an outline on the concept of debugging optimized code. This paper discusses the way compiler transformations affect debugging, the practical problems in debugging optimizing code and techniques that can be used to overcome the problems in debugging optimized code.

There is a lot of activity currently on this subject. But after all this, no usable product has evolved till date to debug optimized code. This is due to the practical problems involved in debugging optimized code. This white paper analyses the practical problems in debugging optimized code and presents a clear interface between a compiler and debugger in achieving debugging of optimized code.

download