TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why RISC-V over other “open” ISA's?

7 pointsby kondor6cover 2 years ago
Why was RISC-V developed over other ISA's like SPARC and POWER? I think some of them opened up after the RISC-V had been developed. However work has/is continued on RISC-V, and I just wanted to know if someone could explain motives. Since there's already a lot of value and time saved in those other architectures. I'm just a operations guy with a passion for Linux and open systems, I don't have an angle or anything with this question. Thank you for your time and I hope this helps others.

4 comments

childintimeover 2 years ago
<a href="https:&#x2F;&#x2F;youtu.be&#x2F;RrVRMFjYti0?t=200" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;RrVRMFjYti0?t=200</a>
评论 #33126432 未加载
bediger4000over 2 years ago
Sun tried to get other companies to implement SPARC. You could get a license for (I think) $99 back in the late 1990s. SPARC does have peculiarities like register windows that may make it harder to implement.<p>Now that Oracle owns it, it&#x27;s probably unpalatable.
brucehoultover 2 years ago
The designers of RISC-V are pretty clear in their original papers (and in an appendix in the current RISC-V spec) on why <i>they</i> decided in 2010 that they couldn&#x27;t use any existing ISA. Here&#x27;s a list of some, as I see them.<p>- proprietary, and even if Berkeley could fork out millions for a license, that wouldn&#x27;t allow other people to use work Berkeley published. That eliminated at least x86, ARM, MIPS, 64 bit SPARC, POWER (at the time).<p>- features that are just bad ideas: register windows, delay slots that made the first implementation easier but are just useless cruft once you go superscalar or even have different cache or branch latencies, or branch prediction etc.<p>- no existing or clear path to 64 bit. RISC-V was 64-bit first, with 32 bit as an option. ARM and OpenRISC were 32 bit only. They have both since got 64 bit, ARM with an entirely new ISA. Only 32 bit SPARC was open.<p>- opcode space already full, or nearly so. RISC-V was always planned to support many extensions far into the future, many of which can&#x27;t even be conceived of in 2010 (or 2022 for that matter), and they need opcode space. OpenRISC for example is a pretty good &quot;state of the art&quot; ISA in 2010, with all the features commercial ISAs have, but the opcode space is full.<p>- inappropriate license, even if open. GPL is acceptable for an intermediate tool such as GCC, where the output it produces is not GPL. Though even then, almost all new work has switched to LLVM for quite a few years already (other things play a part in that too: source code understandability, upstreaming policy...). Berkeley has long preferred more permissive licences.<p>- poor code density. Not as important as legal issues, but still desirable. Disk and RAM are huge now and not an issue, but L1 icache has grown very little in 30 years. Cache latency and energy expended in instruction fetch have become more and more important. Extremely variable instruction lengths are difficult to deal with, but two lengths with a clear marker of the length adds very little burden to instruction decoding and has a long history, from CDC 6600 in 1964 with 15 and 30 bit instruction lengths (the fastest supercomputer of its time, and effectively a RISC), to the Cray 1 (16 and 32 bit instruction lengths), to the IBM 801, the RISC I. ARM became dominant in mobile in large part due to the high performance but dense code of Thumb2. 8086 had great code density. i386 lost density with 32 bit literals and offsets, and addr16 and data16 prefixes to override them. Amd64 lost even more density -- though still better than the fixed length 32 bit instructions in RISC ISAs such as SPARC, MIPS, POWER, and original ARM. ARM did a great job getting fixed-length arm64 about as dense as amd64 by managing to combine two operations into single instructions in ways that are used frequently enough in real programs to matter. But not as dense as Thumb2 or RISC-V.<p>- no support for subsets. Not important in smartphones, desktop, servers at least for the main CPU. But extremely useful for embedded applications, INCLUDING the dozens of small secondary CPU cores doing management functions in a desktop SoC. It&#x27;s extremely useful to be able to use the same basic ISA, and more importantly the same toolchain, for those secondary cores. Historically many ISAs have made floating point or SIMD optional. Mostly because they started without them. But both amd64 and arm64 drew a line in the sand and said FP and SIMD are part of the baseline. Which makes sense for big applications processors, but is severely limiting if you want to get into embedded uses. RISC-V does similar with the applications processor profile, a convention, not a hard limitation.<p>That was in 2010. Since then some other ISAs have gone &quot;open&quot;, perhaps in reaction to RISC-V. But how open are they really? Are they irreversibly open?<p>MIPS supposedly went open for a subset of their ISAs in May 2019 (not even the most interesting and modern NanoMIPS), then abruptly closed again in October 2019, only five months later. And they weren&#x27;t particularly open. You had to get your business plans approved by MIPS before they would give you a license, you had to get your core tested and approved by MIPS, and you were not allowed to publish your core e.g. on github. And in any case it&#x27;s not BETTER than RISC-V. At most it&#x27;s about the same.<p>POWER is apparently open now. I don&#x27;t even know exactly what they mean by that. I used PowerPC for 10 or 12 years and liked it (did assembly language programming on it etc), but it&#x27;s not better than RISC-V.<p>If some of these things had been properly open in 2010 then RISC-V might never have been started. But once all the work has ALREADY been done to design RISC-V, design chips, port software such as GCC and LLVM and Linux and everything else? And RISC-V momentum is snowballing? And they others are not technically better anyway?<p>Too late, guys.
ksecover 2 years ago
I could at least tell you why HN dislike SPARC and POWER ( probably to some extend the rest of the industry );<p>It is because they dont like Oracle and IBM.