dep_graph.hh (2734:af0d50755df7) dep_graph.hh (7720:65d338a8dba4)
1/*
2 * Copyright (c) 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;

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

246{
247 DepEntry *curr;
248
249 for (int i = 0; i < numEntries; ++i)
250 {
251 curr = &dependGraph[i];
252
253 if (curr->inst) {
1/*
2 * Copyright (c) 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;

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

246{
247 DepEntry *curr;
248
249 for (int i = 0; i < numEntries; ++i)
250 {
251 curr = &dependGraph[i];
252
253 if (curr->inst) {
254 cprintf("dependGraph[%i]: producer: %#x [sn:%lli] consumer: ",
255 i, curr->inst->readPC(), curr->inst->seqNum);
254 cprintf("dependGraph[%i]: producer: %s [sn:%lli] consumer: ",
255 i, curr->inst->pcState(), curr->inst->seqNum);
256 } else {
257 cprintf("dependGraph[%i]: No producer. consumer: ", i);
258 }
259
260 while (curr->next != NULL) {
261 curr = curr->next;
262
256 } else {
257 cprintf("dependGraph[%i]: No producer. consumer: ", i);
258 }
259
260 while (curr->next != NULL) {
261 curr = curr->next;
262
263 cprintf("%#x [sn:%lli] ",
264 curr->inst->readPC(), curr->inst->seqNum);
263 cprintf("%s [sn:%lli] ",
264 curr->inst->pcState(), curr->inst->seqNum);
265 }
266
267 cprintf("\n");
268 }
269 cprintf("memAllocCounter: %i\n", memAllocCounter);
270}
271
272#endif // __CPU_O3_DEP_GRAPH_HH__
265 }
266
267 cprintf("\n");
268 }
269 cprintf("memAllocCounter: %i\n", memAllocCounter);
270}
271
272#endif // __CPU_O3_DEP_GRAPH_HH__