aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-05-13 17:31:45 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-05-13 17:31:45 -0700
commit57b8698931384e769983f63eac25abd84a48f956 (patch)
tree547a09e9f3168517e995fc5c5818b3e3c4100940
parent25123f03b9a1e3d690c489d65c33c19973abf337 (diff)
downloadspike-57b8698931384e769983f63eac25abd84a48f956.zip
spike-57b8698931384e769983f63eac25abd84a48f956.tar.gz
spike-57b8698931384e769983f63eac25abd84a48f956.tar.bz2
[sim] stubs for perfctr instructions
-rw-r--r--riscv/insns/rdcycle.h1
-rw-r--r--riscv/insns/rdinstret.h1
-rw-r--r--riscv/insns/rdtime.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/rdcycle.h b/riscv/insns/rdcycle.h
new file mode 100644
index 0000000..96f2a74
--- /dev/null
+++ b/riscv/insns/rdcycle.h
@@ -0,0 +1 @@
+throw trap_illegal_instruction;
diff --git a/riscv/insns/rdinstret.h b/riscv/insns/rdinstret.h
new file mode 100644
index 0000000..96f2a74
--- /dev/null
+++ b/riscv/insns/rdinstret.h
@@ -0,0 +1 @@
+throw trap_illegal_instruction;
diff --git a/riscv/insns/rdtime.h b/riscv/insns/rdtime.h
new file mode 100644
index 0000000..96f2a74
--- /dev/null
+++ b/riscv/insns/rdtime.h
@@ -0,0 +1 @@
+throw trap_illegal_instruction;