decode.hh (5529:9ae69b9cd7fd) decode.hh (5999:3cf8e71257e0)
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;

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

283 /** Tells when their is a pending delay slot inst. to send
284 * to rename. If there is, then wait squash after the next
285 * instruction (used for MIPS).
286 */
287 bool squashAfterDelaySlot[Impl::MaxThreads];
288
289
290 /** Stat for total number of idle cycles. */
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;

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

283 /** Tells when their is a pending delay slot inst. to send
284 * to rename. If there is, then wait squash after the next
285 * instruction (used for MIPS).
286 */
287 bool squashAfterDelaySlot[Impl::MaxThreads];
288
289
290 /** Stat for total number of idle cycles. */
291 Stats::Scalar<> decodeIdleCycles;
291 Stats::Scalar decodeIdleCycles;
292 /** Stat for total number of blocked cycles. */
292 /** Stat for total number of blocked cycles. */
293 Stats::Scalar<> decodeBlockedCycles;
293 Stats::Scalar decodeBlockedCycles;
294 /** Stat for total number of normal running cycles. */
294 /** Stat for total number of normal running cycles. */
295 Stats::Scalar<> decodeRunCycles;
295 Stats::Scalar decodeRunCycles;
296 /** Stat for total number of unblocking cycles. */
296 /** Stat for total number of unblocking cycles. */
297 Stats::Scalar<> decodeUnblockCycles;
297 Stats::Scalar decodeUnblockCycles;
298 /** Stat for total number of squashing cycles. */
298 /** Stat for total number of squashing cycles. */
299 Stats::Scalar<> decodeSquashCycles;
299 Stats::Scalar decodeSquashCycles;
300 /** Stat for number of times a branch is resolved at decode. */
300 /** Stat for number of times a branch is resolved at decode. */
301 Stats::Scalar<> decodeBranchResolved;
301 Stats::Scalar decodeBranchResolved;
302 /** Stat for number of times a branch mispredict is detected. */
302 /** Stat for number of times a branch mispredict is detected. */
303 Stats::Scalar<> decodeBranchMispred;
303 Stats::Scalar decodeBranchMispred;
304 /** Stat for number of times decode detected a non-control instruction
305 * incorrectly predicted as a branch.
306 */
304 /** Stat for number of times decode detected a non-control instruction
305 * incorrectly predicted as a branch.
306 */
307 Stats::Scalar<> decodeControlMispred;
307 Stats::Scalar decodeControlMispred;
308 /** Stat for total number of decoded instructions. */
308 /** Stat for total number of decoded instructions. */
309 Stats::Scalar<> decodeDecodedInsts;
309 Stats::Scalar decodeDecodedInsts;
310 /** Stat for total number of squashed instructions. */
310 /** Stat for total number of squashed instructions. */
311 Stats::Scalar<> decodeSquashedInsts;
311 Stats::Scalar decodeSquashedInsts;
312};
313
314#endif // __CPU_O3_DECODE_HH__
312};
313
314#endif // __CPU_O3_DECODE_HH__