gcc 4.0 compiles kernel with altivec
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Feb 17 09:19:24 EST 2005
On Thu, 2005-02-17 at 07:50 +1100, Anton Blanchard wrote:
> > Yes, -mcpu=970 says altivec is available (and thus use it). In fact,
> > the only difference between -mcpu=power4 and -mcpu=970 is enabling
> > altivec.
>
> I think it was added to make the raid6 kernel code (which does use
> altivec) easier. Perhaps we should use the .machine macros instead?
What are those macros ?
Ben.
More information about the Linuxppc64-dev
mailing list