cpu_impl.hh (9023:e9201a7bce59) cpu_impl.hh (9377:6f294e7a93d1)
1/*
2 * Copyright (c) 2011 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

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

301 fetchDone = true;
302 curStaticInst =
303 microcodeRom.fetchMicroop(pcState.microPC(), NULL);
304 } else if (!curMacroStaticInst) {
305 //We're not in the middle of a macro instruction
306 StaticInstPtr instPtr = NULL;
307
308 //Predecode, ie bundle up an ExtMachInst
1/*
2 * Copyright (c) 2011 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

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

301 fetchDone = true;
302 curStaticInst =
303 microcodeRom.fetchMicroop(pcState.microPC(), NULL);
304 } else if (!curMacroStaticInst) {
305 //We're not in the middle of a macro instruction
306 StaticInstPtr instPtr = NULL;
307
308 //Predecode, ie bundle up an ExtMachInst
309 thread->decoder.setTC(thread->getTC());
310 //If more fetch data is needed, pass it in.
311 Addr fetchPC = (pcState.instAddr() & PCMask) + fetchOffset;
312 thread->decoder.moreBytes(pcState, fetchPC, machInst);
313
314 //If an instruction is ready, decode it.
315 //Otherwise, we'll have to fetch beyond the
316 //MachInst at the current pc.
317 if (thread->decoder.instReady()) {

--- 353 unchanged lines hidden ---
309 //If more fetch data is needed, pass it in.
310 Addr fetchPC = (pcState.instAddr() & PCMask) + fetchOffset;
311 thread->decoder.moreBytes(pcState, fetchPC, machInst);
312
313 //If an instruction is ready, decode it.
314 //Otherwise, we'll have to fetch beyond the
315 //MachInst at the current pc.
316 if (thread->decoder.instReady()) {

--- 353 unchanged lines hidden ---