1/* 2 * Copyright (c) 2003-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; --- 74 unchanged lines hidden (view full) --- 83const RegIndex SyscallNumReg = 0; 84const RegIndex FirstArgumentReg = 16; 85const RegIndex SyscallPseudoReturnReg = 20; 86const RegIndex SyscallSuccessReg = 19; 87 88const int NumIntArchRegs = 32; 89const int NumPALShadowRegs = 8; 90const int NumFloatArchRegs = 32; |
91 92const int NumIntRegs = NumIntArchRegs + NumPALShadowRegs; 93const int NumFloatRegs = NumFloatArchRegs; |
94const int NumMiscRegs = NUM_MISCREGS; |
95 96const int TotalNumRegs = 97 NumIntRegs + NumFloatRegs + NumMiscRegs; 98 |
99// These enumerate all the registers for dependence tracking. 100enum DependenceTags { 101 // 0..31 are the integer regs 0..31 102 // 32..63 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag) |
103 FP_Base_DepTag = NumIntRegs, 104 Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs, |
105 Max_DepTag = Ctrl_Base_DepTag + NumMiscRegs + NumInternalProcRegs 106}; 107 108} // namespace AlphaISA 109 110#endif // __ARCH_ALPHA_REGFILE_HH__ |