atomic.cc (5669:cbac62a59686) | atomic.cc (5694:de7a82f58985) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 716 unchanged lines hidden (view full) --- 725 fault = setupFetchRequest(&ifetch_req); 726 727 if (fault == NoFault) { 728 Tick icache_latency = 0; 729 bool icache_access = false; 730 dcache_access = false; // assume no dcache access 731 732 if (!fromRom) { | 1/* 2 * Copyright (c) 2002-2005 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; --- 716 unchanged lines hidden (view full) --- 725 fault = setupFetchRequest(&ifetch_req); 726 727 if (fault == NoFault) { 728 Tick icache_latency = 0; 729 bool icache_access = false; 730 dcache_access = false; // assume no dcache access 731 732 if (!fromRom) { |
733 // This is commented out because the predecoder would act like 734 // a tiny cache otherwise. It wouldn't be flushed when needed 735 // like the I cache. It should be flushed, and when that works 736 // this code should be uncommented. |
|
733 //Fetch more instruction memory if necessary 734 //if(predecoder.needMoreBytes()) 735 //{ 736 icache_access = true; 737 Packet ifetch_pkt = Packet(&ifetch_req, MemCmd::ReadReq, 738 Packet::Broadcast); 739 ifetch_pkt.dataStatic(&inst); 740 --- 86 unchanged lines hidden --- | 737 //Fetch more instruction memory if necessary 738 //if(predecoder.needMoreBytes()) 739 //{ 740 icache_access = true; 741 Packet ifetch_pkt = Packet(&ifetch_req, MemCmd::ReadReq, 742 Packet::Broadcast); 743 ifetch_pkt.dataStatic(&inst); 744 --- 86 unchanged lines hidden --- |