From c17b57db55f3615cb543ad1d6082e27b27614933 Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Mon, 4 Apr 2011 00:08:18 -0700 Subject: [PATCH] [opcodes,pk,sim,xcc] add stop,utidx instructions --- riscv/execute.h | 18 ++++++++++++++++++ riscv/insns/stop.h | 0 riscv/insns/utidx.h | 0 3 files changed, 18 insertions(+) create mode 100644 riscv/insns/stop.h create mode 100644 riscv/insns/utidx.h diff --git a/riscv/execute.h b/riscv/execute.h index 3b16626..9883a97 100644 --- a/riscv/execute.h +++ b/riscv/execute.h @@ -1067,6 +1067,24 @@ switch((insn.bits >> 0x0) & 0x7f) } #include "insns/unimp.h" } + case 0x2: + { + if((insn.bits & 0xffffffff) == 0x177) + { + #include "insns/stop.h" + break; + } + #include "insns/unimp.h" + } + case 0x3: + { + if((insn.bits & 0xffffffff) == 0x1f7) + { + #include "insns/utidx.h" + break; + } + #include "insns/unimp.h" + } default: { #include "insns/unimp.h" diff --git a/riscv/insns/stop.h b/riscv/insns/stop.h new file mode 100644 index 0000000..e69de29 diff --git a/riscv/insns/utidx.h b/riscv/insns/utidx.h new file mode 100644 index 0000000..e69de29 -- 2.30.2