riscv / riscv-cheri

This repository contains the CHERI extension specification, adding hardware capabilities to RISC-V ISA to enable fine-grained memory protection and scalable compartmentalization.
https://jira.riscv.org/browse/RVG-148
Creative Commons Attribution 4.0 International
37 stars 24 forks source link

Section 5.7/8.5 clarification #313

Open buxtonpaul opened 3 days ago

buxtonpaul commented 3 days ago

In section 5.7 Disabling CHERI Registers the description points to Sections 3.3 and 8.5 for instructions that should generate exceptions. Whilst the text does say CHERI instructions, it is quite easy to read it as all instructions in table 8.5 would generate an exception. Suggest either

  1. Add column to the table in 8.5 to indicate clearly the instructions specified.
  2. Reword the sentence to make it clear that not all the instructions in 8.5 are CHERI instructions. E.g. The instructions in Section 3.3 and the CHERI instructions in Section 8.5 cause illegal instruction exceptions.