[PATCH] SPU Initialize __ea_local_store via register 6

Ulrich Weigand uweigand@de.ibm.com
Tue Oct 2 19:03:00 GMT 2007


Andrew Pinski wrote:
> > The effective address (EA) of the local store (LS) is now passed via
> > register 6, store it into a global variable.
> 
> > +.comm __ea_local_store,16,16
> 
> Do you really want a common symbol here?

Why not?  This is just what GCC would use to implement
a (uninitialized) global variable ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Newlib mailing list