lsq_unit_impl.hh (13831:4fba790d88be) lsq_unit_impl.hh (13953:43ae8a30ec1f)
1
2/*
3 * Copyright (c) 2010-2014, 2017-2018 ARM Limited
4 * Copyright (c) 2013 Advanced Micro Devices, Inc.
5 * All rights reserved
6 *
7 * The license below extends only to copyright in the software and shall
8 * not be construed as granting a license to any other intellectual

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

537
538 DPRINTF(LSQUnit, "Executing load PC %s, [sn:%lli]\n",
539 inst->pcState(), inst->seqNum);
540
541 assert(!inst->isSquashed());
542
543 load_fault = inst->initiateAcc();
544
1
2/*
3 * Copyright (c) 2010-2014, 2017-2018 ARM Limited
4 * Copyright (c) 2013 Advanced Micro Devices, Inc.
5 * All rights reserved
6 *
7 * The license below extends only to copyright in the software and shall
8 * not be construed as granting a license to any other intellectual

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

537
538 DPRINTF(LSQUnit, "Executing load PC %s, [sn:%lli]\n",
539 inst->pcState(), inst->seqNum);
540
541 assert(!inst->isSquashed());
542
543 load_fault = inst->initiateAcc();
544
545 if (!inst->readMemAccPredicate()) {
546 assert(load_fault == NoFault);
547 assert(inst->readPredicate());
548 inst->setExecuted();
549 inst->completeAcc(nullptr);
550 iewStage->instToCommit(inst);
551 iewStage->activityThisCycle();
552 return NoFault;
553 }
554
545 if (inst->isTranslationDelayed() && load_fault == NoFault)
546 return load_fault;
547
548 // If the instruction faulted or predicated false, then we need to send it
549 // along to commit without the instruction completing.
550 if (load_fault != NoFault || !inst->readPredicate()) {
551 // Send this instruction to commit, also make sure iew stage
552 // realizes there is activity. Mark it as executed unless it

--- 564 unchanged lines hidden ---
555 if (inst->isTranslationDelayed() && load_fault == NoFault)
556 return load_fault;
557
558 // If the instruction faulted or predicated false, then we need to send it
559 // along to commit without the instruction completing.
560 if (load_fault != NoFault || !inst->readPredicate()) {
561 // Send this instruction to commit, also make sure iew stage
562 // realizes there is activity. Mark it as executed unless it

--- 564 unchanged lines hidden ---