30#ifndef __ARCH_RISCV_DECODER_HH__
31#define __ARCH_RISCV_DECODER_HH__
40#include "debug/Decode.hh"
41#include "params/RiscvDecoder.hh"
74 Decoder(
const RiscvDecoderParams &
p);
76 void reset()
override;
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
void moreBytes(const PCStateBase &pc, Addr fetchPC) override
Feed data to the decoder.
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
virtual StaticInstPtr decodeInst(ExtMachInst mach_inst)
Decoder(const RiscvDecoderParams &p)
decode_cache::InstMap< ExtMachInst > instMap
bool compressed(ExtMachInst inst)
std::unordered_map< EMI, StaticInstPtr > InstMap
Hash for decoded instructions.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.