3 ms·
To clarify, I'm not saying that RISC-V code density of C extension is a big advantage over its competitors, but it is a huge benefit for RISC-V. You are right,
by avianes 5y ago
To clarify, I'm not saying that RISC-V code density of C extension is a big advantage over its competitors, but it is a huge benefit for RISC-V.
You are right, code density is perhaps not that critical today.
And it is difficult to quantify its relevance as code density is always related to other variables such as instruction expressiveness, numbers of uop emitted, etc.
But I still think that code density is important for RISC-V.
Because RISC-V philosophy to reach high performance is to use very simple instructions that can be combined together and take advantage of macro-op fusion.
I think RISC-V without macro-op fusion can't reach the performance of other ISA.
But RISC-V with all these simple and not very expressive instructions and without C extension has a pretty bad code density which could cost a lot because it is not at the competitors' level.
So if we think of RISC-V as a macro-op fusion oriented ISA, then the C
extension becomes important to be competitive.
I don't know what is better between a "macro-fusion" oriented arch or a "complex-instruction" oriented arch, future will tell us.
- klelatti 5y agoThanks for clarifying - interesting to see a different philosophy being tried.