registers.hh (9046:a1104cc13db2) | registers.hh (9917:7274310be1bb) |
---|---|
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; | 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; |
91const int NumMiscArchRegs = NUM_MISCREGS; | |
92 93const int NumIntRegs = NumIntArchRegs + NumPALShadowRegs; 94const int NumFloatRegs = NumFloatArchRegs; | 91 92const int NumIntRegs = NumIntArchRegs + NumPALShadowRegs; 93const int NumFloatRegs = NumFloatArchRegs; |
95const int NumMiscRegs = NumMiscArchRegs; | 94const int NumMiscRegs = NUM_MISCREGS; |
96 97const int TotalNumRegs = 98 NumIntRegs + NumFloatRegs + NumMiscRegs; 99 | 95 96const int TotalNumRegs = 97 NumIntRegs + NumFloatRegs + NumMiscRegs; 98 |
100const int TotalDataRegs = NumIntRegs + NumFloatRegs; 101 | |
102// These enumerate all the registers for dependence tracking. 103enum DependenceTags { 104 // 0..31 are the integer regs 0..31 105 // 32..63 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag) | 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) |
106 FP_Base_DepTag = 40, 107 Ctrl_Base_DepTag = 72, | 103 FP_Base_DepTag = NumIntRegs, 104 Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs, |
108 Max_DepTag = Ctrl_Base_DepTag + NumMiscRegs + NumInternalProcRegs 109}; 110 111} // namespace AlphaISA 112 113#endif // __ARCH_ALPHA_REGFILE_HH__ | 105 Max_DepTag = Ctrl_Base_DepTag + NumMiscRegs + NumInternalProcRegs 106}; 107 108} // namespace AlphaISA 109 110#endif // __ARCH_ALPHA_REGFILE_HH__ |