cpu_impl.hh (3349:fec4a86fa212) | cpu_impl.hh (3383:8105c3e566ab) |
---|---|
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; --- 186 unchanged lines hidden (view full) --- 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 curStaticInst = StaticInst::decode(makeExtMI(machInst, | 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; --- 186 unchanged lines hidden (view full) --- 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 curStaticInst = StaticInst::decode(makeExtMI(machInst, |
203 thread->readPC())); | 203 thread->getTC())); |
204 205#if FULL_SYSTEM 206 thread->setInst(machInst); 207#endif // FULL_SYSTEM 208 209 fault = inst->getFault(); 210 } 211 --- 267 unchanged lines hidden --- | 204 205#if FULL_SYSTEM 206 thread->setInst(machInst); 207#endif // FULL_SYSTEM 208 209 fault = inst->getFault(); 210 } 211 --- 267 unchanged lines hidden --- |