From 289e2118cb35c023c04085e731952edb70fc18a9 Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Thu, 17 Oct 2013 19:32:55 -0700 Subject: [PATCH] fix custom-1 rocc encoding --- riscv/rocc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/rocc.cc b/riscv/rocc.cc index fe221ca..b148319 100644 --- a/riscv/rocc.cc +++ b/riscv/rocc.cc @@ -31,7 +31,7 @@ std::vector rocc_t::get_instructions() { std::vector insns; insns.push_back((insn_desc_t){0x0b, 0x7f, &::illegal_instruction, c0}); - insns.push_back((insn_desc_t){0x0f, 0x7f, &::illegal_instruction, c1}); + insns.push_back((insn_desc_t){0x2b, 0x7f, &::illegal_instruction, c1}); insns.push_back((insn_desc_t){0x5b, 0x7f, &::illegal_instruction, c2}); insns.push_back((insn_desc_t){0x7b, 0x7f, &::illegal_instruction, c3}); return insns; -- 2.30.2