We briefly note that the entire privileged-level design described in this document could be replaced with an entirely different privileged-level design without changing the unprivileged ISA, and possibly without even changing the ABI. In particular, this privileged specification was designed to run exis...
原文:The RISC-V Instruction Set Manual Volume I: Unprivileged ISA Chapter 1 (Document Version 20191214-draft) November 19, 2021 虽然是翻译但其实本质上还是个人笔记... 所以一切请以最新的官方标准文档为准。其实之前也有大佬翻译过,但是后来版本更新了,所以我想在加深理解RISC-V spec的同时顺便翻译翻译~ ...
但随之而来的问题就是各个厂商对于拓展的支持各不相同,甚至有不少自己定义的指令集,让原本就生态脆弱的RISC-V竞争力更低,尤其是在软件生态依赖很强的高端应用场景。 2介绍 目前国际比较领先的RISC-V厂商,sifive,推出的几款RISC-V的IP,例如P670,>12 SpecINT2k6/GHz,性能大致在A78水平。而P870,>18 SpecINT2k6...
For more details, please seeThe RISC-V ISA Specification, Volume I: Unprivileged Spec march RISC-V ISA strings are defined by appending the supported extensions to the base ISA in the order listed above. For example, the RISC-V ISA with 32, 32-bit integer registers and the instructions to ...
The RISC-V unprivileged specification defines four different types of traps at runtime: Contained: the trap is visible to, and handled by, software running inside the execution environment. Requested: the trap is a synchronous exception that is an explicit call to the execution environment requestin...
指令集规范中包含了非特权指令集(当前版本规范为Unprivileged Spec v. 20191213)、特权指令集(当前版本规范为Privileged Spec v. 20211203),以及一些仍然处于其他阶段的扩展规范。 我们这个项目的目标很简单,不需要支持特权指令,更不需要支持拓展指令(比如向量拓展、位操作拓展等),仅需要支持非特权指令集就行了,而且是...
I'm trying to add support for specifying a spec version to the Sail model, but I'm having a really hard time working out which versions of the specs actually exist. As far as I can tell there's RISC-V Technical Specifications has the lat...
RISC-V Zmmul Multiply Only 实现了需要乘法运算而不需要除法的低成本实现,是 RISC-V 非特权规范的一部分。该扩展的开发和批准由 Allen Baum 领导,工作在 Unprivileged ISA Committee 进行。 2022 年的前四个 RISC-V 规范 开放标准组织RISC-V International在 2021 年批准了 16 个规范,代表 40 多个 RISC-V ...
In our post onCaller and Callee Saved Registers, we introduced 32General Purpose Registers (GPRs)defined in the RISC-V ISA. These registers are defined in the Unprivileged Spec and are sometimes referred to asinteger registers. The RISC-V Privileged Spec defines additional registers referred to as...
Ah I was looking at an older version of the Unprivileged spec, it looks like that section has been reworded in a more recent version. Although I'm not sure if that really affects the discussion here. Collaborator pdonahue-ventana commented May 1, 2024 I think that your concern is with...