From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22481 invoked by alias); 15 May 2009 04:32:35 -0000 Received: (qmail 22373 invoked by uid 48); 15 May 2009 04:32:13 -0000 Date: Fri, 15 May 2009 04:32:00 -0000 Message-ID: <20090515043213.22372.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg01293.txt.bz2 ------- Comment #36 from hjl dot tools at gmail dot com 2009-05-15 04:32 ------- Created an attachment (id=17871) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17871&action=view) An updated patch A few comments: 1. 3 branch limit is per 16byte page, not 16byte window. 2. We should allow 3 branches in a 16byte page. 3. When we have 4 branches in a 16byte page, we only need to pad to the 16byte page boundary before the 4th branch, which will start at the next 16byte page. -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #17870|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39942