lsq_unit_impl.hh (7782:9b87755cb699) lsq_unit_impl.hh (7823:dac01f14f20f)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 769 unchanged lines hidden (view full) ---

778 inst->recordResult = true;
779
780 if (!success) {
781 // Instantly complete this store.
782 DPRINTF(LSQUnit, "Store conditional [sn:%lli] failed. "
783 "Instantly completing it.\n",
784 inst->seqNum);
785 WritebackEvent *wb = new WritebackEvent(inst, data_pkt, this);
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 769 unchanged lines hidden (view full) ---

778 inst->recordResult = true;
779
780 if (!success) {
781 // Instantly complete this store.
782 DPRINTF(LSQUnit, "Store conditional [sn:%lli] failed. "
783 "Instantly completing it.\n",
784 inst->seqNum);
785 WritebackEvent *wb = new WritebackEvent(inst, data_pkt, this);
786 cpu->schedule(wb, curTick + 1);
786 cpu->schedule(wb, curTick() + 1);
787 completeStore(storeWBIdx);
788 incrStIdx(storeWBIdx);
789 continue;
790 }
791 } else {
792 // Non-store conditionals do not need a writeback.
793 state->noWB = true;
794 }

--- 386 unchanged lines hidden ---
787 completeStore(storeWBIdx);
788 incrStIdx(storeWBIdx);
789 continue;
790 }
791 } else {
792 // Non-store conditionals do not need a writeback.
793 state->noWB = true;
794 }

--- 386 unchanged lines hidden ---