fetch_impl.hh (2702:8a3ee279559b) fetch_impl.hh (2727:91e17c7ee622)
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;

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

910 status_change = true;
911 } else if (fetchStatus[tid] == Running) {
912 DPRINTF(Fetch, "[tid:%i]: Attempting to translate and read "
913 "instruction, starting at PC %08p.\n",
914 tid, fetch_PC);
915
916 bool fetch_success = fetchCacheLine(fetch_PC, fault, tid);
917 if (!fetch_success) {
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;

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

910 status_change = true;
911 } else if (fetchStatus[tid] == Running) {
912 DPRINTF(Fetch, "[tid:%i]: Attempting to translate and read "
913 "instruction, starting at PC %08p.\n",
914 tid, fetch_PC);
915
916 bool fetch_success = fetchCacheLine(fetch_PC, fault, tid);
917 if (!fetch_success) {
918 ++fetchMiscStallCycles;
918 if (cacheBlocked) {
919 ++icacheStallCycles;
920 } else {
921 ++fetchMiscStallCycles;
922 }
919 return;
920 }
921 } else {
922 if (fetchStatus[tid] == Idle) {
923 ++fetchIdleCycles;
924 } else if (fetchStatus[tid] == Blocked) {
925 ++fetchBlockedCycles;
926 } else if (fetchStatus[tid] == Squashing) {

--- 335 unchanged lines hidden ---
923 return;
924 }
925 } else {
926 if (fetchStatus[tid] == Idle) {
927 ++fetchIdleCycles;
928 } else if (fetchStatus[tid] == Blocked) {
929 ++fetchBlockedCycles;
930 } else if (fetchStatus[tid] == Squashing) {

--- 335 unchanged lines hidden ---