Andrew Waterman
509bec19b0
Merge pull request #2253 from 5265325/feat/zvzip
Add Zvzip extension.
8 hours ago
Zhibo Hong
848474582d
Add Zvzip extension.
6 days ago
Andrew Waterman
204b88deda
Merge pull request #2255 from binno/rvv_crypto_fix
disasm: Do not imply Zvbb from RVV crypto groups (#146 )
6 days ago
Binno Shen
cd58db2ba7
Merge branch 'master' into rvv_crypto_fix
6 days ago
Andrew Waterman
e6b1a9df4e
Merge pull request #2254 from 5265325/feat/svvptc
Add Svvptc extension.
6 days ago
Michelle Wu
e06eae1039
disasm: Do not imply Zvbb from RVV crypto groups ( #146 )
Remove EXT_ZVBB enablement from Zvkn, Zvknc, Zvkng, Zvks, Zvksc, Zvksg
• Zvkn = Zvkned + Zvknhb + Zvkb + Zvkt
• Zvknc = Zvkn + Zvbc
• Zvkng = Zvkn + Zvkg
• Zvks = Zvksed + Zvksh + Zvkb + Zvkt
• Zvksc = Zvks + Zvbc
• Zvksg = Zvks + Zvkg
6 days ago
Zhibo Hong
38f162ccd0
Add Svvptc extension.
6 days ago
Andrew Waterman
76ced61f54
Merge pull request #2209 from 5265325/feat/zvabd
Add Zvabd extension.
2 weeks ago
Zhibo Hong
3bfe3ce5ee
Add Zvabd extension.
5 months ago
Andrew Waterman
5968cbe53e
Merge pull request #2242 from Steven-Li-Xiaogang/master
fix M-mode access scountovf according to Sscofpmf Version V1.0
2 weeks ago
steven
926d1c01d8
fix M-mode access scountovf according to Sscofpmf Version V1.0
3 weeks ago
Andrew Waterman
591cff1610
Merge pull request #2207 from riscv-software-src/fix-2206
Only set mstatus.VS for legal vector instructions
1 month ago
Andrew Waterman
a437348306
Retire dirty_vs_state macro
Reduce chance that it gets misused again in the future.
1 month ago
Andrew Waterman
a665eb0337
Don't write vstart in set_vl
All callers (the vector_unit constructor and the vsetvl instructions)
already initialize or otherwise zero vstart.
1 month ago
Andrew Waterman
ea29ce276c
Make sure VS is set on fault-only-first loads in all cases
We weren't setting it in the case that an exception was detected on
element 0, which is technically OK since no state changed, but is
inconsistent with how we handle regular vector loads.
1 month ago
Andrew Waterman
17682e173d
Make all vector ALU instructions invoke VECTOR_END, dirtying VS
dirty_vs_state is therefore no longer needed at the top in
require_vector.
Furthermore, the vstart write in VECTOR_END dirties VS, so
dirty_vs_state is not needed.
3 months ago
Andrew Waterman
e8e3a747d5
Dramatically simplify whole-register loads/stores
This makes the vstart/VS handling identical to regular vector loads/stores
1 month ago
Andrew Waterman
ae1531c207
Merge pull request #2239 from riscv-software-src/fix-2238
Make minstretcfg/mcyclecfg privilege bits read-only zero as appropriate
1 month ago
Andrew Waterman
114be91bbe
Remove incorrect use of static variable
It prevents modeling mixed RV32/RV64 systems.
1 month ago
Andrew Waterman
0714f0f588
Simplify masking of mnstatus bits when H is toggled
1 month ago
Andrew Waterman
6aa146d209
Simplify masking of medeleg bits when H is toggled
1 month ago
Andrew Waterman
cdca6411ad
Simplify masking of mhpmevent bits when H is toggled
1 month ago
Andrew Waterman
1d50ad3984
Make minstretcfg/mcyclecfg privilege bits read-only zero as appropriate
1 month ago
Andrew Waterman
68d4514685
Merge pull request #2236 from riscv-software-src/fix-2235
Don't error out if program buffer has size 0
1 month ago
Andrew Waterman
c73c3a1791
Merge pull request #2234 from hirooih/README.md-gdb-semihosting
Updated “Debugging With Gdb” to use semihosting
1 month ago
Andrew Waterman
ab21eb0e4c
Merge pull request #2165 from FrancescoScappatura-Ax/dtb_discovery_feature
DTB discovery feature
1 month ago
Andrew Waterman
5564ca81b7
Don't error out if program buffer has size 0
Resolves #2235
1 month ago
Hiroo HAYASHI
82742081e9
Updated “Debugging With Gdb” to use semihosting
- make the sample program as a typical C program
that uses the stack and semihosting (#155 ).
- use the default crt0.o and linker script.
Signed-off-by: Hiroo HAYASHI <24754036+hirooih@users.noreply.github.com>
2 years ago
Francesco Scappatura
2c94ea431e
DTB discovery feature
1 month ago
Andrew Waterman
b8eacc25b8
Merge pull request #2232 from riscv-software-src/fix-2230
Disallow delegation of misaligned-fetch exceptions when IALIGN=16
2 months ago
Andrew Waterman
4adab496a2
Disallow delegation of misaligned-fetch exceptions when IALIGN=16
Fixes #2230
2 months ago
Andrew Waterman
875a7ee66a
Merge pull request #2228 from abejgonzalez/patch-2
Modify in_bits to check in_valid before accessing
2 months ago
Abraham Gonzalez
78762796e8
Modify in_bits to check in_valid before accessing
Signed-off-by: Abraham Gonzalez <abe.j.gonza@gmail.com>
2 months ago
Andrew Waterman
eb6586e3de
Merge pull request #2227 from riscv-software-src/fix-2221
Raise correct trap in U-mode on indirect CSRs when !mstateen.csrind
2 months ago
Andrew Waterman
aea74cb694
Raise correct trap in U-mode on indirect CSRs when !mstateen.csrind
Fixes #2221
2 months ago
Andrew Waterman
98ccf030bb
Merge pull request #2221 from DymShanks/fix/vu-mode-sireg
Fix: Enforce virtual_instruction trap for VU-mode indirect CSR access
2 months ago
DymShanks
49d1d2a802
Fix: Enforce virtual_instruction trap for VU-mode indirect CSR access
2 months ago
Andrew Waterman
7655ac0843
Merge pull request #2223 from riscv-software-src/fix-deps
Regularize extension-dependency handling
2 months ago
Andrew Waterman
8b802199fb
Have Zabha imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
5c142baf88
Have ZC* imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
27ecd02d6b
Have Zvfofp4min imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
1a2af0362e
Clean up handling of Zcf
2 months ago
Andrew Waterman
ac939da203
Have V imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
466d1b0e4c
Have Z[v]fbfmin imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
8b22afdbd9
Have Zvfhmin imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
a91c0a9f51
Factor out add_extension method
2 months ago
Andrew Waterman
e9571d4498
Have Zfhmin imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
715906f416
Have Zclsd imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
978f96a992
Have Zicfiss imply extensions rather than erroring if not present
2 months ago
Andrew Waterman
9882cd202b
Zicfiss depends on Zaamo
So, no need to check for Zaamo in the instruction definitions
2 months ago