From 57b8698931384e769983f63eac25abd84a48f956 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 13 May 2011 17:31:45 -0700 Subject: [PATCH] [sim] stubs for perfctr instructions --- riscv/insns/rdcycle.h | 1 + riscv/insns/rdinstret.h | 1 + riscv/insns/rdtime.h | 1 + 3 files changed, 3 insertions(+) create mode 100644 riscv/insns/rdcycle.h create mode 100644 riscv/insns/rdinstret.h create mode 100644 riscv/insns/rdtime.h 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; -- 2.30.2