decoder.hh (9377:6f294e7a93d1) | decoder.hh (9478:ba80f7d4f452) |
---|---|
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; --- 75 unchanged lines hidden (view full) --- 84 return true; 85 } 86 87 bool 88 instReady() 89 { 90 return instDone; 91 } | 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; --- 75 unchanged lines hidden (view full) --- 84 return true; 85 } 86 87 bool 88 instReady() 89 { 90 return instDone; 91 } |
92 93 void takeOverFrom(Decoder *old) {} 94 |
|
92 protected: 93 /// A cache of decoded instruction objects. 94 static GenericISA::BasicDecodeCache defaultCache; 95 96 public: 97 StaticInstPtr decodeInst(ExtMachInst mach_inst); 98 99 /// Decode a machine instruction. --- 21 unchanged lines hidden --- | 95 protected: 96 /// A cache of decoded instruction objects. 97 static GenericISA::BasicDecodeCache defaultCache; 98 99 public: 100 StaticInstPtr decodeInst(ExtMachInst mach_inst); 101 102 /// Decode a machine instruction. --- 21 unchanged lines hidden --- |