30#ifndef __ARCH_POWER_DECODER_HH__
31#define __ARCH_POWER_DECODER_HH__
37#include "debug/Decode.hh"
38#include "params/PowerDecoder.hh"
80 DPRINTF(Decode,
"Decode: Decoded %s instruction: %#x\n",
81 si->getName(), mach_inst);
Addr instAddr() const
Returns the memory address of the instruction this PC points to.
Decoder(const PowerDecoderParams &p)
StaticInstPtr decodeInst(ExtMachInst mach_inst)
StaticInstPtr decode(ExtMachInst mach_inst, Addr addr)
Decode a machine instruction.
static GenericISA::BasicDecodeCache< Decoder, ExtMachInst > defaultCache
A cache of decoded instruction objects.
void moreBytes(const PCStateBase &pc, Addr fetchPC) override
Feed data to the decoder.
StaticInstPtr decode(PCStateBase &next_pc) override
Decode an instruction or fetch it from the code cache.
ByteOrder byteOrder() const
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.
T gtoh(T value, ByteOrder guest_byte_order)