From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XFeqU-0006NF-An for ptxdist@pengutronix.de; Fri, 08 Aug 2014 09:44:14 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XFeqU-0002W3-8x for ptxdist@pengutronix.de; Fri, 08 Aug 2014 09:44:14 +0200 Date: Fri, 8 Aug 2014 09:44:14 +0200 From: Michael Olbrich Message-ID: <20140808074414.GJ28454@pengutronix.de> References: <53E46A0F.3010507@optimeas.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <53E46A0F.3010507@optimeas.de> Subject: Re: [ptxdist] OSELAS Toolchain: cortexa9 config Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Fri, Aug 08, 2014 at 08:11:27AM +0200, Matthias Klein wrote: > what is the reason that the cortexa9 config is removed in recent > toolchain versions? > > (Version 2012.12.1 was the last version with a cortexa9 config) > > > Can I simply use the cortexa8 toolchain to produce cortexa9 code? No, use arm-v7a-linux-gnueabihf, it optimizes for cortex-a9 and uses neon optimizes memcpy etc. when possible. To optimize you code correctly set this in the platformconfig: PTXCONF_TARGET_EXTRA_CFLAGS="-mcpu=cortex-a9 -mfpu=neon" PTXCONF_TARGET_EXTRA_CXXFLAGS="-mcpu=cortex-a9 -mfpu=neon" Note: only add -mfpu=neon if your CPU has NEON. That's optional for cortex-a9. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de