1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 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; --- 185 unchanged lines hidden (view full) --- 194 numInst++; 195 196 // decode the instruction 197 machInst = gtoh(machInst); 198 // Checks that the instruction matches what we expected it to be. 199 // Checks both the machine instruction and the PC. 200 validateInst(inst); 201 |
202#if THE_ISA == ALPHA_ISA |
203 curStaticInst = StaticInst::decode(makeExtMI(machInst, |
204 thread->readPC())); 205#elif THE_ISA == SPARC_ISA 206 curStaticInst = StaticInst::decode(makeExtMI(machInst, |
207 thread->getTC())); |
208#endif |
209 210#if FULL_SYSTEM 211 thread->setInst(machInst); 212#endif // FULL_SYSTEM 213 214 fault = inst->getFault(); 215 } 216 --- 267 unchanged lines hidden --- |