decode_impl.hh (8240:38befb82b2c9) decode_impl.hh (8471:18e560ba1539)
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;

--- 692 unchanged lines hidden (view full) ---

701 // see if branches were predicted correctly.
702 toRename->insts[toRenameIndex] = inst;
703
704 ++(toRename->size);
705 ++toRenameIndex;
706 ++decodeDecodedInsts;
707 --insts_available;
708
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;

--- 692 unchanged lines hidden (view full) ---

701 // see if branches were predicted correctly.
702 toRename->insts[toRenameIndex] = inst;
703
704 ++(toRename->size);
705 ++toRenameIndex;
706 ++decodeDecodedInsts;
707 --insts_available;
708
709#if TRACING_ON
710 inst->decodeTick = curTick();
711#endif
712
709 // Ensure that if it was predicted as a branch, it really is a
710 // branch.
711 if (inst->readPredTaken() && !inst->isControl()) {
712 panic("Instruction predicted as a branch!");
713
714 ++decodeControlMispred;
715
716 // Might want to set some sort of boolean and just do

--- 39 unchanged lines hidden ---
713 // Ensure that if it was predicted as a branch, it really is a
714 // branch.
715 if (inst->readPredTaken() && !inst->isControl()) {
716 panic("Instruction predicted as a branch!");
717
718 ++decodeControlMispred;
719
720 // Might want to set some sort of boolean and just do

--- 39 unchanged lines hidden ---