[patch][5/5] powerpc: Add the general support for Embedded Floating-Point instructions
Zhu Ebony-r57400
ebony.zhu at freescale.com
Mon Jan 15 18:58:55 EST 2007
> -----Original Message-----
> From: Segher Boessenkool [mailto:segher at kernel.crashing.org]
> Sent: 2007年1月12日 20:37
> To: Zhu Ebony-r57400
> Cc: Christoph Hellwig; paulus at samba.org; linuxppc-dev at ozlabs.org
> Subject: Re: [patch][5/5] powerpc: Add the general support
> for Embedded Floating-Point instructions
>
> > CONFIG_SPE doesn't force the whole math emulation to be built. If
> > CONFIG_SPE is set, only the new SPFP/DPFP/VSPFP instructions in
> > arch/powerpc/math-emu will be built, while the previous FPU
> > instructions won't.
>
> And the other way around I suppose.
>
> > Therefore, what I'm trying to do is to build directory
> > arch/powerpc/math-emu if CONFIG_MATH_EMULATION or
> CONFIG_SPE is set.
> > Do you have any idea?
>
> Maybe you should really have a separate CONFIG_SPE_MATH_EMU?
> Or that might complicate things more than it solves, dunno.
>
>
> Segher
>
>
If there is an statement that can express "CONFIG_MATH_EMULATION or
CONFIG_SPE", things would become simpler.
Ebony
More information about the Linuxppc-dev
mailing list