lsq_unit.hh (4870:fcc39d001154) | lsq_unit.hh (4878:5b747482d2d8) |
---|---|
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; --- 629 unchanged lines hidden (view full) --- 638 assert(!load_inst->memData); 639 load_inst->memData = new uint8_t[64]; 640 641 ++usedPorts; 642 643 // if we the cache is not blocked, do cache access 644 if (!lsq->cacheBlocked()) { 645 PacketPtr data_pkt = | 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; --- 629 unchanged lines hidden (view full) --- 638 assert(!load_inst->memData); 639 load_inst->memData = new uint8_t[64]; 640 641 ++usedPorts; 642 643 // if we the cache is not blocked, do cache access 644 if (!lsq->cacheBlocked()) { 645 PacketPtr data_pkt = |
646 new Packet(req, MemCmd::ReadReq, Packet::Broadcast); | 646 new Packet(req, 647 (req->isLocked() ? 648 MemCmd::LoadLockedReq : MemCmd::ReadReq), 649 Packet::Broadcast); |
647 data_pkt->dataStatic(load_inst->memData); 648 649 LSQSenderState *state = new LSQSenderState; 650 state->isLoad = true; 651 state->idx = load_idx; 652 state->inst = load_inst; 653 data_pkt->senderState = state; 654 --- 66 unchanged lines hidden --- | 650 data_pkt->dataStatic(load_inst->memData); 651 652 LSQSenderState *state = new LSQSenderState; 653 state->isLoad = true; 654 state->idx = load_idx; 655 state->inst = load_inst; 656 data_pkt->senderState = state; 657 --- 66 unchanged lines hidden --- |