From d85cd08113e61817fdf1df978f2713ba8b094996 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 17 Jul 2009 18:49:22 -0700 Subject: X86: Set up a named constant for the "fold bit" for int register indices. --- src/arch/x86/intregs.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/x86/intregs.hh') diff --git a/src/arch/x86/intregs.hh b/src/arch/x86/intregs.hh index 627d7062f..2c6d871ed 100644 --- a/src/arch/x86/intregs.hh +++ b/src/arch/x86/intregs.hh @@ -167,6 +167,9 @@ namespace X86ISA NUM_INTREGS }; + // This needs to be large enough to miss all the other bits of an index. + static const IntRegIndex IntFoldBit = (IntRegIndex)(1 << 6); + inline static IntRegIndex INTREG_MICRO(int index) { -- cgit v1.2.3