lsq_unit_impl.hh (4873:b135f6e6adfe) | lsq_unit_impl.hh (4878:5b747482d2d8) |
---|---|
1/* 2 * Copyright (c) 2004-2005 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; --- 633 unchanged lines hidden (view full) --- 642 Request *req = storeQueue[storeWBIdx].req; 643 storeQueue[storeWBIdx].committed = true; 644 645 assert(!inst->memData); 646 inst->memData = new uint8_t[64]; 647 648 memcpy(inst->memData, storeQueue[storeWBIdx].data, req->getSize()); 649 | 1/* 2 * Copyright (c) 2004-2005 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; --- 633 unchanged lines hidden (view full) --- 642 Request *req = storeQueue[storeWBIdx].req; 643 storeQueue[storeWBIdx].committed = true; 644 645 assert(!inst->memData); 646 inst->memData = new uint8_t[64]; 647 648 memcpy(inst->memData, storeQueue[storeWBIdx].data, req->getSize()); 649 |
650 MemCmd command = req->isSwap() ? MemCmd::SwapReq : MemCmd::WriteReq; | 650 MemCmd command = 651 req->isSwap() ? MemCmd::SwapReq : 652 (req->isLocked() ? MemCmd::WriteReq : MemCmd::StoreCondReq); |
651 PacketPtr data_pkt = new Packet(req, command, 652 Packet::Broadcast); 653 data_pkt->dataStatic(inst->memData); 654 655 LSQSenderState *state = new LSQSenderState; 656 state->isLoad = false; 657 state->idx = storeWBIdx; 658 state->inst = inst; --- 351 unchanged lines hidden --- | 653 PacketPtr data_pkt = new Packet(req, command, 654 Packet::Broadcast); 655 data_pkt->dataStatic(inst->memData); 656 657 LSQSenderState *state = new LSQSenderState; 658 state->isLoad = false; 659 state->idx = storeWBIdx; 660 state->inst = inst; --- 351 unchanged lines hidden --- |