Join Nostr
2026-02-18 08:48:48 UTC
in reply to

David Chisnall (*Now with 50% more sarcasm!*) on Nostr: nprofile1q…j5wht nprofile1q…u8qh7 And condition codes. Microarchitects hated ...



And condition codes. Microarchitects hated condition codes because they meant that instructions would do partial updates to the same register, which made register rename annoying. As a result, most early RISC architectures omitted them. But it turns out that there are some techniques for implementing them that aren’t that bad in superscalar chips and, on pretty much all scales of design, the performance win from having them outweighs most other things you could do with the same complexity budget. Arm’s designers really wanted to remove them for AArch64 but found that the performance hit from doing so was too high.

I’m sad Patterson was willing to put his name on RISC-V because it’s an example of the kind of architecture that you design if you don’t measure anything.