Can you use SPE's in user created programs on PS3 Linux?

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

Post Reply
The Duud
Posts: 13
Joined: Sun Dec 16, 2007 8:00 am

Can you use SPE's in user created programs on PS3 Linux?

Post by The Duud »

Is this possible?(the title)
Learning linux !
d-range
Posts: 60
Joined: Fri Oct 26, 2007 8:22 pm

Post by d-range »

Yes
The Duud
Posts: 13
Joined: Sun Dec 16, 2007 8:00 am

Post by The Duud »

Would you have to be programming in PPC assembly or what language can interact with the SPE's
Learning linux !
d-range
Posts: 60
Joined: Fri Oct 26, 2007 8:22 pm

Post by d-range »

The Duud wrote:Would you have to be programming in PPC assembly or what language can interact with the SPE's
C with SPU extensions or SPU assembly. You can read all about it here: http://www.ibm.com/developerworks/power/cell

Just google for things like this, this is all pretty basic stuff...
IronPeter
Posts: 207
Joined: Mon Aug 06, 2007 12:46 am
Contact:

Post by IronPeter »

Some basic examples are here:

http://www.kernel.org/pub/linux/kernel/ ... mming.html

All major PS3 llinux distros have spu-gcc compiler and libspe runtime included.

The spe programming language is primarily C/C++. There are assembler intrinsics for high-perfomance code. If you want to write good spe code you must study this doc: http://www.ief.u-psud.fr/~lacas/Compute ... ns_v20.pdf
The Duud
Posts: 13
Joined: Sun Dec 16, 2007 8:00 am

Post by The Duud »

Thanks a lot everyone. I do want to start programming the SPU's but... Does anyone have an idea once the ps3 fades away, would me SPU programming knowledge have any use at all? Will the ps4 use cell?
Learning linux !
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

Since we seem to have hit some local peak in CPU core clock speeds and the temporary fix seems to be to add more cores, then it certainly won't hurt to learn how to program SPU. More importantly though it will change the way you think about algorithms for processing massive amounts of data.

Jim
The Duud
Posts: 13
Joined: Sun Dec 16, 2007 8:00 am

Post by The Duud »

Thanks Jim... Im going to do some more research on linux/spu related things.
Learning linux !
Post Reply