Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add section on vector support #359

Closed
tariqkurd-repo opened this issue Sep 12, 2024 · 0 comments · Fixed by #365
Closed

Add section on vector support #359

tariqkurd-repo opened this issue Sep 12, 2024 · 0 comments · Fixed by #365
Labels
documentation Improvements or additions to documentation For next release

Comments

@tariqkurd-repo
Copy link
Collaborator

The vector spec is simple "check every byte of every load/store access"

This needs adding to the doc.

The concept of adding tags into vector registers would be a future feature.

@tariqkurd-repo tariqkurd-repo added bug Something isn't working documentation Improvements or additions to documentation For next release and removed bug Something isn't working labels Sep 12, 2024
tariqkurd-repo added a commit to tariqkurd-repo/riscv-cheri that referenced this issue Oct 9, 2024
This PR has the following changes:
* Remove all outdated notes regarding CHERI and vector
* Remove pre-existing and incomplete vector instruction listings that
were `ifdef` out
* Remove adoc defines to conditionally build the CHERI specification
with/without vector
* Add a section describing how the RISC-V vector extension integrates
with Zcheripurecap and Zcherihybrid:
    * Vector registers cannot hold capabilities with tag=1
* Vector memory accesses are authorized by either `ddc` or a capability
in a **c** register depending on the CHERI mode
* Vector has all the usual memory access exceptions, but only _body_ and
_active_ elements may give rise to out-of-bounds exceptions i.e.
elements that are masked off, before vstart or after vl do not trap

Fixes riscv#359

---------

Signed-off-by: Tariq Kurd <tariqandlaura@gmail.com>
Co-authored-by: Tariq Kurd <tariq.kurd@codasip.com>
Co-authored-by: Tariq Kurd <tariqandlaura@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation For next release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant