dyn_inst_impl.hh (9527:68154bc0e0ea) | dyn_inst_impl.hh (9944:4ff1c5c6dcbc) |
---|---|
1/* 2 * Copyright (c) 2010-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 --- 26 unchanged lines hidden (view full) --- 35 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 36 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Kevin Lim 41 */ 42 | 1/* 2 * Copyright (c) 2010-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 --- 26 unchanged lines hidden (view full) --- 35 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 36 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Kevin Lim 41 */ 42 |
43#ifndef __CPU_O3_DYN_INST_IMPL_HH__ 44#define __CPU_O3_DYN_INST_IMPL_HH__ 45 |
|
43#include "base/cp_annotate.hh" 44#include "cpu/o3/dyn_inst.hh" 45#include "sim/full_system.hh" 46#include "debug/O3PipeView.hh" 47 48template <class Impl> 49BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr staticInst, 50 StaticInstPtr macroop, --- 199 unchanged lines hidden (view full) --- 250 TheISA::PCState curPC = this->cpu->pcState(this->threadNumber); 251 this->cpu->syscall(callnum, this->threadNumber); 252 TheISA::PCState newPC = this->cpu->pcState(this->threadNumber); 253 if (!(curPC == newPC)) { 254 this->pcState(newPC); 255 } 256} 257 | 46#include "base/cp_annotate.hh" 47#include "cpu/o3/dyn_inst.hh" 48#include "sim/full_system.hh" 49#include "debug/O3PipeView.hh" 50 51template <class Impl> 52BaseO3DynInst<Impl>::BaseO3DynInst(StaticInstPtr staticInst, 53 StaticInstPtr macroop, --- 199 unchanged lines hidden (view full) --- 253 TheISA::PCState curPC = this->cpu->pcState(this->threadNumber); 254 this->cpu->syscall(callnum, this->threadNumber); 255 TheISA::PCState newPC = this->cpu->pcState(this->threadNumber); 256 if (!(curPC == newPC)) { 257 this->pcState(newPC); 258 } 259} 260 |
261#endif//__CPU_O3_DYN_INST_IMPL_HH__ |
|