From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32530 invoked by alias); 7 Nov 2009 09:38:12 -0000 Received: (qmail 32522 invoked by uid 22791); 7 Nov 2009 09:38:11 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=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 09:38:07 +0000 Received: by bwz3 with SMTP id 3so2052660bwz.16 for ; Sat, 07 Nov 2009 01:38:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.48.144 with SMTP id r16mr5767416bkf.170.1257586684432; Sat, 07 Nov 2009 01:38:04 -0800 (PST) Date: Sat, 07 Nov 2009 09:38: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/msg00180.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