Andrew Waterman
ab20d616ae
Expand set of warnings we error on in CI
4 years ago
Andrew Waterman
97219fe85e
Suppress unused-variable warnings in spike main
4 years ago
Andrew Waterman
258a0c62eb
Fix unused-variable warnings in P-extension instruction definitions
4 years ago
Andrew Waterman
9acfb3ccae
Suppress unused-variable warnings in P-extension macros
4 years ago
Andrew Waterman
3ee74b7be3
Silence unused-variable warnings in auto-generated code
4 years ago
Andrew Waterman
08bac06bfd
Fix unused-variable warnings in softfloat
4 years ago
Andrew Waterman
98ba435395
Suppress or fix unused-variable warnings in vector macros
4 years ago
Andrew Waterman
e2139a5d1c
Suppress unused-variable warnings in vector instruction definitions
4 years ago
Andrew Waterman
d2f34d1e41
Suppress unused-variable warnings in AES code
4 years ago
Andrew Waterman
c20c4a2331
Suppress most unused-variable warnings
4 years ago
Andrew Waterman
09369aa5f8
Silence remaining unused-parameter warnings
Suppressing these individually would add too much clutter.
4 years ago
Andrew Waterman
ce69fb5db9
Suppress most unused variable warnings
4 years ago
Andrew Waterman
a51e44ed22
Fix or work around other unused-parameter warnings in ancillary programs
4 years ago
Andrew Waterman
d4747aaab2
Suppress unused-parameter warnings in spike main
4 years ago
Andrew Waterman
fe63357018
Add UNUSED macro for suppressing unused-parameter/variable warnings
4 years ago
Andrew Waterman
ae747db810
Suppress unused-paramter warnings in softfloat
4 years ago
Andrew Waterman
36009d07e8
Delete unused parameter in rfb_t::fb_update
4 years ago
Andrew Waterman
f8752d8fee
Suppress several unused-parameter warnings in fesvr
4 years ago
Andrew Waterman
ac89fe6ce3
Fix unused-function warning on sometimes-used function cto
4 years ago
Andrew Waterman
da93bdc435
Delete functions that are actually unused
4 years ago
Andrew Waterman
8f51165394
Fix remaining ignored-qualifiers warning
4 years ago
Andrew Waterman
dc9a8e28ee
Fix ignored-qualifiers warnings in get_field/set_field macros
4 years ago
Andrew Waterman
3447aecd16
Rewrite READ_REG macro to avoid GNU statement expression extension
This way, it can be used as an expression within a template argument.
4 years ago
Andrew Waterman
3e166310b4
Rewrite require macro so it can be used as an expression
4 years ago
YenHaoChen
3c9cfac9b1
Fix trigger mcontrol.chain match issue #599 #627 ( #1083 )
The variable chain_ok is used to indicate if the current trigger
is suppressed by the trigger chain. A true value means the trigger
is either un-chained or matches all previous triggers in the chain,
and a false value means the trigger is chained and mismatches
previous triggers.
A false condition of variable chain_ok is missing. The false
condition should be mcontrol.chain=1 and not matching; otherwise,
the chain_ok=true (including initialization). The bug results in
issues #559 and #627 .
Related issues:
- https://github.com/riscv-software-src/riscv-isa-sim/issues/599
- https://github.com/riscv-software-src/riscv-isa-sim/issues/627
This PR fixes the issues #559 and #627 .
4 years ago
Andrew Waterman
0bc176b3fc
Fix newly introduced Clang warnings
4 years ago
Andrew Waterman
26bb163c0c
Merge pull request #1099 from XiaJin-RiVAI/master
support arrow/home/end keys in debug mode
4 years ago
Andrew Waterman
37003b120b
Merge pull request #1104 from riscv-software-src/fix-xcode-14-build
Fix build using Xcode 14
4 years ago
Andrew Waterman
8af5c39de1
Fix build using Xcode 14
Don't include .a files in other .a files. Doing so trips a sanity
check in the Xcode 14 toolchain, because the included .a files are
not themselves mach-o format, even though their contents are.
4 years ago
Andrew Waterman
c9f9bb5945
Merge pull request #1103 from riscv-software-src/vmv_x_s_rv32
Fix vmv.x.s for RV32
4 years ago
Andrew Waterman
55c66198fd
Fix vmv.x.s for RV32
The Spike internals require that, when XLEN is narrower than reg_t,
values be sign-extended to the width of reg_t.
4 years ago
XiaJin-RiVAI
6b9c49193a
Update interactive.cc
support arrow/home/end keys in debug mode
support the arrow/home/end keys to move the cursor and trace back the history command in the debug mode
4 years ago
Andrew Waterman
7ab4caa4a0
Merge pull request #1093 from jerinjoy/dev/joy/builds_libs_for_hammer
Build and install the lib and header dependencies required by Hammer
4 years ago
Andrew Waterman
867dcb7d47
Merge pull request #1096 from riscv-software-src/run-spike-in-ci
Actually run a program in CI
4 years ago
Andrew Waterman
d17b176788
Actually run a program in CI
To avoid long CI times, keep the program in binary form.
To avoid storing binary files in this repository, store the binaries as
an asset on a github release.
4 years ago
Jerin Joy
204a639780
Build and install lib and header dependencies for Hammer
https://github.com/rivosinc/hammer
Signed-off-by: Jerin Joy <joy@rivosinc.com>
4 years ago
Andrew Waterman
7668b414bb
Merge pull request #1094 from riscv-software-src/ci-help
In CI, check that help message prints without error
4 years ago
Andrew Waterman
1c227a1d3b
In CI, check that help message prints without error
4 years ago
Andrew Waterman
2a7c33b8b5
Merge pull request #1088 from riscv-software-src/werror
Run CI with -Werror
4 years ago
Andrew Waterman
7cf82d72f1
Run CI with -Werror
4 years ago
Andrew Waterman
c2a47571be
Propagate CFLAGS passed to configure into CXXFLAGS
4 years ago
Andrew Waterman
7c4cf010a1
Merge pull request #1085 from ImanHosseini/patch1
Detect loading isa-incompatible code
4 years ago
Andrew Waterman
326fa00f58
Merge pull request #1036 from plctlab/plct-sscofpmf-dev
add support for sscofpmf extension v0.5.2
4 years ago
Iman Hosseini
dfd1913679
detects the loading of isa-incompatible (i.e. 32 bit code to 64bit HART) code and emits an error message to help avoid unintentionally loading wrong elf.
4 years ago
YenHaoChen
ccc9791807
Fix trigger never fire on executing an instruction on plugin devices ( #1084 )
The trigger matching only checks on TLB hit (after refill_tlb()).
However, instructions on plugin devices will never be filled into
the TLB; thus, triggers cannot fire when executing instructions on
the plugin devices.
The PR removes the if-condition of TLB hit for trigger checking.
Co-authored-by: Howard Yen-Hao Chen <yhchen@andestech.com>
4 years ago
Scott Johnson
1fd6f53f5b
Merge pull request #1086 from scottj97/use-default-inits
Initialize triggers using default member initializers
4 years ago
Scott Johnson
95f36bc28e
Initialize triggers using default member initializers
Instead of constructor member initializer lists, which require
repeating the list of members, and cause ugly merge conflicts when the
list of members changes.
4 years ago
Scott Johnson
a0972c82d0
Merge pull request #1080 from scottj97/trigger-cleanup
Remove obsolete enum trigger_operation_t
4 years ago
Andrew Waterman
0654e4f75a
Merge pull request #1081 from plctlab/plct-nonfunc-for-rvv
Non-functional changes for RVV
4 years ago
Scott Johnson
711215124b
Remove obsolete enum trigger_operation_t
Moved to triggers.h and renamed in
a2a2587426 , but the old enum was
mistakenly left behind.
4 years ago