AnsweredAssumed Answered

looking for precise description of compiler optimization

Question asked by jobe on Feb 25, 2013
Latest reply on Feb 25, 2013 by CraigG


I'm looking for a precise description of the things, the compiler does if optimization (Compiler Flag -O) is enabled. I need this information, because I'm working on a safety project and I have to know, what the compiler does. Optimization within a single function is ok, optimization over serveral functions is not. I need optimization - without, the generated code is to slow.


In the compiler manual ( I just get the information how to enable optimization but I don't know, what is really done.


Is there a more detailed manual, I did not found?


used tools:


Compiler: cc21k.exe

User Interface Driver : SHARC version (Jul 21 2012 01:42:11)


  Copyright (c) 1997-2012 Analog Devices, Inc.

  Copyright (c) 1997-1999 Edinburgh Portable Compilers, Ltd.



thanks for help,