r/askscience • u/socialmachan2 • Aug 27 '18
Computing How is RISC-V different from normal RISC?
I've heard that RISC-V is a open source architecture, how exactly is it open source and what are its benefits? How small is the processor and how small can it get? What is the performance like? Is it a big deal for general computing?
4
Upvotes
7
u/whitequark Aug 27 '18
Apples to oranges. "RISC" is a (poorly-defined) category of architectures. "RISC-V" is a specific (confusingly named) architecture. It only makes sense to compare RISC-V to, say, MIPS and ARM.
Pretty small. An FPGA implementation called picorv32 fits into 750-2000 6-LUTs and 400-1000 FFs, which is similar to other small general-purpose 32-bit CPUs.
The performance of any specific CPU implementation depends on the details of the implementation and the process. To a first approximation, you can expect that a RISC-V CPU implemented in a similar way as a certain ARM CPU would achieve similar performance.
Not really. The reason RISC-V is gaining popularity is that other competitive instruction sets like (modern) ARM or (modern) MIPS have patents covering them and (per core) licensing fees that SoC vendors have to pay. SoC vendors would rather not pay ARM if they can help it, so if they don't need compatibility with existing ARM code, they can use a RISC-V core at a lower cost.
RISC-V is not fundamentally different from other similar architectures, so systems built on RISC-V SoCs would perform similarly.
8
u/[deleted] Aug 27 '18
It's not a processor architecture and it does not state what size the processor is. It is an instruction set architecture which defines the instructions used in processor. Open Source means that every design desicion is documented and can be implemented by anyone without having to pay for it.
0
u/symmetry81 Aug 27 '18
To extend what /u/whitequark said a bit: The biggest impact RISC-V has had seems to be in academia. I know that when I was working on my thesis in computer architecture it would have been nice to have had an easily available off-the-shelf design for a processor where I could swap out the adder with my own designs and observe the results. And it has a compiler and so forth too that's fairly well developed.
In industry cost savings is one major possible reason to adopt RISC-V. That seems to have been an important factor in WD's choice to start using it. But also the RISC-V architecture makes it pretty easy to add your own specialized instructions for your own workloads. WD seems to have cared about that too and it seems to have also played an important role in NVidia's decision to start using RISC-V in the management engines in their GPUs.