From: Yunsup Lee Date: Fri, 18 Oct 2013 02:32:55 +0000 (-0700) Subject: fix custom-1 rocc encoding X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=289e2118cb35c023c04085e731952edb70fc18a9;p=riscv-isa-sim.git fix custom-1 rocc encoding --- 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;