diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/intregfile.hh | 3 | ||||
-rw-r--r-- | src/arch/x86/x86_traits.hh | 1 |
2 files changed, 3 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 { diff --git a/src/arch/x86/x86_traits.hh b/src/arch/x86/x86_traits.hh index e45d62f8f..5794e7079 100644 --- a/src/arch/x86/x86_traits.hh +++ b/src/arch/x86/x86_traits.hh @@ -61,6 +61,7 @@ namespace X86ISA { const int NumMicroIntRegs = 16; + const int NumPseudoIntRegs = 1; const int NumMMXRegs = 8; const int NumXMMRegs = 16; |