3 ms·
Hum... Fixed size instructions make wide instruction machines possible, they don't have much more use. Variable size instructions do make them nearly impossibl
by marcosdumay 11y ago
Hum...
Fixed size instructions make wide instruction machines possible, they don't have much more use. Variable size instructions do make them nearly impossible, does not matter if it's easy to calculate the size of not. There's no compromise to get here. (If you really want wide instructions is another can of worms.)
32 registers (31+sp) is so old school that I'm wondering if the number isn't just random. Also, zeroing the unused part of a register has its share of problems.
Taking ip out of the generic register set has its share of problems, and it's not hard to know if you are branching. It fixes a not-a-problem.
The article is not well thought-off.
- pkaye 11y agoI think the 32 register requirement came from the original RISC studies where they analyzed how many function arguments and temporaries were needed by typical programs of the time.
- thesz 11y agoThe IP should not be visible. IP, actually, is implementation detail and its visibility can hinder future performance or extensibility. For example, when you are implementing OoO arch, you will have to deal with the possibility of writes to IP. That will not save power and estate.