Conversation
Edited 4 months ago

Imagine RISC-V but where every immediate has two more bits and branches/jumps can reach 8X as far? what could have been and should be.

1
0
0

In fairness, I’d have designed the ISA such that *all* instructions taking an rs2 has an immediate variant version. And sub should have been rsub, allowing, eg 1-x in one insn.

0
0
0

@tommythorn or, you know, just make the architecture two-operand for integer instructions where the destructive write isn’t a big deal. That’s several bits for everything right there, not just immediates.

The same people who hate on two-operand architectures (“oh, no, destructive source”) often then think FORTH is cool. Strange.

(And yes, FORTH is cool. I’m just saying that there is a mental disconnect with the whole destructive source thing. The occasional “mov” instruction is no worse than a “dup” or “over”)

0
0
0