summaryrefslogtreecommitdiff
path: root/src/arch/x86/intregfile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/intregfile.hh')
-rw-r--r--src/arch/x86/intregfile.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/intregfile.hh b/src/arch/x86/intregfile.hh
index f7b03f0f0..be6242a41 100644
--- a/src/arch/x86/intregfile.hh
+++ b/src/arch/x86/intregfile.hh
@@ -104,7 +104,8 @@ namespace X86ISA
std::string getIntRegName(RegIndex);
const int NumIntArchRegs = NUM_INTREGS;
- const int NumIntRegs = NumIntArchRegs + NumMicroIntRegs;
+ const int NumIntRegs =
+ NumIntArchRegs + NumMicroIntRegs + NumPseudoIntRegs;
class IntRegFile
{