regfile.hh (8232:b28d06a175be) | regfile.hh (8793:5f25086326ac) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#ifndef __CPU_O3_REGFILE_HH__ 33#define __CPU_O3_REGFILE_HH__ 34 35#include <vector> 36 37#include "arch/isa_traits.hh" | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#ifndef __CPU_O3_REGFILE_HH__ 33#define __CPU_O3_REGFILE_HH__ 34 35#include <vector> 36 37#include "arch/isa_traits.hh" |
38#include "arch/kernel_stats.hh" |
|
38#include "arch/types.hh" 39#include "base/trace.hh" 40#include "config/full_system.hh" 41#include "config/the_isa.hh" 42#include "cpu/o3/comm.hh" 43#include "debug/IEW.hh" 44 | 39#include "arch/types.hh" 40#include "base/trace.hh" 41#include "config/full_system.hh" 42#include "config/the_isa.hh" 43#include "cpu/o3/comm.hh" 44#include "debug/IEW.hh" 45 |
45#if FULL_SYSTEM 46#include "arch/kernel_stats.hh" 47#endif 48 | |
49/** 50 * Simple physical register file class. 51 * Right now this is specific to Alpha until we decide if/how to make things 52 * generic enough to support other ISAs. 53 */ 54template <class Impl> 55class PhysRegFile 56{ --- 112 unchanged lines hidden (view full) --- 169 170 public: 171 /** (signed) integer register file. */ 172 IntReg *intRegFile; 173 174 /** Floating point register file. */ 175 PhysFloatReg *floatRegFile; 176 | 46/** 47 * Simple physical register file class. 48 * Right now this is specific to Alpha until we decide if/how to make things 49 * generic enough to support other ISAs. 50 */ 51template <class Impl> 52class PhysRegFile 53{ --- 112 unchanged lines hidden (view full) --- 166 167 public: 168 /** (signed) integer register file. */ 169 IntReg *intRegFile; 170 171 /** Floating point register file. */ 172 PhysFloatReg *floatRegFile; 173 |
177#if FULL_SYSTEM | |
178 private: 179 int intrflag; // interrupt flag | 174 private: 175 int intrflag; // interrupt flag |
180#endif | |
181 182 private: 183 /** CPU pointer. */ 184 O3CPU *cpu; 185 186 public: 187 /** Number of physical integer registers. */ 188 unsigned numPhysicalIntRegs; --- 18 unchanged lines hidden --- | 176 177 private: 178 /** CPU pointer. */ 179 O3CPU *cpu; 180 181 public: 182 /** Number of physical integer registers. */ 183 unsigned numPhysicalIntRegs; --- 18 unchanged lines hidden --- |