From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TBVo9-0004IY-Pe for openembedded-core@lists.openembedded.org; Tue, 11 Sep 2012 21:07:37 +0200 Received: from blundell.swaffham-prior.co.uk ([91.216.112.25] helo=[192.168.114.6]) by hetzner.pbcl.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TBVc4-0000V6-0a; Tue, 11 Sep 2012 20:55:08 +0200 Message-ID: <1347389582.29443.52.camel@x121e.pbcl.net> From: Phil Blundell To: Khem Raj Date: Tue, 11 Sep 2012 19:53:02 +0100 In-Reply-To: References: <20120911130155.GC14077@jama.jama.net> <20120911134814.GF14077@jama.jama.net> <504F5E0C.7040502@windriver.com> X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Cc: Koen Kooi , openembedded-core@lists.openembedded.org Subject: Re: ARM-tuning -- was qemuarm: should it really have TUNE_ARCH armv5te? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 19:07:37 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2012-09-11 at 11:40 -0700, Khem Raj wrote: > On Tue, Sep 11, 2012 at 9:13 AM, Koen Kooi wrote: > > From a gcc point of view both are the same ISA, but using xscale will take in account the absurdly long pipeline on that SoC. > > Not really, when you tune for XScale it will use ldrd/strd and pld if possible Are you sure? As far as I remember, the only effects of -mtune=xscale are to alter some minor pipeline-related tradeoffs in code generation. In particular, LDM is especially slow on xscale so it is usually best avoided unless loading very large numbers of registers. I can't think of any reason why pld would be any more beneficial on xscale than generic v5TE, and I don't think gcc does anything special with it in that regard. p.