inst_queue_impl.hh (4918:3214e3694fb2) | inst_queue_impl.hh (5100:7a0180040755) |
---|---|
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; --- 738 unchanged lines hidden (view full) --- 747 if (idx >= 0) 748 fuPool->freeUnitNextCycle(idx); 749 } else { 750 int issue_latency = fuPool->getIssueLatency(op_class); 751 // Generate completion event for the FU 752 FUCompletion *execution = new FUCompletion(issuing_inst, 753 idx, this); 754 | 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; --- 738 unchanged lines hidden (view full) --- 747 if (idx >= 0) 748 fuPool->freeUnitNextCycle(idx); 749 } else { 750 int issue_latency = fuPool->getIssueLatency(op_class); 751 // Generate completion event for the FU 752 FUCompletion *execution = new FUCompletion(issuing_inst, 753 idx, this); 754 |
755 execution->schedule(curTick + cpu->cycles(issue_latency - 1)); | 755 execution->schedule(curTick + cpu->ticks(issue_latency - 1)); |
756 757 // @todo: Enforce that issue_latency == 1 or op_latency 758 if (issue_latency > 1) { 759 // If FU isn't pipelined, then it must be freed 760 // upon the execution completing. 761 execution->setFreeFU(); 762 } else { 763 // Add the FU onto the list of FU's to be freed next cycle. --- 645 unchanged lines hidden --- | 756 757 // @todo: Enforce that issue_latency == 1 or op_latency 758 if (issue_latency > 1) { 759 // If FU isn't pipelined, then it must be freed 760 // upon the execution completing. 761 execution->setFreeFU(); 762 } else { 763 // Add the FU onto the list of FU's to be freed next cycle. --- 645 unchanged lines hidden --- |