Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "alexandru.sardan@freescale.com" <alexandru.sardan@freescale.com>
Cc: "catalin.udma@freescale.com" <catalin.udma@freescale.com>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] Revert "cross-canadian: Handle powerpc linux verses linux-gnuspe"
Date: Tue, 21 Jan 2014 17:43:25 +0000	[thread overview]
Message-ID: <1390326205.874.95.camel@ted> (raw)
In-Reply-To: <3ea5b5ff002e4f98b60997229cc31300@DM2PR03MB368.namprd03.prod.outlook.com>

On Tue, 2014-01-21 at 17:39 +0000, alexandru.sardan@freescale.com wrote:
> Yes, the gcc configured for SPE (--target=powerpc-fsl_networking-linux-gnuspe)
> can generate both SPE and non-SPE code provided that software 
> floating point is used.
> 
> There are a couple of parameters (-mabi=no-spe -mno-spe) that will turn
> off SPE vector instructions generation. If the code contains floating
> point arithmethic -msoft-float needs to be used as well. This means that
> the GCC multilib setup has to be configured to include soft float and
> build coresponding version of libgcc and target fragments.
> But why would we want to generate code without SPE for e500v1/v2? 
> Soft-float comes with a major performance penalty.
> 
> Maybe I didn't understand correctly what kind of toolchain you want to
> be built in the end. Do you want to have a single GCC that builds all
> powerpc targets (e500v2, e5500, e6500 etc) and a separate sysroot for each 
> target? 

Yes, this is exactly what is wanted. This is how the SDK is intended to
operate. The alternative and what we had before was a separate compiler
for each target which is rather wasteful.

> This may be problematic since, for example, the compiler that can generate 
> SPE (for e500v2) can't generate altivec instructions (for e6500).

Is there no way to configure gcc so it can generate for the different
targets assuming you pass in the right runtime target options?

Cheers,

Richard



  reply	other threads:[~2014-01-21 17:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 14:48 [PATCH] Revert "cross-canadian: Handle powerpc linux verses linux-gnuspe" David Nyström
2014-01-10 15:15 ` Richard Purdie
2014-01-13 12:37   ` David Nyström
2014-01-13 12:41     ` Richard Purdie
2014-01-14 13:23       ` David Nyström
2014-01-17 14:43         ` alexandru.sardan
2014-01-18 11:20           ` Richard Purdie
2014-01-21 17:39             ` alexandru.sardan
2014-01-21 17:43               ` Richard Purdie [this message]
2014-01-23 18:22                 ` alexandru.sardan
2014-01-24 15:37                   ` Richard Purdie
2014-01-24 20:56                   ` Phil Blundell
2014-01-28 14:03                     ` alexandru.sardan
2014-01-29 11:38                     ` Richard Purdie
2014-01-31 17:53                       ` alexandru.sardan
2014-01-31 18:07                         ` Richard Purdie
2014-01-31 18:17                           ` alexandru.sardan
2014-02-11 10:07                             ` David Nyström
2014-02-26 18:29                               ` alexandru.sardan
2014-02-26 22:37                                 ` David Nyström
2014-02-27 12:21                                   ` alexandru.sardan
2014-01-21 17:59             ` Khem Raj

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=1390326205.874.95.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alexandru.sardan@freescale.com \
    --cc=catalin.udma@freescale.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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