From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13125 invoked by alias); 7 Nov 2009 13:22:54 -0000 Received: (qmail 13116 invoked by uid 22791); 7 Nov 2009 13:22:53 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f211.google.com (HELO mail-bw0-f211.google.com) (209.85.218.211) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Nov 2009 13:22:49 +0000 Received: by bwz3 with SMTP id 3so2156331bwz.16 for ; Sat, 07 Nov 2009 05:22:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.151.208 with SMTP id d16mr6030537bkw.115.1257600164604; Sat, 07 Nov 2009 05:22:44 -0800 (PST) Date: Sat, 07 Nov 2009 13:22:00 -0000 Message-ID: Subject: How to do executable individualization using optimization options ? From: Byoungyoung Lee To: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00185.txt.bz2 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 ? Regards Byoungyoung Lee