lsq_unit.hh (2727:91e17c7ee622) lsq_unit.hh (2731:822b96578fba)
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;

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

522
523 assert(!load_inst->isExecuted());
524
525 // Make sure this isn't an uncacheable access
526 // A bit of a hackish way to get uncached accesses to work only if they're
527 // at the head of the LSQ and are ready to commit (at the head of the ROB
528 // too).
529 if (req->getFlags() & UNCACHEABLE &&
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;

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

522
523 assert(!load_inst->isExecuted());
524
525 // Make sure this isn't an uncacheable access
526 // A bit of a hackish way to get uncached accesses to work only if they're
527 // at the head of the LSQ and are ready to commit (at the head of the ROB
528 // too).
529 if (req->getFlags() & UNCACHEABLE &&
530 (load_idx != loadHead || !load_inst->reachedCommit)) {
530 (load_idx != loadHead || !load_inst->isAtCommit())) {
531 iewStage->rescheduleMemInst(load_inst);
532 ++lsqRescheduledLoads;
533 return TheISA::genMachineCheckFault();
534 }
535
536 // Check the SQ for any previous stores that might lead to forwarding
537 int store_idx = load_inst->sqIdx;
538

--- 187 unchanged lines hidden ---
531 iewStage->rescheduleMemInst(load_inst);
532 ++lsqRescheduledLoads;
533 return TheISA::genMachineCheckFault();
534 }
535
536 // Check the SQ for any previous stores that might lead to forwarding
537 int store_idx = load_inst->sqIdx;
538

--- 187 unchanged lines hidden ---