diff options
author | Michael Maitland <michaeltmaitland@gmail.com> | 2024-02-05 13:56:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 13:56:25 -0500 |
commit | 0bf165e383ac9c58dcb1764aef9f35334afa0cc7 (patch) | |
tree | 77bb5634098cbdddd19aace6599ff79eb1f4d5a4 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 0c02ea05c8414e72339e2521d1fdae54e91569bb (diff) | |
download | llvm-0bf165e383ac9c58dcb1764aef9f35334afa0cc7.zip llvm-0bf165e383ac9c58dcb1764aef9f35334afa0cc7.tar.gz llvm-0bf165e383ac9c58dcb1764aef9f35334afa0cc7.tar.bz2 |
[RISCV] Add support for RISC-V Pointer Masking (#79929)
This patch implements the v0.8.1 specification. This patch reports
version 0.8 in llvm since `RISCVISAInfo::ExtensionVersion` only has a
`Major` and `Minor` version number. This patch includes includes support
of the `Ssnpm`, `Smnpm`, `Smmpm`, `Sspm` and `Supm` extensions that make
up RISC-V pointer masking.
All of these extensions require emitting attribute containing correct
`march` string.
`Ssnpm`, `Smnpm`, `Smmpm` extensions introduce a 2-bit WARL field (PMM).
The extension does not specify how PMM is set, and therefore this patch
does not need to address this. One example of how it *could* be set is
using the Zicsr instructions to update the PMM bits of the described
registers.
The full specification can be found at
https://github.com/riscv/riscv-j-extension/blob/master/zjpm-spec.pdf
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions