3 ms·
Surprised to see RISC-V is not mentioned. They take an interesting approach to extensibility where it's basically envisioned in the ISA from the start. Outsid
by rwmj 9y ago
Surprised to see RISC-V is not mentioned. They take an interesting approach to extensibility where it's basically envisioned in the ISA from the start. Outside a core subset of features that programs can assume, you have to check each extension you need before you use it, so (in theory) it should be possible to drop deadweight extensions in future.
See "ISA Overview" here:
https://content.riscv.org/wp-content/uploads/2016/06/riscv-spec-v2.1.pdf https://content.riscv.org/wp-content/uploads/2016/06/riscv-s...
- wolfgke 9y ago> Outside a core subset of features that programs can assume, you have to check each extension you need before you use it, so (in theory) it should be possible to drop deadweight extensions in future. x86 processors also have cpuid > https://en.wikipedia.org/wiki/CPUID https://en.wikipedia.org/wiki/CPUID to signal which extensions are supported or not. In theory it would also be possible to drop deadweight extensions this way for x86, too. The practice shows that at least for the tasks that PCs are used for, one can hardly drop anything here. Exceptions are - 3Dnow! (is not supported in Bulldozer, Bobcat and Zen anymore; cf. https://en.wikipedia.org/w/index.php?title=3DNow!&oldid=769683777#Processors_supporting_3DNow https://en.wikipedia.org/w/index.php?title=3DNow!&oldid=7696...) - A20 gate (not supported anymore since Haswell: cf. https://en.wikipedia.org/w/index.php?title=A20_line&oldid=781982575#A20_gate https://en.wikipedia.org/w/index.php?title=A20_line&oldid=78...)
- drudru11 9y agoAgreed, but then again there just isn't any practical implementation available yet. If there was a raspberry pi like device, I think we would start seeing it mentioned more.
- microcolonel 9y agoI'm guessing you mean workstation/server scale implementations? There is a shipping microcontroller implementation and has been for a while now.
- rwmj 9y agoWe should have an RV64G implementation this year with any luck.
- roca 9y agox86 has CPUID which is not all that different. The problem with feature detection is that you can't depend on programs to be well-behaved. For example in Web applications you often see accidental or deliberate assumptions "if we detect X, then Y must also be supported". Often there is a !Y path that has never been tested and therefore doesn't work.