lsq_impl.hh (4895:d36959284fbc) | lsq_impl.hh (4985:9f577f468009) |
---|---|
1/* 2 * Copyright (c) 2005-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; --- 87 unchanged lines hidden (view full) --- 96void 97LSQ<Impl>::DcachePort::recvRetry() 98{ 99 if (lsq->retryTid == -1) 100 { 101 //Squashed, so drop it 102 return; 103 } | 1/* 2 * Copyright (c) 2005-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; --- 87 unchanged lines hidden (view full) --- 96void 97LSQ<Impl>::DcachePort::recvRetry() 98{ 99 if (lsq->retryTid == -1) 100 { 101 //Squashed, so drop it 102 return; 103 } |
104 lsq->thread[lsq->retryTid].recvRetry(); | 104 int curr_retry_tid = lsq->retryTid; |
105 // Speculatively clear the retry Tid. This will get set again if 106 // the LSQUnit was unable to complete its access. 107 lsq->retryTid = -1; | 105 // Speculatively clear the retry Tid. This will get set again if 106 // the LSQUnit was unable to complete its access. 107 lsq->retryTid = -1; |
108 lsq->thread[curr_retry_tid].recvRetry(); |
|
108} 109 110template <class Impl> 111LSQ<Impl>::LSQ(O3CPU *cpu_ptr, IEW *iew_ptr, Params *params) 112 : cpu(cpu_ptr), iewStage(iew_ptr), dcachePort(this), 113 LQEntries(params->LQEntries), 114 SQEntries(params->SQEntries), 115 numThreads(params->numberOfThreads), --- 509 unchanged lines hidden --- | 109} 110 111template <class Impl> 112LSQ<Impl>::LSQ(O3CPU *cpu_ptr, IEW *iew_ptr, Params *params) 113 : cpu(cpu_ptr), iewStage(iew_ptr), dcachePort(this), 114 LQEntries(params->LQEntries), 115 SQEntries(params->SQEntries), 116 numThreads(params->numberOfThreads), --- 509 unchanged lines hidden --- |