Binno
9565a260e9
Add smpmpmt extension
Signed-off-by: Binno <binno.shen@sifive.com>
9 months ago
Aliaksei Chapyzhenka
2ce87219a6
Add Zvfbfa, Zvfofp8min, Zvfofp4min support
10 months ago
Chih-Min Chao
e2e02098a4
ext: add zibi
It implement v0.6 version
reference
https://github.com/riscv/zibi/releases/download/v0.6/zibi.pdf
https://riscv.atlassian.net/wiki/spaces/USXX/pages/599261201/Branch+with+Immediate+Zibi+Ratification+Plan
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
10 months ago
Andrew Waterman
3232ce1b76
Implement Zvflqdot8f
10 months ago
Andrew Waterman
e3dc14a878
Implement Zvfbqdot8f
10 months ago
Andrew Waterman
1d56b556b5
Relax VLEN/ELEN checking
We should allow ISA strings like rv64gc_zve32f. Per the spec, the
various Zve extensions imply a minimum VLEN, so rv64gc_zve32f
is unambiguously equivalent to rv64gc_zve32f_zvl32b. Similarly,
rv64gc_zve64x, rv64gc_zve64x_zvl64b, and rv64gc_zve64x_zvl32b are
all unambiguously equivalent.
11 months ago
Andrew Waterman
faeae4eada
VLEN is unitless
11 months ago
Andrew Waterman
acac77d59d
No tabs
11 months ago
Andrew Waterman
717a6e275c
Add Zvldot extension support
11 months ago
Nadime Barhoumi
dcb5f0c784
Remove redundant checks in Zfbfmin and Zvfbfmin validation
11 months ago
Nadime Barhoumi
715c1597ab
Fix BFloat16 vector extension dependencies
* Enable EXT_INTERNAL_ZFH_MOVE when either Zfbfmin or Zfhmin is enabled
* Change Zvfbfmin to require Zve32f instead of V extension.
* Add proper dependency chain for Zvfbfwma requiring both Zvfbfmin and Zfbfmin.
12 months ago
Nado15
23ad840e4d
Add VLEN < ELEN validation check
1 year ago
Andrew Waterman
dd4d3fbca9
Implement Zvbdot draft
1 year ago
Hao
9950cb3d59
fix: check ext_str size when ext = zve*
`zve*` = "zve{32, 64}{x, f, d}", size of `zve*` must be 6.
Signed-off-by: Hao <58808837+ha0lyu@users.noreply.github.com>
1 year ago
Andrew Waterman
cce834e437
Support Ziccid extension
1 year ago
Andrew Waterman
b6a061b683
Support Ziccif extension
1 year ago
YenHaoChen
d4abc9a71b
AIA: Enable Smcsrind/Sscsrind if supporting Smaia/Ssaia
Smaia/Ssaia allocates indirect CSRs 0x30~0x3f for major interrupt
priorities and 0x70~0xff for external interrupts (only with an IMSIC).
2 years ago
YenHaoChen
8050278445
AIA: Add isa=..._smaia_ssaia_... option
2 years ago
Muhammad Moiz Hussain
4764d3c029
Implement Ssccfg & Smcdeleg for spike
Signed-off-by: muhammad.moiz.hussain@semidynamics.com
1 year ago
Mingzhu Yan
4d3920b262
Add Svade extension Support
Spike always supports the Svade extension, this is required by the RVA and RVB profiles
1 year ago
Andrew Waterman
b645cc0fba
Explicitly annotate fallthrough cases (-Wextra)
1 year ago
Mahmoud Abumandour
cfa593d0ea
isa_parser: don't append one char at a time in strtolower
This avoids potential re-alloations as it allocates the result string
upfront.
1 year ago
Andrew Waterman
5ed426bbf4
Add Zvqdotq extension
Not yet frozen, but in a pretty stable state.
See https://github.com/riscv/riscv-dot-product
1 year ago
Christian Herber
ff771919ec
Updated load/store pair for RV32 to v0.10
- renamed Zcmlsd to Zclsd
- bumped version number
2 years ago
Andrew Waterman
9a641bb03e
Validate Zvl ISA string correctly
See #1810 for explanation of how this can go wrong.
Resolves #1810
2 years ago
Andrew Waterman
6b74bd669d
Validate Zvl ISA string correctly
See #1810 for explanation of how this can go wrong.
Resolves #1810
2 years ago
Jerry Zhao
9031c7b651
Fix ordering of B single-letter extension
The canonical order is IMAFDQLCBKJTPVH
Signed-off-by: Jerry Zhao <jerryz123@berkeley.edu>
2 years ago
Ved Shanbhogue
c302e8bd16
Add Smdbltrp
2 years ago
Ved Shanbhogue
0797c21001
Add Ssdbltrp
2 years ago
YenHaoChen
370f741a97
pointer masking: Support _ssnpm to --isa
2 years ago
YenHaoChen
eea20ae6a2
pointer masking: Support _smnpm to --isa
2 years ago
YenHaoChen
436b684ff5
pointer masking: Support _smmpm to --isa
2 years ago
Rafael Sene
ef7416ce1d
Fix: Add missing <stdexcept> header for std::logic_error
- Included <stdexcept> in isa_parser.cc to resolve compilation error due to missing type 'std::logic_error'.
Signed-off-by: Rafael Sene <rafael@riscv.org>
2 years ago
Jerry Zhao
67e205c289
Restrict spike to vlen <= 4096
2 years ago
Jerry Zhao
457ea8c0cd
Relax zvfh/zvfhmin dependency on V, they only actually depend on Zve
2 years ago
Jerry Zhao
ede537120b
Add Zvl/Zve validation to isa_parser
2 years ago
Jerry Zhao
0408e797b1
Add isa_parser parsing for zvl/zve
2 years ago
Andrew Waterman
c6cb05ceb7
In isa_parser, move extensionology code before error-checking code
Resolves #1696
2 years ago
Christian Herber
70d26d64e6
Adding Zilsd and Zcmlsd extensions (Load/store pair for RV32)
2 years ago
Ved Shanbhogue
c5229c3f5f
Add Zawrs extension
2 years ago
Andrew Waterman
c4edeabbe7
Remove P, Zbpbo, Zpn, and Zpsfoperand from ISA parser
2 years ago
YenHaoChen
55ee3a5916
Make Zba + Zbb + Zbs imply B in misa
2 years ago
YenHaoChen
b06c1e7bca
Make Zaamo + Zalrsc imply A in misa
2 years ago
YenHaoChen
624dd40817
Implement misa.B bit through --isa=...B...
2 years ago
SuHsien Ho
9ba5bd3171
Add Zicfiss extension from CFI extension, v0.4.0
1. Add EXT_ZICFISS for enable Zicfiss with zicfiss extension name.
2. Add new software exception with tval 3 for shadow stack.
3. Implement sspush_x1/sspush_x5/sspopchk_x1/sspopchk_x5/ssrdp/ssamoswap_w/ssamoswap_d.
4. Implement c_sspush_x1/c_sspopchk_x5 in c_lui.h which has same encoding.
5. Add new special access type ss_access in xlate_flags_t for checking special read/write permission in SS(Shadow Stack) page.
6. Add new ss_load/ss_store/ssamoswap to enable ss_access flag.
7. Check special pte(xwr=010) of SS page.
3 years ago
Ming-Yi Lai
8e56ced020
Zicfilp: Add Zicfilp extension flag
3 years ago
Ved Shanbhogue
0bf0a60ad8
Add Zaamo and Zalrsc extensions
3 years ago
Ved Shanbhogue
075af7fd61
B=Zba+Zbb+Zbs
3 years ago
demin.han
40baa0143e
Fix order of H extension in ISA string
According to Subset Naming Convention section of ISA Manual Volume I,
H extension should be after V extension in ISA string.
Signed-off-by: demin.han <demin.han@starfivetech.com>
3 years ago
Ved Shanbhogue
da2f415bb6
Add srmcfg CSR
3 years ago