lsq_unit.hh (5529:9ae69b9cd7fd) | lsq_unit.hh (5606:6da7a58b0bc8) |
---|---|
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; --- 570 unchanged lines hidden (view full) --- 579 Packet::Broadcast); 580 data_pkt->dataStatic(load_inst->memData); 581 582 WritebackEvent *wb = new WritebackEvent(load_inst, data_pkt, this); 583 584 // We'll say this has a 1 cycle load-store forwarding latency 585 // for now. 586 // @todo: Need to make this a parameter. | 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; --- 570 unchanged lines hidden (view full) --- 579 Packet::Broadcast); 580 data_pkt->dataStatic(load_inst->memData); 581 582 WritebackEvent *wb = new WritebackEvent(load_inst, data_pkt, this); 583 584 // We'll say this has a 1 cycle load-store forwarding latency 585 // for now. 586 // @todo: Need to make this a parameter. |
587 wb->schedule(curTick); | 587 cpu->schedule(wb, curTick); |
588 589 ++lsqForwLoads; 590 return NoFault; 591 } else if ((store_has_lower_limit && lower_load_has_store_part) || 592 (store_has_upper_limit && upper_load_has_store_part) || 593 (lower_load_has_store_part && upper_load_has_store_part)) { 594 // This is the partial store-load forwarding case where a store 595 // has only part of the load's data. --- 131 unchanged lines hidden --- | 588 589 ++lsqForwLoads; 590 return NoFault; 591 } else if ((store_has_lower_limit && lower_load_has_store_part) || 592 (store_has_upper_limit && upper_load_has_store_part) || 593 (lower_load_has_store_part && upper_load_has_store_part)) { 594 // This is the partial store-load forwarding case where a store 595 // has only part of the load's data. --- 131 unchanged lines hidden --- |