3 ms·
Some context: RISC-V Summit is next week, and RISC-V international has just approved a batch of important extensions[0]. With these extensions, RISC-V is not mi
by snvzz 5y ago
Some context: RISC-V Summit is next week, and RISC-V international has just approved a batch of important extensions[0]. With these extensions, RISC-V is not missing anything relative to ARM and x86 ISAs in terms of functionality.
I expect a lot of tape-outs to happen this month, as core vendors were probably holding for the announced ratifications, in fear of last minute changes. Next year is going to be exciting.
[0]: https://riscv.org/announcements/2021/12/riscv-ratifies-15-new-specifications/ https://riscv.org/announcements/2021/12/riscv-ratifies-15-ne...
- socialdemocrat 5y agoThat is great news! Is there any friendly intro/coverage anywhere of the new vector extension? I am curious about the final design. Would be interesting to hear how people think it compares with ARMs scalable vector extensions.
- snvzz 5y agoThere's been a few talks on the topic. They're archived in e.g. youtube. I like it. It's fairly simple and clean, yet powerful. There was also some discussion here in HN months ago, about an article comparing RISC-V V extension and ARM SVE. The article itself got several things wrong about V, but the discussion[0] was interesting. [0] https://news.ycombinator.com/item?id=27063748 https://news.ycombinator.com/item?id=27063748
- deleted 5y ago[deleted]
- sdbbp 5y agoThis in-depth presentation is good: https://www.youtube.com/watch?v=oTaOd8qr53U https://www.youtube.com/watch?v=oTaOd8qr53U
- monocasa 5y agoI wouldn't say RISC-V isn't missing anything. The lack of add/subtract with carry is an issue for efficient runtime of many JITed languages like JavaScript. That being said, I don't think it's the worse thing in the world like some do. The focus now should be on compiled code since JITs by definition can make runtime descions on if some future extension that fixes this deficiency exists or not. The J extension has stalled for the moment, but with these other extensions ratified there should be more bandwidth available hopefully.
- rwallace 5y agoI'm curious, why do you think JavaScript wants add with carry?
- teruakohatu 5y agoCan't vendor's making desktop/mobile class CPUs detect the equivalent pattern and optimize it in microcode or silicon? Or is that what we are trying to get away from?
- monocasa 5y agoMaybe, but it's a leap, IMO. The equivalent patterns are 3x as long, and modify tons of arch visible state for their intermediate results which leaves more work for those combined instructions to do. The complaint is valid, IMO, and would show up on the filtration test they used to come up with ops if they were working with JITs too rather than just what's in AOT code.
- userbinator 5y agoIt can try... but you're basically trying to "decompile" or "compress" code to a higher level, and that's not easy nor efficient. If something relatively simple like ADC is difficult, think of something like an entire encryption/hash round, which competing CISC processors already have dedicated instructions for. In the case that you do manage to make that work, there's still the matter of those extra instructions taking up valuable space in caches and memory bandwidth. Hence why I don't think "RISC is the future" unlike a lot of other proponents; I think a CISC with uop-based decoding will be more scalable and performant. Even ARMs have moved a little in that direction.
- deleted 5y ago[deleted]