inst_queue_impl.hh (8489:2e12a633d269) | inst_queue_impl.hh (8581:56f97760eadd) |
---|---|
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 --- 42 unchanged lines hidden (view full) --- 51#include "params/DerivO3CPU.hh" 52#include "sim/core.hh" 53 54using namespace std; 55 56template <class Impl> 57InstructionQueue<Impl>::FUCompletion::FUCompletion(DynInstPtr &_inst, 58 int fu_idx, InstructionQueue<Impl> *iq_ptr) | 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 --- 42 unchanged lines hidden (view full) --- 51#include "params/DerivO3CPU.hh" 52#include "sim/core.hh" 53 54using namespace std; 55 56template <class Impl> 57InstructionQueue<Impl>::FUCompletion::FUCompletion(DynInstPtr &_inst, 58 int fu_idx, InstructionQueue<Impl> *iq_ptr) |
59 : Event(Stat_Event_Pri), inst(_inst), fuIdx(fu_idx), iqPtr(iq_ptr), 60 freeFU(false) | 59 : Event(Stat_Event_Pri, AutoDelete), 60 inst(_inst), fuIdx(fu_idx), iqPtr(iq_ptr), freeFU(false) |
61{ | 61{ |
62 this->setFlags(Event::AutoDelete); | |
63} 64 65template <class Impl> 66void 67InstructionQueue<Impl>::FUCompletion::process() 68{ 69 iqPtr->processFUCompletion(inst, freeFU ? fuIdx : -1); 70 inst = NULL; --- 1455 unchanged lines hidden --- | 62} 63 64template <class Impl> 65void 66InstructionQueue<Impl>::FUCompletion::process() 67{ 68 iqPtr->processFUCompletion(inst, freeFU ? fuIdx : -1); 69 inst = NULL; --- 1455 unchanged lines hidden --- |