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.

Updated RISC-V Instruction Set Manual: Version 2.1

54 pointsby svens_almost 9 years ago

4 comments

hgaalmost 9 years ago
From the Preface of the linked PDF:<p><i>This is version 2.1 of the document describing the RISC-V user-level architecture. Note the frozen user-level ISA base and extensions IMAFDQ version 2.0 have not changed from the previous version of this document, but some specification holes have been fixed and the documentation has been improved. Some changes have been made to the software conventions.</i>
tropoalmost 9 years ago
Security:<p>It still won&#x27;t do execute-only and true read-only memory. We&#x27;ve had true read-only for ages now on x86, and just got execute-only. You need these: rw- r-- --x<p>It still has poor support for ASLR, especially the limited-MMU variants. Even the most limited version should be able to require that the uppermost address bits be something randomish, even if it&#x27;s only a per-priv-level random cookie.
评论 #11821675 未加载
legulerealmost 9 years ago
I guess the privileged ISA still being a draft prevents full application processors from being rolled out. But is there anything preventing micro-controllers being mass produced? Why isn&#x27;t there an Arduino with a RISC-V micro-controller yet?
评论 #11820410 未加载
评论 #11817718 未加载
pizlonatoralmost 9 years ago
&quot;We did not include special instruction set support for overflow checks on integer arithmetic operations, as many overflow checks can be cheaply implemented using RISC-V branches.&quot;<p>False. For example, JavaScript add&#x2F;sub will require 3x more instructions on RISC-V than x86 or ARM. Same will be true for any other language requires (either implicitly, like JS, or explicitly, like .NET) overflow checking. Good luck with that, lol.
评论 #11819883 未加载
评论 #11824519 未加载