gcc 4.0 compiles kernel with altivec

Anton Blanchard anton at samba.org
Thu Feb 17 07:50:47 EST 2005


 
> 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?

Anton



More information about the Linuxppc64-dev mailing list