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; --- 236 unchanged lines hidden (view full) --- 245 if (imIter != instCacheMap.end()) { 246 instMap = imIter->second; 247 } else { 248 instMap = new DecodeCache::InstMap; 249 instCacheMap[m5Reg] = instMap; 250 } 251 } 252 | 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; --- 236 unchanged lines hidden (view full) --- 245 if (imIter != instCacheMap.end()) { 246 instMap = imIter->second; 247 } else { 248 instMap = new DecodeCache::InstMap; 249 instCacheMap[m5Reg] = instMap; 250 } 251 } 252 |
253 void takeOverFrom(Decoder *old) 254 { 255 mode = old->mode; 256 submode = old->submode; 257 emi.mode.mode = mode; 258 emi.mode.submode = submode; 259 altOp = old->altOp; 260 defOp = old->defOp; 261 altAddr = old->altAddr; 262 defAddr = old->defAddr; 263 stack = old->stack; 264 } 265 |
|
253 void reset() 254 { 255 state = ResetState; 256 } 257 258 void process(); 259 260 //Use this to give data to the decoder. This should be used --- 48 unchanged lines hidden --- | 266 void reset() 267 { 268 state = ResetState; 269 } 270 271 void process(); 272 273 //Use this to give data to the decoder. This should be used --- 48 unchanged lines hidden --- |