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; --- 24 unchanged lines hidden (view full) --- 33 34#include "arch/generic/decode_cache.hh" 35#include "arch/types.hh" 36#include "cpu/static_inst.hh" 37 38namespace PowerISA 39{ 40 | 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; --- 24 unchanged lines hidden (view full) --- 33 34#include "arch/generic/decode_cache.hh" 35#include "arch/types.hh" 36#include "cpu/static_inst.hh" 37 38namespace PowerISA 39{ 40 |
41class ISA; |
|
41class Decoder 42{ 43 protected: 44 // The extended machine instruction being generated 45 ExtMachInst emi; 46 bool instDone; 47 48 public: | 42class Decoder 43{ 44 protected: 45 // The extended machine instruction being generated 46 ExtMachInst emi; 47 bool instDone; 48 49 public: |
49 Decoder() : instDone(false) | 50 Decoder(ISA* isa = nullptr) : instDone(false) |
50 { 51 } 52 53 void 54 process() 55 { 56 } 57 --- 66 unchanged lines hidden --- | 51 { 52 } 53 54 void 55 process() 56 { 57 } 58 --- 66 unchanged lines hidden --- |