riscv / riscv-j-extension

Working Draft of the RISC-V J Extension Specification
https://jira.riscv.org/browse/RVG-128
Creative Commons Attribution 4.0 International
158 stars 19 forks source link

Zjpm: Tighter/cleaner definition on instruction fetch and pointer masking #28

Closed deepak0414 closed 11 months ago

deepak0414 commented 1 year ago

It's not very clear in spec what is meant when it says "instruction fetch will be subject to pointer masking"

It might be more cleaner if a tighter definition is provided along with it's own section/chapter on instruction fetches and pointer along following lines.

Instruction fetch and pointer masking If pointer masking for instruction fetching is enabled in current mode then all operations which lead to PC being changed, before fetch happens ignore transformation will be performed on address contained in PC before being sent to MMU.

Operations which lead to PC being changed can be:-

martinmaas commented 1 year ago

Addressed in fd7220807e1405ba9b5de38d9d4ac26e73312128 (Section 2.7)

martinmaas commented 11 months ago

This issue is now obsolete, as pointer masking no longer applies to instruction fetch.