commit_impl.hh (3876:127c71cfe21a) | commit_impl.hh (3884:cc52005408ef) |
---|---|
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; --- 984 unchanged lines hidden (view full) --- 993 // This direct communication shouldn't be used for 994 // anything other than this. 995 if ((head_inst->isMemBarrier() || head_inst->isWriteBarrier() || 996 head_inst->isQuiesce()) && 997 iewStage->hasStoresToWB()) 998 { 999 DPRINTF(Commit, "Waiting for all stores to writeback.\n"); 1000 return false; | 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; --- 984 unchanged lines hidden (view full) --- 993 // This direct communication shouldn't be used for 994 // anything other than this. 995 if ((head_inst->isMemBarrier() || head_inst->isWriteBarrier() || 996 head_inst->isQuiesce()) && 997 iewStage->hasStoresToWB()) 998 { 999 DPRINTF(Commit, "Waiting for all stores to writeback.\n"); 1000 return false; |
1001 } else if (inst_num > 0) { | 1001 } else if (inst_num > 0 || iewStage->hasStoresToWB()) { |
1002 DPRINTF(Commit, "Waiting to become head of commit.\n"); 1003 return false; 1004 } 1005 1006 toIEW->commitInfo[tid].nonSpecSeqNum = head_inst->seqNum; 1007 1008 // Change the instruction so it won't try to commit again until 1009 // it is executed. --- 424 unchanged lines hidden --- | 1002 DPRINTF(Commit, "Waiting to become head of commit.\n"); 1003 return false; 1004 } 1005 1006 toIEW->commitInfo[tid].nonSpecSeqNum = head_inst->seqNum; 1007 1008 // Change the instruction so it won't try to commit again until 1009 // it is executed. --- 424 unchanged lines hidden --- |