decoder.hh (9478:ba80f7d4f452) decoder.hh (11165:d90aec9435bd)
1/*
2 * Copyright (c) 2012 Google
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 26 unchanged lines hidden (view full) ---

35#include "arch/mips/types.hh"
36#include "base/misc.hh"
37#include "base/types.hh"
38#include "cpu/static_inst.hh"
39
40namespace MipsISA
41{
42
1/*
2 * Copyright (c) 2012 Google
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 26 unchanged lines hidden (view full) ---

35#include "arch/mips/types.hh"
36#include "base/misc.hh"
37#include "base/types.hh"
38#include "cpu/static_inst.hh"
39
40namespace MipsISA
41{
42
43class ISA;
43class Decoder
44{
45 protected:
46 //The extended machine instruction being generated
47 ExtMachInst emi;
48 bool instDone;
49
50 public:
44class Decoder
45{
46 protected:
47 //The extended machine instruction being generated
48 ExtMachInst emi;
49 bool instDone;
50
51 public:
51 Decoder() : instDone(false)
52 Decoder(ISA* isa = nullptr) : instDone(false)
52 {}
53
54 void
55 process()
56 {
57 }
58
59 void

--- 57 unchanged lines hidden ---
53 {}
54
55 void
56 process()
57 {
58 }
59
60 void

--- 57 unchanged lines hidden ---