This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 0/3] Cell SPU offloaded stdio


> Most of the implementation comes from his patches in:
>
>   http://sourceware.org/ml/newlib/2006/msg00820.html
>
> and essentially, I've just modified the way to handle 'FILE'.
>
> I'd like to get some feedback on this solution.

I'll have to try this myself soon. But my initial impression is that you ended up with FILE* being a pointer to a structure containing an int. The problem is when you then pass this on the stack to the ppe it will try to treat it as an int. The end result is that you end up having to do translation all over the place via the __sfp() function you made which is really not very cheap or very clean.

I like most of the rest of it fine. I'll have to think about the best way to address this one issue and get back to you.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]