aboutsummaryrefslogtreecommitdiff
path: root/customext/dummy_rocc.cc
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-10-17 13:51:59 -0700
committerAndrew Waterman <andrew@sifive.com>2022-10-17 13:51:59 -0700
commit68aeeb5500521ff52c216862f9a653b64191f3ad (patch)
tree407230ff48f79f177a792451598d9b2b6e3d34a0 /customext/dummy_rocc.cc
parent191634d2854dfed448fc323195f9b65c305e2d77 (diff)
parent03be4ae6c7b8e9865083b61427ff9724c7706fcf (diff)
downloadspike-68aeeb5500521ff52c216862f9a653b64191f3ad.zip
spike-68aeeb5500521ff52c216862f9a653b64191f3ad.tar.gz
spike-68aeeb5500521ff52c216862f9a653b64191f3ad.tar.bz2
Merge branch 'master' into plic_uart_v1plic_uart_v1
Diffstat (limited to 'customext/dummy_rocc.cc')
-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];