base.cc (4046:ef34b290091e) | base.cc (4156:a4667c990e12) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 357 unchanged lines hidden (view full) --- 366 // decode the instruction 367 inst = gtoh(inst); 368 //If we're not in the middle of a macro instruction 369 if (!curMacroStaticInst) { 370#if THE_ISA == ALPHA_ISA 371 StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->readPC())); 372#elif THE_ISA == SPARC_ISA 373 StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->getTC())); | 1/* 2 * Copyright (c) 2002-2005 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; --- 357 unchanged lines hidden (view full) --- 366 // decode the instruction 367 inst = gtoh(inst); 368 //If we're not in the middle of a macro instruction 369 if (!curMacroStaticInst) { 370#if THE_ISA == ALPHA_ISA 371 StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->readPC())); 372#elif THE_ISA == SPARC_ISA 373 StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->getTC())); |
374#elif THE_ISA == X86_ISA 375 StaticInstPtr instPtr = StaticInst::decode(makeExtMI(inst, thread->getTC())); |
|
374#elif THE_ISA == MIPS_ISA 375 //Mips doesn't do anything in it's MakeExtMI function right now, 376 //so it won't be called. 377 StaticInstPtr instPtr = StaticInst::decode(inst); 378#endif 379 if (instPtr->isMacroOp()) { 380 curMacroStaticInst = instPtr; 381 curStaticInst = curMacroStaticInst-> --- 103 unchanged lines hidden --- | 376#elif THE_ISA == MIPS_ISA 377 //Mips doesn't do anything in it's MakeExtMI function right now, 378 //so it won't be called. 379 StaticInstPtr instPtr = StaticInst::decode(inst); 380#endif 381 if (instPtr->isMacroOp()) { 382 curMacroStaticInst = instPtr; 383 curStaticInst = curMacroStaticInst-> --- 103 unchanged lines hidden --- |