diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-17 18:49:22 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-17 18:49:22 -0700 |
commit | d85cd08113e61817fdf1df978f2713ba8b094996 (patch) | |
tree | 6159f9514ac84a4ff0792b346422b03d16052dc0 /src/arch/x86/isa.hh | |
parent | 7b6587fc9cbd5e7e7930abbc5c6e2683e527f629 (diff) | |
download | gem5-d85cd08113e61817fdf1df978f2713ba8b094996.tar.xz |
X86: Set up a named constant for the "fold bit" for int register indices.
Diffstat (limited to 'src/arch/x86/isa.hh')
-rw-r--r-- | src/arch/x86/isa.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa.hh b/src/arch/x86/isa.hh index 8d3b110c6..9a1880062 100644 --- a/src/arch/x86/isa.hh +++ b/src/arch/x86/isa.hh @@ -69,7 +69,7 @@ namespace X86ISA int flattenIntIndex(int reg) { - return reg & ~(1 << 6); + return reg & ~IntFoldBit; } int |