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; --- 83 unchanged lines hidden (view full) --- 92 } 93 94 void 95 setContext(MiscReg _asi) 96 { 97 asi = _asi; 98 } 99 | 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; --- 83 unchanged lines hidden (view full) --- 92 } 93 94 void 95 setContext(MiscReg _asi) 96 { 97 asi = _asi; 98 } 99 |
100 void takeOverFrom(Decoder *old) {} 101 |
|
100 protected: 101 /// A cache of decoded instruction objects. 102 static GenericISA::BasicDecodeCache defaultCache; 103 104 public: 105 StaticInstPtr decodeInst(ExtMachInst mach_inst); 106 107 /// Decode a machine instruction. --- 21 unchanged lines hidden --- | 102 protected: 103 /// A cache of decoded instruction objects. 104 static GenericISA::BasicDecodeCache defaultCache; 105 106 public: 107 StaticInstPtr decodeInst(ExtMachInst mach_inst); 108 109 /// Decode a machine instruction. --- 21 unchanged lines hidden --- |