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 for ARM Cortex A5
Date: Thu, 16 Jul 2015 15:30:24 +0200	[thread overview]
Message-ID: <20150716133024.GB27933@pengutronix.de> (raw)
In-Reply-To: <DC4FC207-CDE6-4B22-BF14-ABE296023519@emailplus.org>

On Thu, Jul 16, 2015 at 03:14:30PM +0200, Jean-Claude Monnin wrote:
> > Can you provide some additional detail on why this had to be disabled?
> > The arm-v7a-linux-gnueabihf toolchain also has "cortex-strings" in
> > PTXCONF_GLIBC_EXTRA_ADDONS and so far it seems to work fine (although
> > I have only been able to do limited testing)
> 
> With the "cortex-strings" enabled, it crashed somewhere in the boot process.
> I assumed this option provided some optimised functions using NEON
> instructions. However I never verified exactly what that option does. Maybe
> someone else can clarify?
> What hardware do you use? SAMA5D3 lacks NEON instructions, but SAMA5D4 does
> support it.
> 'cortex-strings' seems to be enabled in the 'arm-v7a-linux-gnueabihf' of
> 'OSELAS toolchain 2013.12.2', but disabled in more recent versions of the
> toolchain.

In the cortex-a8 toolchains we have 'cortex-strings'. These are string
funtions that use NEON instructions unconditionally and are (in the version
we use here) optimized for cortex-a8.

A newer version of these functions reached mainline in gcc-4.9. There are
optimized for cortex-a9. Also, NEON support is detected at runtime and
approriate versions of the functions are selected. This is what we use in
the arm-v7a-linux-gnueabihf toolchain since OSELAS.Toolchain-2014.12.0.

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

  parent reply	other threads:[~2015-07-16 11:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13 14:39 Guillermo Rodriguez Garcia
2015-07-13 15:22 ` Jean-Claude Monnin
2015-07-13 15:34   ` Guillermo Rodriguez Garcia
2015-07-16 11:43     ` Guillermo Rodriguez Garcia
2015-07-16 13:14       ` Jean-Claude Monnin
2015-07-16 13:27         ` Guillermo Rodriguez Garcia
2015-07-16 13:37           ` Michael Olbrich
2015-07-16 14:48             ` Guillermo Rodriguez Garcia
2015-07-16 13:30         ` Michael Olbrich [this message]
2015-07-16 13:36           ` Guillermo Rodriguez Garcia
2015-07-16 13:39             ` Michael Olbrich

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=20150716133024.GB27933@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