Andrew Waterman
68d4514685
Merge pull request #2236 from riscv-software-src/fix-2235
Don't error out if program buffer has size 0
3 months ago
Andrew Waterman
c73c3a1791
Merge pull request #2234 from hirooih/README.md-gdb-semihosting
Updated “Debugging With Gdb” to use semihosting
3 months ago
Andrew Waterman
ab21eb0e4c
Merge pull request #2165 from FrancescoScappatura-Ax/dtb_discovery_feature
DTB discovery feature
3 months ago
Andrew Waterman
5564ca81b7
Don't error out if program buffer has size 0
Resolves #2235
3 months 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
3 months ago
Andrew Waterman
b8eacc25b8
Merge pull request #2232 from riscv-software-src/fix-2230
Disallow delegation of misaligned-fetch exceptions when IALIGN=16
3 months ago
Andrew Waterman
4adab496a2
Disallow delegation of misaligned-fetch exceptions when IALIGN=16
Fixes #2230
3 months ago
Andrew Waterman
875a7ee66a
Merge pull request #2228 from abejgonzalez/patch-2
Modify in_bits to check in_valid before accessing
3 months ago
Abraham Gonzalez
78762796e8
Modify in_bits to check in_valid before accessing
Signed-off-by: Abraham Gonzalez <abe.j.gonza@gmail.com>
3 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
3 months ago
Andrew Waterman
aea74cb694
Raise correct trap in U-mode on indirect CSRs when !mstateen.csrind
Fixes #2221
3 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
4 months ago
DymShanks
49d1d2a802
Fix: Enforce virtual_instruction trap for VU-mode indirect CSR access
4 months ago
Andrew Waterman
7655ac0843
Merge pull request #2223 from riscv-software-src/fix-deps
Regularize extension-dependency handling
4 months ago
Andrew Waterman
8b802199fb
Have Zabha imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
5c142baf88
Have ZC* imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
27ecd02d6b
Have Zvfofp4min imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
1a2af0362e
Clean up handling of Zcf
4 months ago
Andrew Waterman
ac939da203
Have V imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
466d1b0e4c
Have Z[v]fbfmin imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
8b22afdbd9
Have Zvfhmin imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
a91c0a9f51
Factor out add_extension method
4 months ago
Andrew Waterman
e9571d4498
Have Zfhmin imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
715906f416
Have Zclsd imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
978f96a992
Have Zicfiss imply extensions rather than erroring if not present
4 months ago
Andrew Waterman
9882cd202b
Zicfiss depends on Zaamo
So, no need to check for Zaamo in the instruction definitions
4 months ago
Andrew Waterman
e7901f43aa
Don't log commits in snippy tests
Doing so adds too much output to the CI logs.
4 months ago
Andrew Waterman
9cea90bd28
Merge pull request #2224 from riscv-software-src/add-vector-test
Add simple vector extension test to CI
4 months ago
Andrew Waterman
52e6a75584
Echo CI commands to ease debugging
4 months ago
Andrew Waterman
6ff9d9ccd5
Add simple vector extension test to CI
4 months ago
Andrew Waterman
6dda4896cb
Merge pull request #2198 from riscv-software-src/fix-amocas-q
Fix triggers for accesses wider than XLEN
4 months ago
Andrew Waterman
dfbd749842
Make reg_from_bytes a bit less gross
I'd like to remove this routine eventually, but let's make it a bit less
visually unappealing in the meantime.
5 months ago
Andrew Waterman
497e3d830d
DRY in logging code
5 months ago
Andrew Waterman
0f59a6dc75
Fix triggers for accesses wider than XLEN
I believe that @en-sc's comment here is correct:
https://github.com/riscv-software-src/riscv-isa-sim/pull/2161#discussion_r2564958203
Nevertheless, failing an assertion when someone sets a trigger on memory
accessed by a wide access is not reasonable behavior for Spike. Better to
do something that follows the principle of least surprise, despite the
debug spec's lack of clarity on this point.
5 months ago
Andrew Waterman
b92958a9f1
Merge pull request #2216 from pointerliu/fix-tw-read
csrs.cc: if no U-mode, mstatus.tw is read-only 0
4 months ago
pointerliu
4c10fbe07b
csrs.cc: if no U-mode, mstatus.tw is read-only 0
4 months ago
Andrew Waterman
efdaa08371
Merge pull request #2208 from riscv-software-src/remove-grevi
Don't rely on definition of unratified bitmanip opcodes
4 months ago
Andrew Waterman
e532913fb3
Don't rely on definition of unratified bitmanip opcodes
See https://github.com/riscv/riscv-opcodes/pull/401
4 months ago
Andrew Waterman
26aab67907
Clean up grevi/gorci/shfli/unshfli implementations
No need for extra shamt variable.
4 months ago
Andrew Waterman
047b05cf7c
Merge pull request #2205 from Steven-Li-Xiaogang/master
correct smcdeleg indirect CSRs address accessed via sireg*
4 months ago
steven
12e9a38efb
correct smcdeleg indirect CSRs address accessed via sireg*
4 months ago
Andrew Waterman
ce747bedbc
Merge pull request #2191 from Steven-Li-Xiaogang/master
indirection CSRs 'iprio0~iprio15' are defined by Smaia/Ssaia extensions
4 months ago
Andrew Waterman
63c60931bc
Merge pull request #2204 from mmhus/mmhus/mireg-sireg-fixes
Mmhus/mireg sireg fixes #2188 , #2202 , #2203
4 months ago
muhammad.moiz.hussain
49dea04810
fixed smcdeleg to be limited to, holds a value in the range 0x40-0x5F, from priv AIA section 9.1
4 months ago
muhammad.moiz.hussain
88783bf6e1
changed minstret to instret and mcycle to cycle
4 months ago
muhammad.moiz.hussain
2e7042897d
when AIA throw virt intruction exception and V=1 & vs-mode, otherwise throw illegal instruction exception
4 months ago
Andrew Waterman
59b2c834a4
Merge pull request #2193 from mslijepc/mslijepc_20251224_zicclsm
added support for zicclsm
5 months ago
mslijepc
d6a5e90c40
removed cfg.misaligned option
5 months ago
Andrew Waterman
45fe6c110a
Merge pull request #2197 from omerguzelelectronicguy/master
remove unnecessary dtb to dts operation
5 months ago