[PATCH] cell spu offloading printf and friends
jschopp
jschopp@austin.ibm.com
Sat Dec 16 01:08:00 GMT 2006
In the past I have sent out a series of patches that offloads various c99 stdio functions.
The newlib stdio functions are simply too large for the cell spu. A simple hello
world program will typically take in excess of 200K without this patch. Given the cell
spu only has 256K in total it makes it totally impractical to add a printf to a program.
This patch is meant to be small and straightforward in order to get a minimal amount of
usefulness merged.
Later today I will send a second patch, which is larger and implements the rest of the
functions. If this first one isn't going to be accepted, please save me the trouble of
getting the next one sent out, as it depends on this one.
2006-12-15 Joel Schopp <jschopp@austin.ibm.com>
* spu/c99ppe.h: New file
* spu/perror.c: New file
* spu/printf.c: New file
* spu/putchar.c: New file
* spu/puts.c: New file
* spu/vprintf.c: New file
* spu/vsnprintf.c: New file
* spu/vsprintf.c: New file
* spu/Makefile.am: (printf.o putchar.o puts.o vprintf.o vsnprintf.o vsprintf.o):
New targets.
* spu/Makefile.in: (printf.o putchar.o puts.o vprintf.o vsnprintf.o vsprintf.o):
New targets.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-stdio1.patch
Type: text/x-patch
Size: 14802 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20061216/77ddc801/attachment.bin>
More information about the Newlib
mailing list