Re: [PATCH] mpc8315e-rdb: Set TARGET_FPU correct

Bruce Ashfield <bruce.ashfield@...>

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@...>

Been meaning to change this for a while, the good news, is that
the setting doesn't make any difference at the moment :)


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



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

Join { to automatically receive all group messages.