I wonder how true this rumor is, but I remember reading that around the time the F35's computer system was designed, Lockheed Martin shopped around for CPUs from different vendors. PowerPC was a very popular architecture used in military hardware, so LM contracted IBM to design a CPU for them. In Aerospace applications, it's very popular to have triple-redundant system, that's why IBM designed an unusual 3-core Power…
FWIW, the Xbox 360 chip was based on the processor developed for the PS3. No mention of F-35 here. “These cores are slightly modified versions of the PPE in the Cell processor used on the PlayStation 3” https://en.m.wikipedia.org/wiki/Xenon_(processor)
Xbox 360 Architecture
31–40 of 67 posts
Re: Xbox 360 Architecture
#32Re: Xbox 360 Architecture
#33This thing branched horribly. You had to use instructions to selectively write to distinct memory locations to avoid typical branching because misprediction was expensive. This was Frostbite/Battlefield 3 era. Good Times.
Is that a POWER thing or what was the main cause?
The idea using it in xenon without the spus was that high perf code could be tailored specifically for this core's uarch being a console, so the in order nature wasn't the worst thing and the gate savings are pretty huge.
Re: Xbox 360 Architecture
#34Earlier quoted context omitted.
FWIW, the Xbox 360 chip was based on the processor developed for the PS3. No mention of F-35 here. “These cores are slightly modified versions of the PPE in the Cell processor used on the PlayStation 3” https://en.m.wikipedia.org/wiki/Xenon_(processor)
Still, nothing would've prevented IBM from using the Cell PPE as the basis for a PowerPC chip for the military, so that doesn't disprove the theory.
The book "The Race for a New Game Machine" goes over the timing pretty well.
Re: Xbox 360 Architecture
#35Super minor nitpick but ROP wasn’t used for the King Kong/SMC exploit. I would consider it a ROP exploit if multiple return-oriented gadgets were chained together to form a full exploit chain, but what happened here is the syscall handler was invoked with a malformed index causing a single jump to user-mode code with kernel-mode privileges. It’s not too dissimilar to calling an arbitrary function pointer. Otherwise t…
Re: Xbox 360 Architecture
#36Hi Hackernews, don't forget you can use the alternative edition without styles: https://classic.copetti.org/writings/consoles/xbox-360/ (works better with accessibility tools, like text to speech; and translators) There are also new PDF and EPUB editions here: https://www.patreon.com/posts/67035520 (it's a public post, I just needed a place to upload those files without consuming my hosting's bandwidth). If you spot…
Re: Xbox 360 Architecture
#37Earlier quoted context omitted.
On top of being power architecture, both the 360 and the PS3 chose to push the 4 GHz clock limit before everyone else. To do this they sacrificed lots of speculative and out of order execution features of the CPU. The thinking of the hardware engineers was that the software is compiled for a fixed architecture doing a fixed job so the compiler should be able to statically order the instructions to make the best use o…
The "compiler will solve everything" theory seemed to last quite a long time, I first heard it with the Itanium and again with these pipelined CPUs. Narrator: It didn't solve anything.
Perhaps they do a good job on popular platforms like x86, because we can encode decades of experience, but not so great on brand new ones.
Re: Xbox 360 Architecture
#38Earlier quoted context omitted.
The "compiler will solve everything" theory seemed to last quite a long time, I first heard it with the Itanium and again with these pipelined CPUs. Narrator: It didn't solve anything.
This is speculation, but: optimizing compilers are pretty good, right? On x86 at least. Perhaps they do a good job on popular platforms like x86, because we can encode decades of experience, but not so great on brand new ones.
Our modern CPU cores have hundreds of instructions in flight at any one moment because of the depth of OoO execution they go to. You can only go that deep on OoO if you have the branch prediction accurate enough not to choke it.
Re: Xbox 360 Architecture
#39Re: Xbox 360 Architecture
#40Earlier quoted context omitted.
The "compiler will solve everything" theory seemed to last quite a long time, I first heard it with the Itanium and again with these pipelined CPUs. Narrator: It didn't solve anything.
This is speculation, but: optimizing compilers are pretty good, right? On x86 at least. Perhaps they do a good job on popular platforms like x86, because we can encode decades of experience, but not so great on brand new ones.
LLVM and GCC both have models of out of order pipelines but other than making sure they don't stall the instruction decoder it's really hazy whether they actually do anything.
The processors themselves are designed around the code the compilers emit and vice versa.