Byoungyoung Lee <lifeasag...@gmail.com> writes:

> If the optimization options provided in a different way,
> the same source codes would be compiled into different executables.
>
> In the different executables,
> the register allocation or instruction orders might be easily changed,
> but I think that's not that big change.
> What I'd like to do is to make their CFG different, while their impact
> on executing performance is reasonable.
>
> I'm reading through the compiler books and gcc internal documentations,
> but it's really hard for me to pin point what I really need to read
> and understand.
>
> So, my question is what kind of optimizing options in gcc could be
> used to do such jobs ?
> or would you recommend good references for this ?

Sorry, I don't understand the question.  Are you asking what gcc
options will produce a different CFG?  If so, this question would be
better asked on gcc-h...@gcc.gnu.org.  One answer is that you will get
a slightly different CFG from options like -funroll-loops.  In general
there are a number of options which could change the CFG.  But I'm not
sure why you are asking the question.

Ian

Reply via email to