fetch.hh (8503:479b186a4652) | fetch.hh (8541:27aaee8ec7cc) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 34 unchanged lines hidden (view full) --- 43 44#ifndef __CPU_O3_FETCH_HH__ 45#define __CPU_O3_FETCH_HH__ 46 47#include "arch/predecoder.hh" 48#include "arch/utility.hh" 49#include "base/statistics.hh" 50#include "config/the_isa.hh" | 1/* 2 * Copyright (c) 2010 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 --- 34 unchanged lines hidden (view full) --- 43 44#ifndef __CPU_O3_FETCH_HH__ 45#define __CPU_O3_FETCH_HH__ 46 47#include "arch/predecoder.hh" 48#include "arch/utility.hh" 49#include "base/statistics.hh" 50#include "config/the_isa.hh" |
51#include "cpu/decode.hh" |
|
51#include "cpu/pc_event.hh" 52#include "cpu/timebuf.hh" 53#include "cpu/translation.hh" 54#include "mem/packet.hh" 55#include "mem/port.hh" 56#include "sim/eventq.hh" 57 58class DerivO3CPUParams; --- 316 unchanged lines hidden (view full) --- 375 void fetch(bool &status_change); 376 377 /** Align a PC to the start of an I-cache block. */ 378 Addr icacheBlockAlignPC(Addr addr) 379 { 380 return (addr & ~(cacheBlkMask)); 381 } 382 | 52#include "cpu/pc_event.hh" 53#include "cpu/timebuf.hh" 54#include "cpu/translation.hh" 55#include "mem/packet.hh" 56#include "mem/port.hh" 57#include "sim/eventq.hh" 58 59class DerivO3CPUParams; --- 316 unchanged lines hidden (view full) --- 376 void fetch(bool &status_change); 377 378 /** Align a PC to the start of an I-cache block. */ 379 Addr icacheBlockAlignPC(Addr addr) 380 { 381 return (addr & ~(cacheBlkMask)); 382 } 383 |
384 /** The decoder. */ 385 Decoder decoder; 386 |
|
383 private: 384 DynInstPtr buildInst(ThreadID tid, StaticInstPtr staticInst, 385 StaticInstPtr curMacroop, TheISA::PCState thisPC, 386 TheISA::PCState nextPC, bool trace); 387 388 /** Handles retrying the fetch access. */ 389 void recvRetry(); 390 --- 216 unchanged lines hidden --- | 387 private: 388 DynInstPtr buildInst(ThreadID tid, StaticInstPtr staticInst, 389 StaticInstPtr curMacroop, TheISA::PCState thisPC, 390 TheISA::PCState nextPC, bool trace); 391 392 /** Handles retrying the fetch access. */ 393 void recvRetry(); 394 --- 216 unchanged lines hidden --- |