Wanna learn how to program for the Cell? Read this.

Posted Feb 12, 2007 at 2:15AM by Karl B. Listed in: PS3 Tags: Linux, Sony
Ó


Cell - Image 1IBM has recently published the second part of their "Programming high-performance applications on the Cell BE processor" series. This second part, which carries the title  Program the synergistic processing elements of the Sony PLAYSTATION 3," basically talks about some of the main concepts of assembly language programming on the PS3's Cell BE processor under Linux.

While the article is tagged "intermediate," programming newbies (like, um, me) will be wading around in uncharted territory. It gives an in-depth look at the Cell processor's SPEs and how they work at the lowest level. Included are some simple example programs and a few links to other resources where hopeful Cell programmers can look up more helpful info.

Click on the "read" link below to check it out. It's a bit of heavy reading, but it'll definitely be very useful for those who want to know more about how the PS3's mythical Cell processor works.

 
 
 

Comments [refresh]

by Jettic - 2007-02-11 23:32
» ...

Mythical, lol.



Anyone play Resistance lately, I got to try it last week and that is one of my favorite games!!

by Mister Common Sense - 2007-02-12 02:39
» waste

Why learn a whole new programming method when the XBOX 360 uses traditional (and proven) technology? I guess somebody has to make games using the cell.

by Pat - 2007-02-12 04:04
» Go be Amish.

Why move up from 8bit? Why buy a digital monitor? Why get a new house? Why upgrade your PC? Why do anything?



YOU, have NO common sense. If you stick to the traditional methods then you will never make any progress. Innovation and new technology has and always will lead this world into better things.



You, are dumb.

by R Kelly - 2007-02-12 04:34
» To Pat

You know absolutely nothing about electronics or programming and you come here and tell someone that poses a valid question that they have no common sense? why dont you remove your mouth from sony's ass and think a little. Sony has a habit of doing things their own backwards way. Just because a company uses standard programming methods does not mean they arent moving forward. Look at the duo core processors and 64 bit x86 processors. The dual cores from intel and amd are a drastic improvement over standard processors without being a radical departure fro the sake of saying that you came up with something new. Sony invested in the cell not because it was better but because they want to own a standard. You can make something better without throwing away what was good. and your argument with difital monitors is ignorant and hilarious. If it isn't broken don't fix-it. which is why sony left the dualshock alone...no wait they took the rumble out of it and made the casing feel cheaper and doubled the price... yes they added wireless but that was the only real improvement aside from half-assed motion sensing.

by YourFatLazyMom - 2007-02-12 05:47
» R Kelly....

First off, what you've said, i'd probably won;t believe since you're named after a bad artist and a pedofile. 2nd, Pat has a much greater point than you. Get your head out of Microsoft's ass and think about how bad Microsoft is becoming compared to Sony. The ruined Vista, and infected their gaming console with DRM. Need I say more? Linux > Vista already, and you can use Dual Core processes and multi-tasking in Linux. Oh, and you can upgrade your machine without worrying about your OS shutting down on you and forcing you to buy a new OS for $300.

by Jordan - 2007-02-12 08:13
» R Kelly...

sorry to say but your wrong and the others are right, but i guess thats about right considering 360 fanboys go everywhere trying to bash ps3 because they are afraid of it, geez get a life

by Game123 - 2007-02-12 08:33
» ^^^Thanks...

...for showing us your ignorance about PCs. Keep it up.

by Matt - 2007-02-12 08:43
» Vista is flawed..

it runs games slower than XP on the same hardware and only does it keep the same pace with a machine with 2GB of ram. Oh and for Vista to use multi-cores you need ultimate, just another way to make ultimate the ONLY option for people with high end computers.

by Mister Common Sense - 2007-02-12 09:00
» no pat

Who besides sony says the cell is the next step up in technology? Why doesn't anybody else use it in their products? The cell is similar to a traditional processor, just a specific purpose one arranged differently. It has no new technology inside, it's just made differently so sony can say it's better because it's different. About the only thing it does well is blu ray playback.

You are dumb for believing sony.

by Mister Common Sense - 2007-02-12 09:07
» what's this have to do with the cell?

Vista just came out and there's going to be compatibility issues at first. If you don't like it don't upgrade yet. I'm happy with XP for now I may upgrade in a few months.

You must really enjoy bashing MS. If you can't find anything wrong with the XBOX 360 you bash Vista instead?

Desperate times call for desperate measures I guess.

by stfu - 2007-02-12 09:44
» hmmm

nothing wrong with 360? wtf do you smoke dude you forgot all those dead 360 and you say us there's no problem with xbox? stop smoking that crap its bad for health

by Shatterdome - 2007-02-12 09:49
» It's not flawed...it's "future proof"

