rob_impl.hh (8794:e2ac2b7164dd) | rob_impl.hh (8822:e7ae13867098) |
---|---|
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; --- 530 unchanged lines hidden (view full) --- 539 .name(name() + ".rob_reads") 540 .desc("The number of ROB reads"); 541 542 robWrites 543 .name(name() + ".rob_writes") 544 .desc("The number of ROB writes"); 545} 546 | 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; --- 530 unchanged lines hidden (view full) --- 539 .name(name() + ".rob_reads") 540 .desc("The number of ROB reads"); 541 542 robWrites 543 .name(name() + ".rob_writes") 544 .desc("The number of ROB writes"); 545} 546 |
547template <class Impl> 548typename Impl::DynInstPtr 549ROB<Impl>::findInst(ThreadID tid, InstSeqNum squash_inst) 550{ 551 for (InstIt it = instList[tid].begin(); it != instList[tid].end(); it++) { 552 if ((*it)->seqNum == squash_inst) { 553 return *it; 554 } 555 } 556 return NULL; 557} |
|