Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754494AbXFYB1c (ORCPT ); Sun, 24 Jun 2007 21:27:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751962AbXFYB1Y (ORCPT ); Sun, 24 Jun 2007 21:27:24 -0400 Received: from smtpq1.tilbu1.nb.home.nl ([213.51.146.200]:59059 "EHLO smtpq1.tilbu1.nb.home.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbXFYB1Y (ORCPT ); Sun, 24 Jun 2007 21:27:24 -0400 Message-ID: <467F191C.9090506@gmail.com> Date: Mon, 25 Jun 2007 03:23:40 +0200 From: Rene Herman User-Agent: Thunderbird 1.5.0.12 (X11/20070509) MIME-Version: 1.0 To: Adrian Bunk CC: Arjan van de Ven , Benjamin LaHaise , Oleg Verych , rae l , linux-kernel@vger.kernel.org Subject: Re: -Os versus -O2 References: <467cac85.081b600a.5b88.457f@mx.google.com> <91b13c310706240558p70dbaed2g570b57ab480aa974@mail.gmail.com> <20070624222518.GA10398@flower.upol.cz> <1182723318.6819.5.camel@laptopd505.fenrus.org> <20070624232314.GA971@kvack.org> <1182730156.6819.8.camel@laptopd505.fenrus.org> <20070625001203.GB971@kvack.org> <1182731022.6819.10.camel@laptopd505.fenrus.org> <20070625004106.GA1094@stusta.de> In-Reply-To: <20070625004106.GA1094@stusta.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 838 Lines: 21 On 06/25/2007 02:41 AM, Adrian Bunk wrote: > The interesting questions are: > Does -Os still sometimes generate faster code with gcc 4.2? > If yes, why? I would wager that the CPU type makes more of a difference than the compiler version. That is, I'd expect my Duron with it's "puny" 64K L1 to have a very different profile than it's Athlon brother with 256K L1. Not to mention CPUs with as little as 8K L1 (P1). I can't quote numbers -- it's a bit hard to test those things anyway as it's a system-global effect and not su much that's easily isolated in a dedicated benchmark. Rene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/