The system specs are MUCH higher to run just the vista operating system, so of course your *****ty PC won't run it as well as it does XP....It's made for computers 3 years down the road....





Now, as for the cell, it's going to take awhile to spread out, but you will see LOTS of universities and research labs using the cell. For FP functions it's pretty much an 8 core CPU (for cells not going into PS3, but REAL cell CPU's) and you can easly expand the amount of power you need just by adding in X amount of Cell CPU's and you won't need to rewrite code, as any efficient code will be doing something like "If spu idle, then feed X information" and if you add 8 more spu's, then it just has that many more to feed information to.



It's a super great chip, for straight number crunching (ie science applications) but, it's only so-so, if not "bad", as a gamming CPU....considering it was actually supposed to be the video card, not the CPU....

by Mii - 2007-02-12 13:32
» Hahaha

Haha, I guess stfu owned Mister XBOX Fanboy in the ass.

by You - 2007-02-12 23:15
» Virtual fighter 5 flops on PS3

You mean those relatively few dead xboxes when it was first released right !? the ones MS acknowledged and gave a free exchange.



So ok we all agree to that but you forget one BIG thing the 360 beat all the other Next Gen consoles by ONE WHOLE YEAR, of course with than much advanced next gen technology you are going to have a few teething problems.



Sony had them as well but theirs were bigger and they had to wait another year and look at the result ,the 360 has a huge game library the PS3 has almost none so who would you say it paid off for the most ?.



The PS3 sales in its own stronghold of Japan are Poor(Wii is taking on all consoles) and Virtual fighter 5 sold a mere 30 thousand copies and DID NOT sell machines and that could be for One of Three reasons -



1 - No online play on PS3 BUT online play will be in 360 version.



2 - No rumble a fighting game or car game without rumble ????. - 360 will have rumble.



3 Blue Dragon 360 exclusive game made by some of Japans top game devs sold well for Japans standards and also sold consoles (the game also scored One of the best scores ever in Japans top game mags) now those people with the 360 over there are not going to now buy a PS3 for a game that has inferior features to the 360 version now are they ?, and also potential buyers of either machine after seeing Blue Dragon and the news that the maker is also making another Two games added the fact that VF5 has less than the 360 version are proberly waiting for its 360 release to..

by danny - 2007-02-13 00:37
» attack of the fanboys

omg ppl grow up i have both consoles and they are both good for different reason to say the ps3 will suck cozof no ruble is stupid and to say xbox is crap is also stupid they both play game swe will have see which one is crushed in a few years because not all consoles had hit it off yet allthough i do think microsoft have a slight disadvantage because of the lack of disk space using dvd9's that what i dont like about my xbox is the fact it has no next gen gaming media capabilities and that told me i should buy a ps3 but xbox is a great console and im sure it will be in a few years but ppl you shouldent write sony off yet the ps3 will kick start soon

by NFGBlinkAC - 2007-02-13 01:59
» You...

First off, Gamer 112

You know anything about DRM? it's ruining EVERYTHING. Go do research on what DRM is and bad cases of it, then post something about being ignorant.



You:

WF5 isn't a system seller, I'm sorry. Plus, Xbox and Xbox 360 are being sold out by the PS2, 360 is doing even more worse than the normal Xbox in japan. PS3 is dominating the 360, not the Wii. Just wait for the actual great hits like FFXIII, FFvXIII, MGS4, DMC 4, Ninja Gaiden, etc. to come out because they aren't coming out for awile and those are the games in Japan that will sell PS3's when the time comes.

by Mister Common Sense - 2007-02-13 08:15
» lol

OOOOhhhh I'm so scared of the PS3.

Is it safe outside? I thought I saw a PS3!

by zzzzz - 2007-02-13 11:14
» NFGBlinkAC

Japan apart from 1 month sales the PS2 was also selling as well as the PS3 and the PSP combined to.



I agree if a big title like VF5 did not sell consoles why didnt it ?.



You done that same old list come on you know full well that list can be matched by the 360 AAA games also coming out to.



Remember outside of Japan people also buy American/Chinesse products.

by Crow - 2007-02-14 09:06
» Cell Programming.

"Why learn a whole new programming method when the XBOX 360 uses traditional (and proven) technology?"



Probably because the Xbox 360 sucks.

by Crow - 2007-02-14 09:09
» Idiot

You also forgot that Vista's theme system is a complete ripoff of GNOME (the thing that Linux uses), except Vista requires half of the memory in your high-end graphics card to display the freaking time, while Linux can do it with any size onboard chipset.



Oh, and I like how Linux is secure, rather than Vista, which was touted as "Very secure" but yet managed to be hacked within the first week of release. :-D

Add comment

Security code
Refresh

Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!