This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to do executable individualization using optimization options ?


Yes, that's what I want to do.
As I mentioned in the subject, I'd like to realize s/w
individualization via compiler optimization,
and I still need to think of some more techniques.
Thanks for your help.

Regards,
Byoungyoung Lee

On Sun, Nov 8, 2009 at 4:36 AM, Ian Lance Taylor <iant@google.com> wrote:
> Byoungyoung Lee <lifeasageek@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-help@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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]