Deleted Added
sdiff udiff text old ( 12104:edd63f9c6184 ) new ( 12106:7784fac1b159 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

38#include "arch/registers.hh"
39#include "arch/types.hh"
40#include "base/misc.hh"
41#include "base/refcnt.hh"
42#include "base/types.hh"
43#include "config/the_isa.hh"
44#include "cpu/op_class.hh"
45#include "cpu/reg_class.hh"
46#include "cpu/static_inst_fwd.hh"
47#include "cpu/thread_context.hh"
48#include "enums/StaticInstFlags.hh"
49
50// forward declarations
51class Packet;
52
53class ExecContext;

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

179 void setFlag(Flags f) { flags[f] = true; }
180
181 /// Operation class. Used to select appropriate function unit in issue.
182 OpClass opClass() const { return _opClass; }
183
184
185 /// Return logical index (architectural reg num) of i'th destination reg.
186 /// Only the entries from 0 through numDestRegs()-1 are valid.
187 RegId destRegIdx(int i) const { return _destRegIdx[i]; }
188
189 /// Return logical index (architectural reg num) of i'th source reg.
190 /// Only the entries from 0 through numSrcRegs()-1 are valid.
191 RegId srcRegIdx(int i) const { return _srcRegIdx[i]; }
192
193 /// Pointer to a statically allocated "null" instruction object.
194 /// Used to give eaCompInst() and memAccInst() something to return
195 /// when called on non-memory instructions.
196 static StaticInstPtr nullStaticInstPtr;
197
198 /**
199 * Memory references only: returns "fake" instruction representing

--- 132 unchanged lines hidden ---