mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] OSELAS Toolchain: cortexa9 config
@ 2014-08-08  6:11 Matthias Klein
  2014-08-08  7:44 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Klein @ 2014-08-08  6:11 UTC (permalink / raw)
  To: ptxdist

Hello,

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?


Best regards,
Matthias


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] OSELAS Toolchain: cortexa9 config
  2014-08-08  6:11 [ptxdist] OSELAS Toolchain: cortexa9 config Matthias Klein
@ 2014-08-08  7:44 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-08-08  7:44 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-08  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08  6:11 [ptxdist] OSELAS Toolchain: cortexa9 config Matthias Klein
2014-08-08  7:44 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox