diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-17 13:26:06 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-17 13:26:06 -0700 |
commit | aad11bf879913131670dc5afc1d98de5b6f381a3 (patch) | |
tree | 4edf4b709cc6219d8e56e027a57a2a666830d480 | |
parent | 13ccac1a3cb7bb33b7a6d2c65f875d1a40a6e352 (diff) | |
download | gem5-aad11bf879913131670dc5afc1d98de5b6f381a3.tar.xz |
Add a spot for the condition code portion of the flag register.
This is stored in the integer register file so that it can be renamed, but it should be a misc reg.
--HG--
extra : convert_revision : eee48f24dd80b145f14427482047c4d8af2521ab
-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; |