decode_impl.hh (8905:f6faef9f888d) | decode_impl.hh (9046:a1104cc13db2) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 695 unchanged lines hidden (view full) --- 704 toRename->insts[toRenameIndex] = inst; 705 706 ++(toRename->size); 707 ++toRenameIndex; 708 ++decodeDecodedInsts; 709 --insts_available; 710 711#if TRACING_ON | 1/* 2 * Copyright (c) 2004-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; --- 695 unchanged lines hidden (view full) --- 704 toRename->insts[toRenameIndex] = inst; 705 706 ++(toRename->size); 707 ++toRenameIndex; 708 ++decodeDecodedInsts; 709 --insts_available; 710 711#if TRACING_ON |
712 inst->decodeTick = curTick(); | 712 inst->decodeTick = curTick() - inst->fetchTick; |
713#endif 714 715 // Ensure that if it was predicted as a branch, it really is a 716 // branch. 717 if (inst->readPredTaken() && !inst->isControl()) { 718 panic("Instruction predicted as a branch!"); 719 720 ++decodeControlMispred; --- 41 unchanged lines hidden --- | 713#endif 714 715 // Ensure that if it was predicted as a branch, it really is a 716 // branch. 717 if (inst->readPredTaken() && !inst->isControl()) { 718 panic("Instruction predicted as a branch!"); 719 720 ++decodeControlMispred; --- 41 unchanged lines hidden --- |