News for hackers. Stuff that matters.
Re:ARM: Pragmatism, Not Purity by chasil on Tuesday November 15, 2022 @02:03PM (#33613423)
Admiration for SPARC and MIPS is not universal, and there were interesting warts on these early designs that did not age well.

https://www.jwhitham.org//2016/02/risc-instruction-sets-i-ha...

https://news.ycombinator.com/item?id=11607119

Re:ARM: Pragmatism, Not Purity by snvzz on Tuesday November 15, 2022 @02:32PM (#33613815)
They get many mentions in early RISC-V rationale and even the spec itself.

There were reasons not to use these architectures, even when/if open.

Re:ARM: Pragmatism, Not Purity by chasil on Tuesday November 15, 2022 @03:06PM (#33614290)
MIPS and SPARC blew everybody out of the water at their introduction, but they sacrificed elements of the instruction set for immediate/generational performance gains.

"RISC II proved to be much more successful in silicon and in testing outperformed almost all minicomputers on almost all tasks. For instance, performance ranged from 85% of VAX speed to 256% on a variety of loads. RISC II was also benched against the famous Motorola 68000, then considered to be the best commercial chip implementation, and outperformed it by 140% to 420%."

https://en.wikipedia.org/wiki/Berkeley_RISC

[Not really much mention of MIPS performance relative to CISC minis.]

https://en.wikipedia.org/wiki/Stanford_MIPS https://en.wikipedia.org/wiki/R2000_microprocessor

Re:ARM: Pragmatism, Not Purity by torstenvl on Tuesday November 15, 2022 @02:49PM (#33614066)
Predictable pipelining and delay slots were easy to adjust to and understand, and I love the idea of a rotating register file with zero-copy call stack, even though it's impractical today. The author claims memorizing how the registers overwrite one another is complicated, but I don't think so at all. G registers are global (with g0 always being 0). L registers are local. I (input) registers are the interface with the caller, O (output registers) are the interface with the callee, and the overlapping register window just moves so that O registers are I registers in the called function.

Elegant.

Also the author goes on to praise x86, which is absolutely fucking bananas if you care about not having to rote memorize register names.

I'm calling a function with four word-sized arguments. In SPARC they go in %o0, %o1, %o2, and %o3. Where do they go in x86?

Re:ARM: Pragmatism, Not Purity by ZirconiumX on Tuesday November 15, 2022 @06:22PM (#33616628)
DIre SIlicon DeXtrously Concatenates 8 and 9 (for SysV). Jubilee[1] came up with that and it's a useful mnemonic.

[1]: https://twitter.com/workingjubilee