cpu_impl.hh (3383:8105c3e566ab) | cpu_impl.hh (3484:9b7ac1654430) |
---|---|
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 | 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 |
|
202 curStaticInst = StaticInst::decode(makeExtMI(machInst, | 203 curStaticInst = StaticInst::decode(makeExtMI(machInst, |
204 thread->readPC())); 205#elif THE_ISA == SPARC_ISA 206 curStaticInst = StaticInst::decode(makeExtMI(machInst, |
|
203 thread->getTC())); | 207 thread->getTC())); |
208#endif |
|
204 205#if FULL_SYSTEM 206 thread->setInst(machInst); 207#endif // FULL_SYSTEM 208 209 fault = inst->getFault(); 210 } 211 --- 267 unchanged lines hidden --- | 209 210#if FULL_SYSTEM 211 thread->setInst(machInst); 212#endif // FULL_SYSTEM 213 214 fault = inst->getFault(); 215 } 216 --- 267 unchanged lines hidden --- |