All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH] mpc8315e-rdb: Set TARGET_FPU correct
Date: Fri, 15 Jul 2011 09:22:43 -0400	[thread overview]
Message-ID: <4E203F23.4060400@windriver.com> (raw)
In-Reply-To: <B99EC425-9B03-436A-82B1-9A8E13F19963@kernel.crashing.org>

On 07/15/11 08:29, Kumar Gala wrote:
>
> On Jul 15, 2011, at 12:31 AM, Bruce Ashfield wrote:
>
>> On 11-07-15 12:56 AM, Kumar Gala wrote:
>>> The MPC8315E has a e300c3 core in it with 'classic' or normal PPC
>>> floating point.
>>>
>>> 'SPE' floating point is what exists on the e500v2 core.
>>
>> Acked-by: Bruce Ashfield<bruce.ashfield@windriver.com>
>>
>> Been meaning to change this for a while, the good news, is that
>> the setting doesn't make any difference at the moment :)
>>
>> Cheers,
>>
>> Bruce
>
> True, I want to use this for configure toolchain properly:
>
> I'm looking at doing the following for when SPE is set:

Definitely. It was simply good fortune that it hadn't been
used yet. And when something like you are doing arrives, we
want to have it right. Just to have it right, is a good enough
reason!

Cheers,

Bruce



>
> diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
> index 7bf036c..409ad01 100644
> --- a/meta/recipes-devtools/gcc/gcc-common.inc
> +++ b/meta/recipes-devtools/gcc/gcc-common.inc
> @@ -12,6 +12,8 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
>   def get_gcc_fpu_setting(bb, d):
>       if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
>           return "--with-float=soft"
> +    if bb.data.getVar('TARGET_FPU', d, 1) in [ 'spe' ]:
> +        return "--enable-e500_double"
>       return ""
>



  reply	other threads:[~2011-07-15 13:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15  4:56 [PATCH] mpc8315e-rdb: Set TARGET_FPU correct Kumar Gala
2011-07-15  5:31 ` Bruce Ashfield
2011-07-15 12:29   ` Kumar Gala
2011-07-15 13:22     ` Bruce Ashfield [this message]
2011-07-21  2:53   ` Kumar Gala
2011-07-22 13:54 ` Kumar Gala
2011-07-22 16:13 ` Saul Wold
2011-07-22 16:19   ` Gary Thomas

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=4E203F23.4060400@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=galak@kernel.crashing.org \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.