Develop for PlayStation 3 Linux

前端 未结 4 1378
Happy的楠姐
Happy的楠姐 2021-01-30 14:57

I\'m interested in developing software for Sony PlayStation 3 consoles which contains a multi-core Cell processor, targeting any PS3-compatible Linux distributi

4条回答
  •  自闭症患者
    2021-01-30 15:40

    Be mindful when running code on the SPEs of their special design -- the default stack size varies widely from compiler to compiler, and can cause all sorts of issues when you overflow. It's usually a good practice to declare most data globally in SPE code, and avoid the stack except for very small variable allocations.

    Since there's no cache (or... its all L2 cache, in a sense), there's no real performance penalty to doing this, and you'll never run into problems like trying to DMA data to or from a memory address that is no longer valid, etc.

    The IBM SPE compiler is generally considered the best, afaik, although I have never used it, personally.

提交回复
热议问题