aboutsummaryrefslogtreecommitdiff
path: root/customext
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-09-22 17:34:33 -0700
committerAndrew Waterman <andrew@sifive.com>2022-10-04 15:40:01 -0700
commitce69fb5db97ecf240336b7826dd9dddeb32e5dca (patch)
treef78647d0eafa9abc414f5ded2a3663c7506cfd9c /customext
parenta51e44ed228e48fc1dbf24ec7dc23cbd61a7874a (diff)
downloadspike-ce69fb5db97ecf240336b7826dd9dddeb32e5dca.zip
spike-ce69fb5db97ecf240336b7826dd9dddeb32e5dca.tar.gz
spike-ce69fb5db97ecf240336b7826dd9dddeb32e5dca.tar.bz2
Suppress most unused variable warnings
Diffstat (limited to 'customext')
-rw-r--r--customext/dummy_rocc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/customext/dummy_rocc.cc b/customext/dummy_rocc.cc
index 85ab7aa..5afa56a 100644
--- a/customext/dummy_rocc.cc
+++ b/customext/dummy_rocc.cc
@@ -7,7 +7,7 @@ class dummy_rocc_t : public rocc_t
public:
const char* name() { return "dummy_rocc"; }
- reg_t custom0(rocc_insn_t insn, reg_t xs1, reg_t xs2)
+ reg_t custom0(rocc_insn_t insn, reg_t xs1, reg_t UNUSED xs2)
{
reg_t prev_acc = acc[insn.rs2];