diff --git a/src/arch/mips/decoder.hh b/src/arch/mips/decoder.hh index 9480bd8411..d7387679d7 100644 --- a/src/arch/mips/decoder.hh +++ b/src/arch/mips/decoder.hh @@ -55,11 +55,6 @@ class Decoder : public InstDecoder Decoder(ISA* isa = nullptr) : InstDecoder(&machInst) {} - void - process() - { - } - //Use this to give data to the decoder. This should be used //when there is control flow. void diff --git a/src/arch/power/decoder.hh b/src/arch/power/decoder.hh index d4381ae895..dcd1e53098 100644 --- a/src/arch/power/decoder.hh +++ b/src/arch/power/decoder.hh @@ -52,11 +52,6 @@ class Decoder : public InstDecoder public: Decoder(ISA* isa=nullptr) : InstDecoder(&emi) {} - void - process() - { - } - // Use this to give data to the predecoder. This should be used // when there is control flow. void diff --git a/src/arch/riscv/decoder.hh b/src/arch/riscv/decoder.hh index 1d3a309163..718e69899d 100644 --- a/src/arch/riscv/decoder.hh +++ b/src/arch/riscv/decoder.hh @@ -67,7 +67,6 @@ class Decoder : public InstDecoder public: Decoder(ISA* isa=nullptr) : InstDecoder(&machInst) { reset(); } - void process() {} void reset() override; inline bool compressed(ExtMachInst inst) { return (inst & 0x3) < 0x3; } diff --git a/src/arch/sparc/decoder.hh b/src/arch/sparc/decoder.hh index 20f797a154..31b30145d7 100644 --- a/src/arch/sparc/decoder.hh +++ b/src/arch/sparc/decoder.hh @@ -54,8 +54,6 @@ class Decoder : public InstDecoder Decoder(ISA* isa=nullptr) : InstDecoder(&machInst), asi(0) {} - void process() {} - // Use this to give data to the predecoder. This should be used // when there is control flow. void diff --git a/src/arch/x86/decoder.hh b/src/arch/x86/decoder.hh index 9bc0afed4c..a965fab734 100644 --- a/src/arch/x86/decoder.hh +++ b/src/arch/x86/decoder.hh @@ -250,6 +250,8 @@ class Decoder : public InstDecoder /// @retval A pointer to the corresponding StaticInst object. StaticInstPtr decode(ExtMachInst mach_inst, Addr addr); + void process(); + public: Decoder(ISA *isa=nullptr) : InstDecoder(&fetchChunk) { @@ -309,8 +311,6 @@ class Decoder : public InstDecoder state = ResetState; } - void process(); - // Use this to give data to the decoder. This should be used // when there is control flow. void