Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
change decode generation part of chisel
|
|
Support for Zvk, Vector Cryptography Extensions
|
|
Add encodings for all instructions in the Zvk extensions:
- Zvbb, Vector Bit-manipulation instructions used in Cryptography,
- Zvbc, Vector Carryless Multiplication
- Zvkg, Vector GCM/GMAC instruction for Cryptography,
- Zvkned, NIST Suite: Vector AES Encryption & Decryption (Single
Round),
- Zvknha, Zvknhb, NIST Suite: Vector SHA-2,
- Zvksed, ShangMi Suite: SM4 Block Cipher Instructions
- Zvkssh, ShangMi Suite: SM3 Hash Function Instructions
Add two "shorthand" extensions:
- Zvkn: NIST Suite, imports Zvbb, Zvbc, Zvkned, and Zvknh
- Zvks: ShangMi Suite, imports Zvbb, Zvbc, Zvksed, and Zvksh
Three new fields are listed in constants.py:
- 'zimm5', used to encode round constants (Zvkns, Zvksed, Zvksh),
and 5-bit shift constant (vwsll.vi in Zvbb)
- 'zimm6hi, zimm6lo', used to encode the 6 bits rotate amount
in vror.vi.
The Zvk instructions – with the exception of Zvbb, Zvbc – reside in the
P opcode space. Some encodings conflict with proposed instructions
in the P extension (packed SIMD). Zvk and P are exclusive of each
other, no implementation will implement both. Conflicting P instructions
are marked as pseudo of the Zvk instructions.
The encodings match the current documentation of the specification
at <https://github.com/riscv/riscv-crypto/tree/master/doc/vector>,
at Version v0.9.1, 25 April, 2023 (Freeze Candidate).
Co-authored-by: Eric Gouriou <ego@rivosinc.com>
Co-authored-by: Stanislaw Kardach <kda@semihalf.com>
Co-authored-by: Kornel Duleba <mindal@semihalf.com>
Co-authored-by: Raghav Gupta <rgupta@rivosinc.com>
Signed-off-by: Eric Gouriou <ego@rivosinc.com>
|
|
Add (unratified) BF16(Zfbfmin/Zvfbfmin/Zvfbfwma) extensions.
|
|
|
|
Fix merging of instructions with the same name
|
|
Fixes generation of 'extension' field for instr_dict.yaml
|
|
|
|
Add (unratified) Zfa extension
|
|
Zfa adds 'missing' floating-point functionality:
- fli.[hsdq]: floating-point load-immediate
- fminm/fmaxm.[hsdq]: IEEE 754-2019 minimum and maximum
- fround(nx)?.[hsdq]: IEEE 754-2019 roundToIntegral(Exact)?
- fcvtmod.w.d: ECMAScript modular float->integer conversion
- move instructions for XLEN < FLEN
- comparisons that support quiet NaN inputs
This adds a surprisingly large number of files, as the instructions
added with Zfa depend on context (e.g., .h-variants become available
only if Zfh is present).
|
|
Add Smrnmi MNRET instruction
|
|
Forgot to add this as part of #168.
|
|
Add Snrmni CSR and field definitions
|
|
|
|
|
|
Removing "grev & grevi" instructions from "unratified/rv*_zbpbo" sub-extensions
|
|
GREV instruction no longer exist in the zbpbo specified by [v0.9.11 spec](https://github.com/riscv/riscv-p-spec/blob/master/P-ext-proposal.adoc#51-zbpbo)
|
|
* Move Zawrs to ratified folder
* Move Zawrs to ratified folder
|
|
Revert #158, restoring #147
|
|
This reverts commit 24cba79065aa975ad91e92c5d59f2e1dafa5ab26.
|
|
This reverts commit 3485bbcda5509615e4d18708722d67871efb7eaf.
|
|
This reverts commit 6b5a0648ab6b99507aef3c902afbcd3cd9d90353.
|
|
Temporarily revert #147
|
|
This reverts commit 9b0eddd52b9e3c1fbd1dab56ecbaa88747254a2a.
|
|
This reverts commit 2cf6da8f9a370ee5c0012d4ae4f403c3d920d1e8.
|
|
This reverts commit 115e4237407e8c02b945dfb12c086ee57200dd55.
|
|
Temporarily work around #147 breaking Spike
|
|
|
|
It's a new year. Make the copyright clause reflect 2023.
|
|
The Svadu extension (https://github.com/riscv/riscv-svadu) adds the
HADE bit (61) to menvcfg and henvcfg CSRs to control updating of the
A/D bits in the PTE. Provide the bit encodings for the HADE support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adding RV128 shift opcodes changed what metadata we emit for SLLI, SRLI,
and SRAI. Thus, downstream tooling that relies on these to connote the
RV64 variants of these instructions is semantically affected.
Fix by reverting SLLI etc. to being the RV64 variants.
|
|
This will reduce the chance that people pick the wrong shamt width.
|
|
|
|
svadu
|
|
It's a new year. Make the copyright clause reflect 2023.
|
|
The Svadu extension (https://github.com/riscv/riscv-svadu) adds the
HADE bit (61) to menvcfg and henvcfg CSRs to control updating of the
A/D bits in the PTE. Provide the bit encodings for the HADE support.
|
|
Fix issues from #153
|
|
|
|
|
|
|
|
|
|
|