Re: ppc e500v2 support?
Mark Hatle <mark.hatle@...>
On 11/4/10 8:53 AM, Leon Woestenberg wrote:
Hello Bruce,I'm not sure we have all of the pieces in place yet in the toolchain.
My quick looking of my own e500v1 & e500v2 support includes both libc patches and compiler patches.
Just an FYI.. the compiler flags for e500v1:
-mcpu=8540 -mfloat-gprs=single -mspe=yes -mabi=spe
and for e500v2:
-mcpu=8548 -mfloat-gprs=double -mspe=yes -mabi=spe
Neither of those would be compatible with the existing "ppc" packaging arch. We will need to generate at least one new packaging arch type, likely 2 (one for each). Maybe called ppc_spe or something similar?
The key thing is that each of these cpu's has not only additional SPE instructions, but also additional registers, specific to those instructions, to pass values from function to function. It's not just using the PPC soft-float ABI..