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; --- 72 unchanged lines hidden (view full) --- 81 PhysRegFile(unsigned _numPhysicalIntRegs, 82 unsigned _numPhysicalFloatRegs); 83 84 //Everything below should be pretty well identical to the normal 85 //register file that exists within AlphaISA class. 86 //The duplication is unfortunate but it's better than having 87 //different ways to access certain registers. 88 |
89 /** Reads an integer register. */ 90 uint64_t readIntReg(PhysRegIndex reg_idx) 91 { 92 assert(reg_idx < numPhysicalIntRegs); 93 94 DPRINTF(IEW, "RegFile: Access to int register %i, has data " 95 "%#x\n", int(reg_idx), intRegFile[reg_idx]); 96 return intRegFile[reg_idx]; --- 210 unchanged lines hidden --- |