mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] OSELAS Toolchain: cortexa9 config
Date: Fri, 8 Aug 2014 09:44:14 +0200	[thread overview]
Message-ID: <20140808074414.GJ28454@pengutronix.de> (raw)
In-Reply-To: <53E46A0F.3010507@optimeas.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

      reply	other threads:[~2014-08-08  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08  6:11 Matthias Klein
2014-08-08  7:44 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140808074414.GJ28454@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox